Bug 53435 - usb.agent uses -ge instead of -gt; PATCH INCLUDED
Summary: usb.agent uses -ge instead of -gt; PATCH INCLUDED
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: hotplug
Version: roswell
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2001-09-08 19:27 UTC by Mark Lord
Modified: 2007-04-18 16:36 UTC (History)
0 users

Clone Of:
Last Closed: 2001-09-12 15:04:34 UTC

Attachments (Terms of Use)
bugfix for /etc/hotplug/usb.agent (391 bytes, patch)
2001-09-08 19:28 UTC, Mark Lord
no flags Details | Diff

Description Mark Lord 2001-09-08 19:27:26 UTC
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):

How Reproducible:

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.

Comment 1 Mark Lord 2001-09-08 19:28:13 UTC
Created attachment 31355 [details]
bugfix for /etc/hotplug/usb.agent

Comment 2 Trond Eivind Glomsrxd 2001-09-08 20:41:33 UTC
usb.agent isn't used anymore - it uses usbmodules. Will fix it anyway, though.

Comment 3 Trond Eivind Glomsrxd 2001-09-25 18:05:03 UTC
Added to  2001_04_24-12. Could you submit it to the usb mailing list as well? 
linux-hotplug-devel@lists.sourceforge.net. TIA.

Note You need to log in before you can comment on or make changes to this bug.