lirc xbox remote with ubuntu 8.04 not working
#31
i've read posts here and it doesnt help me: my Xbox Remote just dont' work on my Ubuntu 8.04 XBMC. I use modified IR XBOX Dongle to USB and Xbox Remote. I can see all buttons doing in the IRW Window. Modul lirc_ati is loaded. I can see the Dongle in a Hardwarelist .How should i tell my XBMC to use this goddamned RemoteHuh Can someone tell me why it aint recognized Huh
Reply
#32
If you see the irw codes you're almost there.
You may need to check your Lircmap.xml and Keymap.xml files.
Use
Code:
sudo updatedb
locate Lircmap.xml
locate Keymap.xml
to find them.
If they're not there already, copy them to your ~/.xmbc/userdata dir.
Then check what's inside. Mapping goes from lircd.conf to Lircmap.xml (check the correct remote's name first of all), then from Lircmap.xml to Keymap.xml.

When you're done, restart.
Reply
#33
Thank you, it works nowBig Grin
Reply
#34
I wrote a python script to send the key as an event to an arbitrary machine (specified by the parameter) running xbmc on the network.

You don't need to have the remote to be plugged into the same machine running XBMC. It's able to send keys to mulitple pc running XBMC (including xbox) at the same time.

More details can be found here:

http://forum.xbmc.org/showthread.php?tid=47288

I find it's very handy. Hope someone like me find it useful.
Reply
#35
The_Rebel Wrote:This is what happens when LIRC tries to start. Where can i get more verbose information on what exactly failed?

NVM - it's a module issue.

