2008-02-11 10:13:49

by sacarde

[permalink] [raw]
Subject: List: linux-hotplug - how to debug udev

Hi,
I have a problem with udev rule, and I try to debug udev variables
this is the question:

how can I view udev variables value ?

for examples:

what is value of:

BUS
SYSFS{idProduct}
SYSFS{idVendor}

when I insert my stick-usb wireless ?



thank you



[email protected]


2008-02-12 14:07:32

by Daniel Drake

[permalink] [raw]
Subject: Re: List: linux-hotplug - how to debug udev

This should be asked on linux-hotplug and not linux-kernel, but anyway...

sacarde wrote:
> how can I view udev variables value ?
>
> for examples:
>
> what is value of:
>
> BUS
> SYSFS{idProduct}
> SYSFS{idVendor}
>
> when I insert my stick-usb wireless ?

This documentation should help you:
http://www.reactivated.net/writing_udev_rules.html

Daniel