Re: "Optimised for Lync" headsets
David Woodhouse <[email protected]> Tue, 03 Apr 2018 10:58:05 +0100
| Newsgroups | gmane.comp.gnome.gaim.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2018-03-22 at 22:42 +0000, Junge, Terry wrote: > > > I've done this for my Jabra headset, based on example code from Jabra > > (thanks). Would be good to support other devices like Plantronics, > > perhaps... > > Any vendor's Lync (now Skype for Business) certified headset should work > with the sample code graciously supplied by Jabra with a little enhancement. > > Plantronics VID is 0x047f and Sennheiser VID is 0x1395. If you look for those as > well as Jabra's then, at least the Mute/Unmute will work as coded. > > For ring detect, Plantronics and Sennheiser (one model I looked at) do not support > the Tel_Ringer usage so the writeUsage lines setting/clearing the Tel_Ringer usage > should only execute for Jabra devices, or you could test for the existence of the usage. > > Hook-switch handling would also need some fixing for Plantronics and Sennheiser. I got a Plantronics Blackwire 3220 and with just the VID added, it seems to work fine — the hook switch and the mute are both working. There's a cosmetic error as you said, when it attempts to clear Tel_Ringer, which should be avoided when it doesn't exist rather than just trying it and reporting the error. But muting and clearing calls in Pidgin works fine. The "correct" solution is probably still to plumb it through PulseAudio and GStreamer for the specific device that's being used for the call in question though, not to do it out of band with the application directly accessing the (well, "a") HID device. _______________________________________________ Devel mailing list [email protected] https://pidgin.im/cgi-bin/mailman/listinfo/devel
smime.p7s
(application/x-pkcs7-signature, 5.1 KB) - not displayed