SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, I've done some searching on this. I know it has worked in the past.
I just reinstalled slackware on my laptop.
My question is so basic, I couldn't find a thread about it. I don't think the search funtion knows what to do with a two character search string like "CD".
Anywy, I have XMMS 1.2.10 installed. It will play files from /usr/share/sounds.
Under Options/Preferences I have Output Plugin is ALSA 1.2.10 [libALSA.so]
Under Input Plugins CD Audio Player 1.2.10 [libcdaudio.so] is in the list. Under Configure for that, the Device is /dev/cdrom and the Directory is /mnt/cdrom.
Now, I know you don't 'mount /dev/cdrom /mnt/cdrom' to play audio CDs.
I put a CD in the drive. Now, how do I play it in XMMS? I can't get the tracks to show up in the playlist.
Maybe I need to go into fstab and change noauto to auto on the /dev/cdrom line. Maybe I need to tap the laptop with my hammer.
hmm. first of all, i would change /dev/hdb to 777 too, because i'm pretty sure you can't access a directory unless you have execute permissions...at least i think that's true. second, you might change your fstab entry to "users" instead of "owner", so that any user can mount/umount . also, if that doesn't work, then after "ro" add "umask=000"
Originally posted by mcd hmm. first of all, i would change /dev/hdb to 777 too, because i'm pretty sure you can't access a directory unless you have execute permissions...at least i think that's true. second, you might change your fstab entry to "users" instead of "owner", so that any user can mount/umount . also, if that doesn't work, then after "ro" add "umask=000"
/dev/hdb doesn't need to be 777. At least it's not on my red hat machine. On that machine I have a regular CD player and a CDRW. One is /dev/hdc and the other is /dev/scd0. They are both only 600. However, I can't get XMMS to play CD's there either. kscd is launched when I insert a CD and it plays CD's just fine.
I tried the users and umask thing in fstab, but it had no effect.
Anybody else?
All I wanna do is listen to a CD with XMMS.
I'm thinking that /dev/cdrom is enough for data CD's, but since it's a CDRW/DVD then maybe it should be something else, similar to the CDRW on my red hat machine being /dev/scd0.
And, alsa is installed because I had to reinstall it from the CD after swaret installed a newer version that wanted a new kernel. But, the issue here is not the sound. It's the finding the CD.
hehe, yeah, just a little over-the-top. does anyone know though, I thought when you're dealing with cdroms rw doesn't allow you to access a directory, you need x also...was it another filesystem i'm thinking of, or am i totally making that up?
Originally posted by mcd hehe, yeah, just a little over-the-top. does anyone know though, I thought when you're dealing with cdroms rw doesn't allow you to access a directory, you need x also...was it another filesystem i'm thinking of, or am i totally making that up?
And again: it's a RAW device, and no, you can't execute those,
and no, they're not directories, either.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.