Re a2dp control functions

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

 



Hi
I have compiled bluez 3.36 for arm and am able to play and listen mp3
files on a bluetooth headset (590plantronics). I am using mplayer to
play the music. When I press the volume up and down the volume gets
increased and decreased properly. So far so good. But the forward and
backward buttons donot respond at all neither do the play/pause.

I ran the hcid as hcid -nd & and it gave me some prints as below :-

hcid[1033]: AVRCP command 0x0, subunit_type 0x09, subunit_id 0x0,
opcode 0x7C, 2 operands
hcid[1033]: AVRCP: PREV pressed
hcid[1033]: Got 8 bytes of data for AVCTP session 0x2a06e158
hcid[1033]: AVCTP transaction 3, packet type 0, C/R 0, IPID 0, PID 0x110E

hcid[1033]: AVRCP command 0x0, subunit_type 0x09, subunit_id 0x0,
opcode 0x7C, 2 operands
hcid[1033]: AVRCP: PREV released
hcid[1033]: Got 8 bytes of data for AVCTP session 0x2a06e158
hcid[1033]: AVCTP transaction 4, packet type 0, C/R 0, IPID 0, PID 0x110E

hcid[1033]: AVRCP command 0x0, subunit_type 0x09, subunit_id 0x0,
opcode 0x7C, 2 operands
AVRCP: Play Called
hcid[1033]: AVRCP: PLAY pressed
hcid[1033]: Got 8 bytes of data for AVCTP session 0x2a06e158
hcid[1033]: AVCTP transaction 7, packet type 0, C/R 0, IPID 0, PID 0x110E


AVRCP: Play Called
hcid[1033]: AVRCP: PLAY released
hcid[1033]: Got 8 bytes of data for AVCTP session 0x2a06e158
hcid[1033]: AVCTP transaction 8, packet type 0, C/R 0, IPID 0, PID 0x110E

So it seems that the device is getting the control packets from the
headset but for some reason it aint received by mplayer !!!

The mplayer doesn't seem to respond to these commands and just keeps
playing ....

My asound.conf looks like

pcm.bluetooth {
        type bluetooth
        device "00:19:7F:6F:6E:83"
        profile "auto"
}
ctl.bluetooth {
        type bluetooth
        device "00:19:7F:6F:6E:83"
        profile "auto"
}

Am I missing something ?


--
Thank you,
Warm Regards,
Asutosh Das
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux