Hi,
this fixed my USB temperature sensor. Is that patch somehow correct?
--- linux-2.4.19-pre6/drivers/usb/hid-core.c 2003-02-18 14:22:35.000000000 +0100
+++ linux-2.4.19/drivers/usb/hid-core.c 2003-02-18 11:52:18.000000000 +0100
@@ -207,7 +207,7 @@ static int hid_add_field(struct hid_pars
return -1;
}
- usages = parser->local.usage_index;
+ usages = parser->global.report_count;
offset = report->size;
report->size += parser->global.report_size * parser->global.report_count;
olaf@smirnow:~/kernel> cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=b400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0d50 ProdID=0010 Rev= 0.04
S: Manufacturer=Cleware GmbH
S: Product=USB temp
S: SerialNumber=00000C9
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 50mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=100ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=05ac ProdID=0301 Rev= 5.00
S: Manufacturer=Logitech
S: Product=M4848
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 26mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usb_mouse
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
--
A: No.
Q: Should I include quotations after my reply?
-------------------------------------------------------
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-devel