Description of Problem: /etc/hotplug/usb.agent uses -ge instead of -gt when comparing device numbers, which causes recognition of support devices to fail incorrectly (e.g. Lexar Jumpshot USB with 2.4.9-ac10 kernel). Version-Release number of selected component (if applicable): hotplug-2001_04_24-9 How Reproducible: 1oo% Steps to Reproduce: 1. insert a Lexar JumpShot CompactFlash USB card/cable into USB port while running a kernel which includes the driver module for this (latest -ac series). Other devices may also fail due to the same bug. 2. look in /var/log/messages and note the "/etc/hotplug/usb.agent: ... no drivers for USB product 5dc/1/1" message. 3. look in /lib/modules/`uname -r`/modules.usbmap and ensure an entry exists for this product. Actual Results: Expected Results: Additional Information: Patch to fix the problem (one-liner) is attached.
Created attachment 31355 [details] bugfix for /etc/hotplug/usb.agent
usb.agent isn't used anymore - it uses usbmodules. Will fix it anyway, though.
Added to 2001_04_24-12. Could you submit it to the usb mailing list as well? linux-hotplug-devel.net. TIA.