Linux Input/HID development
 help / color / mirror / Atom feed
* Re: [PATCH] HID: Remove Jabra speakerphone devices from ignore list
@ 2017-09-08 14:43 Vincent Palatin
  2017-09-11  9:27 ` Niels Skou Olsen
  0 siblings, 1 reply; 16+ messages in thread
From: Vincent Palatin @ 2017-09-08 14:43 UTC (permalink / raw)
  To: Jiri Kosina, Niels Skou Olsen
  Cc: linux-input, benjamin.tissoires, Dmitry Torokhov, mnilsson

Re-sending (seems I forgot the HTML subpart that linux-input doesn't like)

On Fri, Sep 8, 2017 at 3:13 PM, Jiri Kosina <jikos@kernel.org> wrote:
>
> On Tue, 5 Sep 2017, nolsen@jabra.com wrote:
>
>
> > From: Niels Skou Olsen <nolsen@jabra.com>
>
> >
>
> > Two Jabra speakerphone devices were added to the ignore list in 2013
>
> > because, at the time, the device HID interfaces didn't work well with
>
> > kernel usbhid driver, and could reportedly cause volume key event
>
> > storm.
>
>
> Also apparently there was an userspace application that made use of these
>
> keys, and required the usbhid driver to be unbound from them.
>
>
> How come this is not the case any more?



On our side, we are still using a custom userspace for the Jabra
speakers (ie the jabra_vold daemon:
https://chromium.googlesource.com/chromiumos/platform/jabra_vold/+/master
plus some direct USB interfacing in a Chrome app).
while If somebody is using the device another way, we can blacklist it
or detach it on our side in the future,  I'm somewhat surprised that
it's working well through the HID interface with the Jabra
speakerphone 510. Even if there is no longer any basic breakage, in my
experience there are other challenges to overcome with the 510
firmware (at least the one I had on my devices) e.g. for the volume
key to work more than once, you need to do a precise sequence on the
USB audio interface every time one of the volume key is released.
Do you have another kernel driver for this ? a userspace software ?


>>
>>
>> Adding original quirk entry author (Vincent) to CC (and keeping the rest
>> of message below for reference).
>>
>> >
>> > See the original commit:
>> > Commit 31b9779cb292 ("HID: ignore Jabra speakerphones HID interface")
>> >
>> > Testing the devices today reveals no such problems, and the
>> > blacklisting can safely be removed.
>> >
>> > Signed-off-by: Niels Skou Olsen <nolsen@jabra.com>
>> > ---
>> >  drivers/hid/hid-core.c | 2 --
>> >  drivers/hid/hid-ids.h  | 2 --
>> >  2 files changed, 4 deletions(-)
>> >
>> > diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
>> > index 9bc9116..b49d7c4 100644
>> > --- a/drivers/hid/hid-core.c
>> > +++ b/drivers/hid/hid-core.c
>> > @@ -2697,8 +2697,6 @@ static const struct hid_device_id hid_ignore_list[] = {
>> >       { HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1006) },
>> >       { HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1007) },
>> >       { HID_USB_DEVICE(USB_VENDOR_ID_IMATION, USB_DEVICE_ID_DISC_STAKKA) },
>> > -     { HID_USB_DEVICE(USB_VENDOR_ID_JABRA, USB_DEVICE_ID_JABRA_SPEAK_410) },
>> > -     { HID_USB_DEVICE(USB_VENDOR_ID_JABRA, USB_DEVICE_ID_JABRA_SPEAK_510) },
>> >       { HID_USB_DEVICE(USB_VENDOR_ID_JABRA, USB_DEVICE_ID_JABRA_GN9350E) },
>> >       { HID_USB_DEVICE(USB_VENDOR_ID_KBGEAR, USB_DEVICE_ID_KBGEAR_JAMSTUDIO) },
>> >       { HID_USB_DEVICE(USB_VENDOR_ID_KWORLD, USB_DEVICE_ID_KWORLD_RADIO_FM700) },
>> > diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
>> > index b397a14..12b9179 100644
>> > --- a/drivers/hid/hid-ids.h
>> > +++ b/drivers/hid/hid-ids.h
>> > @@ -578,8 +578,6 @@
>> >  #define USB_DEVICE_ID_ITE8595                0x8595
>> >
>> >  #define USB_VENDOR_ID_JABRA          0x0b0e
>> > -#define USB_DEVICE_ID_JABRA_SPEAK_410        0x0412
>> > -#define USB_DEVICE_ID_JABRA_SPEAK_510        0x0420
>> >  #define USB_DEVICE_ID_JABRA_GN9350E  0x9350
>> >
>> >  #define USB_VENDOR_ID_JESS           0x0c45
>> > --
>> > 2.7.4
>> >
>>
>> --
>> Jiri Kosina
>> SUSE Labs
>>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH] HID: Remove Jabra speakerphone devices from ignore list
@ 2017-09-05 12:23 nolsen
  2017-09-08 13:13 ` Jiri Kosina
  0 siblings, 1 reply; 16+ messages in thread
