9.11 b2 XBOX remote woes
#16
I had my xbox remote working perfectly in XBMC-Live 9.04. Then I installed the XBMC-Live 9.11 RC1 and my xbox remote didnt work anymore even though I copied the exact same hardware.conf and lircd.conf files I was using before.

Then I discovered that my hardware.conf was the culprit.

This is what I previously had in hardware.conf

Quote:# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER=""
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/lirc0"
MODULES="lirc_atiusb lirc_dev lirc_i2c"

# Default configuration files for your hardware if any
LIRCD_CONF="/etc/lirc/lircd.conf"
LIRCMD_CONF=""
# /etc/lirc/hardware.conf

The above worked fine for me before, but not in the RC1.

Then I tried using the following hardware.conf and it magically worked!

Quote:#Chosen Remote Control
REMOTE="None"
REMOTE_MODULES="lirc_atiusb lirc_dev"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF="lircd.conf"

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="true"
START_LIRCMD=""

I suspect its maybe due to the fact that in my previous setup I was using lirc version 0.8.4 (I think thats the version number) and in the RC1 its lirc version 0.8.6.

This was driving me crazy for hours, so glad it works now! Big Grin
Reply
#17
newb2linux Wrote:This isnt working for me either.. Does it matter that Im using the XBOX IR mounted to a usb header ?

Mine is mounted to a USB header and works fine. Does it show up when you run "lsusb"?
Reply
#18
This is a lirc 0.8 "issue" nothing really to do with XBMC. The only thing you have to do differently from older versions is specify REMOTE_DEVICE="/dev/lirc0" (or w/e your device actually shows up as) in hardware.conf.

So, from a blank slate (unconfigured lirc)...
1. blacklist the xpad module
2. enable LIRCD and set REMOTE_DEVICE in hardware.conf
3. copy one of the billions of lircd.conf floating around the forum

udev will handle starting and stopping the daemon on plug events. You'll have to do your own thing to get around suspend issues.
Reply
#19
Maybe this will help someone. I managed to get this to work on my ION-ITX board running Ubuntu 9.10 and XBMC Camelot by following the instructions provided by Bagger above, with one exception : I commented out the line in lircd.conf pointing to the ATI/NVIDIA conf file.

I can post my config files if anybody needs them.

By the way, no need to reboot (this is not freaking Windows!), just
Quote:sudo /etc/init.d/lirc restart

V.
Reply
#20
althekiller Wrote:This is a lirc 0.8 "issue" nothing really to do with XBMC. The only thing you have to do differently from older versions is specify REMOTE_DEVICE="/dev/lirc0" (or w/e your device actually shows up as) in hardware.conf.

So, from a blank slate (unconfigured lirc)...
1. blacklist the xpad module
2. enable LIRCD and set REMOTE_DEVICE in hardware.conf
3. copy one of the billions of lircd.conf floating around the forum

udev will handle starting and stopping the daemon on plug events. You'll have to do your own thing to get around suspend issues.

this was all driving me crazy. this was the simple advice i was looking for!
thanks atk
Reply
#21
althekiller Wrote:This is a lirc 0.8 "issue" nothing really to do with XBMC. The only thing you have to do differently from older versions is specify REMOTE_DEVICE="/dev/lirc0" (or w/e your device actually shows up as) in hardware.conf.

So, from a blank slate (unconfigured lirc)...
1. blacklist the xpad module
2. enable LIRCD and set REMOTE_DEVICE in hardware.conf
3. copy one of the billions of lircd.conf floating around the forum

udev will handle starting and stopping the daemon on plug events. You'll have to do your own thing to get around suspend issues.

Thank you and all the other good answers.
I think the most important part in my case were the REMOTE_MODULES="lirc_dev lirc_atiusb" line. In some threads more drivers are listed and in some way that seemed to mess things up for me...
Pneumatic | SABnzbd | XBMC that just works - openelec
Reply
#22
althekiller Wrote:This is a lirc 0.8 "issue" nothing really to do with XBMC. The only thing you have to do differently from older versions is specify REMOTE_DEVICE="/dev/lirc0" (or w/e your device actually shows up as) in hardware.conf.

So, from a blank slate (unconfigured lirc)...
1. blacklist the xpad module
2. enable LIRCD and set REMOTE_DEVICE in hardware.conf
3. copy one of the billions of lircd.conf floating around the forum

udev will handle starting and stopping the daemon on plug events. You'll have to do your own thing to get around suspend issues.

Please, can someone explain it to me? :confused2:

Enable lircd?
Set remote_device?

I would love to use the xbox-dongle and the original remote... ;_;
Reply
#23
Evin Wrote:Please, can someone explain it to me? :confused2:

Enable lircd?
Set remote_device?

I would love to use the xbox-dongle and the original remote... ;_;

You need to have lircd installed. If you're using Ubuntu, it is a simple as "apt-get install lirc". Then edit the config files as previously described in this thread, or use these.

You'll also need a USB -> XBOX cable obviously.
Reply
#24
Tried and failed.

However, I got a mceusb-Receiver working and already configured my Harmony. ^^
Reply
#25
Here's the total idiot-proof solution:

http://forum.xbmc.org/showpost.php?p=235143&postcount=1

To fix the volume mapping:

