
Code: Select all
bash-2.05b# lspci
[...]
0000:01:01.0 Modem: Intel Corporation: Unknown device 1080 (rev 04)
0000:01:02.0 Multimedia audio controller: Creative Labs SB Audigy LS
0000:01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Cont
roller (rev 02)
bash-2.05b#
Code: Select all
bash-2.05b# alsamixer
alsamixer: function snd_ctl_open failed for default: No such device
bash-2.05b# ls -lah /dev/sound/*
crw------- 1 root audio 14, 1 Mar 8 20:09 /dev/sound/sequencer
crw------- 1 root audio 14, 8 Mar 8 20:09 /dev/sound/sequencer2
bash-2.05b# ls -lah /dev/snd/*
crw------- 1 root audio 116, 0 Mar 8 20:09 /dev/snd/controlC0
crw------- 1 root audio 116, 1 Mar 8 20:09 /dev/snd/seq
crw------- 1 root audio 116, 33 Mar 8 20:09 /dev/snd/timer
Code: Select all
bash-2.05b# pwd
/sys/class/sound
bash-2.05b# ls
ieee1394 ieee1394_node mem net pci_bus scsi_device scsi_host tty usb_host
ieee1394_host input misc nvidia printer scsi_generic sound usb vc
bash-2.05b# cd sound
bash-2.05b# ls
controlC0 seq sequencer sequencer2 timer
bash-2.05b# udevinfo -a -p controlC0/
couldn't get the class device
bash-2.05b# udevinfo -a -p seq
couldn't get the class device

http://www.linux-mag.com/2004-12/sound_01.htmlaxlotl wrote: How can I tell it's working? Give me some commands to poke it with.
Those permissions are way offaxlotl wrote:Oh, yeah! lspci!There it is. Here's the /dev listings. Alsamixer gives me a response I haven't seen before:Code: Select all
bash-2.05b# lspci [...] 0000:01:01.0 Modem: Intel Corporation: Unknown device 1080 (rev 04) 0000:01:02.0 Multimedia audio controller: Creative Labs SB Audigy LS 0000:01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Cont roller (rev 02) bash-2.05b#I actually haven't looked at since I posted because I had to sleep and work. I'll see where I can take it from here.Code: Select all
bash-2.05b# alsamixer alsamixer: function snd_ctl_open failed for default: No such device bash-2.05b# ls -lah /dev/sound/* crw------- 1 root audio 14, 1 Mar 8 20:09 /dev/sound/sequencer crw------- 1 root audio 14, 8 Mar 8 20:09 /dev/sound/sequencer2 bash-2.05b# ls -lah /dev/snd/* crw------- 1 root audio 116, 0 Mar 8 20:09 /dev/snd/controlC0 crw------- 1 root audio 116, 1 Mar 8 20:09 /dev/snd/seq crw------- 1 root audio 116, 33 Mar 8 20:09 /dev/snd/timer
Thanks!
Code: Select all
# audio devices
dsp*:root:audio:0660
audio*:root:audio:0660
midi*:root:audio:0660
mixer*:root:audio:0660
sequencer*:root:audio:0660
sound/*:root:audio:0660
snd/*:root:audio:0660
beep:root:audio:0660
admm*:root:audio:0660
adsp*:root:audio:0660
aload*:root:audio:0660
amidi*:root:audio:0660
dmfm*:root:audio:0660
dmmidi*:root:audio:0660
sndstat:root:audio:0660
Code: Select all
bash-2.05b# modprobe snd-emu10k1
bash-2.05b# lsmod
Module Size Used by
snd_emu10k1 93828 0
snd_rawmidi 21152 1 snd_emu10k1
snd_util_mem 4480 1 snd_emu10k1
snd_hwdep 8452 1 snd_emu10k1
nvidia 3464348 12
bash-2.05b# alsamixer
alsamixer: function snd_ctl_open failed for default: No such device
Code: Select all
bash-2.05b# nano /etc/udev/permissions.d/50-udev.permissions
[...]
# audio devices
dsp*:root:audio:0660
audio*:root:audio:0660
midi*:root:audio:0660
mixer*:root:audio:0660
sequencer*:root:audio:0660
sound/*:root:audio:0660
snd/*:root:audio:0660
beep:root:audio:0660
admm*:root:audio:0660
adsp*:root:audio:0660
Code: Select all
bash-2.05b# lspci -vv
[...]
0000:01:02.0 Multimedia audio controller: Creative Labs SB Audigy LS
Subsystem: Creative Labs: Unknown device 1007
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (500ns min, 5000ns max)
Interrupt: pin A routed to IRQ 3
Region 0: I/O ports at dda0
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Cut me some slack man, I've been using udev for like 2 weeks so far!Those permissions are way off Confused, should be crw-rw--- not crw-------,
and you say you use UDEV,
Code: Select all
BUS="pci", ID="01:02.0", NAME="dsp"
Code: Select all
RC_DEVICE_TARBALL="no" or "yes"?
Code: Select all
chmod 660 /dev/snd/* /dev/sound/*
This page on udev rule writing rules says that the rules in that directory are loaded in a lexically sequential manner and applied as found so that you should put your own rules in a file with a name that precedes 50-udev-etc. Then you don't have to edit that file and can toss all your rules in the other file. That's my authority on that filename for what it's worth.that would be in /etc/udev/rules.d/50-udev.rules
looks like to me:Device Drivers -> Sound -> Advanced Linux Sound Architecture?
Code: Select all
<*> Advanced Linux Sound Architecture x x
x x <*> Sequencer support x x
x x < > Sequencer dummy client x x
x x <*> OSS Mixer API x x
x x <*> OSS PCM (digital audio) API x x
x x [*] OSS Sequencer API x x
x x [ ] Verbose printk x x
x x [ ] Debug x x
x x Generic devices ---> x x
x x PCI devices ---> x x
x x USB devices ---> x x
x x
Code: Select all
bash-2.05b# emerge -pv alsa-driver
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] media-sound/alsa-driver-1.0.8_rc1 -debug -doc +oss 0 kB
Total size of downloads: 0 kB
bash-2.05b# emerge -v alsa-driver
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/alsa-driver-1.0.8_rc1 to /
>>> md5 src_uri ;-) alsa-driver-1.0.8rc1.tar.bz2
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.10-gentoo-r6-snd_mod
* Checking for suitable kernel configuration options
* ALSA is already compiled into the kernel.
* Please check to make sure these options are set correctly.
* Once you have satisfied these options, please try merging
* this package again.
!!! ERROR: media-sound/alsa-driver-1.0.8_rc1 failed.