Author Topic: Music CD 2010  (Read 837 times)

Offline dangbert

  • Sr. Member
  • ****
  • Posts: 360
Music CD 2010
« on: April 23, 2010, 11:02:42 AM »

I am running 2010 KDE on an AMD Phenom, with 4gig of RAM and the MSI DVD -+RW is SATA.

I dropped a CD in the tray, closed it and waited for it to register/mount.  Got the little pop-up that said it was available and I had six things I could do with it.  Only one of them had anything to do with a CD (Amarok, which would not load it), two were for DVD (Kaffine and SMPlayer, neither of which would load it), two were for K3b and one for Dolphin(which would not load it).  Only K3B would open the CD so I could rip it, which I did not want to do, I just wanted to listen to it.  So, I tried "KsCD , Alsaplayer, XMMs and none of them would load it (in fact, KsCD and Alsaplayer would not even load).  I finally opened Xine, and had it do a search for a CD and it found and played the CD.

So, am I screwing up (a decided possibility) or  are there problems with KsCD and AlsaPlayer?  Also, should a CD not register as a CD and load players that can play it? 

Thanks in advance.

Deb

Offline old_guy

  • Hero Member
  • *****
  • Posts: 706
Re: Music CD 2010
« Reply #1 on: April 23, 2010, 12:21:50 PM »
dangbert
Check through
http://www.pclinuxos.com/forum/index.php/topic,71065.0.html
We just went around with a similar problem. See if anything there helps.
Never too old to learn.

Offline dangbert

  • Sr. Member
  • ****
  • Posts: 360
Re: Music CD 2010
« Reply #2 on: April 23, 2010, 05:03:42 PM »

To paraphrase Julius Caesar, "I went, I looked, I did, it didn't"

KsCD and Alsaplayer still will not load.  Auduicious2 will not recognize the CD.  Amarok will show the CD on the sidebar but quickly close the selection window when you click on a song (Amarok works fine with ".pls" files over the internet).  Grip will not play, but it does load and will probably rip if I tried it.  So, the bottom line is, "Xine and its clones works fine, but I have to load manually, i.e., open and click on "CD" to get it to play.  Anything else is essentially dead in the water, as far as CD's go. 

Thanks again

Deb

Offline Krisbee

  • Sr. Member
  • ****
  • Posts: 335
Re: Music CD 2010
« Reply #3 on: April 24, 2010, 04:11:08 AM »
If you have two optical drives (or even one) the config can get screwed up.  I found my DVD drive ended up with root/floppy as the owner group which meant audio CDs were not detected or playable.  If this happens it can be fixed by writing a udev rule.

I would first check your optical drive(s) permissions, groups, links etc. What's the output of these CLI commands?

1. ls -l /dev/cd*
2. ls -l /dev/dv*
3. ls -l /dev/sr*

Double check your user group membership at the CLI with

4. groups

Chris

Offline dangbert

  • Sr. Member
  • ****
  • Posts: 360
Re: Music CD 2010
« Reply #4 on: April 24, 2010, 07:07:37 AM »


Thanks Krisbee, the permissions were off.  Just goes to show why two heads are  better than one.  However, the correcting the permissions and groups did nothing to help with the playback problem.

Deb

Offline Krisbee

  • Sr. Member
  • ****
  • Posts: 335
Re: Music CD 2010
« Reply #5 on: April 24, 2010, 10:03:03 AM »


Thanks Krisbee, the permissions were off.  Just goes to show why two heads are  better than one.  However, the correcting the permissions and groups did nothing to help with the playback problem.

Deb

So what were the "permissions"  and how did you correct them?

In my case my dvd writer was OK, but to ensure the dvd rom group was cdrom I added a udev rule,

/etc/udev/rules.d/61-block_config.rules

Code: [Select]
# needed as 2010 places /dev/sr1 my cdrom on root/floppy
SUBSYSTEM=="block", KERNEL=="sr1", OWNER="fred", GROUP="cdrom"

Substitute your user name for fred and sr1 for your device..
Chris

Offline dangbert

  • Sr. Member
  • ****
  • Posts: 360
Re: Music CD 2010
« Reply #6 on: April 24, 2010, 10:38:30 AM »

All of the  device identifiers were set to  "R/W" for all but Others, which were forbidden.  The Groups were Root and Root for the odd position device identifiers  (cdrom, dvd0, sr0) and Root and Floppy for the even numbered .   All are set to "R/W" for all and Root and Root.

Deb

Offline Krisbee

  • Sr. Member
  • ****
  • Posts: 335
