huludesktop remote - AVS Forum
Forum Jump: 
 
Thread Tools
post #1 of 5 Old 07-26-2010, 05:37 PM - Thread Starter
Newbie
 
Atlantageek's Avatar
 
Join Date: Jul 2010
Posts: 9
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
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.
Atlantageek is offline  
Sponsored Links
Advertisement
 
post #2 of 5 Old 07-26-2010, 10:58 PM
Advanced Member
 
k_ross's Avatar
 
Join Date: Dec 2008
Location: Seattle, WA
Posts: 501
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
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.
k_ross is offline  
post #3 of 5 Old 07-27-2010, 04:33 AM - Thread Starter
Newbie
 
Atlantageek's Avatar
 
Join Date: Jul 2010
Posts: 9
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
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?
Atlantageek is offline  
post #4 of 5 Old 07-27-2010, 12:54 PM
Advanced Member
 
k_ross's Avatar
 
Join Date: Dec 2008
Location: Seattle, WA
Posts: 501
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
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.
k_ross is offline  
post #5 of 5 Old 07-27-2010, 02:23 PM - Thread Starter
Newbie
 
Atlantageek's Avatar
 
Join Date: Jul 2010
Posts: 9
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
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.
Atlantageek is offline  
Reply HTPC - Linux Chat

User Tag List

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off