* How to write rule sound card?
@ 2009-02-11 6:29 Attid
0 siblings, 0 replies; only message in thread
From: Attid @ 2009-02-11 6:29 UTC (permalink / raw)
To: linux-hotplug
i have 3 sound card
one internal and
two external identical with FM tuner
after reboot there change name. i have some experiment with serial port\touchscreen\lan, but can do it =(
Linux rl-adm 2.6.24-22-generic #1 SMP Mon Nov 24 18:32:42 UTC 2008 i686 GNU/Linux
ls -li /dev/audio*
11534 crw-rw----+ 1 root audio 14, 4 2009-02-03 18:40 /dev/audio
11644 crw-rw----+ 1 root audio 14, 20 2009-02-03 18:40 /dev/audio1
11809 crw-rw----+ 1 root audio 14, 36 2009-02-03 18:40 /dev/audio2
find /sys -name dev | grep audio
/sys/devices/pci0000:00/0000:00:1e.0/0000:02:03.0/sound/card0/audio/dev
/sys/devices/pci0000:00/0000:00:1e.0/0000:02:04.0/sound/card1/audio1/dev
/sys/devices/pci0000:00/0000:00:1f.5/sound/card2/audio2/dev
i need simlink for
/sys/devices/pci0000:00/0000:00:1e.0/0000:02:03.0/sound/card0/audio/dev
/sys/devices/pci0000:00/0000:00:1e.0/0000:02:04.0/sound/card1/audio1/dev
udevinfo -a -p /sys/devices/pci0000:00/0000:00:1e.0/0000:02:03.0/sound/card0/audio
looking at device '/devices/pci0000:00/0000:00:1e.0/0000:02:03.0/sound/card0/audio':
KERNEL="audio"
SUBSYSTEM="sound"
DRIVER=""
ATTR{dev}="14:4"
looking at parent device '/devices/pci0000:00/0000:00:1e.0/0000:02:03.0/sound/card0':
KERNELS="card0"
SUBSYSTEMS="sound"
DRIVERS=""
*********************************************************************
udevinfo -a -p /sys/devices/pci0000:00/0000:00:1e.0/0000:02:04.0/sound/card1/audio1
looking at device '/devices/pci0000:00/0000:00:1e.0/0000:02:04.0/sound/card1/audio1':
KERNEL="audio1"
SUBSYSTEM="sound"
DRIVER=""
ATTR{dev}="14:20"
looking at parent device '/devices/pci0000:00/0000:00:1e.0/0000:02:04.0/sound/card1':
KERNELS="card1"
SUBSYSTEMS="sound"
DRIVERS=""
*********************************************************************
i try use ATTR{dev}="14:20" but it change after reboot too =(
can i use number of pci slot ? or even more ?
--
Igor Tolstov
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-11 6:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-11 6:29 How to write rule sound card? Attid
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.