From: "Алексей Шенцев" <ashen@nsrz.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] [cyber] I: Sisyphus-20071111 devel download: +1 Date: Wed, 14 Nov 2007 16:52:36 +0300 Message-ID: <200711141652.36593.ashen@nsrz.ru> (raw) In-Reply-To: <200711141646.28602.ashen@nsrz.ru> Может это пригодится: [root@oasu3 ~]# udevinfo -a -p `udevinfo -q path -n /dev/input/event3` Udevinfo starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device. looking at device '/class/input/input3/event3': KERNEL=="event3" SUBSYSTEM=="input" DRIVER=="" ATTR{dev}=="13:67" looking at parent device '/class/input/input3': KERNELS=="input3" SUBSYSTEMS=="input" DRIVERS=="" ATTRS{uniq}=="" ATTRS{phys}=="pci-0000:02:02.0/ir0" ATTRS{name}=="saa7134 IR _Avermedia AVerTV St" looking at parent device '/devices/pci0000:00/0000:00:1e.0/0000:02:02.0': KERNELS=="0000:02:02.0" SUBSYSTEMS=="pci" DRIVERS=="saa7134" ATTRS{msi_bus}=="" ATTRS{broken_parity_status}=="0" ATTRS{enable}=="1" ATTRS{modalias}=="pci:v00001131d00007133sv00001461sd0000A11Bbc04sc80i00" ATTRS{local_cpus}=="ff" ATTRS{irq}=="21" ATTRS{class}=="0x048000" ATTRS{subsystem_device}=="0xa11b" ATTRS{subsystem_vendor}=="0x1461" ATTRS{device}=="0x7133" ATTRS{vendor}=="0x1131" looking at parent device '/devices/pci0000:00/0000:00:1e.0': KERNELS=="0000:00:1e.0" SUBSYSTEMS=="pci" DRIVERS=="" ATTRS{msi_bus}=="1" ATTRS{broken_parity_status}=="0" ATTRS{enable}=="1" ATTRS{modalias}=="pci:v00008086d0000244Esv00000000sd00000000bc06sc04i00" ATTRS{local_cpus}=="ff" ATTRS{irq}=="0" ATTRS{class}=="0x060400" ATTRS{subsystem_device}=="0x0000" ATTRS{subsystem_vendor}=="0x0000" ATTRS{device}=="0x244e" ATTRS{vendor}=="0x8086" looking at parent device '/devices/pci0000:00': KERNELS=="pci0000:00" SUBSYSTEMS=="" DRIVERS=="" ATTRS{uevent}=="" [root@oasu3 ~]# -- С уважением Шенцев Алексей Владимирович. E-mail: ashen@nsrz.ru XMPP: ashen@altlinux.org, AlexShen@jabber.ru ICQ: 271053845
next prev parent reply other threads:[~2007-11-14 13:52 UTC|newest] Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-11-12 13:02 Konstantin A. Lepikhov 2007-11-12 18:15 ` Денис Смирнов 2007-11-12 21:35 ` Konstantin A. Lepikhov 2007-11-13 9:16 ` Алексей Шенцев 2007-11-13 9:38 ` Valery V. Inozemtsev 2007-11-13 10:02 ` Алексей Шенцев 2007-11-13 10:08 ` Valery V. Inozemtsev 2007-11-13 10:14 ` Алексей Шенцев 2007-11-13 13:48 ` Anton Farygin 2007-11-13 14:08 ` Алексей Шенцев 2007-11-13 11:08 ` Konstantin A. Lepikhov 2007-11-13 11:14 ` Алексей Шенцев 2007-11-13 11:37 ` Konstantin A. Lepikhov 2007-11-13 23:33 ` Konstantin A. Lepikhov 2007-11-13 14:21 ` Алексей Шенцев 2007-11-13 14:26 ` Anton Farygin 2007-11-13 14:36 ` Алексей Шенцев 2007-11-13 14:47 ` Anton Farygin 2007-11-13 15:04 ` Алексей Шенцев 2007-11-13 19:40 ` Anton Farygin 2007-11-14 6:17 ` Алексей Шенцев 2007-11-14 8:28 ` Anton Farygin 2007-11-14 9:58 ` Алексей Шенцев 2007-11-14 10:06 ` Anton Farygin 2007-11-14 10:07 ` Алексей Шенцев 2007-11-14 13:24 ` Anton Farygin 2007-11-13 15:17 ` Алексей Шенцев 2007-11-13 14:48 ` Sergey Vlasov 2007-11-13 14:58 ` Алексей Шенцев 2007-11-14 12:04 ` Алексей Шенцев 2007-11-14 13:26 ` Anton Farygin 2007-11-14 13:46 ` Алексей Шенцев 2007-11-14 13:52 ` Алексей Шенцев [this message] 2007-11-14 14:19 ` Sergey Vlasov 2007-11-14 14:24 ` Алексей Шенцев 2007-11-14 14:56 ` Slava Dubrovskiy 2007-11-15 7:00 ` Anton Farygin 2007-11-15 7:07 ` Алексей Шенцев 2007-11-16 9:10 ` Алексей Шенцев 2007-11-14 9:19 ` Денис Смирнов 2007-11-14 14:34 ` Konstantin A. Lepikhov 2007-11-17 15:33 ` Eugene Prokopiev 2007-11-17 21:25 ` Eugene Prokopiev 2007-11-17 22:01 ` Konstantin A. Lepikhov 2007-11-12 19:09 ` [devel] ядра Michael Shigorin 2007-11-12 20:53 ` Konstantin A. Lepikhov 2007-11-14 9:17 ` Денис Смирнов
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200711141652.36593.ashen@nsrz.ru \ --to=ashen@nsrz.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git