• 1
  • 4
  • 5
  • 6
  • 7(current)
  • 8
XBOX 360 Media Remote on XBMCbuntu
#91
So it appears you still have not got the eject button working the way you want.
I gave you the format yet you are still trying to do it some other way.
We have already decided the star NAME (its ONLY a NAME its not a button) is the name we want to use.
The NAME star has NOTHING to do with the button on your remote.

lircd.conf
KEY_EJECT (Is this the name of your eject button?)

Lircmap.xml
<star>KEY_EJECT</star> <--------- This is the only change you will make

Remote.xml
<star>EjectTray()</star>

If this does not work then your eject button is NOT named "KEY_EJECT"

Start irw and press the eject button on the remote.
Whatever name is displayed is the name you change in Lircmap.xml <star>THE NAME</star>
If the eject button worked before with the star key than this is the ONLY thing you need to change.

Edit for spelling :-)
Reply
#92
Yeah, there is but its not clearly accessible!! Go here and scroll to line 1270. The names in "quotes" are the XBMC button names Wink

TIP : read, read and then re-read. It isn't difficult once you understand the relationship between the three files, which I think you do. Make copies of your files so you can reverse your changes if you need to and above all try it !!. If you make backups, you can easily reverse anything that doesn't work and you will only learn by doing. Nod
Reply
#93
(2013-11-10, 19:50)David.P Wrote: Only one last question regarding this. Is there a list of all proper remote keys in XBMC?
(because obviously I got it wrong with this list that contained "closesquarebracket")

That list has nothing to do with remotes.
Like I said, you are mixing up configurations.

Black Eagle posted the link to the correct names.
Reply
#94
OK thanks guys for the affirmation Blush

I have tried the following now (in order to get rid of the "star" key ejecting the DVD tray, and instead having the "eject" key doing it, in the end)

Lircmap.xml:
Code:
<recordedtv>KEY_EJECT</recordedtv> <!-- line was empty -->
<recordedtv>KEY_NUMERIC_STAR</recordedtv> <!-- was "star" -->
and
Keyboard.xml:
Code:
<recordedtv>EjectTray()</recordedtv>   <!-- was "star" -->

"recordedtv" is a XBMC button according to the list. I used "recordedtv" because I don't have this button on the remote, and am not recording TV anyway.

Now, if I press the "Star" key on the remote, the DVD tray ejects. If I press the "Eject" button, nothing happens.

Therefrom I conclude cunningly that "KEY_EJECT" is missing from the lircd.conf file.

"KEY_EJECT" however is the proper name as I have tested here.

Now it seems that the only problem remaining is that I don't know how to access/edit lircd.conf...? Huh
Reply
#95
(2013-11-11, 20:08)David.P Wrote: Now it seems that the only problem remaining is that I don't know how to access/edit lircd.conf...? Huh

Ah, well therein lies a problem Sad

Most of the OpenELEC system is 'read only', presumably to keep the system stable and prohibit end users from 'tinkering' Wink lircd.conf is in a read only part of the operating system, thus you cannot overwrite or edit it. I don't know if its possible to mount /etc as read/write with
Code:
mount -o remount,rw /etc
Reply
#96
OK... Rolleyes

Anyway, I have installed and activated mksquashfs now.

But I get an error if I try your above command:

Code:
login as: root
root@openelec's password:
##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################

OpenELEC (official) Version: 3.2.3
OpenELEC:~ # mount -o remount,rw /etc
mount: can't find /etc in /proc/mounts

What could be wrong here?

And, If I run the nano editor, what path do I have to enter in order to have a look into (i.e. open) lircd.conf? Huh
Reply
#97
Yeah sorry David, forgot the paths are different on OpenELEC. I believe the path you require to lircd.conf is actually /storage/.config/lircd.conf

so the nano command would be
Code:
nano /storage/.config/lircd.conf
If its not editable (read-only) nano will tell you it has no write permissions.
Reply
#98
(2013-11-11, 20:08)David.P Wrote: OK thanks guys for the affirmation Blush

I have tried the following now (in order to get rid of the "star" key ejecting the DVD tray, and instead having the "eject" key doing it, in the end)

