On Mon, 4 May 2009, Zoltan Karcagi wrote: > Device-specific quirks are set up correctly in their respective > vendor-specific driver, then get overwritten in usbhid_parse(). Found on > a Microsoft Wireless Optical Desktop 3.0 [045e:009d]. Good catch, thanks. Fortunately this affects only a few devices out there, for which specialized drivers set hdrv->quirks specifically (mostly NOGET quirk only). > Signed-off-by: Zoltan Karcagi <zkr@xxxxxxxxxxx> > > diff -r -U 5 linux-2.6.30-rc4/drivers/hid/usbhid/hid-core.c > linux-2.6.30-rc4-fixed/drivers/hid/usbhid/hid-core.c > --- linux-2.6.30-rc4/drivers/hid/usbhid/hid-core.c 2009-05-01 > 12:06:18.000000000 +0200 > +++ linux-2.6.30-rc4-fixed/drivers/hid/usbhid/hid-core.c 2009-05-03 > 14:43:47.000000000 +0200 > @@ -896,11 +896,11 @@ > if (ret) { > dbg_hid("parsing report descriptor failed\n"); > goto err; > } > > - hid->quirks = quirks; > + hid->quirks |= quirks; > > return 0; > err: > return ret; > } The patch has been whitespace damaged, please fix this for your further submissions. I have fixed it manually and applied. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html