or Connect
AVS › AVS Forum › Video Components › Home Theater Computers › HTPC - Linux Chat › huludesktop remote
New Posts  All Forums:Forum Nav:

huludesktop remote

post #1 of 5
Thread Starter 
I am using the bdremoteng to interface playstation BD remote with hulu desktop
Currently I am at the point of seeing output in the irw file and now I am at the point of editing the hd_keymap.ini file and the .huludesktop file.

What I dont understand how the mapping works.
The hd_keymap.ini looks like this
Quote:


[SonyBDRemote]
Up=54
Down=56
Left=57
Right=55
OK=B
Home=43
ChanUp=5B
ChanDown=59
VolUp=5A
VolDown=58
Back=5D

And the .huludesktop looks like this
Quote:


[remote]
lirc_device = /dev/lircd
lirc_remote_identifier = SonyBDRemote
lirc_release_suffix = _UP
lirc_repeat_threshold = 1
button_name_up = Up
button_name_down = Down
button_name_left = Left
button_name_right = Right
button_name_select = OK
button_name_menu = Home,Back

And finaly the output of irw looks like this
Quote:


0054 00 up SonyBDRemote
0056 00 down SonyBDRemote
0055 00 right SonyBDRemote
0054 00 up SonyBDRemote
0057 00 left SonyBDRemote
000B 00 enter SonyBDRemote
0032 00 play SonyBDRemote
0059 00 r2 SonyBDRemote
005B 00 r1 SonyBDRemote
0058 00 l2 SonyBDRemote
005A 00 l1 SonyBDRemote
000E 00 return SonyBDRemote

BUt it does not seem to be mapping correctly.
Does anyone have any suggestions.
post #2 of 5
I think case matters, so change the .huludesktop file so the button names match the ones generated by irw. Change "Up" to "up", "Down" to "down", etc.

Also, Hulu Desktop requires lircd be run with the -r command line option. The -r option won't interfere with most other lirc-aware programs like XBMC, MythTV, etc.
post #3 of 5
Thread Starter 
I made this change
Quote:
[remote]
lirc_device = /dev/lircd
lirc_remote_identifier = SonyBDRemote
lirc_release_suffix = _UP
lirc_repeat_threshold = 1
button_name_up = up
button_name_down = down
button_name_left = left
button_name_right = right
button_name_select = enter
button_name_menu = Home

but it still doesnt work.
So on the rightside I put the irw output and the left side is the buttons that hulu expects?

Also what purpose does the hd_keymap.ini serve?
post #4 of 5
Did you add -r to lircd? When you run irw, you should see "_UP" appended to the key name when you let go of a button. So if you press and release the enter button, you'll see "enter", and then "enter_UP" on the next line.

Also, does /dev/lircd exist? Some versions of LIRC put the lircd socket file somewhere other than /dev, such as /var/run/. This is how Hulu Desktop communicates with LIRC. If it's wrong, it won't work.

As for hd_keymap.ini, I've never touched it. I've made my changes to ~/.huludesktop, and it has worked fine for me.
post #5 of 5
Thread Starter 
I think you're right about the _UP. that is definately happening. When I blankout the '_UP in the config file it works for me. I need to research more. thanks for your help.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: HTPC - Linux Chat
AVS › AVS Forum › Video Components › Home Theater Computers › HTPC - Linux Chat › huludesktop remote