WineHQ
Bug Tracking Database – Bug 12359

 Bugzilla

 

Last modified: 2017-02-26 12:18:44 CST  

Multiple apps can't detect audio CDs (affects Express Rip, Exact Audio Copy, dbpoweramp CD Ripper)

Bug 12359 - Multiple apps can't detect audio CDs (affects Express Rip, Exact Audio Copy, dbpoweramp CD Ripper)
Multiple apps can't detect audio CDs (affects Express Rip, Exact Audio Copy, ...
Status: NEW
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: -unknown
0.9.42.
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
http://www.nch.com.au/rip/
: Abandoned?, download
: 20255 42539 (view as bug list)
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-04-04 13:31 CDT by Dan Kegel
Modified: 2017-02-26 12:18 CST (History)
8 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Kegel 2008-04-04 13:31:22 CDT
I inserted an audio cd, made sure Linux could read the tracks,
then ran Express Rip.  It popped up a warning saying it
couldn't find any cd-rom device.  I went to winecfg and set
the drive type of my cdrom from autodetect to cd-rom.
That got rid of the popup, but still no dice detecting
the disc.  Also happens with wine-0.9.42.
Comment 1 Dan Kegel 2008-04-04 13:53:36 CDT
Also can't detect audio disc with Exact Audio Copy,
http://exactaudiocopy.de
A few users have complained about this in the appdb,
http://appdb.winehq.org/objectManager.php?sClass=version&iId=10017
(EAC shows a crash when installing, see bug 12361.  I doubt
that keeps the app from working, though.)
Comment 2 Dan Kegel 2008-04-04 14:05:48 CDT
A bit more on Exact Audio Copy: after doing
  sudo chown $LOGNAME /dev/hdc
and setting "native win32" mode in EAC options
as described at http://forums.gentoo.org/viewtopic-t-386370.html,
I was rewarded with the message
fixme:mountmgr:harddisk_ioctl unsupported ioctl 4d014
and a lockup.
Comment 3 Dan Kegel 2008-04-04 17:15:53 CDT
Filed bug 12363 for the EAC hang in previous comment.
Comment 4 Jan Buecken 2008-08-06 07:20:52 CDT
I can cofirm this exactly with Exact Audio Copy v0.99 prebeta 4.

Hint: My virtual cdemu rom was detected.
Comment 5 Jan Buecken 2008-08-06 15:18:35 CDT
New Info: Exeptional I tried this as root.
New .wine , in winecfg autodetect the disks, and start EAC (no new install for root, from my user directory...)
and: it works! (no native dll, no changed EAC options)

BUT I don't believe in a problem with the rights (only).
Because: As user it works with a workaround, following the steps from comment 2 in bug
http://bugs.winehq.org/show_bug.cgi?id=12363

(except that I had to mount / unmount the data cd as root and to open the cdrom I had to use eject (as user, wine eject or the button in EAC does not work!))

But after exit and restart EAC, I have to do all the steps again.
Amazing...
Comment 6 Jan Buecken 2008-08-06 16:33:46 CDT
Same problem with ImageBurn:
With SPTI I get fixme:mountmgr:harddisk_ioctl unsupported ioctl 4d014
on the command line
and this error message from the programm:
I/O Error!
Devive[0:0:0](K:)
CDB: 12 00 00 00 60 00
Interpretation: Inquirly
Reason: Anfrage nicht unterstützt (engl. request / inquiry not supported)

(I wonder my cdrom drive is I: not K:, K: is my mount point for cdemu... but the deamon is stopped...)

I can change the I/O in the settings:

With ASPI I get err:aspi:ASPI_GetNumControllers Could not open HKLM\L"HARDWARE\\DEVICEMAP\\Scsi"

Comment 7 Jan Buecken 2008-08-06 16:52:58 CDT
ARG, SORRY: In comment 5 I forgot to tell you that I had to stop the cdemu deamon, otherwise it doesn't work as root as well.
I unload the vhba module too.

Now I delete my "virtual cdrom mountpoint K:" such that I have /mnt/cdrom as the only drive in winecfg.
Now the error meassage in ImgBurn doesn't appear, the error message
fixme:mountmgr:harddisk_ioctl unsupported ioctl 4d014
doesn't appear too, but ImgBurn tells me there are no cdrom drives.
Similar result with EAC: 
With "K:" I had a no named drive ( I thougt this appears if there is no drive), without "K:" the field with the cdrom is simply empty, (and theres another bug: My mouse disappers if I move over the eac window, I cannot select anything...)