Lircmap.xml:
Code:
<recordedtv>KEY_EJECT</recordedtv> <!-- line was empty -->
<recordedtv>KEY_NUMERIC_STAR</recordedtv> <!-- was "star" -->
and
Keyboard.xml:
Code:
<recordedtv>EjectTray()</recordedtv>   <!-- was "star" -->

"recordedtv" is a XBMC button according to the list. I used "recordedtv" because I don't have this button on the remote, and am not recording TV anyway.

Now, if I press the "Star" key on the remote, the DVD tray ejects. If I press the "Eject" button, nothing happens.

Therefrom I conclude cunningly that "KEY_EJECT" is missing from the lircd.conf file.

"KEY_EJECT" however is the proper name as I have tested here.

Now it seems that the only problem remaining is that I don't know how to access/edit lircd.conf...? Huh

You still, despite my insistence, have not told us what the lirc name of the eject button is.
This is not a shot in the dark. There is NO guess work. Its simply telling XBMC what the Lirc name of the button is.
open that file and look and use irw. I am not interested in the XBMC debug log. XBMC is not having an issue.
KEY_EJECT may or may not be missing. Its not even important what the name is called.
It could be called KEY_!Q@W#E$R%T^Y&U*I(O)P. It doesnt matter. We just need to know what the eject button is called.

Post the contents of
Code:
cat /etc/lirc/lircd.conf

and start irw then press the eject button.
post the output.

Sorry If I sound impatient, (I am actually Big Grin) but you are not helping me help you.

It might be something like KEY_EJECTCD according to the namespace on irrecord
Reply
#99
(2013-11-11, 20:08)David.P Wrote: "KEY_EJECT" however is the proper name as I have tested here.

Well I just looked at that link you posted.
Indeed your button is NOT named "KEY_EJECT"

Its "KEY_EJECTCD"

It should work now with that name.

TongueLaughAngel

Sorry, Glad we got that sorted out.
Reply
Here's what nano shows:
Image

...and this is the cat output:
Image

What's wrong now?

(2013-11-11, 22:46)FishOil Wrote: Indeed your button is NOT named "KEY_EJECT"

Its "KEY_EJECTCD"

Aaaahhh I'm sorry for my inattentiveness Blush

I'll try that name in an instant Nod
Reply
(2013-11-11, 22:49)David.P Wrote: What's wrong now?

You're using openelec Tongue

Just kidding. But honestly, when you come looking for help with a non standard XBMC these thing are to be expected. No big deal.
People can usually get you to where you need to be.
Reply
Haha, I'm such a nerd finally, I can reboot my living room TV from the command line, sitting at the kitchen table Big Grin

AND, my "Eject" key on the remote works now Nod Thanks guys!

So does anyone know where that lircd.conf file actually is?
Reply
And then, there's this:

Lircmap.xml:
Code:
<red>KEY_RED</red>  <!-- works and does show live TV -->
<teletext>KEY_YELLOW</teletext>  <!-- works and does show teletext -->
and
Keyboard.xml:
Code:
<teletext>XBMC.ActivateWindow(Teletext)</teletext>

...but no trace of "red" in the entire Keyboard.xml file.

So how come that "KEY_RED" activates Live TV when it is missing from Keyboard.xml? Huh
Reply
(2013-11-11, 23:48)David.P Wrote: And then, there's this:

Lircmap.xml:
Code:
<red>KEY_RED</red>  <!-- works and does show live TV -->
<teletext>KEY_YELLOW</teletext>  <!-- works and does show teletext -->
and
Keyboard.xml:
Code:
<teletext>XBMC.ActivateWindow(Teletext)</teletext>

...but no trace of "red" in the entire Keyboard.xml file.

So how come that "KEY_RED" activates Live TV when it is missing from Keyboard.xml? Huh

Thats enough for me.

Start a new thread on keyboard.xml

This thread was supposed to be about the XBOX 360 Media Remote
Reply
Ah that's right, could have thought of that myself.

Ummm, path to lircd.conf, anyone...? Eek

OK, I'm off Nod

Thanks to FishOil for everything.

[edit] Just for completeness, it seems that the <red> button (inter alia) is defined in a remote.xml master file, if keyboard.xml doesn't override it. Sorry, was gonna edit the original post.
Reply
  • 1
  • 4
  • 5
  • 6
  • 7(current)
  • 8

Logout Mark Read Team Forum Stats Members Help
XBOX 360 Media Remote on XBMCbuntu3