Winamp - CD Drive Not Visible

Questions about Wine on Linux
Locked
Ian J.
Level 2
Level 2
Posts: 13
Joined: Sun Sep 27, 2015 5:59 am

Winamp - CD Drive Not Visible

Post by Ian J. »

Hi,

I am in the process of getting Linux Mint 17.2 set up on my laptop as an eventual replacement for Windows 7, and I've successfully installed Wine in order to run some Windows programs that I like.

However, I've run up against an issue. I like Winamp, particularly for ripping CDs. I have the paid-for Pro version, which allows me to do MP3 rips with the LAME encoder. I like the settings I have and the file sizes produced. On Wine though, the CD drive won't show up in Winamp. I've had to do a bit of fiddling with settings, and I managed to get it to show in EAC purely as a test for whether I could get the drive to show up in a program in Wine. But though it shows up in EAC, it still doesn't show up in Winamp.

Has anyone else here managed to get their CD drive to show up in Winamp so that CDs can be ripped? If so, can you let me know how you got it to be visible?

Thanks in advance,

Ian
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Winamp - CD Drive Not Visible

Post by dimesio »

Could be related to https://bugs.winehq.org/show_bug.cgi?id=12359. Try starting Winamp with a data cd mounted, then switch to an audio cd.
Ian J.
Level 2
Level 2
Posts: 13
Joined: Sun Sep 27, 2015 5:59 am

Re: Winamp - CD Drive Not Visible

Post by Ian J. »

Hi,

Thanks for the tip. I read about that as a possible solution while trying to get things up and running but also found a more suitable fix, which works OK in EAC as the drive is visible and identified too. I have however just gone and tried the data CD trick, but it made no difference to Winamp. The CD drive simply isn't in the Media Library list of locations, whether a disc of any kind is inserted or not.

Ian
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Winamp - CD Drive Not Visible

Post by dimesio »

You didn't mention what Wine version you're using. If it's not the latest development release, upgrade.

Does the free version of Winamp have the same problem on your system?
Ian J.
Level 2
Level 2
Posts: 13
Joined: Sun Sep 27, 2015 5:59 am

Re: Winamp - CD Drive Not Visible

Post by Ian J. »

I will have to check the Wine version, but it will be the one that is available via the updater in Linux Mint 17.2. I doubt that it's a development version. I'd prefer not to change it to a development version unless I know there is a fix in it for Winamp that will guarantee the CD drive will appear.

I don't have the free version of Winamp, but I seriously doubt that would be any better than the Pro version.
Ian J.
Level 2
Level 2
Posts: 13
Joined: Sun Sep 27, 2015 5:59 am

Re: Winamp - CD Drive Not Visible

Post by Ian J. »

I've just checked, and the Wine version is 1.6.2.

Winamp is 5.666, which was the last version that was released, both for the free and Pro versions as far as I can remember.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Winamp - CD Drive Not Visible

Post by dimesio »

I tested the free version of Winamp 5.666, and it has no problem recognizing and playing an audio cd in 1.7.51.
Ian J.
Level 2
Level 2
Posts: 13
Joined: Sun Sep 27, 2015 5:59 am

Re: Winamp - CD Drive Not Visible

Post by Ian J. »

OK, I will see if I can get the latest development version on Wine onto my Linux Mint partition and check it out.

Thanks.
Ian J.
Level 2
Level 2
Posts: 13
Joined: Sun Sep 27, 2015 5:59 am

Re: Winamp - CD Drive Not Visible

Post by Ian J. »

OK. I've uninstalled the old Wine (after uninstalling all the apps I had in it beforehand), then installed the latest Wine, added the Pro version of Winamp, but that didn't show the drive. So I uninstalled that and downloaded and installed the free lite version, and that doesn't have a media library so I can't check that. But I put in an audio CD anyway and it still didn't see it to play it.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Winamp - CD Drive Not Visible

Post by dimesio »

Post terminal output from starting Winamp with an audio cd in the drive.
Ian J.
Level 2
Level 2
Posts: 13
Joined: Sun Sep 27, 2015 5:59 am