Re: Music CD 2010
« Reply #7 on: April 24, 2010, 03:46:26 PM »
I think that owner/group of root/floppy is messing things up for a few people.  But I haven't seen Tex and his gang pick up on it yet.
Chris

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12524
Re: Music CD 2010
« Reply #8 on: April 24, 2010, 03:59:21 PM »
I think that owner/group of root/floppy is messing things up for a few people.  But I haven't seen Tex and his gang pick up on it yet.

Should not be as udev was updated...

* Sat Apr 10 2010 Texstar <texstar at gmail.com> 1.51-2pclos2010
- fix floppy rule

and in /etc/rc.d/rc.sysinit for added measure...

# Fix linkage to cdrom/dvd and permissons since udev is screwed
ln -s /dev/sr0 /dev/dvd > /dev/null 2>&1
ln -s /dev/sr0 /dev/cdrom > /dev/null 2>&1
chmod 777 /dev/sr0 > /dev/null 2>&1
chown root:root /dev/sr0 > /dev/null 2>&1


« Last Edit: April 24, 2010, 04:01:27 PM by Texstar »

Thanks to everyone who donates. You keep the servers running.

Offline dangbert

  • Sr. Member
  • ****
  • Posts: 360
Re: Music CD 2010
« Reply #9 on: April 24, 2010, 09:11:06 PM »

I installed the symbolic links, twice.  The first time I typed them in and rebooted.  I had the same audio problems AND a dead wireless connection  So, knowing my typing can get me into trouble, I did a cut and paste.  Still a dead wireless card (fortunately this box sits right under my router) and no change in the Audio.

So, how do I delete the symbolic links so I can get my wireless back?  The obvious way would be to just find and delete.  However, before I get myself in serious trouble, any tips would be appreciated.

Deb

Offline Krisbee

  • Sr. Member
  • ****
  • Posts: 335
Re: Music CD 2010
« Reply #10 on: April 25, 2010, 03:12:06 AM »
I think that owner/group of root/floppy is messing things up for a few people.  But I haven't seen Tex and his gang pick up on it yet.

Should not be as udev was updated...

* Sat Apr 10 2010 Texstar <texstar at gmail.com> 1.51-2pclos2010
- fix floppy rule

and in /etc/rc.d/rc.sysinit for added measure...

# Fix linkage to cdrom/dvd and permissons since udev is screwed
ln -s /dev/sr0 /dev/dvd > /dev/null 2>&1
ln -s /dev/sr0 /dev/cdrom > /dev/null 2>&1
chmod 777 /dev/sr0 > /dev/null 2>&1
chown root:root /dev/sr0 > /dev/null 2>&1


Well it's not fixed for me.  This is the config when running the 2010 live CD and except for a change in the user groups it is inherited when installed on
 hard drive:

[guest@localhost guest]$ groups
guest root bin daemon sys adm tty disk lp mem kmem wheel mail news uucp man floppy games tape cdrom utmp shadow chkpwd auth usb cdwriter audio video dialout users dansguardian squid machines lpadmin saned xfs ntp rpcuser rpc rtkit sshd slocate pulse-access mysql uuidd polkituser ctools ntools xgrp vcsa haldaemon messagebus avahi-autoipd avahi rpm nogroup
[guest@localhost guest]$ ls -l /dev/cd*
lrwxrwxrwx 1 root root 3 2010-04-21 12:07 /dev/cdrom -> sr1
lrwxrwxrwx 1 root root 3 2010-04-21 12:02 /dev/cdrom1 -> sr0
lrwxrwxrwx 1 root root 3 2010-04-21 12:02 /dev/cdrw1 -> sr0
[guest@localhost guest]$ ls -l /dev/dv*
lrwxrwxrwx 1 root root 3 2010-04-21 12:07 /dev/dvd -> sr1
lrwxrwxrwx 1 root root 3 2010-04-21 12:02 /dev/dvd1 -> sr0
lrwxrwxrwx 1 root root 3 2010-04-21 12:02 /dev/dvdrw1 -> sr0
[guest@localhost guest]$ ls -l /dev/sr*
brwxrwxrwx  1 root root   11, 0 2010-04-21 12:02 /dev/sr0
brw-rw----+ 1 root floppy 11, 1 2010-04-21 12:07 /dev/sr1



My two optical drives are configured as master and slave and are connected to the single IDE controller on my m/board.  The DVD-RW is /dev/sr0 and the DVD-ROM is /dev/sr1. Place a DVD in the DVD-RW drive and the group of /dev/sr0 changes to cdwriter.  Place a CD in the DVD-ROM drive and the group remains as floppy. ???????

Chris