If you could be so kind as to let me know how you managed to sort it out, I`d be very grateful.

Or anyone else who might have a clue as to what going on below.

Ive done a minimal install as shown HERE All working nicely, except I cant get the remote to work.

The remote is an original XBox DVD remote. Which Ive soldered a usb lead to.
I've installed lirc as in that guide and selected ATI/NVidia X10 RF (kernel) and no IR receiver.
If I " lsusb " the dongle appears in the devices list, also if I use the " irw " command I get a response on screen to which key is being pressed, so the remote is actually working...right.
But it does nothing in XBMC

What I have noticed on startup i get
Code:
* Loading LIRC modules [ OK ]
* Starting remote control daemon(s) : LIRC [[color=black]fail[/color]]

I assume this has some thing to do with it

Ive tried lots of things Ive found in these forums,including the common answer to blacklist xpad, unfortunatly all to no avail.

Many thanks
Reply
#36
Does anyone know how to setup and Xbox remote on ubuntu 9.04 for xbmc.

I have followed the guides on this forum but to no avail. It seems like directories have changed as people have setup the DVD remote for the old xbox on other versions of Ubuntu 8.0 and so on.

I followed this one: http://forum.xbmc.org/showthread.php?p=257590

it told me to: -blacklist xpad in /ect/modules.d/blacklist ----however that does not exist in ubuntu 9.04

I would very much appreciate it if some one could help me as I am completely stuck.

Thanks
Reply
#37
@devcon
On a "normal" install the file /etc/modules.d/blacklist does not exist.
Just create it with vi /etc/modules.d/blacklist and add blacklist xpad to it.

I did the same and got it working on xubuntu 9.04
Reply
#38
I know I'm using FC12 instead of Ubuntu but still, I'm almost finished.
I've been struggling having lirc working but now it's ok:

Code:
[htpc@HTPC userdata]$ irw
00000000000000a7 00 DOWN Xbox_Remote
00000000000000a6 00 UP Xbox_Remote
00000000000000a6 01 UP Xbox_Remote
00000000000000a7 00 DOWN Xbox_Remote
00000000000000a7 01 DOWN Xbox_Remote
00000000000000a7 02 DOWN Xbox_Remote

Looks like my FC12 is receiving the remote codes from my original XBOX remote DVD. However, it doesn't work on XBMC. I guess I have problems in my /etc/lirc/hardware.conf and/or /etc/lirc/lircd.conf and/or files in $HOME/.xbmc/userdata...

I wonder what I have to do now, and especially where to put these xml files.
I'm using 9.11 alpha2 R24798

Code:
[htpc@HTPC keymaps]$ pwd
/home/htpc/.xbmc/userdata/keymaps
[htpc@HTPC keymaps]$ cat Keymap.xml
[htpc@HTPC userdata]$ cat keymap.xml
<!-- This file contains the mapping of LIRC keys to XBMC keys used in Keymap.xml  -->
<!--                                                                              -->
<!-- How to add remotes                                                           -->
<!-- <remote device="name_Lirc_calls_the_remote">                                 -->
<!--                                                                              -->
<!-- For the commands the layout following layout is used                         -->
<!-- <XBMC_COMMAND>LircButtonName</XBMC_COMMAND>                                  -->
<!--                                                                              -->
<!-- For a list of XBMC_COMMAND's check out the <remote> sections of keymap.xml   -->

<lircmap>    
    <remote device="Xbox_Remote">
        <play>play</play>
        <pause>pause</pause>
        <stop>stop</stop>
        <forward>forward</forward>
        <reverse>reverse</reverse>
        <left>left</left>
        <right>right</right>
        <up>UP</up>
        <down>DOWN</down>
        <select>enter</select>
        <back>back</back>
        <menu>menu</menu>
        <title>title</title>
        <info>info</info>
        <skipplus>skip+</skipplus>
        <skipminus>skip-</skipminus>
        <display>display</display>
        <one>1</one>
        <two>2</two>
        <three>3</three>
        <four>4</four>
        <five>5</five>
        <six>6</six>
        <seven>7</seven>
        <eight>8</eight>
        <nine>9</nine>
        <zero>0</zero>
    </remote>
</lircmap>

Just typed UP and DOWN in uppercase as I'm just testing it.

Code:
[htpc@HTPC keymaps]$ cat /etc/lirc/lircd.conf
#This configuration has been automatically generated via
# this config file was automatically generated
# using lirc-0.8.3-CVS(default) on Fri Feb  8 09:34:50 2008
#
# brand: Microsoft Xbox DVD Receiever (also works with generic)
# remote control: Xbox remote or any remote using RCA DVD player codes

begin remote

  name  Xbox_Remote
  bits            8
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          163983
  toggle_bit_mask 0x0

      begin codes
          LEFT                     0xA9
          UP                       0xA6
          RIGHT                    0xA8
          DOWN                     0xA7
          SELECT                   0x0B
          1                        0xCE
          2                        0xCD
          3                        0xCC
          4                        0xCB
          5                        0xCA
          6                        0xC9
          7                        0xC8
          8                        0xC7
          9                        0xC6
          0                        0xCF
          MENU                     0xF7
          DISPLAY                  0xD5
          REWIND                   0xE2
          FFWD                     0xE3
          PLAY                     0xEA
          PAUSE                    0xE6
          STOP                     0xE0
          SKIP-                    0xDD
          SKIP+                    0xDF
          TITLE                    0xE5
          INFO                     0xC3
          BACK                     0xD8
      end codes

end remote

Do you have any clues?
Thanks Smile
Reply
#39
Ok so I modified some files and here's what I have in the xbmc.log file

Code:
18:33:47 T:3059517456 M:1729568768   DEBUG: LIRC: Update - NEW at 3018:00000000000000a7 00 DOWN Xbox_Remote (DOWN)
18:33:47 T:3059517456 M:1729568768   DEBUG: ------ Window Deinit (DialogVideoScan.xml) ------
18:33:48 T:3059517456 M:1729589248   DEBUG: LIRC: Update - NEW at 3936:00000000000000a6 00 UP Xbox_Remote (UP)
18:33:48 T:3059517456 M:1729589248   DEBUG: LIRC: Update - NEW at 4302:000000000000000b 00 SELECT Xbox_Remote (SELECT)

Looks like it received my signals, but... nothing happens on the screen.
keymap.xml file is
Code:
<keymap>
    <remote device="Xbox_Remote">
        <play>play</play>
        <pause>pause</pause>
        <stop>stop</stop>
        <forward>forward</forward>
        <reverse>reverse</reverse>
        <left>left</left>
        <right>right</right>
        <up>UP</up>
        <down>DOWN</down>
        <select>enter</select>
        <back>back</back>
        <menu>menu</menu>
        <title>title</title>
        <info>info</info>
        <skipplus>skip+</skipplus>
        <skipminus>skip-</skipminus>
        <display>display</display>
        <one>1</one>
        <two>2</two>
        <three>3</three>
        <four>4</four>
        <five>5</five>
        <six>6</six>
        <seven>7</seven>
        <eight>8</eight>
        <nine>9</nine>
        <zero>0</zero>
    </remote>
</keymap>



lircmap.xml file is
Code:
<lircmap>    
    <remote device="Xbox_Remote">
        <play>play</play>
        <pause>pause</pause>
        <stop>stop</stop>
        <forward>forward</forward>
        <reverse>reverse</reverse>
        <left>left</left>
        <right>right</right>
        <up>UP</up>
        <down>DOWN</down>
        <select>enter</select>
        <back>back</back>
        <menu>menu</menu>
        <title>title</title>
        <info>info</info>
        <skipplus>skip+</skipplus>
        <skipminus>skip-</skipminus>
        <display>display</display>
        <one>1</one>
        <two>2</two>
        <three>3</three>
        <four>4</four>
        <five>5</five>
        <six>6</six>
        <seven>7</seven>
        <eight>8</eight>
        <nine>9</nine>
        <zero>0</zero>
    </remote>
</lircmap>
Reply
#40
Got it working , it was just a wrong file location
Nevermind
Reply

Logout Mark Read Team Forum Stats Members Help
lirc xbox remote with ubuntu 8.04 not working0