Forum Index » Linux/Deskphone development » not able to query hookstate via the hiddev demo   XML
 
Author Message
Paul4



Joined: 17/04/2018 04:27:59
Messages: 0
Offline

I downloaded this:
<blockquote>https://github.com/gnaudio/linux-info/blob/master/examples/hiddev/jabra_hiddev_demo.c</blockquote>

And ran it on a computer that recognizes the USB-connected Jabra device
<blockquote> 20.277] (II) config/udev: Adding input device GN Netcom A/S Jabra PRO 9470 (/dev/input/event4)
[ 20.277] (**) GN Netcom A/S Jabra PRO 9470: Applying InputClass "evdev keyboard catchall"
[ 20.277] (II) Using input driver 'evdev' for 'GN Netcom A/S Jabra PRO 9470'
[ 20.277] (**) GN Netcom A/S Jabra PRO 9470: always reports core events
[ 20.277] (**) evdev: GN Netcom A/S Jabra PRO 9470: Device: "/dev/input/event4"
[ 20.277] (--) evdev: GN Netcom A/S Jabra PRO 9470: Vendor 0xb0e Product 0x1041
</blockquote>

Expected behaviour when unhooking the headset physically:
<blockquote>hookstate=0
hookstate=1</blockquote>

Actual behaviour
<blockquote>hookstate=0
hookstate=0</blockquote>

(Note: using the "o" key to toggle the status virtually works, the display on the jabra device updates accordingly)

What am i missing?
Is that not how the demo should be expected to behave?

Any suggestions highly appreciated.
Iggy



Joined: 17/04/2018 04:27:59
Messages: -6
Offline

hi, have you uploaded / checked you got the latest firmware to the device? you can do this by using Jabra Direct downloaded from here : http://www.jabra.com/software-and-services/jabra-direct

i would start there - and if you still have the issue - start a support thread on github itself. The guys who uploaded the code will be activity monitoring the post....

 
 
Go to: