[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-desktop
Subject: Re: [gentoo-desktop] Udev rules and kernel device names
From: Lindsay Haisley <fmouse-gentoo () fmp ! com>
Date: 2004-10-25 6:14:56
Message-ID: 20041025061455.GA23239 () fmp ! com
[Download RAW message or body]
Thus spake Greg KH on Mon, Oct 25, 2004 at 12:51:32AM CDT
> On Sun, Oct 24, 2004 at 11:40:34PM -0500, Lindsay Haisley wrote:
> > After reading a bit of the udev code I finally answered my own question on
> > this. The information required to match KERNEL keys in rules _is_ in sysfs,
> > it's just that it's not well documented anywhere.
>
> 'man udevinfo' shows that documentation :)
>
> udevinfo -a -p /sys/block/hda
>
> greg k-h
How about this, as output from kscan:
$ ./kscan
block: KERNEL="fd0"
KERNEL="hda"
KERNEL="hda1"
KERNEL="hda2"
KERNEL="hda3"
KERNEL="hda4"
KERNEL="hdc"
KERNEL="md0"
KERNEL="sda"
KERNEL="sda1"
KERNEL="sdb"
KERNEL="sdb1"
KERNEL="sdc"
KERNEL="sdc1"
KERNEL="sdc2"
KERNEL="sdc3"
KERNEL="sdc5"
KERNEL="sdd"
KERNEL="sdd1"
KERNEL="sde"
KERNEL="sde1"
KERNEL="dm-0"
KERNEL="dm-1"
KERNEL="dm-2"
KERNEL="dm-3"
input: KERNEL="event0"
KERNEL="event1"
KERNEL="event2"
KERNEL="mice"
KERNEL="mouse0"
<snip...>
copy-n-paste into rules :-)
--
Lindsay Haisley | "Fighting against human | PGP public key
FMP Computer Services | creativity is like | available at
512-259-1190 | trying to eradicate | <http://pubkeys.fmp.com>
http://www.fmp.com | dandelions" |
| (Pamela Jones) |
--
gentoo-desktop@gentoo.org mailing list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic