SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I use Slackware full-time on my personal machine, a Lenovo T61, and I've used Slackware happily for the past 15 years. I've always been able to find answers to my questions by searching, but this time I'm stumped and find myself posting my first question ever to a help site.
Recently installed Slackware 13.0 out of the box, which has KDE 4.2.4. I've added myself as a regular user, and made sure I'm a member of the audio and cdrom groups. I've configured sound with alsaconf and alsamixer, and sound works fine when playing digital files (audio and video). I can mount data CDs and DVDs, and read them with Dolphin. When I insert an audio CD, I can't get any application to see it, except for the "Last plugged in device" widget, which only gives me K3B as an option to rip the CD - no option to play the CD. If I allow K3B to launch, that application can see the tracks.
In my searches for a solution, I've read posts that suggest KDE 4 does not have good support for playing audio CDs. I've seen various suggestions for fixes that relate to udev, HAL and adding actions. I'm out of my league here, as I'm a casual user, not one who can dive into these details.
My guess is that udev is OK because K3B can see the audio CD.
There are no actions that appear to relate to start playing a CD, so I think this is where the problem lies, but I'm not sure, and if it is, I don't know how to fix it. Things have gotten a lot more complicated over the years...
Playing an audio CD should be a simple task, and I'm embarrassed that it's taking so long to debug this problem.
Please let me know if you have a solution, or need more info on my configuration. Any tips on methodical troubleshooting would also be appreciated.
I'm not particular about the CD player I want to use, but I'd prefer it to be GUI based. Amarok would be fine. I tried cdda-player from the command line as you suggested, and I can see that it is playing the tracks (so I can add this to the list of applications that at least can see the CD); however, there was no sound from the speakers or headphones. I don't see anything obvious from alsamixer why there would be no sound. I'll need to investigate this further later.
With Amarok, when I select "Play Media", I can't find where to point it to see the CD. I tried all of the devices under /media.
Similar result with the other GUI-based players (Audacious, XMMS) that come stock with Slackware - cannot find the CD.
Distribution: x86_64 Slack 13.37 current : +others
The first thing I would do is stick a live distro in the CD/DVD drve and fire it up and if evrything works then you can say your hardware is Ok then you can continue trying to resolve the software issue...
Thanks to everyone for your comments and suggestions.
hughetorrance: Tested live distro and it works fine.
globaltree: Thanks for the link to the FAQ. It's good to know when a solution does not exist, so I can stop looking. I read the Amarok Handbook that described how to play an audio CD - so I expected it should work - but now I realize that was for Amarok 1.x, and I didn't expect to lose a feature going to Amarok 2.
I noticed this link on the Amarok site: http://amarok.kde.org/en/releases/2.2/beta/1
and the following excerpt from the description of the new release:
"Want to play a CD? Just put it in your drive and it will appear in the collection browser, allowing you to either play it directly or copy the tracks to your harddrive."
There is now stable source for 2.2.2, so I might give that a try when I find more time.
dive: I tried xine to play the CD, and it works - sound and all!
The "no sound from cdda-player" issue still puzzles me, as I wonder if it will bite me again with some other app in the future. I've tried tinkering with alsamixer, and I don't see anything obviously wrong. I don't think anything is muted that should not be, and I unmuted everything anyway just to check. Still no sound (but only with cdda-player).
Playing volume = 100 in the cdda-player window.
I tried adjusting KMix - the settings look a lot like those in alsamixer, and I don't know if they are linked or one overrides the other.
For now, I will just use xine. The solution is a workaround - skip by the "Audio Player" apps in the KDE Applications menu, and choose this multimedia player instead.
I will watch the Slackbuild site to see if xmcd gets uploaded there.
Thanks again very much for your help and suggestions!
Does the kio-audiocd-slave work? In konq or dolphin, type audiocd:// in the location bar. Not a player, but many people seem to forget about the various kio-slaves.
FWIW, workbone nor cdda-player have sound on any of our PCs. But, we also do not use the analog audio cable from the cdrom to the sound card.
If you wanted a couple of other solutions included with Slackware 13.0 -
xmms -p /mnt/cdrom
With audacious I had to go through the plugin service - scan cd - add cd, to get that app to play audio cds. I do find it strange there is not a better application to play audio CDs. Wonder why this feature is not included in Juk, or even a simple play button in KAudioCreator.
I use ThinkPad T60 with Slackware 13.0 and I can confirm: cdda-player plays music from Audio CDs without producing sound. It's really strange. I tried commands: xmms -p /mnt/cdrom as well as mplayer cdda:// and both play music. I tried also xine and audaciuos and both work well too. In my opinion audacious is the best if you prefer GUI applications.
EDIT 1: In audacious you'll find CD-ROM after right mouse button click in Plugin Services menu.
EDIT 2: Since T61 uses SCSI hard drive CD-ROM device isn't /dev/hdc but /dev/hda (or /dev/cdrom symbolic link).
EDIT 3: I tried workbone -a command. It plays music though it isn't comfortable to use numpad on my T60.
EDIT 4: After trying workbone I tried cdda-player and it started to play music aloud.
EDIT 5: Two above reports was about miracles. I can't force workbone or cdda-player to play music now.
Both the xmms and mplayer command line options worked. workbone did not, but I agree that workbone isn't the most convenient choice because of the numpad control. Actually, my machine seized when I ran workbone - to the extent that I had to hit the power button, which managed to start an orderly (but very, very slow) shutdown sequence.
Thanks for the tip to get audacious to find the CD. That works now too.
Excellent responses - thanks everyone! I haven't seen such a list of options on this topic anywhere else.