[jitsi-dev] HID events


#1

I'm testing a Jabra 6430 with latest Jitsi 2.0. The USB dongle that
comes with the headset claims to be a HID device on my Linux box, and
Linux recognizes it as so. X11 even tries to install the device as a
keyboard and a mouse :expressionless:

Jitsi doesnt seem to recognize any of the button pressing under
"Global shortcuts", but the release news of 2.0 claims it's HID
compatible.

Audio to and from the device works flawless.

Do you have any suggestions as to how I can capture/debug the HID
"event"'s to see if the headset produces any HID signals at all?


#2

Does any other application reliably recognize the events from the
headset? Did you try using the "special keys" option?

It is my experience with Jabra that they require specific support and
use of a proprietary API. There might be some HID in that but it doesn't
behave like mainstream standard keyboard-like HID.

Cheers,
Emil

路路路

On 12.03.13, 12:29, Martin Kj忙r J酶rgensen wrote:

I'm testing a Jabra 6430 with latest Jitsi 2.0. The USB dongle that
comes with the headset claims to be a HID device on my Linux box, and
Linux recognizes it as so. X11 even tries to install the device as a
keyboard and a mouse :expressionless:

Jitsi doesnt seem to recognize any of the button pressing under
"Global shortcuts", but the release news of 2.0 claims it's HID
compatible.

Audio to and from the device works flawless.

Do you have any suggestions as to how I can capture/debug the HID
"event"'s to see if the headset produces any HID signals at all?

--
https://jitsi.org


#3

I havent tried the headset's HID feature with any other
applications. Do you have any suggestions?

I've tested the device on a Windows machine since the "special keys"
options only exists on Windows. Sound is okay, but no reliable key
event for Jitsi.
By reliable I mean, out of frustration I've done some trial-and-error.
I tried different configurations with the Jabra Suite software and
at some point I made the Jitsi write "Special" in the input field,
when pushing various buttons on the headset. But I can't reproduce
that situation anymore.

About the possible proprietary parts:

[89206.962688] usb 1-1.1: new full-speed USB device number 36 using
ehci_hcd
[89207.161576] usb 1-1.1: New USB device found, idVendor=0b0e,
idProduct=a340
[89207.161586] usb 1-1.1: New USB device strings: Mfr=0, Product=2,
SerialNumber=3
[89207.161592] usb 1-1.1: Product: Jabra LINK 350 OC
[89207.161596] usb 1-1.1: SerialNumber: 50C971611DFBx040517
[89207.184868] 36:1:1 : no or invalid class specific endpoint
descriptor
[89207.200162] 36:2:1 : no or invalid class specific endpoint
descriptor
[89207.404648] input: Jabra LINK 350 OC as
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.3/input/input40
[89207.404886] hid-generic 0003:0B0E:A340.001B: input,hiddev0,hidraw6:
USB HID v1.11 Device [Jabra LINK 350 OC] on
usb-0000:00:1a.0-1.1/input3

Seems there is something about the USB dongle my linux box cant
detect.
--> no or invalid class specific endpoint <--

路路路

On Tue, Mar 12, 2013 at 12:35:48PM -0400, Emil Ivov wrote:

Does any other application reliably recognize the events from the
headset? Did you try using the "special keys" option?

It is my experience with Jabra that they require specific support and
use of a proprietary API. There might be some HID in that but it doesn't
behave like mainstream standard keyboard-like HID.

Cheers,
Emil

On 12.03.13, 12:29, Martin Kj忙r J酶rgensen wrote:
> I'm testing a Jabra 6430 with latest Jitsi 2.0. The USB dongle that
> comes with the headset claims to be a HID device on my Linux box, and
> Linux recognizes it as so. X11 even tries to install the device as a
> keyboard and a mouse :expressionless:
>
> Jitsi doesnt seem to recognize any of the button pressing under
> "Global shortcuts", but the release news of 2.0 claims it's HID
> compatible.
>
> Audio to and from the device works flawless.
>
> Do you have any suggestions as to how I can capture/debug the HID
> "event"'s to see if the headset produces any HID signals at all?
>

--
https://jitsi.org


#4

I havent tried the headset's HID feature with any other
applications. Do you have any suggestions?

Well, for example are they detected by xbindkeys?

Emil

路路路

On 12.03.13, 13:17, Martin Kj忙r J酶rgensen wrote:

