Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Info (and Blue) button on Sony Bravia Android TV Remote?

  1. #1
    Join Date
    Jul 2005
    Location
    HK - Pal I
    Posts
    3,440

    Info (and Blue) button on Sony Bravia Android TV Remote?

    Hi

    I have a Sony Bravia XBR49X90/900/9000F Android TV (depending where you live it is 90/900/9000).
    Running XNEWA on KODI; Works fine except bringing up the OSD.

    Remote has a blue button but that does not bring up the OSD :-(. Nor do any other colours.

    Tried the "Button Remapper" App to map blue key to Alt-B but does not send key codes for Alt-B (blue key ok) it just captures "Alt"; contacted dev but he says cannot help.

    Looking here and wiki https://forums.nextpvr.com/showthrea...ht=Info+button

    ... suggests trying Info button;

    I tried what was obviously the info button ... and some others but no dice.

    Anyone know of a remapper solution that would allow me to map the blue button to Alt-B?

    cheers


    k
    Attached Images Attached Images  
    Last edited by jksmurf; 2019-02-17 at 10:42 AM.
    ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | Various HD's | AC86U | USB-UIRT | PCH-A110 | RPi2 | Sony Bravia LCD X9000F Android TV |. Frustrated that NextPVR is not working? Take a moment and consider this and this and this and this and this and this. Credit where credit's due; for one guy (with a wife and two kids), most problems are solved outrageously quickly. Patience.

  2. #2
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,167
    The keys may not even be mapped for Kodi. Your best bet is to load up xnewa with debug logging on and press the keys you want. I can give you a start from there.

    Martin

  3. #3
    Join Date
    Oct 2006
    Location
    Hamilton New Zealand
    Posts
    4,957
    These are the reasons I keep using the rpi way easier
    Specs
    Server:Cpu-Intel i3,ATI Radeon HD 5670 ,OS-Windows 7,2gig ram. 2xHvr4400,Nova-s plus(dvb-s SD),hvr2210(dvb-t HD)
    Client:Cpu-AMD am2,Gpu-Ati HD2100 integrated ,OS-Windows 7,2gig ram
    Client:Cpu Intel 2 gig ram ,Nvidia 9400
    Client:Popcorn Hour A110
    Client:Samsung [NZ][DVB-s][2012]BD-E5900x2
    Client:Samsung [NZ][DVB-s][2013]BD-F6500

  4. #4
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,167
    I never had much luck with CEC remotes and the RPi giving the keys I needed. With LE or OSCC and a USB MCE it is pretty good not sure if all the keys are mapped for NextPVR though and modifying them is just as difficult.

    Martin

  5. #5
    Join Date
    Jul 2005
    Location
    HK - Pal I
    Posts
    3,440
    Quote Originally Posted by mvallevand View Post
    The keys may not even be mapped for Kodi. Your best bet is to load up xnewa with debug logging on and press the keys you want. I can give you a start from there.

    Martin
    https://paste.kodi.tv/tewoyilazi

    Hi Martin,

    Thank you, I'll give it a shot. Attached Kodi debug should show me going into XNEWA, going into a recording, playing it, pressing, in order Blue (twice), Yellow (twice), Green (twice), Red (twice), then the info button (left of "0") (twice), then the subtitle button (above "HELP") (twice). Let me know if this is enough. I assume I do not need to send Ctrl-B or anything else from a plugged in Keyboard?

    The blue colour key threw up something else in Kodi like the pictures menu; the red key pulled up what look like channel menu.

    ta

    btw some time back on another thread you said using a Wired Network would help with speed issues, I have had the TV (and the RPi2 and the PCH) plugged into Ethernet. TV is 10/100 (pretty poor in this day and age) but should be OK.
    Last edited by jksmurf; 2019-02-17 at 11:53 PM. Reason: more info
    ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | Various HD's | AC86U | USB-UIRT | PCH-A110 | RPi2 | Sony Bravia LCD X9000F Android TV |. Frustrated that NextPVR is not working? Take a moment and consider this and this and this and this and this and this. Credit where credit's due; for one guy (with a wife and two kids), most problems are solved outrageously quickly. Patience.

  6. #6
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,167
    2019-02-18 07:30:24.977 T:6425 DEBUG: Keyboard: scancode: 0xba, sym: 0x014a, unicode: 0x0000, modifier: 0x0
    2019-02-18 07:30:24.978 T:6425 DEBUG: HandleKey: blue (0xf0e6) pressed, action is ActivateWindow(Pictures)
    2019-02-18 07:30:25.448 T:6425 DEBUG: Keyboard: scancode: 0xba, sym: 0x014a, unicode: 0x0000, modifier: 0x0

    So now Blue is mapped to ActivateWindow(Pictures) not sure of how the others are mapped so in the globals section of your keymap file (see the Kodi wiki) just map them back

    <red>Red</red>
    <green>Green</green>
    <yellow>Yellow</yellow>
    <blue>Blue</blue>

    Since your device is a joystick according to the logs

    2019-02-18 07:30:46.854 T:6387 DEBUG: GetMappingForDevice - device (054C:0BE8) mapped to (type = joystick)

    You need to change the buttons there.

    I'd start with the Kodi Keyboard editor. You might need a USB keyboard installed to enter the unnecessarily difficult alt and ctrl keys that NextPVR requires.

    Martin

  7. #7
    Join Date
    Jul 2005
    Location
    HK - Pal I
    Posts
    3,440
    Quote Originally Posted by mvallevand View Post
    Since your device is a joystick according to the logs
    Thanks Martin, will give it a crack. I have a USB Keyboard plugged in, so I am assuming Kodi assumes the remote is the joystick (being the device I pressed buttons on) and not the keyboard.

    Quote Originally Posted by mvallevand View Post
    ... to enter the unnecessarily difficult alt and ctrl keys that NextPVR requires.


    Be interesting what the mvallevand remap would look like :-) ...anything simple is good for me, but this is sub's area.
    ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | Various HD's | AC86U | USB-UIRT | PCH-A110 | RPi2 | Sony Bravia LCD X9000F Android TV |. Frustrated that NextPVR is not working? Take a moment and consider this and this and this and this and this and this. Credit where credit's due; for one guy (with a wife and two kids), most problems are solved outrageously quickly. Patience.

  8. #8
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,167
    I've got an open wishlist to get rid of alt and ctrl keys except on search screens so that I don't need two hand to control a mini keyboard.

    Martin

  9. #9
    Join Date
    Jul 2005
    Location
    HK - Pal I
    Posts
    3,440
    Quote Originally Posted by mvallevand View Post
    I've got an open wishlist to get rid of alt and ctrl keys except on search screens so that I don't need two hand to control a mini keyboard.

    Martin
    +111
    ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | Various HD's | AC86U | USB-UIRT | PCH-A110 | RPi2 | Sony Bravia LCD X9000F Android TV |. Frustrated that NextPVR is not working? Take a moment and consider this and this and this and this and this and this. Credit where credit's due; for one guy (with a wife and two kids), most problems are solved outrageously quickly. Patience.

  10. #10
    Join Date
    Jul 2005
    Location
    HK - Pal I
    Posts
    3,440
    Quote Originally Posted by mvallevand View Post
    So now Blue is mapped to ActivateWindow(Pictures) not sure of how the others are mapped so in the globals section of your keymap file (see the Kodi wiki) just map them back

    <red>Red</red>
    <green>Green</green>
    <yellow>Yellow</yellow>
    <blue>Blue</blue>
    "just map them back" was the best and simplest advice; I eventually got it working thanks to you, however I have some questions out of curiosity really (see below)

    Since your device is a joystick according to the logs

    2019-02-18 07:30:46.854 T:6387 DEBUG: GetMappingForDevice - device (054C:0BE8) mapped to (type = joystick)

    You need to change the buttons there.
    I started out with a complicated keyboard.xml that looked like this; I tried the same with joystick.xml and read that some folks just call it sonyremote.xml. Anyway none of these worked, seems that joystick thingy was red herring :-). I placed each xml file in /org.xbmc.kodi/files/.kodi/userdata/keymaps/ (separately and together in various of multiple trials... )

    Code:
    <keymap>
      <global>
    	<joystick name="SONY TV RC MIC 001 (054C:0BE8)">
    		<red>Red</red>
    		<green>Green</green>
    		<yellow>Yellow</yellow>
    		<blue>Blue</blue>
    	</joystick>
      </global>
      <FullscreenVideo>
        <joystick name="SONY TV RC MIC 001 (054C:0BE8)">
    		<red>Red</red>
    		<green>Green</green>
    		<yellow>Yellow</yellow>
    		<blue>Blue</blue>
        </joystick>
      </FullscreenVideo>
    </keymap>
    I tried it as joystick name="SONY TV RC MIC 001" as well (no (054C:0BE8)); no dice.

    I'd start with the Kodi Keyboard editor. You might need a USB keyboard installed to enter the unnecessarily difficult alt and ctrl keys that NextPVR requires. Martin
    Just used WinSCP and modified as I went.

    Code:
    <keymap>
      <global>
    	<keyboard>
    		<red>Red</red>
    		<green>Green</green>
    		<yellow>Yellow</yellow>
    		<blue>Blue</blue>
    	</keyboard>
      </global>
    </keymap>
    So the above "simple" xml works in the global section, but it bugs me that putting it (separately) in a <FullscreenVideo> section does not work; nor <FullscreenLiveTV> nor <FullscreenInfo>. I was initially hoping to isolate the change to just playing videos in NextPVR but making it add-on specific seems complicated, so then I tried those three sections and none worked.

    This help page says:

    Code:
    Other sections define mappings that apply to other screens, for example the <FullScreenVideo> section defines mappings that apply when you're watching a video full screen.
    ; isn't watching a Full Screen Video what I am doing when I play a Recording in XNEWA? Is there a way to make it specific to playback in XNEWA?

    Thanks again, long process!

    k.
    ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | Various HD's | AC86U | USB-UIRT | PCH-A110 | RPi2 | Sony Bravia LCD X9000F Android TV |. Frustrated that NextPVR is not working? Take a moment and consider this and this and this and this and this and this. Credit where credit's due; for one guy (with a wife and two kids), most problems are solved outrageously quickly. Patience.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •