It is currently June 19th, 2013, 5:31 pm Advanced search

Remote

Everything related to running XBMC for Linux on XIOS DS

Re: Remote

Postby Speedster » September 3rd, 2012, 7:27 pm

rlegault » September 4th, 2012, 10:30 am wrote:Hey Speedster,

Thanks for the updated code, will test when I have the chance. Also is there any way to get a "delete" button going?

Love the control I am having over this device with the harmony works as well as my PC.


Yep. Delete and Escape codes added to the document. (this is why it's not in mods and hacks yet - still a WIP!)

If anyone wants to try an image that has an updated remote.conf already included, PM me for the Dropbox link. Be aware it is built from the Git HEAD (90ee421f6e), no support from myself nor Pivos.
Speedster
Hardcore
 
Posts: 122
Joined: August 7th, 2012, 6:28 pm
Location: Australia

Re: Remote

Postby Des » September 4th, 2012, 3:01 pm

matthijst » August 30th, 2012, 6:07 am wrote:
Anyone got this to work?

I have the ATV2 aluminium remote.
Trying to figure out how to get this to work.
I copied the code to remote.conf, so it looks like this (the code on top is still in there as well):

#add your own remote configure entry here
factory_code = 0x87ee0001
0x08 105 ;LEFT
0x0b 103 ;UP
0x07 106 ;RIGHT
0x0d 108 ;DOWN
0x5d 28 ;OK
0x02 50 ;MENU
0x5e 25 ;PLAY/PAUSE

Then I do a:
/usr/bin/amremote_config /etc/xbmc/remote.conf
Which should copy it to be used.

When I look in dmesg I get:
[ 197.959331] Wrong custom code is 0xe50587ee
[ 198.732679] Wrong custom code is 0xe55f87ee
[ 198.835433] Wrong custom code is 0xe50587ee
[ 199.146207] Wrong custom code is 0xe50387ee

I also tried it by stopping and staring xbmc with:
/bin/sh /etc/init.d/S95xbmc stop
/bin/sh /etc/init.d/S95xbmc start

But it gives the same error in dmesg.
Any idea how to get this to work?



Hi,

Sorry, missed your post :)

I think I noticed some white space parsing issues when I tried to cut and paste the config.

Manually edit the existing conf file, and just add the new factory code and key mappings, and test, don't delete anything else in the section.

Then do a /usr/bin/amremote_config /etc/xbmc/remote.conf and see if it works or it still isn't recognising your remote.

Cheers, Des.
Des
 
Posts: 12
Joined: August 14th, 2012, 3:34 pm

Re: Remote

Postby shupy » September 4th, 2012, 11:02 pm

Speedster » September 3rd, 2012, 3:50 pm wrote:
Thanks! The code for Rewind has been updated in the document. The previous code was for function 218, mapped to 51 (comma) in remote.conf, which is skip previous. I have changed the function code to 195, which maps to 19 (R), this should be correct.

I have also added a new code and mapping for the "Queue" function.


Awesome! Thanks for the hard work!!!
shupy
 
Posts: 4
Joined: September 3rd, 2012, 10:24 am

Re: Remote

Postby matthijst » September 5th, 2012, 1:42 am

Thanks Des, I'll try tonight!
matthijst
 
Posts: 15
Joined: July 26th, 2012, 3:05 am

Re: Remote

Postby Jaemlllz » September 5th, 2012, 2:46 am

hey speedster i was playing with your xbmc build with the remote config and all i have to say is bravo! you saved me so much pain and agony. your remote mod is great works wonderfully for me. i think you should put it in mods and hacks forum.
Jaemlllz
Hardcore
 
Posts: 137
Joined: August 8th, 2012, 9:24 am

Re: Remote

Postby shupy » September 5th, 2012, 9:27 pm

hey speedster, wondering if you can supply the hex code for the 'small step back- 7 second?' It maps to the ' (quote) key on the xmbc keyboard. thanks!
shupy
 
Posts: 4
Joined: September 3rd, 2012, 10:24 am

Re: Remote

Postby Speedster » September 5th, 2012, 9:58 pm

shupy » September 6th, 2012, 1:27 pm wrote:hey speedster, wondering if you can supply the hex code for the 'small step back- 7 second?' It maps to the ' (quote) key on the xmbc keyboard. thanks!


Document updated. Probably best to map this one to the "Prev" button on the Harmony as that's currently unmapped.
Speedster
Hardcore
 
Posts: 122
Joined: August 7th, 2012, 6:28 pm
Location: Australia

Re: Remote

Postby shupy » September 5th, 2012, 10:52 pm

Speedster » September 5th, 2012, 9:58 pm wrote:Document updated. Probably best to map this one to the "Prev" button on the Harmony as that's currently unmapped.


Superb! Thanks so much!!!
shupy
 
Posts: 4
Joined: September 3rd, 2012, 10:24 am

Re: Remote

Postby Speedster » September 6th, 2012, 7:30 pm

I know I stated not customsing keyboard.xml is a goal, and for the most part I haven't, however I made one change - the global mapping for "S".

Instead of activating the shutdown menu I have it run XBMC.Shutdown() directly, so when you power off/switch activities on the Harmony it shuts down the XIOS properly. The default settings has it sit at the shutdown menu waiting for a selection. My default power management option is to shutdown instead of Quit.

I suppose you could modify your activity to add "down" and then "ok" to the activity and that would select the power off option for you, but I prefer the simplicity of sending the PwrToggle command and having the XIOS shutdown and power off.

What are others and developers thoughts? Perhaps buildroot-linux could patch keyboard.xml to implement this change for the Linux XBMC image?
Speedster
Hardcore
 
Posts: 122
Joined: August 7th, 2012, 6:28 pm
Location: Australia

Re: Remote

Postby sensite » September 7th, 2012, 2:15 am

Speedster » September 6th, 2012, 10:30 pm wrote:I know I stated not customsing keyboard.xml is a goal, and for the most part I haven't, however I made one change - the global mapping for "S".

Instead of activating the shutdown menu I have it run XBMC.Shutdown() directly, so when you power off/switch activities on the Harmony it shuts down the XIOS properly. The default settings has it sit at the shutdown menu waiting for a selection. My default power management option is to shutdown instead of Quit.

I suppose you could modify your activity to add "down" and then "ok" to the activity and that would select the power off option for you, but I prefer the simplicity of sending the PwrToggle command and having the XIOS shutdown and power off.

What are others and developers thoughts? Perhaps buildroot-linux could patch keyboard.xml to implement this change for the Linux XBMC image?


This is a great idea, I got around this by programming my harmony 900 to send power, down, select
sensite
Hardcore
 
Posts: 276
Joined: July 16th, 2012, 4:32 pm

PreviousNext

Return to XBMC on XIOS DS (Linux)

Who is online

Users browsing this forum: No registered users and 4 guests