Re: device registration callback for usb-serial

2017-08-11 Thread Samuel Thibault
Okash Khawaja, on ven. 11 août 2017 22:38:14 +0100, wrote: > On Thu, Aug 10, 2017 at 10:27:31AM +0200, Samuel Thibault wrote: > > Oliver Neukum, on jeu. 10 ao??t 2017 10:03:51 +0200, wrote: > > > You cannot make assumptions about driver load. Your driver was loaded. > >

Re: device registration callback for usb-serial

2017-08-10 Thread Samuel Thibault
Oliver Neukum, on jeu. 10 août 2017 10:03:51 +0200, wrote: > You cannot make assumptions about driver load. Your driver was loaded. > End of story. Register it with the proper subsystem. The subsystem in question is a line discipline. Registering a line discipline will not trigger applying it to

Re: [PATCH] usb-core: Add MS_INTR_BINTERVAL USB quirk

2017-03-14 Thread Samuel Thibault
Dave Mielke, on lun. 13 mars 2017 22:20:01 -0400, wrote: > It's possible that this device is using high speed because it offers a > feature > to transfer its internal clipboard to the host, and it allows that clipboard > to > contain lots of data. Interestingly, though, hidden within a usage

[PATCHv3] usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk

2017-03-13 Thread Samuel Thibault
adds a USB_QUIRK_LINEAR_FRAME_INTR_BINTERVAL quirk to mark devices which actually report milliseconds in bInterval, and marks Vario Ultra devices as needing it. Signed-off-by: Samuel Thibault <samuel.thiba...@ens-lyon.org> Acked-by: Alan Stern <st...@rowland.harvard.edu> --- a/inclu

Re: [PATCH] usb-core: Add MS_INTR_BINTERVAL USB quirk

2017-03-13 Thread Samuel Thibault
Alan Stern, on dim. 12 mars 2017 21:40:33 -0400, wrote: > On Sun, 12 Mar 2017, Dave Mielke wrote: > > [quoted lines by Alan Stern on 2017/03/12 at 21:31 -0400] > > > > >A device's speed is only partially related to its USB version. A > > >USB-1.1 device can run at low speed or full speed. A

[PATCHv2] usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk

2017-03-12 Thread Samuel Thibault
adds a USB_QUIRK_LINEAR_FRAME_INTR_BINTERVAL quirk to mark devices which actually report milliseconds in bInterval, and marks Vario Ultra devices as needing it. Signed-off-by: Samuel Thibault <samuel.thiba...@ens-lyon.org> --- a/include/linux/usb/quirks.h +++ b/include/linux/usb/quirks.h @@

Re: [PATCH] usb-core: Add MS_INTR_BINTERVAL USB quirk

2017-03-12 Thread Samuel Thibault
Alan Stern, on dim. 12 mars 2017 17:18:51 -0400, wrote: > Interesting. This is a high-speed device that mistakenly uses the > low/full-speed encoding for an interrupt bInterval value? Yes... > That's pretty unusual. Most HID devices (which includes the Braille > devices I have heard of) run

[PATCH] usb-core: Add MS_INTR_BINTERVAL USB quirk

2017-03-12 Thread Samuel Thibault
adds a USB_QUIRK_MS_INTR_BINTERVAL quirk to mark devices which actually report milliseconds in bInterval, and marks Vario Ultra devices as needing it. Signed-off-by: Samuel Thibault <samuel.thiba...@ens-lyon.org> --- a/include/linux/usb/quirks.h +++ b/include/linux/usb/quirks.h @@ -50,4