]> www.infradead.org Git - users/dwmw2/pidgin-headset.git/log
users/dwmw2/pidgin-headset.git
3 years agoFix handling of ENOENT on opening hiddev master
David Woodhouse [Fri, 21 Jan 2022 10:46:25 +0000 (10:46 +0000)]
Fix handling of ENOENT on opening hiddev

The original Jabra code returned a boolean from doListDev(), but I made it
return the fd. Which means returning zero for ENOENT probably isn't a good
idea any more. Make it return -1 for that case too.

4 years agoDon't forget to update jabra.connected when hook state changes
David Woodhouse [Wed, 20 May 2020 15:55:23 +0000 (16:55 +0100)]
Don't forget to update jabra.connected when hook state changes

Probably fixes https://lists.pidgin.im/pipermail/devel/2020-May/024355.htm

5 years agoFix headset hotplug
David Woodhouse [Tue, 26 Nov 2019 14:57:09 +0000 (14:57 +0000)]
Fix headset hotplug

Kill the old GIOChannel on shutdown (otherwise events were duplicated
after a manual rescan because the original one wasn't really torn down).

Remove the need for manual rescan anyway, by automatically rescanning
whenever a call starts... and by tearing down an existing headset when
its fd returns error.

5 years agoAdd udev rules to package
David Woodhouse [Fri, 17 May 2019 04:01:44 +0000 (21:01 -0700)]
Add udev rules to package

5 years agoAdd debian packaging
David Woodhouse [Thu, 16 May 2019 23:12:21 +0000 (16:12 -0700)]
Add debian packaging

6 years agoCreate dialog to rescan for new headsets
Marc Olson [Mon, 20 Aug 2018 22:46:08 +0000 (15:46 -0700)]
Create dialog to rescan for new headsets

If the headset is plugged in (or repluged) after the library is
initialized, the library does not pick it up. This adds an action
allowing the user to trigger a rescan.

Signed-off-by: Marc Olson <marcolso@amazon.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
6 years agoextras: add sample udev rules
Marc Olson [Mon, 20 Aug 2018 22:39:56 +0000 (15:39 -0700)]
extras: add sample udev rules

Add a sample udev rule to make the hid devices read/writable for
Plantronics and Jabra headsets.

Signed-off-by: Marc Olson <marcolso@amazon.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
7 years agofix handling of non-audio streams
David Woodhouse [Tue, 24 Apr 2018 13:29:40 +0000 (14:29 +0100)]
fix handling of non-audio streams

7 years agoFix use-after-free on killing media streams
David Woodhouse [Thu, 19 Apr 2018 17:12:10 +0000 (18:12 +0100)]
Fix use-after-free on killing media streams

7 years agoSupport Plantronics too
David Woodhouse [Thu, 19 Apr 2018 17:12:02 +0000 (18:12 +0100)]
Support Plantronics too

7 years agoWire up Jabra headset
David Woodhouse [Wed, 21 Mar 2018 22:17:34 +0000 (22:17 +0000)]
Wire up Jabra headset

7 years agoInitial import of media state tracking shell
David Woodhouse [Wed, 21 Mar 2018 20:52:45 +0000 (20:52 +0000)]
Initial import of media state tracking shell