Bug 53435

Summary: usb.agent uses -ge instead of -gt; PATCH INCLUDED
Product: [Retired] Red Hat Public Beta Reporter: Mark Lord <mlord>
Component: hotplugAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: roswell   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-09-12 15:04:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
bugfix for /etc/hotplug/usb.agent none

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):
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.

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.net. TIA.