LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-23-2004, 04:46 PM   #1
Smokey
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 313

Rep: Reputation: 30
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
 
Old 09-23-2004, 05:19 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
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.
 
Old 09-23-2004, 05:52 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
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?

Last edited by michaelk; 09-23-2004 at 06:01 PM.
 
Old 09-23-2004, 06:08 PM   #4
Smokey
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 313

Original Poster
Rep: Reputation: 30
ok I tried to add the cd player plugin but it says permission denied? for /dev/cdrom ?? whats going on? :\
 
Old 09-23-2004, 06:59 PM   #5
Smokey
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 313

Original Poster
Rep: Reputation: 30
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?
 
Old 09-23-2004, 07:44 PM   #6
worldwiderob
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware
Posts: 22

Rep: Reputation: 15
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.
 
Old 09-23-2004, 08:56 PM   #7
worldwiderob
LQ Newbie
 
Registered: Apr 2004
Distribution: Slackware
Posts: 22

Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xmms playing from cds without sound!! minike Linux - Software 4 09-26-2005 10:40 AM
xmms playing cds but no sound anindyanuri Linux - Software 4 05-07-2005 10:45 PM
playing cds w/ xmms ergo_sum Linux - Newbie 9 11-20-2003 09:19 PM
playing CDs in konq/xmms matjaz85 Linux - General 1 07-07-2002 05:52 AM
XMMS playing CDs matjaz85 Linux - General 0 07-01-2002 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration