[Sussex] Debian install - Still no sound (from cdrw/dvd)

John D. big-john at dsl.pipex.com
Fri Sep 12 14:48:01 UTC 2003


Hi list,

Since my posts of last week about sound and the advice from Steve D. i have 
done a fair bit of digging around, but still no luck. 

All the stuff that I have managed to find is about permissions, but I don't 
know the correct way to check permissions and stuff, so I tried a command 
that I found a reference to which refered to scsi devices -  "ls -la 
/dev/sg0" but I couldn't see anything like that, or any reference to 
/dev/sg*, so I thought i'd try the suggestions anyhow and got this

debian:/home/john# chmod g+rw /dev/sg0 
chmod: failed to get attributes of `/dev/sg0': No such file or directory 
 
Then I thought that perhaps the system see's the device in the same way as 
mandrake so I tried and got this

debian:/home/john# chmod g+rw /dev/scd0 
chmod: failed to get attributes of `/dev/scd0': No such file or directory 
 
So, as I see that the system refers to my cdrw as "hdc", I tried both 
commands that I found out about (well sort of found about!)
  
debian:/home/john# chmod g+rw /dev/hdc 
debian:/home/john# chgrp cdrom /dev/hdc 
 
both of which just returned a # prompt (and according to "whoever", no news 
is usually good news with linux?). 
 
So, using the original "ls -la /dev" command, it has gone from this, 
 
lr-xr-xr-x 1 root root 32 Sep 11 2003 hda ->
ide/host0/bus0/target0/lun0/disc 
lr-xr-xr-x 1 root root 33 Sep 11 2003 hda1 -> 
ide/host0/bus0/target0/lun0/part1 
lr-xr-xr-x 1 root root 33 Sep 11 2003 hda2 -> 
ide/host0/bus0/target0/lun0/part2 
lr-xr-xr-x 1 root root 33 Sep 11 2003 hda3 -> 
ide/host0/bus0/target0/lun0/part3 
lr-xr-xr-x 1 root root 33 Sep 11 2003 hda4 -> 
ide/host0/bus0/target0/lun0/part4 
 
to this 
 
lr-xr-xr-x 1 root root 32 Sep 11 2003 hda ->
ide/host0/bus0/target0/lun0/disc 
lr-xr-xr-x 1 root root 33 Sep 11 2003 hda1 -> 
ide/host0/bus0/target0/lun0/part1 
lr-xr-xr-x 1 root root 33 Sep 11 2003 hda2 -> 
ide/host0/bus0/target0/lun0/part2 
lr-xr-xr-x 1 root root 33 Sep 11 2003 hda3 -> 
ide/host0/bus0/target0/lun0/part3 
lr-xr-xr-x 1 root root 33 Sep 11 2003 hda4 -> 
ide/host0/bus0/target0/lun0/part4 
lr-xr-xr-x 1 root root 30 Sep 11 13:58 hdb ->  
ide/host0/bus0/target1/lun0/cd 
lr-xr-xr-x 1 root cdrom 30 Sep 11 13:58 hdc ->
ide/host0/bus1/target0/lun0/cd 
 
Now, what is confusing me even more, is that with the same ls -la /dev 
command, I can now see this lot as well,
 
debian:/home/john# ls -la /dev 
<snip> 
lr-xr-xr-x 1 root root 11 Sep 11 13:14 audio -> sound/audio 
lr-xr-xr-x 1 root root 13 Sep 11 13:58 cdrom -> cdroms/cdrom0 
drwxr-xr-x 1 root root 0 Jan 1 1970 cdroms 
<snip> 
lr-xr-xr-x 1 root root 9 Sep 11 13:14 dsp -> sound/dsp 
lr-xr-xr-x 1 root root 10 Sep 11 13:14 dsp1 -> sound/dsp1 
lr-xr-xr-x 1 root root 10 Sep 11 13:14 dspW -> sound/dspW 
<snip> 
lr-xr-xr-x 1 root root 32 Sep 11 2003 hda -> ide/host0/bus0/target0/lun0/disc 
lr-xr-xr-x 1 root root 33 Sep 11 2003 hda1 -> 
ide/host0/bus0/target0/lun0/part1 
lr-xr-xr-x 1 root root 33 Sep 11 2003 hda2 -> 
ide/host0/bus0/target0/lun0/part2 
lr-xr-xr-x 1 root root 33 Sep 11 2003 hda3 -> 
ide/host0/bus0/target0/lun0/part3 
lr-xr-xr-x 1 root root 33 Sep 11 2003 hda4 -> 
ide/host0/bus0/target0/lun0/part4 
lr-xr-xr-x 1 root root 30 Sep 11 13:58 hdb -> 
ide/host0/bus0/target1/lun0/cd 
lr-xr-xr-x 1 root cdrom 30 Sep 11 13:58 hdc ->
ide/host0/bus1/target0/lun0/cd 
<snip> 
lr-xr-xr-x 1 root root 10 Sep 11 13:14 midi -> sound/midi 
lr-xr-xr-x 1 root root 11 Sep 11 13:14 midi1 -> sound/midi1 
drwxr-xr-x 1 root root 0 Jan 1 1970 misc 
lr-xr-xr-x 1 root root 11 Sep 11 13:14 mixer -> sound/mixer 
<snip> 
drwxr-xr-x 1 root root 0 Jan 1 1970 scsi 
lr-xr-xr-x 1 root root 15 Sep 11 13:14 sequencer -> sound/sequencer 
lr-xr-xr-x 1 root root 16 Sep 11 13:14 sequencer2 -> sound/sequencer2 
drwxr-xr-x 1 root root 0 Jan 1 1970 shm 
drwxr-xr-x 1 root root 0 Jan 1 1970 sound 
</snip> 
debian:/home/john# 
 
all of which, well too my knowledge anyway, is in some way connected with 
sound and stuff. 
 
Would it still be a possible permissions problem? If so, which and what would 
I need to change? and what too? 
 
Just for info, I have tried all the permutations of /dev/cdrom or hdc or 
cdrom0 or scd0 or even /dev/ide/host0/bus1/target0/lun0/cd to see if that 
made any difference, but I still get the signal 11 (SIGSEVG) error followed 
by the kscd crashing, and it doesn't matter whether I am logged in as user or 
root.
 
I have also found a command line tool called "cdtool", I put the disc in the 
cdrw and issued "cdplay", to which the bash reply was "nodisc", I then put 
the disc into my dvd player and did the "cdplay" command and it started 
playing - well I say started playing, it seemed to be working, but with no 
sound coming out. I haven't managed to work out how to point the "cdtool" at 
the cdrw yet!

I do have the system sounds i.e. apps opening and closing, the startup jingle 
etc etc, but nothing from the cdrw (which is the drive that has the 
connection to the soundcard)

any ideas or suggestions as to what I am doing wrong are mucho appreciado (as 
they say in "spanglish")

regards

John D.




More information about the Sussex mailing list