Re: [PATCH] usbhid: improve handling of Clear-Halt and reset

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

 



On Wed, 3 Sep 2014, Alan Stern wrote:

> > What happens if we lose events? Especially with keyboards
> > I see a problem with dropping a release event because this
> > will trigger autorepeat. So should we generate a release
> > event for all pressed keys on reset?
> 
> That's a separate issue, not directly related to what the patch does.
> It probably needs to be addressed in the HID core.

Hmm ... how about reinitializing all the reports after reset instead 
(except for devices which have HID_QUIRK_NO_INIT_REPORTS flag set)? That 
seems like a more generic solution to this (potential) problem.

But I agree with Alan, let's handle this completely independently from 
this.

-- 
Jiri Kosina
SUSE Labs
--
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