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.
|