LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   having trouble playing audio cds with xmms (https://www.linuxquestions.org/questions/slackware-14/having-trouble-playing-audio-cds-with-xmms-234466/)

Smokey 09-23-2004 04:46 PM

having trouble playing audio cds with xmms
 
This is my fstab

Quote:

smokey@darkstar:~% cat /etc/fstab
/dev/hda6 swap swap defaults 0 0
/dev/hda5 / ext2 defaults 1 1
/dev/hda1 /mnt/win32 ntfs ro,user,utf8,umask=022 0 2
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
Why cant I play cds? any user has the permissions.....

But its weird cause root can play the cds but no sound comes out..

This is slackware 9.1 & xmms 1.2.8

ringwraith 09-23-2004 05:19 PM

have you gone to the preferences/options and configured the cd input section. sometimes in xmms you have to fiddle with the input and output settings.

michaelk 09-23-2004 05:52 PM

Audio CDs do not contain a filesystem and therefore the fstab entry for the CDROM in this case does not matter. BTW the user option in fstab means that any regular user can mount the filesystem.

Verify the mixer volume control for the CD drive level is not muted or set to min. xmms 1.2.8 is capable of digital audio extraction therefore not having an audio cable between the sound card and the drive should not be an issue.

Can you play MP3s etc. etc. What about other sounds?

Smokey 09-23-2004 06:08 PM

ok I tried to add the cd player plugin but it says permission denied? for /dev/cdrom ?? whats going on? :\

Smokey 09-23-2004 06:59 PM

I think I messed something up with my xmms, now the songs seem to play faster, what did I do ? :\ I did a removepkg xmms and rm -rf .xmms but it still plays songs faster......wth?

worldwiderob 09-23-2004 07:44 PM

CD audio is indeed a device thing, like burning cds, or formatting drives.

In Slackware, devices already have good permissions. However, you need to add users to the correct groups. So if your user is foo, you need to do:

usermod -G cdrom,audio foo

Make sure you list all the supplementary groups you want your users to be in. I usually add floppy, too, so that I can format floppy disks from my user account.

The only complication is, that if you are using an IDE CD-ROM, your cd drive will be accessed through something like /dev/hdc, rather than a SCSI device. Now the group for all IDE devices is disk, not cdrom. Don't add users to the disk group, or they will be able format you hard drives. Instead, change the group of just the CD drive device to cdrom.

So, do

ls -l /dev/cdrom

To find out what /dev/cdrom is pointing to. It is just a symlink. If it is pointing to a scsi device (/dev/scd0 or /dev/sr0 perhaps) then everything is good. If it is an ide device, let's say /dev/hdc, then do:

chgrp cdrom /dev/hdc

If at any time you swap around your IDE disk drives, remember to change the /dev/hd? groups accordingly :-)

For your problem with audio even from root, michaelk's post is very good.

worldwiderob 09-23-2004 08:56 PM

Sorry, I overlooked your last post about xmms playing too fast.

Try clicking on the "CD Audio Player" plugin and clicking "Configure". Then click on the "Check Drive" button with a CD in the drive.

Does it report any problems?

Maybe just do a bit more tinkering with the settings that you changed :)


All times are GMT -5. The time now is 09:12 AM.