https://bugs.winehq.org/show_bug.cgi?id=48676
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL| |https://web.archive.org/web | |/20161105055325/http://www. | |exactaudiocopy.de/eac-1.3.e | |xe Keywords| |download Summary|CD not detetected in Exact |CD not auto-detected in |Audio Copy since wine 4.21 |Exact Audio Copy v1.3 since |anymore |Wine 4.21 anymore
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
when using Wine 4.x/5.x with Wine-Mono it doesn't start at all when an audio CD is inserted (bug 48677)?
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Exact Audio Copy
$ wine ./EAC.exe ... Unhandled Exception: System.Runtime.InteropServices.MarshalDirectiveException: The type `System.Array' layout needs to be Sequential or Explicit at (wrapper native-to-managed) HelperFunctionsLib.IMetadataRetriever.GetPluginLogo(intptr,System.Array&) [ERROR] FATAL UNHANDLED EXCEPTION: System.Runtime.InteropServices.MarshalDirectiveException: The type `System.Array' layout needs to be Sequential or Explicit at (wrapper native-to-managed) HelperFunctionsLib.IMetadataRetriever.GetPluginLogo(intptr,System.Array&) --- snip ---
After installing .NET Framework 2.0 via 'winetricks -q dotnet20' the app started fine. Please *always* mention if you installed additional prerequisites/worked around other issues.
Anyway, I've tested Wine 4.20, 4.21 and 5.2 and it detected audio CDs just fine. Inserted CD after starting the app and ripped some tracks to be sure. Might be something broken with your distro/host setup.
--- snip --- $ WINEDEBUG=+mountmgr,+cdrom wine ./EAC.exe ... 0021:trace:mountmgr:create_disk_device created device L"\Device\CdRom0" 0021:trace:mountmgr:add_mount_point created L"\??\Volume{00000000-0000-0000-0000-000000000044}" id (null) for L"\Device\CdRom0" 0021:trace:mountmgr:add_mount_point created L"\DosDevices\D:" id (null) for L"\Device\CdRom0" 0021:trace:mountmgr:add_dos_device added device d: udi "/org/freedesktop/UDisks2/block_devices/sr0" for "/dev/sr0" on (null) type 5 ... 0009:trace:cdrom:CDROM_DeviceIoControl 0xd0 IOCTL_SCSI_GET_ADDRESS (nil) 0 0x132fde8 8 0x132fdcc 0009:trace:cdrom:CDROM_Open 0, 14 ... 0009:trace:cdrom:CDROM_DeviceIoControl 0x3ac IOCTL_CDROM_READ_TOC (nil) 0 0x132e45c 804 0x132e398 ... 0009:trace:cdrom:CDROM_DeviceIoControl 0xd0 IOCTL_SCSI_GET_CAPABILITIES (nil) 0 0x132f8f8 24 0x132f8d8 0009:trace:cdrom:CDROM_Open 0, 14 0037:trace:cdrom:CDROM_DeviceIoControl 0xd0 IOCTL_SCSI_PASS_THROUGH_DIRECT 0x6e9f48 304 0x6e9f48 304 0x6ea91d 0037:trace:cdrom:CDROM_Open 0, 14 0037:trace:cdrom:CDROM_DeviceIoControl 0xd0 IOCTL_SCSI_PASS_THROUGH_DIRECT 0x6ea080 304 0x6ea080 304 0x6ea91d 0037:trace:cdrom:CDROM_Open 0, 14 0037:trace:cdrom:CDROM_DeviceIoControl 0xd0 IOCTL_SCSI_PASS_THROUGH_DIRECT 0x6ea1b8 304 0x6ea1b8 304 0x6ea91d 0037:trace:cdrom:CDROM_Open 0, 14 ... --- snip ---
$ sha1sum eac-1.3.exe 49f1028bd2b0cce0829250430bf8771c4a766daf eac-1.3.exe
$ du -sh eac-1.3.exe 4.9M eac-1.3.exe
$ wine --version wine-4.21
$ wine --version wine-5.2-312-gc6b852e3c3
Regards