You are not logged in.

#1 2007-09-07 14:29:34

micder
Member
From: Netherlands
Registered: 2006-04-14
Posts: 20

Kscd does not play CD's

Just installed Arch from Duke-base.iso.
Everything went well from thereon with help of the good documentation in the Wiki.
On-line sound video with Mplayer is OK.
However I can't play CD's with Kscd, as I "have no right of access to /mnt/cdrom".
However I can mount a data-cd without problems (mount /mnt/cdrom).
My fstab reads:

/dev/cdrom   /mnt/cdrom   iso9660    ro,user,noauto,unhide   0      0
/dev/dvd     /mnt/dvd     udf        ro,user,noauto,unhide   0      0
/dev/fd0     /mnt/fd0     vfat       user,noauto   0      0
/dev/sda13   /            ext3       defaults    0 1
/dev/sda5    swap         swap       defaults    0 0

Any ideas how to solve this?

Last edited by micder (2007-09-08 11:30:08)

Offline

#2 2007-09-07 14:31:30

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Kscd does not play CD's

You don't mount Audio CDs. You should point Kscd to /dev/cdrom, not /mnt/cdrom.

Last edited by lucke (2007-09-07 14:31:55)

Offline

#3 2007-09-07 14:53:15

micder
Member
From: Netherlands
Registered: 2006-04-14
Posts: 20

Re: Kscd does not play CD's

Kscd is pointing to /dev/cdrom! : CDRom-player: /dev/cdrom
Sorry my mistake: I said no access to /mnt/cdrom.
But the warning is no access to /dev/cdrom.
I'm not trying to mount the audio-cd!

However, as said above, I can mount a data-cd

Offline

#4 2007-09-07 15:27:26

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Kscd does not play CD's

You're part of the optical group, right?


1000

Offline

#5 2007-09-07 16:12:38

micder
Member
From: Netherlands
Registered: 2006-04-14
Posts: 20

Re: Kscd does not play CD's

Yes, I'm part of the optical group (and audio,video,scanner,camera).
la /dev/cdrom gives:
lrwxrwxrwx 1 root root 17 sep  7 18:04 /dev/cdrom -> /dev/cd/cdrom-sr0
Tried to chgrp optical /dev/cdrom to no avail
Am out of ideas.
Something in udev??

Offline

#6 2007-09-07 16:15:42

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Kscd does not play CD's

What if you try kaffeine or amarok or audiocd kio-slave (audiocd:/ in konqueror, I presume you're using KDE)?

Offline

#7 2007-09-07 16:49:16

micder
Member
From: Netherlands
Registered: 2006-04-14
Posts: 20

Re: Kscd does not play CD's

I just tried xmms.
In CD-audio-player configuration I pressed Check equipment
and I got :

 opening /dev/cdrom failed
error: access denied
File: /mnt/cdrom OK

seems i have no access in audio mode ???

In Konqueror audiocd:/
gave:

Er deed zich een fout voor tijdens het laden van audiocd:/:
Apparaat heeft geen leesrechten voor dit account. Controleer de leesrechten van het apparaat.

Translated:
No read rights for this account.

BTW
I can play audio as root

Last edited by micder (2007-09-07 17:03:46)

Offline

#8 2007-09-08 10:41:47

micder
Member
From: Netherlands
Registered: 2006-04-14
Posts: 20

Re: Kscd does not play CD's

Problem solved smile
/dev/cdrom finally links to /dev/sr0
chgrp optical and chmod a+r made my cdrom accessable.
Thanks for your patience

Offline

#9 2007-09-08 11:33:25

micder
Member
From: Netherlands
Registered: 2006-04-14
Posts: 20

Re: Kscd does not play CD's

Surprise, surprise..
After a new boot the right to read /dev/sr0 was gone yikes
Had to chmod a+r /dev/sr0 again to get access to audio playing
Any ideas?

Offline

#10 2007-09-08 18:49:28

Cogar
Member
Registered: 2007-07-22
Posts: 43

Re: Kscd does not play CD's

Try adding the user to the storage group.

Offline

#11 2007-09-09 09:55:40

micder
Member
From: Netherlands
Registered: 2006-04-14
Posts: 20

Re: Kscd does not play CD's

Thank you.
But I'm in the storage group.

In Arch the link /dev/cdrom to /dev/sr0 is reestablished at boot.
It's not permanent: I saw that when chrooting into Arch from Slack.
In Slack the link /dev/cdrom to /dev/hdb is permanent.
???

Offline

#12 2007-09-09 11:46:45

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Kscd does not play CD's

Honestly, "pata" hook has been giving me all kinds of problem with my DVD. You might try changing to "ide" in /etc/mkinitcpio.conf (note that if you're using IDE HDDs that will your change them to hdX scheme -> fstab and grub would need adjusting in that case).

Hym, but it seems that your problem is more rights related. Read the wiki article on udev, maybe you'll find out something.

Last edited by lucke (2007-09-09 11:49:00)

Offline

#13 2007-09-09 12:08:54

micder
Member
From: Netherlands
Registered: 2006-04-14
Posts: 20

Re: Kscd does not play CD's

Thank you Lucke.

you wrote

Read the wiki article on udev, maybe you'll find out something.

I'll certainly do that.
For a quick and dirty solution I'll put chmod a+r /dev/sr0 in my rc.local

Offline

Board footer

Powered by FluxBB