lirc xbox remote with ubuntu 8.04 not working
#1
Hi there,
I just tried the same steps I take normally to get the orig xbox remote working in gutsy with xbmc. However something of course has changed and it no longer works.

/var/log/messages :

Code:
May 20 08:45:01 xbmedia-desktop kernel: [  625.692345] usb 2-2: USB disconnect, address 3
May 20 08:45:06 xbmedia-desktop kernel: [  630.164080] usb 2-2: new full speed USB device using ohci_hcd and address 4
May 20 08:45:06 xbmedia-desktop kernel: [  630.366705] usb 2-2: configuration #1 chosen from 1 choice
May 20 08:45:06 xbmedia-desktop kernel: [  630.373382] input: Generic X-Box pad as /devices/pci0000:00/0000:00:0b.1/usb2/2-2/2-2:1.0/input/input9
May 20 08:45:06 xbmedia-desktop kernel: [  630.419522] lirc_atiusb[4]: inbound endpoint not found

------------------------------------------------------------------------------------------------------------------------------
/var/log/dmesg :

Code:
[   42.647817] input: Generic X-Box pad as /devices/pci0000:00/0000:00:0b.1/usb2/2-1/2-1:1.0/input/input6
[   42.647842] usbcore: registered new interface driver xpad
[   42.647847] /build/buildd/linux-2.6.24/drivers/input/joystick/xpad.c: X-Box pad driver:v0.0.6
[   42.693631] lirc_dev: IR Remote Control driver registered, at major 61
[   42.777415]
[   42.777418] lirc_atiusb: USB remote driver for LIRC $Revision: 1.61 $
[   42.777422] lirc_atiusb: Paul Miller <[email protected]>
[   42.816305] lirc_atiusb[2]: inbound endpoint not found
[   42.816327] usbcore: registered new interface driver lirc_atiusb
--------------------------------------------------------------------------------------------------------------------------------

I found a similar post about getting the regular controller working, which a custom driver was supplied. I just was not sure if this was the same issue. So I didn't want to clutter up someone elses thread.

Here is that other thread: http://forum.xbmc.org/showthread.php?tid=33376

Any help of course would be most grateful. Maybe I am just missing something simple... I have everything else working just perfect...

Thanks for your time.
Reply
#2
This worked for me.
Edit the line in /etc/lirc/hardware.conf

#Enable lircd
START_LIRCD="false" to read

START_LIRCD "true"

Hopefully that will fix it after a restart.
Reply
#3
I am sorry to report but that didn't fix it... I did copy my hardware/lirc.conf files from Gutsy maybe this .conf needs to be different now?

Here are both files:

Code:
#/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=true

#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"

# Default configuration files for your hardware if any
LIRCD_CONF="/etc/lirc/lircd.conf"
LIRCMD_CONF=""
# /etc/lirc/hardware.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

If anyone has an idea, I am stumped myself..
Reply
#4
Ok here is my hardware.conf and lircd.conf.

Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="None"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE=""
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=""

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
#5
Hmm, damn. I tried your config files as well... didn't change anything and the problem still remains.

I installed lircd with apt-get install via the terminal. This is the proper way of doing it right? Not that I made a mistake there.. I installed it this way with Gutsy, so I figured it might work the same way.
Reply
#6
I guess I must have messed something up if I am the only one getting this problem... or maybe I should roll back to the older ubuntu... or another OS all together... there is something funny going on. I think Ubuntu doesn't like me Smile
Reply
#7
Well I decided to stop screwing around with it all and wiped clean, went back to 7.10 (gutsy) and its all working nicely again.... I couldn't figure out what I had done to break lirc.
Reply
#8
Did anyone get this working?
I'm not an expert but I play one at work.
Reply
#9
harryzimm Wrote:Ok here is my hardware.conf and lircd.conf.

Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="None"
REMOTE_MODULES=""
REMOTE_DRIVER=""
REMOTE_DEVICE=""
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=""

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

harryzimm, what IR are you using? is it built into the case or you using the XBOX DVD USB hack or you using a USB BLASTER?
Reply
#10
Affini Wrote:Did anyone get this working?

I have been able to get this to work with 8.04 (hardy) but the response when I use irw is slow at best. I didnt try the conf's in this post but i used irrecord to create my own settings but for some reason it is horribly slow but I think my my hardware.conf is screwed up but it works - i will post back with my results. I spent HOURS trying to get lirc to work with XBMC so I hope I can help someone out when i am done by posting something on the forum
Reply
#11
im using the original xbox ir reciever converted to usb. Irw response is very good although a slightly slower response would be ideal.
Reply
#12
I am having the exact same problems :/ I have tried different ways of installing and configuring LIRC on kubuntu 8.04 and I just can't get it to work. I have tried LIRC from the ubuntu repositories and I have tried compiling from source.

Either way I cannot get my remote to communicate with my IR receiver.
Whenever I start "irw" I either get nothing or errors like "connect: Connection Refused" Sad((( This is trying with the Ati/Nvidia setting like it worked in kubuntu 7.10. I've tried combinations of other settings but no luck either Sad
Reply
#13
I had the same issue.

Or similar at least.

But, fixed it. Do me a favour and run lsmod | grep xpad

If you see it, then add this to /etc/modprobe.d/blacklist:

blacklist xpad


Try that.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#14
tslayer Wrote:I had the same issue.

Or similar at least.

But, fixed it. Do me a favour and run lsmod | grep xpad

If you see it, then add this to /etc/modprobe.d/blacklist:

blacklist xpad


Try that.
Wow, that's awesome. Thanks for that suggestion, that fixed it right up for me. =)

I've been racking my brains for the past two days trying to get the MS DVD remote/dongle working under 8.04... I was experiencing the exact same symptoms as Merlinux (thank you for that post, btw)... =)
Reply
#15
Excellent Smile

Glad it worked for you. Hopefully this will solve most folks issues with 8.0.4 and the xbox dongle/remote.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply

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