Re: Winamp - CD Drive Not Visible

Post by Ian J. »

OK, I tried that but nothing showed up in the terminal window.

I've just checked and my Wine version is 1.7.50. That seems to be the latest version available via the ubuntu package system. I'm not at all sure how I could get 1.7.51 onto my system.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Winamp - CD Drive Not Visible

Post by dimesio »

Even with it working, I have messages in the terminal. What is the exact command you used to start it?
Ian J.
Level 2
Level 2
Posts: 13
Joined: Sun Sep 27, 2015 5:59 am

Re: Winamp - CD Drive Not Visible

Post by Ian J. »

I either double-click the desktop icon or click the Wine->Winamp menu item.
Ian J.
Level 2
Level 2
Posts: 13
Joined: Sun Sep 27, 2015 5:59 am

Re: Winamp - CD Drive Not Visible

Post by Ian J. »

OK, I've started Winamp from a terminal, this is the output:

Code: Select all

ianj@Lekara-Linux ~/.wine/drive_c/Program Files/Winamp $ wine winamp.exe
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:msg:ChangeWindowMessageFilter c042 00000001
fixme:msg:ChangeWindowMessageFilter 323 00000001
fixme:msg:ChangeWindowMessageFilter 326 00000001
fixme:msg:ChangeWindowMessageFilter 111 00000001
fixme:dwmapi:DwmSetWindowAttribute (0x10058, 7, 0x86b710, 4) stub
fixme:heap:RtlSetHeapInformation 0x1390000 0 0x868f24 4 stub
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x14e8b0)->({00000003-0000-0000-c000-000000000046} 0x159e208) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x14e8b0)->({00000003-0000-0000-c000-000000000046} 0x159e18c) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x14e8b0)->({00000019-0000-0000-c000-000000000046} 0x154a80) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryAppIsDefault (0x14e8b0)->(L".MP3", 0, 1, L"Winamp", 0x159e528)
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x1552c8)->({00000003-0000-0000-c000-000000000046} 0x159e208) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x1552c8)->({00000003-0000-0000-c000-000000000046} 0x159e18c) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x1552c8)->({00000019-0000-0000-c000-000000000046} 0x153640) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryAppIsDefault (0x1552c8)->(L".MP2", 0, 1, L"Winamp", 0x159e528)
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x14e8b0)->({00000003-0000-0000-c000-000000000046} 0x159e208) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x14e8b0)->({00000003-0000-0000-c000-000000000046} 0x159e18c) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x14e8b0)->({00000019-0000-0000-c000-000000000046} 0x1535c0) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryAppIsDefault (0x14e8b0)->(L".OGG", 0, 1, L"Winamp", 0x159e528)
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x1552c8)->({00000003-0000-0000-c000-000000000046} 0x159e208) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x1552c8)->({00000003-0000-0000-c000-000000000046} 0x159e18c) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x1552c8)->({00000019-0000-0000-c000-000000000046} 0x154c10) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryAppIsDefault (0x1552c8)->(L".WMA", 0, 1, L"Winamp", 0x159e528)
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x1522a8)->({00000003-0000-0000-c000-000000000046} 0x159e208) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x1522a8)->({00000003-0000-0000-c000-000000000046} 0x159e18c) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x1522a8)->({00000019-0000-0000-c000-000000000046} 0x153480) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryAppIsDefault (0x1522a8)->(L".M3U", 0, 1, L"Winamp", 0x159e528)
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x156cb8)->({00000003-0000-0000-c000-000000000046} 0x159e208) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x156cb8)->({00000003-0000-0000-c000-000000000046} 0x159e18c) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x156cb8)->({00000019-0000-0000-c000-000000000046} 0x1524f0) interface not supported
fixme:shell:ApplicationAssociationRegistration_QueryAppIsDefault (0x156cb8)->(L".M3U8", 0, 1, L"Winamp", 0x159e528)
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:win:RegisterShellHookWindow (0x10058): stub
fixme:shell:ColorAdjustLuma Ignoring luma adjustment
err:tooltips:TOOLTIPS_WindowProc unknown msg 1400 wp=00000000 lp=00000009
fixme:module:load_library unsupported flag(s) used (flags: 0x00000022)
err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded
err:ole:CoGetClassObject class {35440327-1517-4b72-865e-3ffe8e97002f} not registered
err:ole:CoGetClassObject no class object {35440327-1517-4b72-865e-3ffe8e97002f} could be created for context 0x1
fixme:msvcrt:__clean_type_info_names_internal (0x7e081f8) stub
err:ole:CoGetClassObject class {bd1a6357-3e9b-4f1b-8375-aee989ed6c5e} not registered
err:ole:CoGetClassObject class {bd1a6357-3e9b-4f1b-8375-aee989ed6c5e} not registered
err:ole:create_server class {bd1a6357-3e9b-4f1b-8375-aee989ed6c5e} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {bd1a6357-3e9b-4f1b-8375-aee989ed6c5e} could be created for context 0x17
err:ole:CoGetClassObject class {25baad81-3560-11d3-8471-00c04f79dbc0} not registered
err:ole:CoGetClassObject class {25baad81-3560-11d3-8471-00c04f79dbc0} not registered
err:ole:create_server class {25baad81-3560-11d3-8471-00c04f79dbc0} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Winamp - CD Drive Not Visible