I've tested the device on a Windows machine since the "special keys"
options only exists on Windows. Sound is okay, but no reliable key
event for Jitsi.
By reliable I mean, out of frustration I've done some trial-and-error.
I tried different configurations with the Jabra Suite software and
at some point I made the Jitsi write "Special" in the input field,
when pushing various buttons on the headset. But I can't reproduce
that situation anymore.

About the possible proprietary parts:

[89206.962688] usb 1-1.1: new full-speed USB device number 36 using
ehci_hcd
[89207.161576] usb 1-1.1: New USB device found, idVendor=0b0e,
idProduct=a340
[89207.161586] usb 1-1.1: New USB device strings: Mfr=0, Product=2,
SerialNumber=3
[89207.161592] usb 1-1.1: Product: Jabra LINK 350 OC
[89207.161596] usb 1-1.1: SerialNumber: 50C971611DFBx040517
[89207.184868] 36:1:1 : no or invalid class specific endpoint
descriptor
[89207.200162] 36:2:1 : no or invalid class specific endpoint
descriptor
[89207.404648] input: Jabra LINK 350 OC as
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.3/input/input40
[89207.404886] hid-generic 0003:0B0E:A340.001B: input,hiddev0,hidraw6:
USB HID v1.11 Device [Jabra LINK 350 OC] on
usb-0000:00:1a.0-1.1/input3

Seems there is something about the USB dongle my linux box cant
detect.
--> no or invalid class specific endpoint <--

On Tue, Mar 12, 2013 at 12:35:48PM -0400, Emil Ivov wrote:

Does any other application reliably recognize the events from the
headset? Did you try using the "special keys" option?

It is my experience with Jabra that they require specific support and
use of a proprietary API. There might be some HID in that but it doesn't
behave like mainstream standard keyboard-like HID.

Cheers,
Emil

On 12.03.13, 12:29, Martin Kj忙r J酶rgensen wrote:

I'm testing a Jabra 6430 with latest Jitsi 2.0. The USB dongle that
comes with the headset claims to be a HID device on my Linux box, and
Linux recognizes it as so. X11 even tries to install the device as a
keyboard and a mouse :expressionless:

Jitsi doesnt seem to recognize any of the button pressing under
"Global shortcuts", but the release news of 2.0 claims it's HID
compatible.

Audio to and from the device works flawless.

Do you have any suggestions as to how I can capture/debug the HID
"event"'s to see if the headset produces any HID signals at all?

--
https://jitsi.org

--
https://jitsi.org


#5

xbindkeys seems to work only if you already know which keys codes you
need to bind, which I dont yet.

I've tried xev, but the xev window doesn't react on the headset
buttons either.

路路路

On Tue, Mar 12, 2013 at 01:38:26PM -0400, Emil Ivov wrote:

On 12.03.13, 13:17, Martin Kj忙r J酶rgensen wrote:
> I havent tried the headset's HID feature with any other
> applications. Do you have any suggestions?

Well, for example are they detected by xbindkeys?

Emil

> I've tested the device on a Windows machine since the "special keys"
> options only exists on Windows. Sound is okay, but no reliable key
> event for Jitsi.
> By reliable I mean, out of frustration I've done some trial-and-error.
> I tried different configurations with the Jabra Suite software and
> at some point I made the Jitsi write "Special" in the input field,
> when pushing various buttons on the headset. But I can't reproduce
> that situation anymore.
>
> About the possible proprietary parts:
>
> [89206.962688] usb 1-1.1: new full-speed USB device number 36 using
> ehci_hcd
> [89207.161576] usb 1-1.1: New USB device found, idVendor=0b0e,
> idProduct=a340
> [89207.161586] usb 1-1.1: New USB device strings: Mfr=0, Product=2,
> SerialNumber=3
> [89207.161592] usb 1-1.1: Product: Jabra LINK 350 OC
> [89207.161596] usb 1-1.1: SerialNumber: 50C971611DFBx040517
> [89207.184868] 36:1:1 : no or invalid class specific endpoint
> descriptor
> [89207.200162] 36:2:1 : no or invalid class specific endpoint
> descriptor
> [89207.404648] input: Jabra LINK 350 OC as
> /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.3/input/input40
> [89207.404886] hid-generic 0003:0B0E:A340.001B: input,hiddev0,hidraw6:
> USB HID v1.11 Device [Jabra LINK 350 OC] on
> usb-0000:00:1a.0-1.1/input3
>
> Seems there is something about the USB dongle my linux box cant
> detect.
> --> no or invalid class specific endpoint <--
>
> On Tue, Mar 12, 2013 at 12:35:48PM -0400, Emil Ivov wrote:
>> Does any other application reliably recognize the events from the
>> headset? Did you try using the "special keys" option?
>>
>> It is my experience with Jabra that they require specific support and
>> use of a proprietary API. There might be some HID in that but it doesn't
>> behave like mainstream standard keyboard-like HID.
>>
>> Cheers,
>> Emil
>>
>> On 12.03.13, 12:29, Martin Kj忙r J酶rgensen wrote:
>>> I'm testing a Jabra 6430 with latest Jitsi 2.0. The USB dongle that
>>> comes with the headset claims to be a HID device on my Linux box, and
>>> Linux recognizes it as so. X11 even tries to install the device as a
>>> keyboard and a mouse :expressionless:
>>>
>>> Jitsi doesnt seem to recognize any of the button pressing under
>>> "Global shortcuts", but the release news of 2.0 claims it's HID
>>> compatible.
>>>
>>> Audio to and from the device works flawless.
>>>
>>> Do you have any suggestions as to how I can capture/debug the HID
>>> "event"'s to see if the headset produces any HID signals at all?
>>>
>>
>> --
>> https://jitsi.org
>>
>

