LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-02-2003, 03:22 PM   #1
Joe Soap
Member
 
Registered: Sep 2001
Location: Switzerland
Distribution: Debian, Sidux
Posts: 225

Rep: Reputation: 30
Xmms, permissions and playing cd's


I finally got my soundcard working! Played a normal music cd using xmms while logged on as root -. no problem. Then I logged out of root and onto my normal user account (that has been added to the audio group). As KDE loaded, I was treated to a nice little "log on" tune just to prove that the soundcard was working and that my user account had permission to use it. But I can't play a cd with xmms or with the KDE media player - when I try to add the cd trax to the playlist, it shows nothing...

I assume that there is a permission problem somewhere but I have no idea where to look. Of course, it may be something completely different Any help will be appreciated.

Thanks
Joe
 
Old 09-02-2003, 10:14 PM   #2
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
you could try

chmod /dev/cdrom 444

or whatever your device is called (maybe /dev/hdc)
 
Old 09-02-2003, 11:03 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,520

Rep: Reputation: 70
Re: Xmms, permissions and playing cd's

Quote:
Originally posted by Joe Soap
added to the audio group). As KDE loaded, I was treated to a nice little "log on" tune just to prove that the soundcard was working and that my user account had permission to use it. But I can't play a cd with xmms or with the KDE media player - when I try to add the cd trax to the playlist, it shows nothing...

I assume that there is a permission problem somewhere but I have no idea where to look. Of course, it may be something completely different Any help will be appreciated.

Thanks
Joe [/B]
You would also have to be a member of the cdrom group to access the cdrom as well as the audio. If this does not solve the problem I had to change the group on the /dev/sg* devices and make them read/write to the group as well to be able to use the CD it had been incorrectly set you may want to check for this as well.

You would use:
Code:
[12:00 AM Tue Sep 03: stephen @ ~]
>$ ls -la /dev/sg0
crw-rw----    1 root     cdrom     21,   0 2002-03-14 17:51 /dev/sg0



1. chmod g+rw /dev/sg*
2. chgrp cdrom /dev/sg*
 
Old 09-03-2003, 12:06 PM   #4
Joe Soap
Member
 
Registered: Sep 2001
Location: Switzerland
Distribution: Debian, Sidux
Posts: 225

Original Poster
Rep: Reputation: 30
Thanks guys

I tried your advice. I added my user to the group file and then did a chmod anf chgrp for the /dev/sg* and it worked a treat

Much obliged to you.

Cheers
Joe
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kaffeine and playing cd's (can it look for cd's on both drives at the same time?) RoaCh Of DisCor Linux - Software 3 03-16-2006 01:38 AM
playing cd's.. RoaCh Of DisCor Slackware 2 09-20-2004 08:32 PM
playing CD's yodaj007 Linux - Software 11 11-14-2003 04:55 PM
Playing audio CD's in XMMS darksky Linux - General 4 10-17-2003 11:11 AM
Trouble playing commercial audio cd's. MP3 cd's ok. barryww1956 Linux - General 7 12-17-2001 08:42 PM


All times are GMT -5. The time now is 02:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration