You are not logged in.

#1 2006-04-09 12:39:30

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

audio cd not recognised

I put in an audio CD into my disk drive, it makes a lot of noise and then nothing happens- I open xmms, go to /mnt/cd but there are no files there... i go to Grip and it says 'no disc'...

I've can play a dvd on mplayer, albeit with the x11 driver, and I can read a data cd (that i had some mp3's I'd burnt onto it)... but not an audio CD...

in /etc/rc.conf: for modules it has MOD_AUTOLOAD="yes", and for DAEMONS it has DAEMONS=(syslog-ng !hotplug !pcmcia network netfs crond asla hal)

in /etc/group it has:
video:!:91:christian
audio:!:93christian
optical:!:93christian,hal
(i'm also on 'wheel', 'tty', and 'floppy' ... do i need to be on disk?)

any help please?! thanks!

Offline

#2 2006-04-09 12:49:47

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: audio cd not recognised

In xmms you need to have xmms-cdparanoia installed to play cd directly in it.

For grip, do you have the correct path in your config.
You also need the path to your cd-drive in xmms: /dev/path/to/cd-drive.

About your daemons array above, it says asla instead of alsa, you might want to fix that to, though it is not related

Offline

#3 2006-04-09 13:52:01

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: audio cd not recognised

thanks for quick reply- focusingon grip first (while i download xmms-cdparanoia...

i've tried changing the path inconfig and still it somes up with 'no disc'

I've tried:
/dev/cdrom
/dev/cdrom0
/mnt/cd

and none of them work... - it still comes up with 'no disc' ... might it be somethingwrong with my fstab?

thanks

Offline

#4 2006-04-09 14:53:26

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: audio cd not recognised

id change /etc/fstab from /dev/cdrom  to /dev/hdX  where X would be the corresponding letter of your device
primary master ide hda
secondary master hdc
then tell grip the same

Offline

#5 2006-04-10 15:00:13

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: audio cd not recognised

in /etc/fstab i've tried putting: (where once it had /dev/cdrom)

/dev/hda
or
/dev/hdc  ...  and neither seems to have changed anything - despite also changing it (/dev/hda or /dev/hdc) in Grip, it still comes up with 'no disc'

the rest of my fstab is (whic i've changed back is)

/dev/cdrom    /mnt/cd    iso9660  ro,user,noauto,unhide      0    0


thanks for replying so fast!

Offline

#6 2006-04-10 17:37:55

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: audio cd not recognised

i've done some more rummaging around- some people awhile back were talking about needing udev permissions on cdrom drives...? or perhpas it's a module problem? or daemons?

Offline

#7 2006-04-10 22:59:23

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: audio cd not recognised

On my system, /dev/hdc is not in the optical group. I'll need to make a udev rule for it. Maybe you have the same problem.  Try playing a cd as root. If it works, then it means that it's a permission issue.

Offline

#8 2006-04-15 10:46:59

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: audio cd not recognised

it still doesn't work when I try playing it at root ( so doesn't appear to be a permissions problem)... the CD player makes a lot of 'whirring' noises when I put in the audio CD, and appears to be trying to mount the CD (when I know you don't mount audio CD's)- so then it says: :

Mount: no medium found
Mount failed

Is and it lists nothing in the /mnt/cd folder.... should I try to stop it trying to mount the CD? or is it something wrong with my CD player (yet I know it works with things like data cds...)

thanks!

Offline

#9 2006-04-15 11:10:32

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: audio cd not recognised

I have had a simular issue, are you using kde per chance.....
if you are put the disk in the drive and wait, a window pops up asking what to do with the media, select do nothing and tick the checkbox for always do this for this type of media....
the automounting of kde is blocking access to the drive ,once you have told it to ignore the media you can then open it with what you want eg grip or xmms.

Offline

#10 2006-04-15 11:17:25

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: audio cd not recognised

i'm using xfce4 with Rox file manager... no window pops up for me so how would i stop it trying to auto mount?

Or perhaps- is there another programme that might be autoloading- HAL? Pmount? that i might have inadvertantly installed?

thanks!

Offline

#11 2006-04-15 11:21:02

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: audio cd not recognised

yep its hal that does the mounting in kde.... not sure how to alter the config in xfce tho

Offline

#12 2006-04-15 16:56:20

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: audio cd not recognised

I tried turning off HAL in the daemons (in /etc/rc.conf) by !hal but it still keeps whirring and trying to mount... argh!

any iedas? is there another programme- pmount? or something in /etc/fstab that ain't right?)

thanks!

Offline

#13 2006-04-15 17:21:21

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: audio cd not recognised

I use hal as a daemon & enable automount as this is just a feature I enjoy, and below is my fstab entry for the cdrom device. When I pop an audio cd in the tray I get the KDE notification box asking which player to use...generally I choose kaffeine and it begins to play.

/dev/hdd   /mnt/cd   auto  ro,user,noauto,unhide  0   0

/path/to/Truth

Offline

#14 2006-04-16 11:36:13

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: audio cd not recognised

my /etc/fstab is:

/dev/cdrom  /mnt/cd  iso9660 ro,user,noauto,unhide  0 0

I tried changing it to yours but same problems...

Offline

#15 2006-04-16 12:10:51

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: audio cd not recognised

my /etc/fstab

/dev/hda              /mnt/cd   auto   ro,user,noauto,unhide   0      0
/dev/hdb               /mnt/dvd  auto       ro,user,noauto,unhide   0      0

in grip

config>cd>cdrom device  /dev/cdrom

xmms

options>prefferences>input plugins>audio cd player1.2.10 <highlight>device= /dev/cdrom  , directory=/mnt/cd

if that doesnt help you ? i dont know, mine works no problem
are you trying to mount audio cd ?
cause you dont mount it,   just play it  <only a thought<

Offline

#16 2006-04-19 21:52:20

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: audio cd not recognised

i've done exactly as you've suggessted... i still have the same problem with an audio CD, and when I try to mount a data disk it comes up with:

mount- could not determine the filesystem type and none was specified.
Mount failed.

so I put the first line in /etc/fstab to

/dev/hda     /mnt/cd    iso9660   ro,user,noauto,unhide  0   0

and when i try to mount a data cd it comes up with :

mount: /dev/hda already mounted or /mnt/cd busy
Mount failed

My /etc/fstab looks like this now:


#
# /etc/fstab: static file system information
#
# <file>        <dir>          <type>    <options>                      $none                   /dev/pts       devpts    defaults                       $none                   /dev/shm       tmpfs     defaults                       $
/dev/hda               /mnt/cd        iso9660   ro,user,noauto,unhide          $/dev/hdb               /mnt/dvd       auto      ro,user,noauto,unhide          $/dev/fd0               /mnt/fl        vfat      user,noauto                    $/dev/usbdrive          /mnt/usbdrive  vfat      noauto,user,noexec,nodev,nosuid$/dev/ipod              /mnt/ipod      vfat      noatime,noauto,user,umask=000,q$
/dev/hda3 / ext3 defaults 0 1
/dev/hda1 /boot ext2 defaults 0 1
/dev/hda2 swap swap defaults 0 0


My /etc/group looks like this:

root::0:root
bin::1:root,bin,daemon
daemon::2:root,bin,daemon
sys::3:root,bin
adm::4:root,daemon
tty:!:5:christian
disk:!:6:root,christian
lp::7:daemon
mem::8:
kmem::9:
wheel:!:10:root,christian
ftp::11:
mail::12:
log::19:root
smmsp::25:
video:!:91:christian
audio:!:92:christian
optical:!:93:christian,hal
floppy:!:94:christian,hal
storage:!:95:christian,hal
power:x:98:
nobody::99:
users:!:100:christian
slocate:x:21:
christian:x:1000:
dbus:x:81:
camera:x:97:christian
hal:x:82:christian
avahi:x:84:

My /etc/udev/rules.d/udev.rules looks like this (I've only pasted the bits concerning CD player):

###### CD/DVD symlinks - begin
#####################################
ACTION=="add", BUS=="ide", KERNEL=="hd[a-z]", IMPORT="/lib/udev/cdrom_id --export $tempnode"
ACTION=="add", BUS=="scsi",     KERNEL="sr[0-9]*", IMPORT="/lib/udev/cdrom_id --export $tempnode"
ACTION=="add", BUS=="scsi",     KERNEL="scd[a-z]", IMPORT="/lib/udev/cdrom_id --export $tempnode"
ENV{ID_CDROM}=="?*", SYMLINK+="cd/cdrom-%b"
ENV{ID_CDROM_CD_RW}=="?*", SYMLINK+="cd/cdrw-%b"
ENV{ID_CDROM_DVD}=="?*", SYMLINK+="cd/dvd-%b"
ENV{ID_CDROM_DVD_R}=="?*", SYMLINK+="cd/dvd-%b"
ACTION=="add", BUS=="ide", KERNEL=="hd[a-z]", SYSFS{removable}=="1", SYSFS{media}=="cdrom*", RUN+="/lib/udev/cdsymlinks.sh"
ACTION=="add", BUS=="scsi", KERNEL=="sr[0-9]*", SYSFS{type}=="5", RUN+="/lib/udev/cdsymlinks.sh"
ACTION=="add", BUS=="scsi", KERNEL=="sg[0-9]*", SYSFS{type}=="5", RUN+="/lib/udev/cdsymlinks.sh"
ACTION=="remove", BUS=="block", KERNEL=="hd[a-z]", RUN+="/lib/udev/cdsymlinks.sh"
ACTION=="remove", BUS=="block", KERNEL=="sr[0-9]*", SYSFS{type}=="5", RUN+="/lib/udev/cdsymlinks.sh"
ACTION=="remove", BUS=="block", KERNEL=="sg[0-9]*", SYSFS{type}=="5", RUN+="/lib/udev/cdsymlinks.sh"
#####################################
###### CD/DVD symlinks - end
#####################################

#####################################
# Permissions and Symlinks - begin
#####################################
# default permissions for all block devices
SUBSYSTEM=="block",     GROUP="disk"

# permissions for IDE CD devices
BUS=="ide", KERNEL=="hd[a-z]", SYSFS{removable}=="1", SYSFS{media}="cdrom*", NAME="%k", GROUP="optical"

# permissions for SCSI CD devices
BUS=="scsi", KERNEL=="sr[0-9]*", SYSFS{type}=="5", NAME="scd%n", GROUP="optical"
BUS=="scsi", KERNEL=="sg[0-9]*", SYSFS{type}=="5", NAME="%k", GROUP="optical"

I can't think of anything else that might be leading to this problem... any more help would be much appreciated- I just wanna be able to play audio CD's and (now) mount data CD's

THANKS!

Offline

#17 2006-04-20 20:29:07

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: audio cd not recognised

christianpurefoy

so I put the first line in /etc/fstab to

/dev/hda /mnt/cd iso9660 ro,user,noauto,unhide 0 0

and when i try to mount a data cd it comes up with :

mount: /dev/hda already mounted or /mnt/cd busy
Mount failed 

are you sure /dev/hda is your cdrom?
it is on mine cause i put it that way
i dont have an ide hard drive i have a sata & 2 scsi's they are sda,sdb,sdc

later in your post you put all of /etc/fstab

/dev/hda /mnt/cd iso9660 ro,user,noauto,unhide $/dev/hdb /mnt/dvd auto ro,user,noauto,unhide $/dev/fd0 /mnt/fl vfat user,noauto $/dev/usbdrive /mnt/usbdrive vfat noauto,user,noexec,nodev,nosuid$/dev/ipod /mnt/ipod vfat noatime,noauto,user,umask=000,q$
/dev/hda3 / ext3 defaults 0 1
/dev/hda1 /boot ext2 defaults 0 1
/dev/hda2 swap swap defaults 0 0

your /dev/hda is your hard drive not cdrom find out where your cdrom is pluged in


i had posted earlier in this thread

id change /etc/fstab from /dev/cdrom to /dev/hdX where X would be the corresponding letter of your device
primary master ide hda
secondary master hdc
then tell grip the same

following the example i just reposted here if you open your case look where the cdrom's 40pin ribbon cable is plugged  into also look to see if it is set to master or slave on the back of the cdrom (typically MA or SL)
again
primary slave drive would be /dev/hdb
secondary slave drive would be /dev/hdd

Offline

#18 2006-04-20 20:30:01

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: audio cd not recognised

christianpurefoy

so I put the first line in /etc/fstab to

/dev/hda /mnt/cd iso9660 ro,user,noauto,unhide 0 0

and when i try to mount a data cd it comes up with :

mount: /dev/hda already mounted or /mnt/cd busy
Mount failed 

are you sure /dev/hda is your cdrom?
it is on mine cause i put it that way
i dont have an ide hard drive i have a sata & 2 scsi's they are sda,sdb,sdc

later in your post you put all of /etc/fstab

/dev/hda /mnt/cd iso9660 ro,user,noauto,unhide $/dev/hdb /mnt/dvd auto ro,user,noauto,unhide $/dev/fd0 /mnt/fl vfat user,noauto $/dev/usbdrive /mnt/usbdrive vfat noauto,user,noexec,nodev,nosuid$/dev/ipod /mnt/ipod vfat noatime,noauto,user,umask=000,q$
/dev/hda3 / ext3 defaults 0 1
/dev/hda1 /boot ext2 defaults 0 1
/dev/hda2 swap swap defaults 0 0

your /dev/hda is your hard drive not cdrom find out where your cdrom is pluged in


i had posted earlier in this thread

id change /etc/fstab from /dev/cdrom to /dev/hdX where X would be the corresponding letter of your device
primary master ide hda
secondary master hdc
then tell grip the same

following the example i just reposted here if you open your case look where the cdrom's 40pin ribbon cable is plugged  into also look to see if it is set to master or slave on the back of the cdrom (typically MA or SL)
again
primary slave drive would be /dev/hdb
secondary slave drive would be /dev/hdd

Offline

#19 2006-04-26 15:05:10

christianpurefoy
Member
Registered: 2005-10-16
Posts: 136

Re: audio cd not recognised

i took it apart but there was no switch... and now i have a spare screw (which i'll use to replace the one loosening in my head!)...?

Offline

Board footer

Powered by FluxBB