--
https://jitsi.org


#6

xbindkeys seems to work only if you already know which keys codes you
need to bind, which I dont yet.

OK, so I guess what I really meant was xbindkeys-config, which does the
actual discovery and configuration of xbindkeys.

I've tried xev, but the xev window doesn't react on the headset
buttons either.

Exactly. I believe xbindkeys-config will do the same. I believe the
Jabra headsets use an API of their own and there might be some HID in
the syntax and the semantics but it doesn't seem like its valid HID (and
I am just as frustrated as you are because I have three of them).

Emil

路路路

On 12.03.13, 14:33, Martin Kj忙r J酶rgensen wrote:

On Tue, Mar 12, 2013 at 01:38:26PM -0400, Emil Ivov wrote:

On 12.03.13, 13:17, Martin Kj忙r J酶rgensen wrote:

I havent tried the headset's HID feature with any other
applications. Do you have any suggestions?

Well, for example are they detected by xbindkeys?

Emil

I've tested the device on a Windows machine since the "special keys"
options only exists on Windows. Sound is okay, but no reliable key
event for Jitsi.
By reliable I mean, out of frustration I've done some trial-and-error.
I tried different configurations with the Jabra Suite software and
at some point I made the Jitsi write "Special" in the input field,
when pushing various buttons on the headset. But I can't reproduce
that situation anymore.

About the possible proprietary parts:

[89206.962688] usb 1-1.1: new full-speed USB device number 36 using
ehci_hcd
[89207.161576] usb 1-1.1: New USB device found, idVendor=0b0e,
idProduct=a340
[89207.161586] usb 1-1.1: New USB device strings: Mfr=0, Product=2,
SerialNumber=3
[89207.161592] usb 1-1.1: Product: Jabra LINK 350 OC
[89207.161596] usb 1-1.1: SerialNumber: 50C971611DFBx040517
[89207.184868] 36:1:1 : no or invalid class specific endpoint
descriptor
[89207.200162] 36:2:1 : no or invalid class specific endpoint
descriptor
[89207.404648] input: Jabra LINK 350 OC as
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.3/input/input40
[89207.404886] hid-generic 0003:0B0E:A340.001B: input,hiddev0,hidraw6:
USB HID v1.11 Device [Jabra LINK 350 OC] on
usb-0000:00:1a.0-1.1/input3

Seems there is something about the USB dongle my linux box cant
detect.
--> no or invalid class specific endpoint <--

On Tue, Mar 12, 2013 at 12:35:48PM -0400, Emil Ivov wrote:

Does any other application reliably recognize the events from the
headset? Did you try using the "special keys" option?

It is my experience with Jabra that they require specific support and
use of a proprietary API. There might be some HID in that but it doesn't
behave like mainstream standard keyboard-like HID.

Cheers,
Emil

On 12.03.13, 12:29, Martin Kj忙r J酶rgensen wrote:

I'm testing a Jabra 6430 with latest Jitsi 2.0. The USB dongle that
comes with the headset claims to be a HID device on my Linux box, and
Linux recognizes it as so. X11 even tries to install the device as a
keyboard and a mouse :expressionless:

Jitsi doesnt seem to recognize any of the button pressing under
"Global shortcuts", but the release news of 2.0 claims it's HID
compatible.

Audio to and from the device works flawless.

Do you have any suggestions as to how I can capture/debug the HID
"event"'s to see if the headset produces any HID signals at all?

--
https://jitsi.org

