← Back to team overview

desktop-packages team mailing list archive

[Bug 1397142] Re: Sony SRS-BTM8 play/pause key not fully effective in Rhythmbox or Banshee

 

I've made a small program out of parts of bluetoothd that demonstrates
this problem without the need for any special hardware.  Simply compile
it and run it (as root) and it will create a virtual keyboard that
generates "play" and "pause" keypresses at 5.1-second intervals.  If you
have Rhythmbox or Banshee playing when you start the test program, the
first "pause" will pause the media player, but the subsequent "play"
will not re-start it.

** Attachment added: "Test program to generate key events like bluetoothd does"
   https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1397142/+attachment/4270682/+files/avbtntest.c

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/1397142

Title:
  Sony SRS-BTM8 play/pause key not fully effective in Rhythmbox or
  Banshee

Status in unity-settings-daemon package in Ubuntu:
  New

Bug description:
  I have a Sony SRS-BTM8 Bluetooth speaker, and its audio side works
  fairly well with Ubuntu.  It also has a play/pause button and that
  doesn't work so well.  I think the problem lies in unity-settings-
  daemon.

  To demonstrate that the Bluetooth side is working, if I switch to a
  text console and run "evtest /dev/input/event9", then when pressing
  the button I get events for KEY_PLAYCD if the speaker is not playing
  anything, and alternating KEY_PAUSECD and KEY_PLAYCD if it is playing
  something.

  However, within the Unity desktop I find that if I'm running Banshee
  or Rhythmbox then pressing the button successfully pauses the music,
  but doesn't start it playing again.  If I run "xev" and give it the
  keyboard focus while testing this (so xev sees all ungrabbed
  keystrokes) then it sees only a KeyRelease event for XF86AudioPause,
  but both KeyPress and KeyRelease events for XF86AudioPlay.  I've
  attached the full output from xev.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: unity-settings-daemon 14.04.0+14.04.20140606-0ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-25.33~14.04.2-generic 3.16.7
  Uname: Linux 3.16.0-25-generic i686
  ApportVersion: 2.14.1-0ubuntu3.5
  Architecture: i386
  CurrentDesktop: Unity
  Date: Thu Nov 27 23:43:01 2014
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-motts-20100121-3
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2010-06-09 (1632 days ago)
  InstallationMedia: Ubuntu GNU/Linux 9.10 "Karmic" - Build i386 LIVE Binary 20100121-21:52
  SourcePackage: unity-settings-daemon
  UpgradeStatus: Upgraded to trusty on 2014-08-15 (104 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1397142/+subscriptions


References