On Sun, Apr 30, 2006 at 04:32:53PM +0200, Marco d'Itri wrote:
> Please report the output of:
> 
> udevinfo -a -p /class/input/input1/event1
> udevinfo -a -p /class/input/input2/event2
> 
> -- 
> ciao,
> Marco

[EMAIL PROTECTED]:~$ udevinfo -a -p /class/input/input1/event1

udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/class/input/input1/event1':
    KERNEL=="event1"
    SUBSYSTEM=="input"
    SYSFS{dev}=="13:65"

  looking at device '/class/input/input1':
    ID=="input1"
    BUS=="input"
    DRIVER==""
    SYSFS{uniq}==""
    SYSFS{phys}=="usb-0000:00:07.2-1/input0"
    SYSFS{name}=="Logitech Logitech USB Keyboard"

  looking at device '/devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.0':
    ID=="1-1:1.0"
    BUS=="usb"
    DRIVER=="usbhid"
    SYSFS{modalias}=="usb:v046DpC30Ad1500dc00dsc00dp00ic03isc01ip01"
    SYSFS{bInterfaceProtocol}=="01"
    SYSFS{bInterfaceSubClass}=="01"
    SYSFS{bInterfaceClass}=="03"
    SYSFS{bNumEndpoints}=="01"
    SYSFS{bAlternateSetting}==" 0"
    SYSFS{bInterfaceNumber}=="00"

  looking at device '/devices/pci0000:00/0000:00:07.2/usb1/1-1':
    ID=="1-1"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{product}=="Logitech USB Keyboard"
    SYSFS{manufacturer}=="Logitech"
    SYSFS{maxchild}=="0"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="2"
    SYSFS{speed}=="1.5"
    SYSFS{bMaxPacketSize0}=="8"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="00"
    SYSFS{bcdDevice}=="1500"
    SYSFS{idProduct}=="c30a"
    SYSFS{idVendor}=="046d"
    SYSFS{bMaxPower}=="100mA"
    SYSFS{bmAttributes}=="a0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 2"

  looking at device '/devices/pci0000:00/0000:00:07.2/usb1':
    ID=="usb1"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:07.2"
    SYSFS{product}=="UHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.16 uhci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="c0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:07.2':
    ID=="0000:00:07.2"
    BUS=="pci"
    DRIVER=="uhci_hcd"
    SYSFS{modalias}=="pci:v00001106d00003038sv00000925sd00001234bc0Csc03i00"
    SYSFS{local_cpus}=="1"
    SYSFS{irq}=="12"
    SYSFS{class}=="0x0c0300"
    SYSFS{subsystem_device}=="0x1234"
    SYSFS{subsystem_vendor}=="0x0925"
    SYSFS{device}=="0x3038"
    SYSFS{vendor}=="0x1106"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""

[EMAIL PROTECTED]:~$ udevinfo -a -p /class/input/input2/event2

udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/class/input/input2/event2':
    KERNEL=="event2"
    SUBSYSTEM=="input"
    SYSFS{dev}=="13:66"

  looking at device '/class/input/input2':
    ID=="input2"
    BUS=="input"
    DRIVER==""
    SYSFS{uniq}==""
    SYSFS{phys}=="usb-0000:00:07.2-1/input1"
    SYSFS{name}=="Logitech Logitech USB Keyboard"

  looking at device '/devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.1':
    ID=="1-1:1.1"
    BUS=="usb"
    DRIVER=="usbhid"
    SYSFS{modalias}=="usb:v046DpC30Ad1500dc00dsc00dp00ic03isc00ip00"
    SYSFS{bInterfaceProtocol}=="00"
    SYSFS{bInterfaceSubClass}=="00"
    SYSFS{bInterfaceClass}=="03"
    SYSFS{bNumEndpoints}=="01"
    SYSFS{bAlternateSetting}==" 0"
    SYSFS{bInterfaceNumber}=="01"

  looking at device '/devices/pci0000:00/0000:00:07.2/usb1/1-1':
    ID=="1-1"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{product}=="Logitech USB Keyboard"
    SYSFS{manufacturer}=="Logitech"
    SYSFS{maxchild}=="0"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="2"
    SYSFS{speed}=="1.5"
    SYSFS{bMaxPacketSize0}=="8"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="00"
    SYSFS{bcdDevice}=="1500"
    SYSFS{idProduct}=="c30a"
    SYSFS{idVendor}=="046d"
    SYSFS{bMaxPower}=="100mA"
    SYSFS{bmAttributes}=="a0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 2"

  looking at device '/devices/pci0000:00/0000:00:07.2/usb1':
    ID=="usb1"
    BUS=="usb"
    DRIVER=="usb"
    SYSFS{configuration}==""
    SYSFS{serial}=="0000:00:07.2"
    SYSFS{product}=="UHCI Host Controller"
    SYSFS{manufacturer}=="Linux 2.6.16 uhci_hcd"
    SYSFS{maxchild}=="2"
    SYSFS{version}==" 1.10"
    SYSFS{devnum}=="1"
    SYSFS{speed}=="12"
    SYSFS{bMaxPacketSize0}=="64"
    SYSFS{bNumConfigurations}=="1"
    SYSFS{bDeviceProtocol}=="00"
    SYSFS{bDeviceSubClass}=="00"
    SYSFS{bDeviceClass}=="09"
    SYSFS{bcdDevice}=="0206"
    SYSFS{idProduct}=="0000"
    SYSFS{idVendor}=="0000"
    SYSFS{bMaxPower}=="  0mA"
    SYSFS{bmAttributes}=="c0"
    SYSFS{bConfigurationValue}=="1"
    SYSFS{bNumInterfaces}==" 1"

  looking at device '/devices/pci0000:00/0000:00:07.2':
    ID=="0000:00:07.2"
    BUS=="pci"
    DRIVER=="uhci_hcd"
    SYSFS{modalias}=="pci:v00001106d00003038sv00000925sd00001234bc0Csc03i00"
    SYSFS{local_cpus}=="1"
    SYSFS{irq}=="12"
    SYSFS{class}=="0x0c0300"
    SYSFS{subsystem_device}=="0x1234"
    SYSFS{subsystem_vendor}=="0x0925"
    SYSFS{device}=="0x3038"
    SYSFS{vendor}=="0x1106"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""



-- 
Jeremy Nickurak -= Email/Jabber: [EMAIL PROTECTED] =-

Attachment: signature.asc
Description: Digital signature

Reply via email to