Post by dimesio »

Code: Select all

fixme:shell:ApplicationAssociationRegistration_QueryInterface (0x156cb8)->({00000019-0000-0000-c000-000000000046} 0x1524f0) interface not supported
I don't get the above in my terminal output, but I don't know why you're getting it.
Ian J.
Level 2
Level 2
Posts: 13
Joined: Sun Sep 27, 2015 5:59 am

Re: Winamp - CD Drive Not Visible

Post by Ian J. »

Those lines appear to be related to file type associations for Winamp to run.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Winamp - CD Drive Not Visible

Post by dimesio »

The rest of your console output looks the same as mine.

I did think of one thing: is your user in the cdrom group? If not, try adding it.
Ian J.
Level 2
Level 2
Posts: 13
Joined: Sun Sep 27, 2015 5:59 am

Re: Winamp - CD Drive Not Visible

Post by Ian J. »

I've just checked and my user is already part of the 'cdrom' group.

But that's made me think about my CD drive setup within Wine. I've had to create an fstab entry for a folder (called '/audiocd') for it in order for it to show up within Wine Configuration. Can you let me know how you've got your CD drive set up? I'm wondering if I done it correctly.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Winamp - CD Drive Not Visible

Post by dimesio »

The optical drive is set up with whatever udev rules are the default on openSUSE; I didn't do anything. There is no entry for it in /etc/fstab. I also didn't set up anything in winecfg. Winamp just automatically detected when there was a cd in the drive.

Unfortunately, I don't know enough about udev rules to help you with that.
Ian J.
Level 2
Level 2
Posts: 13
Joined: Sun Sep 27, 2015 5:59 am

Re: Winamp - CD Drive Not Visible

Post by Ian J. »

OK, thanks for trying to help. It looks like I've reached a dead end for now.
Ian J.
Level 2
Level 2
Posts: 13
Joined: Sun Sep 27, 2015 5:59 am

Re: Winamp - CD Drive Not Visible

Post by Ian J. »

Something I have noticed is that when I manually setup the Wine drive letter for the CD drive, I can see the audio cd label and serial values in the drive but can't see the device value. But when I use the autodetect option, the audio cd label value isn't there, serial value is 0, but the device value is /dev/sr0
Attachments
Manual setup of CD drive letter
Manual setup of CD drive letter
Auto detect setup of CD drive letter
Auto detect setup of CD drive letter
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Winamp - CD Drive Not Visible

Post by dimesio »

On my system winecfg autodetect doesn't detect my optical drive at all with an audio cd in it; it only detects it when there is a mounted data cd or dvd in it.
Locked