OS:
Ubuntu 16.04
GPMDP Version:
4.5.0
Issue Descriptions:
My headphones (Sony WH100XM2) have next/prev/play-pause but only next/prev works. Play pause does nothing. (the events get sent)
I tried withevtest and discovered it doesn't send KEY_PLAYPAUSE or even KEY_PLAY but KEY_PLAYCD and KEY_PAUSECD(code 200 and 201 respectively)
Related Issue
I saw that someone reported almost the exact same thing on the electron github but it was never addressed.
https://github.com/electron/electron/issues/2210
Also, this seems to come from a lower level than GPDM:
https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1397142
馃憢 Thanks for opening your first issue here! If you're reporting a 馃悶 bug, please make sure you include steps to reproduce it. We get a lot of duplicate issues on this repo, so please double check now that your issue has not already been solved or doesn't have an open issue already.
To help make it easier for us to investigate your issue, please follow the contributing guidelines and ensure the issue template was filled out.
OS:
Windows 10
Version:
Was not able to find out, a info section in settings would be helpful
I have a Sennheiser hd 4.50 btnc also with some controls but none of them working except volume but they control os volume.
Same here, with sony WH-H900N (h.ear on 2). Next/prev works fine, but not the play/pause.
Same here, MPOW 059 (Yeah, a cheap one.) on Linux Mint 19 and 19.1: Same as above, Next/prev works fine, but not the play/pause.
Edit: I fixed/kludged it by using xbindkeys to manually resend the right key code. Oh well, as long as it works.
@Saucistophe would be really great if you could post your fix here
@impankratov Well certainly. I used the commands on this page to copy the current key mappings to a .xbindkeysrc file: https://www.systutorials.com/docs/linux/man/1-xbindkeys/
Then I added that thingy at the end to map KEY_PLAYCD and KEY_PAUSECD to XF86AudioPlay:
"xdotool key XF86AudioPlay"
c:208
"xdotool key XF86AudioPlay"
c:209
And finally had to start xbindkeys on X server statup, by simply adding _xbindkeys_ to my .xprofile (located in my home folder).
@Saucistophe thanks, got it working!
In my case, had to add a little sleep:
"sleep 0.1 && xdotool key XF86AudioPlay"
c:208
"sleep 0.1 && xdotool key XF86AudioPlay"
c:209
Most helpful comment
@impankratov Well certainly. I used the commands on this page to copy the current key mappings to a .xbindkeysrc file: https://www.systutorials.com/docs/linux/man/1-xbindkeys/
Then I added that thingy at the end to map KEY_PLAYCD and KEY_PAUSECD to XF86AudioPlay:
And finally had to start xbindkeys on X server statup, by simply adding _xbindkeys_ to my .xprofile (located in my home folder).