Re: [Rhythmbox-devel] Bluetooth, AVRCP and Rhythmbox



> -----Original Message-----
> From: Bastien Nocera [mailto:hadess hadess net]
> Sent: Sunday, 16 May, 2010 16:35
> To: John Frankish
> Cc: rhythmbox-devel gnome org
> Subject: Re: [Rhythmbox-devel] Bluetooth, AVRCP and Rhythmbox
> 
> On Sun, 2010-05-16 at 05:59 +0200, John Frankish wrote:
> > Hi,
> >
> > Does Rhythmbox have the capability to respond to AVRCP commands from
> > Bluetooth A2DP headphones?
> >
> > I can play music from Rhythmbox to the headphones via Bluetooth and,
> > from running bluetoothd in the foreground, I can see AVRCP commands
> > from the headphones (play, pause, etc) are being received, but
> > Rhythmbox does not respond to these commands.
> 
> Should work.
> 
> Is the uinput module loaded on your system (check with lsmod) ? Do you
> use pulseaudio or not?
> 
> Cheers

Thanks for the feedback.

Yes, the uinput module is loaded and I've tried with alsa alone and with alsa+pulseaudio

At the first remote AVRCP key press, I see this in dmesg:

input: 00:1B:66:00:31:88 as /devices/virtual/input/input11

..and if I run bluetoothd in the foreground, I see (for example):

bluetoothd[4253]: AVRCP: uinput initialized for 00:1B:66:00:31:88
bluetoothd[4253]: AVCTP Connected
...
bluetoothd[4253]: AVRCP: BACKWARD pressed
bluetoothd[4253]: Got 8 bytes of data for AVCTP session 0xb79d86e0
bluetoothd[4253]: AVCTP transaction 8, packet type 0, C/R 0, IPID 0, PID 0x110E
bluetoothd[4253]: AVRCP command 0x0, subunit_type 0x09, subunit_id 0x0, opcode 0x7C, 2 operands
bluetoothd[4253]: AVRCP: BACKWARD released
bluetoothd[4253]: Got 8 bytes of data for AVCTP session 0xb79d86e0
bluetoothd[4253]: AVCTP transaction 9, packet type 0, C/R 0, IPID 0, PID 0x110E
bluetoothd[4253]: AVRCP command 0x0, subunit_type 0x09, subunit_id 0x0, opcode 0x7C, 2 operands
bluetoothd[4253]: AVRCP: REWIND pressed
bluetoothd[4253]: Got 8 bytes of data for AVCTP session 0xb79d86e0
bluetoothd[4253]: AVCTP transaction 10, packet type 0, C/R 0, IPID 0, PID 0x110E
bluetoothd[4253]: AVRCP command 0x0, subunit_type 0x09, subunit_id 0x0, opcode 0x7C, 2 operands
bluetoothd[4253]: AVRCP: REWIND released
bluetoothd[4253]: Got 8 bytes of data for AVCTP session 0xb79d86e0
bluetoothd[4253]: AVCTP transaction 11, packet type 0, C/R 0, IPID 0, PID 0x110E
bluetoothd[4253]: AVRCP command 0x0, subunit_type 0x09, subunit_id 0x0, opcode 0x7C, 2 operands
...

But there is no corresponding action in rhythmbox

John


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]