Am Samstag, 15. September 2007 schrieb Marco d'Itri:
I have no reason to believe that this is an udev bug. You probably
misconfigured your system in some way.
I haven't configured anything here. Its everything how it got installed.
Please investigate this using e.g. udevinfo and udevtest.
I have no clue how to do this, but i played a bit around and maybe this can
help you:
# lsusb
Bus 002 Device 009: ID 04a9:309a Canon, Inc. PowerShot A80
# udevinfo --name=/dev/bus/usb/002/009 --attribute-walk
Udevinfo 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/pci:00/:00:0a.0/usb2/2-6':
KERNEL==quot;2-6quot;
SUBSYSTEM==quot;usbquot;
DRIVER==quot;usbquot;
ATTR{product}==quot;Canon Digital Cameraquot;
ATTR{manufacturer}==quot;Canon Inc.quot;
ATTR{quirks}==quot;0x0quot;
ATTR{maxchild}==quot;0quot;
ATTR{version}==quot; 1.10quot;
ATTR{devnum}==quot;9quot;
ATTR{busnum}==quot;2quot;
ATTR{speed}==quot;12quot;
ATTR{bMaxPacketSize0}==quot;32quot;
ATTR{bNumConfigurations}==quot;1quot;
ATTR{bDeviceProtocol}==quot;00quot;
ATTR{bDeviceSubClass}==quot;00quot;
ATTR{bDeviceClass}==quot;00quot;
ATTR{bcdDevice}==quot;0001quot;
ATTR{idProduct}==quot;309aquot;
ATTR{idVendor}==quot;04a9quot;
ATTR{bMaxPower}==quot;100mAquot;
ATTR{bmAttributes}==quot;c0quot;
ATTR{bConfigurationValue}==quot;1quot;
ATTR{bNumInterfaces}==quot; 1quot;
ATTR{configuration}==quot;quot;
ATTR{dev}==quot;189:136quot;
looking at parent device '/devices/pci:00/:00:0a.0/usb2':
KERNELS==quot;usb2quot;
SUBSYSTEMS==quot;usbquot;
DRIVERS==quot;usbquot;
ATTRS{serial}==quot;:00:0a.0quot;
ATTRS{product}==quot;OHCI Host Controllerquot;
ATTRS{manufacturer}==quot;Linux 2.6.22.6-11.09.2007 ohci_hcdquot;
ATTRS{quirks}==quot;0x0quot;
ATTRS{maxchild}==quot;10quot;
ATTRS{version}==quot; 1.10quot;
ATTRS{devnum}==quot;1quot;
ATTRS{busnum}==quot;2quot;
ATTRS{speed}==quot;12quot;
ATTRS{bMaxPacketSize0}==quot;64quot;
ATTRS{bNumConfigurations}==quot;1quot;
ATTRS{bDeviceProtocol}==quot;00quot;
ATTRS{bDeviceSubClass}==quot;00quot;
ATTRS{bDeviceClass}==quot;09quot;
ATTRS{bcdDevice}==quot;0206quot;
ATTRS{idProduct}==quot;quot;
ATTRS{idVendor}==quot;quot;
ATTRS{bMaxPower}==quot; 0mAquot;
ATTRS{bmAttributes}==quot;e0quot;
ATTRS{bConfigurationValue}==quot;1quot;
ATTRS{bNumInterfaces}==quot; 1quot;
ATTRS{configuration}==quot;quot;
ATTRS{dev}==quot;189:128quot;
looking at parent device '/devices/pci:00/:00:0a.0':
KERNELS==quot;:00:0a.0quot;
SUBSYSTEMS==quot;pciquot;
DRIVERS==quot;ohci_hcdquot;
ATTRS{msi_bus}==quot;quot;
ATTRS{broken_parity_status}==quot;0quot;
ATTRS{modalias}==quot;pci:v10DEd036Csv1043sdCB84bc0Csc03i10quot;
ATTRS{local_cpus}==quot;3quot;
ATTRS{irq}==quot;21quot;
ATTRS{class}==quot;0x0c0310quot;
ATTRS{subsystem_device}==quot;0xcb84quot;
ATTRS{subsystem_vendor}==quot;0x1043quot;
ATTRS{device}==quot;0x036cquot;
ATTRS{vendor}==quot;0x10dequot;
looking at parent device '/devices/pci:00':
KERNELS==quot;pci:00quot;
SUBSYSTEMS==quot;quot;
DRIVERS==quot;quot;
ATTRS{uevent}==quot;quot;
# udevtest /dev/bus/usb/002/009
This program is for debugging only, it does not run any program,
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.
parse_file: reading '/etc/udev/rules.d/020_permissions.rules' as rules file
parse_file: reading '/etc/udev/rules.d/025_libgphoto2.rules' as rules file
parse_file: reading '/etc/udev/rules.d/025_libsane.rules' as rules file
parse_file: reading '/etc/udev/rules.d/025_logitechmouse.rules' as rules file
parse_file: reading '/etc/udev/rules.d/035_kino.rules' as rules file
parse_file: reading '/etc/udev/rules.d/libmtp6.rules' as rules file
parse_file: reading '/etc/udev/rules.d/libnjb.rules' as rules file
parse_file: reading '/etc/udev/rules.d/udev.rules' as rules file
parse_file: reading '/etc/udev/rules.d/z20_persistent-input.rules' as rules
file
parse_file: reading '/etc/udev/rules.d/z20_persistent.rules' as rules file
parse_file: reading '/etc/udev/rules.d/z25_persistent-cd.rules' as rules file
parse_file: reading '/etc/udev/rules.d/z25_persistent-net.rules' as rules file
parse_file: reading '/etc/udev/rules.d/z45_persistent-net-generator.rules' as
rules file
parse_file: reading '/etc/udev/rules.d/z50_run.rules' as rules file
parse_file: reading '/etc/udev/rules.d/z55_hotplug.rules' as rules file
parse_file: reading '/etc/udev/rules.d/z60_alsa-utils.rules'