On Mon, 23 Sep 2002, dries wrote: | Then, about the 'hotplug' issue, here is the message in var/log/messages at | 'plugin' time, vendor ID and product ID are clear but what is the third value | ? | | Sep 23 08:52:31 linux kernel: hub.c: USB new device connect on bus1/1, | assigned device number 2 | 1) Sep 23 08:52:31 linux kernel: usb.c: djp : not enough configurations | 2) Sep 23 08:52:31 linux kernel: usb.c: Faking 1 configuration | 3) Sep 23 08:52:31 linux kernel: usb.c: USB device 2 (vend/prod 0x922/0x10) is | not claimed by any active driver. | 4) Sep 23 08:52:31 linux /etc/hotplug/usb.agent[1146]: ... no modules for USB | product 922/10/100 | | 1) : this is were my little adaption kicks in | 2) : by faking 1 configuration | 3) : this shows vendor/product ID (0x922/0x10) | 4) : here is the hotplug agent output, doesn't recognize 922/10/100, and i | wonder what the 100 is.
The third value is "bcdDevice" from the USB spec: "Device release number in binary-coded decimal" In non-hex form, this would be 01.00 for this device. The device version must be between the minimum and maximum device release numbers that are listed in the usb.*map file for the device vendor/product ID. | Well, to be complete here is the line i added to usb.usermap | the matchflag is copied from all other lines, i don't really know what it | means, but all the others had it set to 3 also (also those in usb.distmap). | Then the vendor/product id and the information i got from lsusb and | /proc/bus/usb/devices | | # usb module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi | bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass | bInterfaceSubClass bInterfaceProtocol driver_info | | printer 0x0003 0x0922 0x0010 0x0000 0x0000 0xff | 0x00 0x00 0x07 0x01 0x02 | 0x00000000 I don't see a problem with match_flags or idVendor or idProduct here. | I hope the lines are a bit clearer at your side of this mail, due to the short | lines, one line takes up about 3 lines. | Just for your information here is a line copied from /etc/hotplug/usb.distmap | that contains the hotplug info for a printer. | | printer 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 | 0x00 0x00 0x07 0x01 0x03 | 0x00000000 | | I hope you can point me in the right direction to get the hotplug working !. -- ~Randy ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