--
https://jitsi.org

--
https://jitsi.org


#7

Im currently testing the Jabra headset as on ordinary bluetooth
device. It does support HFP so there might be some way to use it as
such.

Do you know of any other compatible HID headsets?

路路路

On Tue, Mar 12, 2013 at 05:35:22PM -0400, Emil Ivov wrote:

On 12.03.13, 14:33, Martin Kj忙r J酶rgensen wrote:
> xbindkeys seems to work only if you already know which keys codes you
> need to bind, which I dont yet.

OK, so I guess what I really meant was xbindkeys-config, which does the
actual discovery and configuration of xbindkeys.

> I've tried xev, but the xev window doesn't react on the headset
> buttons either.

Exactly. I believe xbindkeys-config will do the same. I believe the
Jabra headsets use an API of their own and there might be some HID in
the syntax and the semantics but it doesn't seem like its valid HID (and
I am just as frustrated as you are because I have three of them).

Emil
>
> On Tue, Mar 12, 2013 at 01:38:26PM -0400, Emil Ivov wrote:
>>
>>
>> On 12.03.13, 13:17, Martin Kj忙r J酶rgensen wrote:
>>> I havent tried the headset's HID feature with any other
>>> applications. Do you have any suggestions?
>>
>> Well, for example are they detected by xbindkeys?
>>
>> Emil
>>
>>
>>> I've tested the device on a Windows machine since the "special keys"
>>> options only exists on Windows. Sound is okay, but no reliable key
>>> event for Jitsi.
>>> By reliable I mean, out of frustration I've done some trial-and-error.
>>> I tried different configurations with the Jabra Suite software and
>>> at some point I made the Jitsi write "Special" in the input field,
>>> when pushing various buttons on the headset. But I can't reproduce
>>> that situation anymore.
>>>
>>> About the possible proprietary parts:
>>>
>>> [89206.962688] usb 1-1.1: new full-speed USB device number 36 using
>>> ehci_hcd
>>> [89207.161576] usb 1-1.1: New USB device found, idVendor=0b0e,
>>> idProduct=a340
>>> [89207.161586] usb 1-1.1: New USB device strings: Mfr=0, Product=2,
>>> SerialNumber=3
>>> [89207.161592] usb 1-1.1: Product: Jabra LINK 350 OC
>>> [89207.161596] usb 1-1.1: SerialNumber: 50C971611DFBx040517
>>> [89207.184868] 36:1:1 : no or invalid class specific endpoint
>>> descriptor
>>> [89207.200162] 36:2:1 : no or invalid class specific endpoint
>>> descriptor
>>> [89207.404648] input: Jabra LINK 350 OC as
>>> /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.3/input/input40
>>> [89207.404886] hid-generic 0003:0B0E:A340.001B: input,hiddev0,hidraw6:
>>> USB HID v1.11 Device [Jabra LINK 350 OC] on
>>> usb-0000:00:1a.0-1.1/input3
>>>
>>> Seems there is something about the USB dongle my linux box cant
>>> detect.
>>> --> no or invalid class specific endpoint <--
>>>
>>> On Tue, Mar 12, 2013 at 12:35:48PM -0400, Emil Ivov wrote:
>>>> Does any other application reliably recognize the events from the
>>>> headset? Did you try using the "special keys" option?
>>>>
>>>> It is my experience with Jabra that they require specific support and
>>>> use of a proprietary API. There might be some HID in that but it doesn't
>>>> behave like mainstream standard keyboard-like HID.
>>>>
>>>> Cheers,
>>>> Emil
>>>>
>>>> On 12.03.13, 12:29, Martin Kj忙r J酶rgensen wrote:
>>>>> I'm testing a Jabra 6430 with latest Jitsi 2.0. The USB dongle that
>>>>> comes with the headset claims to be a HID device on my Linux box, and
>>>>> Linux recognizes it as so. X11 even tries to install the device as a
>>>>> keyboard and a mouse :expressionless:
>>>>>
>>>>> Jitsi doesnt seem to recognize any of the button pressing under
>>>>> "Global shortcuts", but the release news of 2.0 claims it's HID
>>>>> compatible.
>>>>>
>>>>> Audio to and from the device works flawless.
>>>>>
>>>>> Do you have any suggestions as to how I can capture/debug the HID
>>>>> "event"'s to see if the headset produces any HID signals at all?
>>>>>
>>>>
>>>> --
>>>> https://jitsi.org
>>>>
>>>
>>
>> --
>> https://jitsi.org
>>
>

--
https://jitsi.org