Re: Kernel oops on usbhid_submit_report (updates)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 22 Aug 2012, Amit Uttamchandani wrote:

> > One thing to look out for:  Evidently usbhid_submit_report() does not 
> > check the HID_DISCONNECTED flag and will happily allow reports to be 
> > submitted after usbhid_stop() returns.  This appears to be a bug.  It 
> > could account for the behavior you're seeing.
> 
> This makes sense. This could be what I am seeing. I am trying to write a
> patch for this but I'm wondering how do I test this issue? It is quite
> hard to reproduce, so is there a way I can force the HID to disconnect?

An easy way is to rmmod usbhid.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux