Menu

#17 documentation clarification suggestions

open
nobody
None
5
2002-12-15
2002-12-15
No

1) hints section for newbies. Defaults are good but
should give some idea for instance when the effect is
going to be of say changing data rate of encoding.

2) generic scsi requirments should be clarified.

- on a new debian installation KDE could not access the
sound card. There are several steps that should be
documented to assist users.

lspci - will list devices on the pci bus. In my case
it is sound on board and the controller is a C-Media
Electronics Inc CM8738 and the command displays:

00:0d.0 Multimedia audio controller: C-Media
Electronics Inc CM8738 (rev 10)

- next check the sound driver is loaded:

# lsmod sound
Module Size Used by Not
tainted
cmpci 26040 0

or

#discover --module sound
cmpci

#discover --vendor sound
C-Media Electronics Inc

#discover --model sound
CM8738

So things match up. So far it looks good.

Check the access permissions.

ls -ls /dev/dsp*
0 crw-rw---- 1 root audio 14, 3 Mar 14
2002 /dev/dsp
0 crw-rw---- 1 root audio 14, 3 Mar 14
2002 /dev/dsp1
0 crw-rw---- 1 root audio 14, 3 Mar 14
2002 /dev/dsp2
0 crw-rw---- 1 root audio 14, 3 Mar 14
2002 /dev/dsp3
0 crw-rw---- 1 root audio 14, 3 Mar 14
2002 /dev/dsp4

So this looks ok too.

Lets check the cdrom devices:

ls -ls /dev/cd*
0 lrwxrwxrwx 1 root root 11 Dec 7
07:01 /dev/cdrom -> /dev/cdrom0
0 lrwxrwxrwx 1 root cdrom 9 Dec 7
07:01 /dev/cdrom0 -> /dev/scd0
0 brw-rw---- 1root cdrom 24, 0 Mar 14
2002 /dev/cdu535

So this looks ok. Any user in the cdrom group can
access the reader. We'll check to see IF the user is
in the cdrom group shortly.

Now lets check the generic SCSI devices:

ls -ls /dev/sg*
0 crw------- 1 root root 14, 3 Mar 14
2002 /dev/sg0

<there are a number more devices listed>

Already we can see there is a problem. The ripper
needs to be run as root in order to access these devices.

We can fix this

su
password for root *****

chmod 660 /dev/sg*
chown root:genericscsi /dev/sg*

ls -ls /dev/sg*
0 crw-rw---- 1 root generics 14, 3 Mar 14
2002 /dev/sg0

<of course all the others are changed too>

-------------------------

The devices look ok now. Lets check the groups...

cat /etc/group | grep genericscsi

<nothing comes up - we can do a less /etc/group and
verify that of course the generic scsi group is not
present.>

addgroup genericscsi

<says new group has been created>
addgroup terr genericscsi

My user id is "terr" and now I am a member of this
group so i will be able to access the sg* devices.

cat /etc/group | grep cdrom
cat /etc/group | grep audio

<nothing comes up for either - this is to be expected>

addgroup terr cdrom;addgroup terr audio

There we go... we are ready to test this.

shut down X and log off. This is vital because the new
group permissions will not be read until you do this.

Upon logging back in lo and behold we discover that we
can play CD's and rip them.

3) Minor other details should be clarified.

For instance - in this system (debian woody) we need
access to the scsi devices and the generic scsi driver.
However if we try to force this in the config for Rip
in the "Generic SCSI device" option it fails. This
field seems to need to be left blank.

Discussion


Log in to post a comment.