On Tue, Aug 23, 2011 at 12:51 PM, Tom Gundersen <teg@xxxxxxx> wrote: > I guess c1ca is not the idVendor of your hidraw device, but of one of > it its parents. Could you post the output of "udevadm info --query=all > --name=/dev/hidraw0 --attribute-walk" (without the egrep)? [/root 10.10.10.44] $ udevadm info --query=all --name=/dev/hidraw0 --attribute-walk Udevadm info 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 '/devices/platform/musb_hdrc/usb1/1-1/1-1.1/1-1.1:1.0/0003:C1CA:0003.0001/hidraw/hidraw0': KERNEL=="hidraw0" SUBSYSTEM=="hidraw" DRIVER=="" looking at parent device '/devices/platform/musb_hdrc/usb1/1-1/1-1.1/1-1.1:1.0/0003:C1CA:0003.0001': KERNELS=="0003:C1CA:0003.0001" SUBSYSTEMS=="hid" DRIVERS=="generic-usb" looking at parent device '/devices/platform/musb_hdrc/usb1/1-1/1-1.1/1-1.1:1.0': KERNELS=="1-1.1:1.0" SUBSYSTEMS=="usb" DRIVERS=="usbhid" ATTRS{bInterfaceNumber}=="00" ATTRS{bAlternateSetting}==" 0" ATTRS{bNumEndpoints}=="01" ATTRS{bInterfaceClass}=="03" ATTRS{bInterfaceSubClass}=="00" ATTRS{bInterfaceProtocol}=="00" ATTRS{supports_autosuspend}=="1" ATTRS{interface}=="BIOGOARD" looking at parent device '/devices/platform/musb_hdrc/usb1/1-1/1-1.1': KERNELS=="1-1.1" SUBSYSTEMS=="usb" DRIVERS=="usb" ATTRS{configuration}=="Default configuration" ATTRS{bNumInterfaces}==" 1" ATTRS{bConfigurationValue}=="1" ATTRS{bmAttributes}=="40" ATTRS{bMaxPower}==" 0mA" ATTRS{urbnum}=="41" ATTRS{idVendor}=="c1ca" ATTRS{idProduct}=="0003" ATTRS{bcdDevice}=="0000" ATTRS{bDeviceClass}=="00" ATTRS{bDeviceSubClass}=="00" ATTRS{bDeviceProtocol}=="00" ATTRS{bNumConfigurations}=="1" ATTRS{bMaxPacketSize0}=="8" ATTRS{speed}=="12" ATTRS{busnum}=="1" ATTRS{devnum}=="3" ATTRS{devpath}=="1.1" ATTRS{version}==" 1.01" ATTRS{maxchild}=="0" ATTRS{quirks}=="0x0" ATTRS{authorized}=="1" ATTRS{manufacturer}=="Sysmop tech." ATTRS{product}=="USB PALM" looking at parent device '/devices/platform/musb_hdrc/usb1/1-1': KERNELS=="1-1" SUBSYSTEMS=="usb" DRIVERS=="usb" ATTRS{configuration}=="" ATTRS{bNumInterfaces}==" 1" ATTRS{bConfigurationValue}=="1" ATTRS{bmAttributes}=="e0" ATTRS{bMaxPower}=="100mA" ATTRS{urbnum}=="50" ATTRS{idVendor}=="05e3" ATTRS{idProduct}=="0608" ATTRS{bcdDevice}=="0702" ATTRS{bDeviceClass}=="09" ATTRS{bDeviceSubClass}=="00" ATTRS{bDeviceProtocol}=="01" ATTRS{bNumConfigurations}=="1" ATTRS{bMaxPacketSize0}=="64" ATTRS{speed}=="480" ATTRS{busnum}=="1" ATTRS{devnum}=="2" ATTRS{devpath}=="1" ATTRS{version}==" 2.00" ATTRS{maxchild}=="4" ATTRS{quirks}=="0x0" ATTRS{authorized}=="1" ATTRS{product}=="USB2.0 Hub" looking at parent device '/devices/platform/musb_hdrc/usb1': KERNELS=="usb1" SUBSYSTEMS=="usb" DRIVERS=="usb" ATTRS{configuration}=="" ATTRS{bNumInterfaces}==" 1" ATTRS{bConfigurationValue}=="1" ATTRS{bmAttributes}=="e0" ATTRS{bMaxPower}==" 0mA" ATTRS{urbnum}=="26" ATTRS{idVendor}=="1d6b" ATTRS{idProduct}=="0002" ATTRS{bcdDevice}=="0206" ATTRS{bDeviceClass}=="09" ATTRS{bDeviceSubClass}=="00" ATTRS{bDeviceProtocol}=="00" ATTRS{bNumConfigurations}=="1" ATTRS{bMaxPacketSize0}=="64" ATTRS{speed}=="480" ATTRS{busnum}=="1" ATTRS{devnum}=="1" ATTRS{devpath}=="0" ATTRS{version}==" 2.00" ATTRS{maxchild}=="1" ATTRS{quirks}=="0x0" ATTRS{authorized}=="1" ATTRS{manufacturer}=="Linux 2.6.32 musb-hcd" ATTRS{product}=="MUSB HDRC host driver" ATTRS{serial}=="musb_hdrc" ATTRS{authorized_default}=="1" looking at parent device '/devices/platform/musb_hdrc': KERNELS=="musb_hdrc" SUBSYSTEMS=="platform" DRIVERS=="musb_hdrc" ATTRS{mode}=="a_host" ATTRS{vbus}=="Vbus off, timeout 1100" looking at parent device '/devices/platform': KERNELS=="platform" SUBSYSTEMS=="" DRIVERS=="" -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html