No idea what to test next...
Comment 8 Austin English 2009-01-19 15:14:48 CST
Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
Comment 9 Jan Buecken 2009-01-22 12:16:42 CST
Still present in current git with EAC.

Cannot update "Version", not my bug.
Comment 10 Vitaliy Margolen 2009-10-03 23:24:23 CDT
*** Bug 20255 has been marked as a duplicate of this bug. ***
Comment 11 A Wine user 2010-02-26 09:36:45 CST
(In reply to comment #6)
> Same problem with ImageBurn:
> With SPTI I get fixme:mountmgr:harddisk_ioctl unsupported ioctl 4d014
> on the command line
> and this error message from the programm:
> I/O Error!
> Devive[0:0:0](K:)
> CDB: 12 00 00 00 60 00
> Interpretation: Inquirly
> Reason: Anfrage nicht unterstützt (engl. request / inquiry not supported)

Same problem here in 1.1.39. ImgBurn can work with my DVD-RAM drive using SPTI, but I get this error when it tries to access my CD-RW drive. Both work with ASPI.
Comment 12 Felix Aldermann 2010-08-19 05:47:20 CDT
It is not a bug in Wine but a missconfiguration in the used Linux distributions. A user cannot use a CD-ROM device in Wine, if he has no read access for this device. 

To solve the problem, add the user to a group named "cdrom" (Fedora, Ubuntu, SUSE), "optical" (Arch Linux) or similar; log out, log in again, and it should work.
Comment 13 Jan Buecken 2010-08-24 08:36:28 CDT
(In reply to comment #12)
> It is not a bug in Wine but a missconfiguration in the used Linux
> distributions. A user cannot use a CD-ROM device in Wine, if he has no read
> access for this device. 
> 
> To solve the problem, add the user to a group named "cdrom" (Fedora, Ubuntu,
> SUSE), "optical" (Arch Linux) or similar; log out, log in again, and it should
> work.

I'm sorry, I'm on gentoo and in the cdrom group. I can mount data-cds (entry in fstab), play music cds with vlc and so on. So I think my user has read access.
And I can use virtual cdrom - device with EAC (generated by cdemu) and it has the same settings like the "real" cdrom.

New ideas?
Comment 14 Jan Buecken 2010-09-13 10:23:55 CDT
Nick Bowler gives in bug 12363 , comment 12 a solution that works for me:

Change the permissions of the mountpoint for the cdrom drive
 ( /mnt/cdrom for me ):

chmod go+rx /mnt/cdrom

(I don't believe that the "o" for owner is nessaccary. 

and I did in addition:

chown root:cdrom /mnt/cdrom

Never thought that the mountpoint is relevant, because you don't mount audio-cds...
Comment 15 Rosanne DiMesio 2011-12-09 06:58:13 CST
This bug also affects dbpoweramp CD Ripper 14.2, but for that app I only had to do the workaround of starting with a data cd mounted then switching to an audio cd while running once; after that it recognized the cd drive on start, even if nothing was in it.
Comment 16 Ken Sharp 2015-06-13 13:27:06 CDT
Does this still occur in Wine 1.7.45 or later?
Comment 17 Rosanne DiMesio 2017-02-25 16:56:39 CST
*** Bug 42539 has been marked as a duplicate of this bug. ***
Comment 18 Scott 2017-02-25 20:10:01 CST
(In reply to Ken Sharp from comment #16)
> Does this still occur in Wine 1.7.45 or later?

Yes; ref bug 42539 which is with Wine 2.2 on macOS (not sure if problems in Wine typically manifest on both OSes).
Comment 19 Bruno Jesus 2017-02-26 12:18:44 CST
Is this still an issue in GNU/Linux? I just installed Exact Audio Copy and Express Rip and both were able to detect and read an audio CD from the (real) drive.

I inserted the CD both before the programs were running and after and in both cases they found the CD and extracted tracks from the CD.

File info:
49f1028bd2b0cce0829250430bf8771c4a766daf eac-1.3.exe
e47bb62fe06a2bd789ce09844384c103f50895ef ripsetup.exe


Hosted By CodeWeavers