http://forum.xbmc.org/showpost.php?p=452392&postcount=4
Reply
#26
This lircmd.conf file posted on this thread is wrong. (see quoted below) It is identical to the lircd.conf posted in the same quote. I've ben scouring the internet looking for a xbox DVD Remote controller lircmd.conf file and I can't find anything. I know it should look something like this

Code:
#
# lircmd config file
#
PROTOCOL IntelliMouse
#PROTOCOL MouseSystems

# ACCELERATOR start max multiplier
ACCELERATOR 2 30 5

#ACTIVATE * MENU

MOVE_N  * MOUSE_N
MOVE_NE * MOUSE_NE
MOVE_E  * MOUSE_E
MOVE_SE * MOUSE_SE
MOVE_S  * MOUSE_S
MOVE_SW * MOUSE_SW
MOVE_W  * MOUSE_W
MOVE_NW * MOUSE_NW
#MOVE_IN * CH_UP
#MOVE_OUT * CH_DOWN

#BUTTON1_TOGGLE * BUTTONL_DOWN
#BUTTON2_TOGGLE * BUTTONR_DOWN
#BUTTON3_TOGGLE * LIST

BUTTON1_CLICK * BUTTONL_DOWN
BUTTON2_CLICK * BUTTONR_DOWN
#BUTTON3_CLICK * POWER
# BUTTONx_CLICK, BUTTONx_UP, BUTTONx_DOWN are also possible
But, of course, that is a lircmd.conf file for a different remote. I've been baning my head on this and can't get it to work.

DOES ANYONE HAVE MOUSE EMULATION WORKING WITH THEIR XBOX DVD REMOTE?



Bagger Wrote:
Code:
sudo nano /etc/lirc/hardware.conf

Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Actisys Act200L SIR driver support"
REMOTE_MODULES="lirc_dev lirc_sir"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
REMOTE_SOCKET=""
TRANSMITTER_SOCKET=""


Code:
sudo nano /etc/lirc/lircd.conf
Code:
#This configuration has been automatically generated via
#the Ubuntu LIRC package maintainer scripts.
#
#It includes the default configuration for the remote and/or
#transmitter that you have selected during package installation.
#
#Feel free to add any custom remotes to the configuration
#via additional include directives or below the existing
#Ubuntu include directives from your selected remote and/or
#transmitter.

#No default remote configuration was included for Actisys Act200L SIR driver support
#You will need to include your own custom configuration for
#this remote, and file a bug at https://bugs.launchpad.net/ubuntu/+source/lirc/+filebug

#
# LIRCD configuration file for Xbox DVD Kit
#
# Marko Friedemann <mfr|bmx-chemnitz.de>
#
#
# brand:             Microsoft
# model:             Xbox DVD Remote
# supported devices: Xbox DVD Remote via xpad-ir driver
#
# comment:           EXPERIMENTAL
#

begin remote

    name  XboxDVDDongle
    bits           8

    begin codes

        SELECT         0x0b
       UP              0xa6
        DOWN           0xa7
       RIGHT           0xa8
        LEFT           0xa9
       INFO            0xc3

        9              0xc6
       8               0xc7
        7              0xc8
       6               0xc9
        5              0xca
       4               0xcb
        3              0xcc
       2               0xcd
        1              0xce
       0               0xcf

        DISPLAY                0xd5
       BACK            0xd8
        SKIP-          0xdd
       SKIP+           0xdf
        STOP           0xe0
       REVERSE         0xe2
        FORWARD                0xe3
       TITLE           0xe5
        PAUSE          0xe6
       PLAY            0xea
        MENU           0xf7

Code:
sudo nano /etc/lirc/lircmd.conf
Code:
#
# LIRCD configuration file for Xbox DVD Kit
#
# Marko Friedemann <mfr|bmx-chemnitz.de>
#
#
# brand:             Microsoft
# model:             Xbox DVD Remote
# supported devices: Xbox DVD Remote via xpad-ir driver
#
# comment:           EXPERIMENTAL
#

begin remote

    name  XboxDVDDongle
    bits           8

    begin codes

        SELECT         0x0b
       UP              0xa6
        DOWN           0xa7
       RIGHT           0xa8
        LEFT           0xa9
       INFO            0xc3

        9              0xc6
       8               0xc7
        7              0xc8
       6               0xc9
        5              0xca
       4               0xcb
        3              0xcc
       2               0xcd
        1              0xce
       0               0xcf

        DISPLAY                0xd5
       BACK            0xd8
        SKIP-          0xdd
       SKIP+           0xdf
        STOP           0xe0
       REVERSE         0xe2
        FORWARD                0xe3
       TITLE           0xe5
        PAUSE          0xe6
       PLAY            0xea
        MENU           0xf7

      end codes

end remote
Reply
#27
so for some reason, I can no longer post on this forum. I'm ant2ne, and I made the above post, but now it tells me...
Quote:ant2ne, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
I wonder what this is all about. I created a new account (this one) but I'd much rather have my old one fixed.

Anyhow I solved this problem with the xbox remote and lircmd.conf. I now have mouse movement with my xbox remote. You can read all about, and seem my conf files here. All I ask is that if you re-post this info someplace, just link back to my original blog.
Reply

Logout Mark Read Team Forum Stats Members Help
9.11 b2 XBOX remote woes0