From: nolsen @ 2017-09-05 12:23 UTC (permalink / raw)
  To: linux-input; +Cc: jikos, benjamin.tissoires, dmitry.torokhov, Niels Skou Olsen

From: Niels Skou Olsen <nolsen@jabra.com>

Two Jabra speakerphone devices were added to the ignore list in 2013
because, at the time, the device HID interfaces didn't work well with
kernel usbhid driver, and could reportedly cause volume key event
storm.

See the original commit:
Commit 31b9779cb292 ("HID: ignore Jabra speakerphones HID interface")

Testing the devices today reveals no such problems, and the
blacklisting can safely be removed.

Signed-off-by: Niels Skou Olsen <nolsen@jabra.com>
---
 drivers/hid/hid-core.c | 2 --
 drivers/hid/hid-ids.h  | 2 --
 2 files changed, 4 deletions(-)

diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 9bc9116..b49d7c4 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -2697,8 +2697,6 @@ static const struct hid_device_id hid_ignore_list[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1006) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GTCO, USB_DEVICE_ID_GTCO_1007) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_IMATION, USB_DEVICE_ID_DISC_STAKKA) },
-	{ HID_USB_DEVICE(USB_VENDOR_ID_JABRA, USB_DEVICE_ID_JABRA_SPEAK_410) },
-	{ HID_USB_DEVICE(USB_VENDOR_ID_JABRA, USB_DEVICE_ID_JABRA_SPEAK_510) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_JABRA, USB_DEVICE_ID_JABRA_GN9350E) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KBGEAR, USB_DEVICE_ID_KBGEAR_JAMSTUDIO) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KWORLD, USB_DEVICE_ID_KWORLD_RADIO_FM700) },
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index b397a14..12b9179 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -578,8 +578,6 @@
 #define USB_DEVICE_ID_ITE8595		0x8595
 
 #define USB_VENDOR_ID_JABRA		0x0b0e
-#define USB_DEVICE_ID_JABRA_SPEAK_410	0x0412
-#define USB_DEVICE_ID_JABRA_SPEAK_510	0x0420
 #define USB_DEVICE_ID_JABRA_GN9350E	0x9350
 
 #define USB_VENDOR_ID_JESS		0x0c45
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2017-09-18 13:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-08 14:43 [PATCH] HID: Remove Jabra speakerphone devices from ignore list Vincent Palatin
2017-09-11  9:27 ` Niels Skou Olsen
2017-09-12 10:04   ` Vincent Palatin
2017-09-12 14:22     ` Niels Skou Olsen
2017-09-13 13:33       ` Vincent Palatin
2017-09-13 17:02         ` benjamin.tissoires
2017-09-13 17:11           ` Jiri Kosina
2017-09-15  7:52             ` Niels Skou Olsen
2017-09-15  8:08               ` Vincent Palatin
2017-09-18 13:21             ` Niels Skou Olsen
2017-09-14 16:11           ` Richard Hughes
2017-09-15  7:56             ` Niels Skou Olsen
2017-09-15  7:34           ` Niels Skou Olsen
2017-09-15  7:20         ` Niels Skou Olsen
  -- strict thread matches above, loose matches on Subject: below --
2017-09-05 12:23 nolsen
2017-09-08 13:13 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox