Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

HOWTO: Using EAC (Exact Audio Copy) on Wine (Updated!)

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
46 posts
  • 1
  • 2
  • Next
Author
Message
danomac
l33t
l33t
User avatar
Posts: 881
Joined: Sat Nov 06, 2004 6:30 am
Location: Vancouver, BC

HOWTO: Using EAC (Exact Audio Copy) on Wine (Updated!)

  • Quote

Post by danomac » Fri Sep 30, 2005 5:11 am

<<These are the ide-cd instructions, see the next post for the original ide-scsi post>>

Howto: Using EAC (Exact Audio Copy) on Wine

For those that don't know, Exact Audio Copy is a Windows cd ripping tool. So far I haven't found an equivalent for EAC on linux. From what I've read, cdparanoia messes up on drives that do audio caching. If you have damaged CDs cdparanoia may not be able to rip them properly.

I happen to have a lot of damaged CDs (tip: don't loan them to friends...) so I set out to make it work. I've searched the forums and while EAC is mentioned in some threads there isn't one that simply says "Here is how to get it to work." Hopefully this thread fixes that problem.

Note: This guide assumes that you do not have a Windows partition at all and Wine is working standalone.

Known Issues / Notes

Wine does really oddball things when trying to detect CDROM drives with ide-cd. It does not recognize I am a member of the cdrom group, it seems to only check for ownership of the device file. The only way to get it to work with EAC is for the current user to be the owner of the CDROM device file (/dev/hdc is used in this example.) Before you run Wine, you need to make sure that you are the owner:

Code: Select all

computer ~ $ ls -l /dev/hdc
brw-rw----  1 danomac cdrom 22, 0 Jan 10 17:57 /dev/hdc
To set it manually, use chown as root (danomac is the username used in this example):

Code: Select all

root@computer ~ $ chown danomac /dev/hdc
As I am the single user of this machine, I told udev to always set the owner of cdrom devices to my username. This way I do not need to remember to manually set the ownership before using EAC and it 'just works.'

If you are interested in this solution, open up /etc/udev/rules.d/50-udev.rules and search for a line similar to the following:

Code: Select all

ENV{ID_CDROM}=="?*",            SYMLINK+="cdrom%e", GROUP="cdrom"
and change it to:

Code: Select all

ENV{ID_CDROM}=="?*",            SYMLINK+="cdrom%e", GROUP="cdrom", OWNER="danomac"
Replace 'danomac' with your username. If anyone knows of a better way to do this let me know. :P

Prerequisites

These are the items you will need that are not available in portage:
  • EAC Installer
Download these items and save them somewhere, you will need them later on.

Installing and configuring Wine

Install Wine (build 0.9.5, masked at the time of this article's writing) using portage:

Code: Select all

echo "app-emulation/wine ~x86" >> /etc/portage/package.keywords
emerge =app-emulation/wine-0.9.5
After it finishes compiling, switch to a normal user (if you haven't already) and run the configuration tool:

Code: Select all

winecfg
There are a few items that need to be changed (Disk drives, general configuration and DLL Overrides.)

Applications tab

Under application settings choose a Windows version to emulate. I used Windows XP, although I don't think this selection is that important.

Libraries tab

Nothing needs to be set in this tab.

Drives tab

Add a new drive letter D:, set it to type CDROM and change the path to the cdrom drive. (/mnt/cdrom in my case.)

If you do not change the drive type, wine will likely hang trying to start EAC. If you don't see the Type dropdown, click the Show Advanced tab.

Audio tab

Choose the right audio driver to use.

When finished, click the Apply button then the OK button.

The rest of this guide will assume you have Wine working.

Configuring the kernel and bootloader

You will need to build the ide-cd into the kernel if you haven't already (2.6.x kernel tree shown):

Code: Select all

Device Drivers-->
    ATA/ATAPI/MFM/RLL support -->
         <*> Include IDE/ATAPI CDROM support
Recompile and install your new kernel image, if needed.

Preparing the bootloader

ide-cd doesn't need to be specified as a kernel parameter, skip to the next step.

Installing EAC

Switch to the directory that has the EAC installer and run it:

Code: Select all

wine <installerfile>
NOTE: As per the Known issues section, make sure you check the permissions of the CDROM device file (in this case /dev/hdc.) The current user needs to be the owner of the device file or wine will hang!

Start EAC:

Code: Select all

computer ~ # wine EAC.exe
Cancel any wizard screen that pops up. Go to EAC Options->Interface tab and check Native Win32 interface for Win NT/2000/XP. Exit EAC, check to make sure the current user is the owner of the CDROM device file (in this example, /dev/hdc) and restart EAC.

EAC should load, detecting your CDROM drive.

Insert an audio CD and detect features like you normally would.

Note: In drive options it is important to UNCHECK Drive is capable of retrieving C2 error information! I've read reports elsewhere that this can cause problems, not only on Wine but in Windows as well.

Note 2: You can set up EAC to encode to the format of your choice. Find the windows binaries of the encoders and drop them in the Wine windows directory, then configure EAC like you normally would.

Using EAC

NOTE: As per the Known issues section, make sure you check the permissions of the CDROM device file (in this case /dev/hdc.) The current user needs to be the owner of the device file or wine will hang!

Start EAC: (it no longer requires an audio CD to be in the drive)

Code: Select all

wine EAC.exe
Troubleshooting

Problem: EAC doesn't detect my CD[/DVD] drive!
Possible solution(s): 1. Check the ownership of the CDROM device file. 2. Make sure Native Win32 interface for Win NT/2000/XP is checked under EAC Options->Interface tab, then restart EAC.

Problem:EAC hangs with 'MM' in the titlebar.
Possible solution(s): 1. The current user doesn't have ownership rights to the CDROM device file.

Closing thoughts

I have tried these steps on two PCs and they both run EAC well.

Hopefully someone will find these [new] steps useful.
Last edited by danomac on Thu Jan 12, 2006 6:54 am, edited 11 times in total.
Top
danomac
l33t
l33t
User avatar
Posts: 881
Joined: Sat Nov 06, 2004 6:30 am
Location: Vancouver, BC

  • Quote

Post by danomac » Wed Oct 05, 2005 1:21 am

<<This is the original ide-scsi post>>

Howto: Using EAC (Exact Audio Copy) on Wine

For those that don't know, Exact Audio Copy is a Windows cd ripping tool. So far I haven't found an equivalent for EAC on linux. From what I've read, cdparanoia messes up on drives that do audio caching. If you have damaged CDs cdparanoia may not be able to rip them properly.

I happen to have a lot of damaged CDs (tip: don't loan them to friends...) so I set out to make it work. I've searched the forums and while EAC is mentioned in some threads there isn't one that simply says "Here is how to get it to work." Hopefully this thread fixes that problem.

Note: This guide assumes that you do not have a Windows partition at all and Wine is working standalone.

Known Issues / Notes

EAC may not work with ide-cd. I have tried repeatedly to get EAC to work with ide-cd on Gentoo, and so far have had no success. Going to EAC->EAC Options->Interface tab and choosing Native Win32 interface for Win NT/2000/XP with ide-cd causes EAC to lock up for me on Wine versions 0.9.2, 20050830 and 20050930. This bug however may not appear on different distributions.

At the time of this writing, EAC on gentoo requires the native wnaspi32.dll, which needs ide-scsi emulation for it to work.

WARNING: USING ide-scsi WITH YOUR BURNER MAY MAKE IT UNABLE TO BURN DISCS.
growisofs may not like running in scsi emulation mode, and you may wind up with coasters while burning discs. I only have one optical drive and have set up another entry in my bootloader to enable the emulation that EAC requires. If you only have one optical drive I strongly suggest you do the same. Of course, if you have a CD reader as well as a burner, ide-scsi can be set to use only the reader and not affect the writer at all.

References: kernel.org.

Prerequisites

These are the items you will need that are not available in portage:
  • wnaspi32.dll
    EAC Installer
Download these items and save them somewhere, you will need them later on.

Installing and configuring Wine

Install Wine (build 20050830, masked at the time of this article's writing) and its installer using portage:

Code: Select all

echo "app-emulation/wine ~x86" >> /etc/portage/package.keywords
emerge wine
After it finishes compiling, switch to a normal user (if you haven't already) and run the configuration tool:

Code: Select all

winecfg
There are a few items that need to be changed (Disk drives, general configuration and DLL Overrides.)

Applications tab

Under application settings choose a Windows version to emulate. I used Windows XP, although I don't think this selection is that important.

Libraries tab

Add wnaspi32.dll to the list. When done, you should see wnaspi32.dll (native, builtin) in the list.

NOTE: Don't forget to copy wnaspi32.dll into your ~/.wine/drive_c/windows/system32 directory!!

Drives tab

Add a new drive letter D:, set it to type CDROM and change the path to the cdrom drive. (/mnt/cdrom in my case.)

Audio tab

Choose the right audio driver to use.

When finished, click the Apply button then the OK button.

The rest of this guide will assume you have Wine working.

Configuring the kernel and bootloader

You will need to build SCSI support and ide-scsi emulation into the kernel if you haven't already (2.6.x kernel tree shown):

Code: Select all

Device Drivers-->
    SCSI device Support -->
        [*] legacy /proc/scsi/ support
        [*] SCSI CDROM support
        [*] SCSI generic support
    ATA/ATAPI/MFM/RLL support -->
        [*] SCSI emulation support
Recompile and install your new kernel image.

Preparing the bootloader

This assumes you are using grub as the bootloader.

Note: As per the Known Issues category above, it is strongly recommended you set up a new entry and boot to it when needed if you only have one optical drive installed in your system.

First, locate your cdrom drive:

Code: Select all

dmesg | grep ^hd[a-h]:
This should give output similar to:

Code: Select all

hda: ST3120026A, ATA DISK drive
hdb: ST3200822A, ATA DISK drive
hdc: _NEC DVD_RW ND-3500AG, ATAPI CD/DVD-ROM drive
hdd: Maxtor 6Y120P0, ATA DISK drive
hda: max request size: 1024KiB
hda: Host Protected Area detected.
hda: Host Protected Area disabled.
hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
hdb: max request size: 1024KiB
hdb: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63, UDMA(100)
hdb: cache flushes supported
hdd: max request size: 128KiB
hdd: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(133)
hdd: cache flushes supported
hdc: ATAPI 32X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
In this case the cdrom is /dev/hdc. You will need to know this for editing the grub.conf file below.

Mount your /boot partition if necessary and load grub.conf. This is a sample entry:

Code: Select all

title Gentoo/2.6.12-r10 (EAC)
root (hd0,0)
kernel /kernel-2.6.12-gentoo-r10 root=/dev/hda3 hdc=ide-scsi
Note the hdc=ide-scsi parameter on the kernel line, as it is required! You will need to change this to whatever your cdrom drive is. If you have more than one optical drive only one needs to be specified for EAC to work. In that case, use the non-burning equipped drive.

Don't forget to unmount your /boot partition when done.

Installing EAC

Don't forget to reboot into ide-scsi mode if you haven't already! To check if the driver is loaded use:

Code: Select all

dmesg | grep ide-scsi
and make sure you have output similar to:

Code: Select all

Kernel command line: root=/dev/hda3 hdc=ide-scsi
ide_setup: hdc=ide-scsi
ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device
Switch to the directory that has the EAC installer and run it:

Code: Select all

wine <installerfile>
Once EAC is installed insert an audio CD and start EAC with:

Code: Select all

wine EAC.exe
and go and detect drive features as you normally would.

Note: In drive options it is important to UNCHECK Drive is capable of retrieving C2 error information! I've read reports elsewhere that this can cause problems, not only on Wine but in Windows as well.

Note 2: You can set up EAC to encode to the format of your choice. Find the windows binaries of the encoders and drop them in the Wine windows directory, then configure EAC like you normally would.

Using EAC

Don't forget to reboot into ide-scsi mode if you haven't already!

Note: You always have to insert a CD before starting EAC!

Insert an audio cd in your drive and start EAC:

Code: Select all

wine EAC.exe
Troubleshooting

Problem: EAC doesn't detect my CD[/DVD] drive!
Possible solution(s): 1. There isn't an audio CD in the drive; 2. wnaspi32.dll isn't loading; 3. kernel isn't using ide-scsi.

Closing thoughts

I have tried these steps on two PCs and they both run EAC well. The other program which I set up for tagging/converting is foobar, but I won't bother with that here. This information was originally posted here.

Hopefully someone will find these steps useful.
Last edited by danomac on Thu Jan 12, 2006 2:04 am, edited 1 time in total.
Top
Jon Beilin
Tux's lil' helper
Tux's lil' helper
Posts: 90
Joined: Thu Dec 18, 2003 11:31 pm
Location: Hanover, NH

  • Quote

Post by Jon Beilin » Sat Nov 26, 2005 5:21 am

thanks for the tip!
Top
Greven
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 138
Joined: Sun Jul 28, 2002 10:50 pm

  • Quote

Post by Greven » Sat Nov 26, 2005 4:32 pm

I would love for you to post this on Wine-Wiki.org. We are always looking for new HOWTOs, and you help would be more then welcomed!
veritas vos liberabit...
Linux User Number: 346805
Wine-Wiki
AMD 64 3500+ | MSI "K8T NEO2-FIR" | mushkin Dual Channel DDR 400
Top
micmac
l33t
l33t
Posts: 996
Joined: Fri Nov 28, 2003 8:38 pm

  • Quote

Post by micmac » Sun Nov 27, 2005 9:54 am

I know using EAC in Wine sounds charming. And it really is good for CD ripping. But there's a downside.
It pops up (or it can pop up) when you're using your burner to rip. Because there's a possibility you won't be able to burn anymore because the ide-scsi system is just a left-over -> http://bugzilla.kernel.org/show_bug.cgi?id=5290

Fixing cdparanoia'd be a good idea I think :)
Top
danomac
l33t
l33t
User avatar
Posts: 881
Joined: Sat Nov 06, 2004 6:30 am
Location: Vancouver, BC

  • Quote

Post by danomac » Mon Dec 05, 2005 6:12 pm

micmac wrote:I know using EAC in Wine sounds charming. And it really is good for CD ripping. But there's a downside.
It pops up (or it can pop up) when you're using your burner to rip. Because there's a possibility you won't be able to burn anymore because the ide-scsi system is just a left-over -> http://bugzilla.kernel.org/show_bug.cgi?id=5290

Fixing cdparanoia'd be a good idea I think :)
I did mention this in the Known Issues section of the first revision of this article. I actually dual boot into ide-scsi as I don't have any version of Windows installed on my PCs.
EAC Howto wrote: EAC requires the native wnaspi32.dll, which needs ide-scsi emulation for it to work. While this isn't a huge problem to correct, growisofs may not like running in scsi emulation mode, and you may wind up with coasters while burning discs. I have set up another entry in my bootloader to enable the emulation that EAC requires and boot into it when I rip CDs. I strongly suggest you do the same.
:wink:
Top
danomac
l33t
l33t
User avatar
Posts: 881
Joined: Sat Nov 06, 2004 6:30 am
Location: Vancouver, BC

  • Quote

Post by danomac » Mon Dec 05, 2005 6:34 pm

Greven wrote:I would love for you to post this on Wine-Wiki.org. We are always looking for new HOWTOs, and you help would be more then welcomed!
I looked on wine-wiki, but it is already in the applications database. Maybe I should sign up to be a maintainer.
Top
danomac
l33t
l33t
User avatar
Posts: 881
Joined: Sat Nov 06, 2004 6:30 am
Location: Vancouver, BC

  • Quote

Post by danomac » Sun Dec 11, 2005 12:55 am

I have clarified the ide-scsi issue in the Known Issues/Notes section. I'm still going to try to get it to work with ide-cd though.
Top
thoffmeyer
Apprentice
Apprentice
User avatar
Posts: 208
Joined: Sun Apr 11, 2004 3:46 am
Location: GMT -5 Hours

  • Quote

Post by thoffmeyer » Tue Dec 13, 2005 3:19 am

great howto
Conrad Guide, Current Maintainer

Join us on IRC
Server: irc.freenode.net
Channel: #conrad
Top
danomac
l33t
l33t
User avatar
Posts: 881
Joined: Sat Nov 06, 2004 6:30 am
Location: Vancouver, BC

  • Quote

Post by danomac » Wed Jan 04, 2006 3:05 am

I have now gotten ide-cd working with EAC on my laptop. A few more steps involved, and I need to test this on one of my other PCs before rewriting the howto. Bye-bye ide-scsi!
Top
danomac
l33t
l33t
User avatar
Posts: 881
Joined: Sat Nov 06, 2004 6:30 am
Location: Vancouver, BC

  • Quote

Post by danomac » Thu Jan 12, 2006 2:40 am

Updated the HOWTO with ide-cd instructions. The original ide-scsi instructions are now in the second post.
Top
smelialichu
n00b
n00b
Posts: 16
Joined: Sat Jan 31, 2004 9:17 pm

  • Quote

Post by smelialichu » Sun Jan 22, 2006 2:01 pm

Has anyone else found that EAC will freeze up unless a CD is mounted when it's opened? This means I have to mount a data cd, open EAC, eject it and then swap to an audio CD. Is there a way around this? It's only minor of course. Thanks for the great guide.
Top
danomac
l33t
l33t
User avatar
Posts: 881
Joined: Sat Nov 06, 2004 6:30 am
Location: Vancouver, BC

  • Quote

Post by danomac » Sun Jan 22, 2006 4:58 pm

smelialichu wrote:Has anyone else found that EAC will freeze up unless a CD is mounted when it's opened? This means I have to mount a data cd, open EAC, eject it and then swap to an audio CD. Is there a way around this? It's only minor of course. Thanks for the great guide.
Are you using ide-cd to run EAC? If you are, you need to make sure the user running Wine is the owner of the cdrom device file (in my case /dev/hdc.) If you do this, EAC shouldn't freeze and you do not need a CD to be mounted to run EAC.

Edit: Note: This is no longer true, use the mount path (e.g. /mnt/cdrom).
Last edited by danomac on Mon May 01, 2006 4:13 pm, edited 1 time in total.
Top
GetCool
Guru
Guru
User avatar
Posts: 324
Joined: Sun Nov 23, 2003 12:51 am
Location: Madison, Wisconsin

  • Quote

Post by GetCool » Wed Jan 25, 2006 11:07 am

Nice Howto. As a long-time EAC user, I can scratch off one more reason to keep Windows on my hard drive.

I have some feedback and additional tips:
  • I had no issues getting EAC to detect my drive, without making myself the owner of /dev/hda (my DVD-ROM drive); and I'm not using ide-scsi. I simply made myself a member of the cdrom group and it worked. I know that doesn't help, but I thought I'd share my experience.
  • About your tip regarding disabling the C2 error retrieval option... this is a good idea to ensure an accurate rip, but it may only slow down your ripping process unnecessarily. If you have a drive that is actually capable of C2 error retrieval (and almost all modern drives are), then it is recommended to enable this option for a faster rip (without sacrificing accuracy). Do some research on your drive, or purchase a new drive if you're serious about ripping audio, and determine its capabilities. The CD Freaks forums are an excellent resource for information on optical drives and everything related to optical media.

    Also, I've found that EAC's drive feature autodetect function works quite well. Insert an audio CD and click on "Detect Read Features" in the "Drive Options" screen.
  • If you're going to be using EAC for serious ripping and want results as accurate as possible, check out this excellent EAC tutorial, which explains in great detail every option of the program and all the recommended settings.

    You will also want to find the read offset for your drive (if you're curious, read the "Truth about Offsets" section of the tutorial I linked above for an explanation of what drive offsets are). One place to find your drive's offset value is the drive offset database at accuraterip.com, or you can search the CD Freaks forums. This offset value goes into the "Use read sample offset correction" field under the "Offset/Speed" tab of EAC's "Drive Options" screen. The tutorial explains all of this as well.

    I've used EAC to rip hundreds of CDs using many different optical drives, and with proper configuration, it's never failed me. But, of course, we're running it on Linux now, so our results may be different. I'll do some more extensive testing and report my results.
Top
danomac
l33t
l33t
User avatar
Posts: 881
Joined: Sat Nov 06, 2004 6:30 am
Location: Vancouver, BC

  • Quote

Post by danomac » Sat Jan 28, 2006 9:52 pm

GetCool wrote:Nice Howto. As a long-time EAC user, I can scratch off one more reason to keep Windows on my hard drive.
That's why I wasted a lot of time trying to get it to work. :)

I've already ripped over 200 CDs with EAC and Wine and haven't had any problems. In some cases (on scratched CDs) Wine is noticeably slower than actually running it on Windows. That's about the only thing I've noticed.
Top
darkless
n00b
n00b
Posts: 42
Joined: Thu Jan 01, 2004 2:21 pm
Location: Denmark

  • Quote

Post by darkless » Sun Feb 05, 2006 6:47 pm

A few changes for people using an external ripper via USB 2.0 or Firewire:

First, make sure to make an entry in your /etc/fstab file like this:

Code: Select all

/dev/cdrom1             /mnt/cdrom1     iso9660         noauto,ro,user  0 0
where /dev/cdrom1 points to your SCSI emulated CDROM drive device (mine is /dev/sr0). Make sure that you choose the right mount directory in your winecfg (the one referenced in /etc/fstab) and create it if it doesn't already exist.

Second, don't use the wnaspi32.dll and make sure to select EAC->EAC Options->Interface tab and choose Native Win32 interface for Win NT/2000/XP. Otherwise EAC will either fail to detect your drive or it will detect the drive but fail to rip any audio from it, freezing in the process.

That's it for now :)
Ignorance should be painful.
Top
micmac
l33t
l33t
Posts: 996
Joined: Fri Nov 28, 2003 8:38 pm

  • Quote

Post by micmac » Sat Apr 15, 2006 10:22 pm

Hi,

I had trouble before. EAC would start and freeze at once. I tried to do some magic here and there but it didn't work. I eventually fixed it by changing the perms on the mount point (Gentoo defaults to 700, Ubuntu to 644 for instance), doh!

My drive is /dev/hdc mounted at /mnt/dvd, and I'm not kidding.

Code: Select all

ls -lh /dev/hdd
brw-rw---- 1 root cdrom 22, 64 15. Apr 19:06 /dev/hdd
ls -lh /mnt/ | grep dvd
drwxrwxrwx 2 root root 4,0K 15. Mär 23:00 dvd
Cheers

mic

Edit: 755 is fine, too.
Top
GetCool
Guru
Guru
User avatar
Posts: 324
Joined: Sun Nov 23, 2003 12:51 am
Location: Madison, Wisconsin

  • Quote

Post by GetCool » Sun Apr 30, 2006 6:23 pm

Just another little tip, in case anyone else has this problem...

I was setting up Wine-EAC once again after reinstalling Gentoo, but this time I couldn't for the life of me get EAC to start without freezing. It would hang and require me to kill the wine processes manually.

It turns out that I had to use the mount point path in winecfg when setting up my CD-ROM drive under the "Drives" tab, not the device path. As in drive D: had to point to /mnt/cdrom, not /dev/hda (or EAC would freeze).

Doesn't make any sense, but that's the way it works on my system.
Top
danomac
l33t
l33t
User avatar
Posts: 881
Joined: Sat Nov 06, 2004 6:30 am
Location: Vancouver, BC

  • Quote

Post by danomac » Mon May 01, 2006 4:14 pm

I've edited that post, the newer versions of Wine don't have that problem - it was also related to udev and permissions. The original howto's already had instructions to use the mountpoint and not the device file.
Top
GetCool
Guru
Guru
User avatar
Posts: 324
Joined: Sun Nov 23, 2003 12:51 am
Location: Madison, Wisconsin

  • Quote

Post by GetCool » Mon May 01, 2006 6:14 pm

danomac wrote:I've edited that post, the newer versions of Wine don't have that problem
That hasn't been my experience, at least on amd64. Every version of Wine I tried had the issue. But anyway...
The original howto's already had instructions to use the mountpoint and not the device file.
Yes, you're right, there's nothing that should be changed in the howto. I just made that post for the record.
Top
danomac
l33t
l33t
User avatar
Posts: 881
Joined: Sat Nov 06, 2004 6:30 am
Location: Vancouver, BC

  • Quote

Post by danomac » Mon May 01, 2006 6:36 pm

I use a plain old AMD Athlon XP3200+, so I haven't had the pleasure of messing around with Wine on amd64. That's likely to be my next PC build though. :)

Edit: GetCool, did you try changing the permissions on the wine binary itself? (ie make it member of group cdrom.) I don't know if that'll work, but it just popped into my head just now.
Top
GetCool
Guru
Guru
User avatar
Posts: 324
Joined: Sun Nov 23, 2003 12:51 am
Location: Madison, Wisconsin

  • Quote

Post by GetCool » Mon May 01, 2006 8:42 pm

danomac wrote:GetCool, did you try changing the permissions on the wine binary itself? (ie make it member of group cdrom.) I don't know if that'll work, but it just popped into my head just now.
No, but since it works using the mount point I think I'll leave it at that for now. When I use the device file EAC locks and Wine refuses to be killed, so I have to actually zap and restart Xorg.

I've just always been in the habit of giving apps the device file path, for example when I use cdrecord. Oh well. Maybe when cdparanoia starts working reliably with audio-caching drives, we won't have to run EAC through Wine anymore.
Top
micmac
l33t
l33t
Posts: 996
Joined: Fri Nov 28, 2003 8:38 pm

  • Quote

Post by micmac » Fri May 05, 2006 9:09 am

I still don't see why you guys have to chown the device to your user. It's working here without, just had to change gentoo's default mount dir perms (700) to 755. Could this be a PAM issue? Are you using it?

Code: Select all

sk@section_eight ~ $ ls -lh /mnt/|grep dvd
drwxr-xr-x 2 root root 4,0K 15. Mär 23:00 dvd
drwxr-xr-x 2 root root 4,0K 15. Mär 23:00 dvdrw

sk@section_eight ~ $ ls -lh /dev/hd{c,d}
brw-rw---- 1 root cdrom 22,  0  5. Mai 10:54 /dev/hdc
brw-rw---- 1 root cdrom 22, 64  5. Mai 10:54 /dev/hdd

sk@section_eight ~ $ cat /etc/fstab | grep hdc
/dev/hdc  /mnt/dvdrw   iso9660 noauto,users,ro      0 0
sk@section_eight ~ $ cat /etc/fstab | grep hdd
/dev/hdd  /mnt/dvd     iso9660 noauto,users,ro      0 0
mic
Top
GetCool
Guru
Guru
User avatar
Posts: 324
Joined: Sun Nov 23, 2003 12:51 am
Location: Madison, Wisconsin

  • Quote

Post by GetCool » Fri May 05, 2006 10:16 am

micmac wrote:I still don't see why you guys have to chown the device to your user.
I don't; it always worked for me without having to do that. But I'm on amd64, so I have no idea if it's different at all from x86.
Top
danomac
l33t
l33t
User avatar
Posts: 881
Joined: Sat Nov 06, 2004 6:30 am
Location: Vancouver, BC

  • Quote

Post by danomac » Fri May 05, 2006 3:51 pm

When I first tried to get it working, changing the owner/permissions on the device file was the only way to get it working without hanging at startup. All I did was copy the suse/fedora/kubuntu perms.

I've updated the system now (twice probably) and haven't tried it with the default settings. It works, and I left it as is. ;)

Where do you change the mountpoint permissions from 700 to 755?
Top
Post Reply

46 posts
  • 1
  • 2
  • Next

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic