Skip to contentSkip to conversation

avrcp volume control

Bluez-devel Brad Midgley 2 participants 5 messages Dec 15, 2005 – Dec 19, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Guys,

My best guess at volume control over avrcp is to send volume up/down commands to the panel subunit on the headset. It doesn't seems to do anything (no ack/nak or change in volume on bluetake iphono mini). I was able to confirm the operand codes with a helpful 1394 developer by the way.

Does anyone here on the list know how this really should be framed so we can control the headset volume?

The packet I'm sending to raise the volume looks something like this in hex:

20 transaction_label=2, packet type=single, cr=command_frame, ipid=0 11 pid lo
0e pid hi
00 ctype = passthrough command
48 subunit type=panel(9), subunit id=0
7c opcode? (this is what the headset always puts here in its cmds) 41 volume-up lo
00 volume-up hi

help :)

Brad

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Brad,

Quoted 4 lines

My best guess at volume control over avrcp is to send volume up/down commands to the panel subunit on the headset. It doesn't seems to do anything (no ack/nak or change in volume on bluetake iphono mini). I was able to confirm the operand codes with a helpful 1394 developer by the way.

do you have the HP/Logitech headphone at hand? I can try it if you tell me what to do. I also have a CSR based headphone for testing.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

Marcel

Quoted 8 lines
Quoted 4 lines

My best guess at volume control over avrcp is to send volume up/down commands to the panel subunit on the headset. It doesn't seems to do anything (no ack/nak or change in volume on bluetake iphono mini). I was able to confirm the operand codes with a helpful 1394 developer by the way.

do you have the HP/Logitech headphone at hand? I can try it if you tell me what to do. I also have a CSR based headphone for testing.

I do have an hp set that I will try this weekend.

I just committed changes so the (single-threaded) avrecv test app sends a volume up op shortly after it acks any command coming from the headset. So punching buttons on the headset should raise the volume :(

fyi, avrecv just has to be running when you send audio to the headset. the headset turns around and opens the avrcp connection when the stream starts.

Brad

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#3 lore raw

guys

Quoted 1 line

I do have an hp set that I will try this weekend.

I need to go back to square one on volume control. The HP similarly ignored the volume changes sent to its panel subdevice.

Brad

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#4 lore raw

Hi Brad,

Quoted 4 lines
Quoted 1 line

I do have an hp set that I will try this weekend.

I need to go back to square one on volume control. The HP similarly ignored the volume changes sent to its panel subdevice.

the CSR one is not working at all. It connects back to the PSM 23, but it never sends any data or command.

I also added a skeleton for AVCTP to hcidump. You might wanna fill it with actual decoding logic.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel