zhangguoyan / google-tv-remote

Automatically exported from code.google.com/p/google-tv-remote
0 stars 0 forks source link

Unable to change volume on external AV Receiver #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Press menu
2. Observe that there is no option to adjust AVR Volume

What is the expected output? What do you see instead?
When pressing the volume up, volume down, or mute buttons on the remote, a 
prompt appears on the screen stating that you have to set up the TV control 
using an IR blaster.
You are able to power on or off the AVR device and there is even a keycode 
listed for changing the input on the AVR device, however volume up, volume 
down, and mute are all absent.

What version of the product are you using? On what operating system?
Google TV Remote 1.0, ICS 4.0.2

Please provide any additional information below.
The remote that comes with the Sony Google TV unit has the ability to do so. 
Checking the SMK_RF_Receiver.kl file on the device provides the following:
key 596     KEYCODE_VOLUME_UP_EXT   WAKE_DROPPED
key 597     KEYCODE_VOLUME_DOWN_EXT WAKE_DROPPED
key 598     KEYCODE_MUTE_EXT        WAKE_DROPPED

When directly calling sendevent on the device you are able to simulate these 
button presses and successfully adjust the AVR volume.

Original issue reported on code.google.com by telekawaru on 10 Oct 2012 at 11:41

GoogleCodeExporter commented 8 years ago
Yes! Please add the function to send keycode 1000000, 1000001, 1000002 to the 
Google TV device from the remote app on phones and tablets.

Original comment by adamjame...@gmail.com on 6 Feb 2013 at 3:56