[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: matching udev attribute keys



On Mon, 27 Dec 2010 16:09:06 -0800, briand wrote:

> On Mon, 27 Dec 2010 15:17:01 +0000 (UTC) Camaleón wrote:
> 
>> On Sun, 26 Dec 2010 15:58:08 -0800, briand wrote:
>> 
>> > how do I know that "SerialNumber" is a valid udev key other than the
>> > fact that it is listed in dmesg when the device is plugged in.
>> 
>> (...)
>> 
>> Available information for the sysfs attributes can be fetched (if
>> present):
>> 
>> http://reactivated.net/writing_udev_rules.html#sysfstree

(...)

> the scroogle provides:
> 
> $ udevinfo -a -p $(udevinfo -q path -n /dev/ttyS1) # NOTE: Debian sid
> has renamed this utility to udevadm. The equivalent command is below: #
> udevadm info --name=/dev/ttyS1 --attribute-walk

http://wiki.debian.org/udev

Then use the suggested tool, it should be same with another name ;-)

Greetings,

-- 
Camaleón


Reply to: