Hello
I've been struggling for 2 days now trying to get this remote working but I can't.
I read a lot of tutorials, a lot of HowTo including ones that are not related to my distro but nothing works so I need your expertise.
I'm running Fedora Core 12 and I'm trying to get the original XBOX remote working. Of course I have a receiver plugged on a usb slot, this is working under win xp, but not on this Fedora Core 12.
Here are some inputs:
Code:
[root@HTPC dev]# lsmod | grep lirc
lirc_atiusb 14712 0
lirc_dev 10772 1 lirc_atiusb
Code:
[root@HTPC dev]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 046d:c30f Logitech, Inc. Logicool HID-Compliant Keyboard (106 key)
Bus 002 Device 003: ID 045e:0284 Microsoft Corp. Xbox DVD Playback Kit
Bus 002 Device 002: ID 045e:00f0 Microsoft Corp.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Code:
[root@HTPC dev]# cat /etc/lirc/hardware.conf
/etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="ATI/NVidia/X10 I REMOTE="None" II RF Remote"
REMOTE_MODULES="lirc_dev lirc_atiusb"
REMOTE_DRIVER="atilibusb"
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="/etc/lirc/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=""
#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:
[root@HTPC dev]# cat /etc/lirc/lircd.conf
#
# 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
While trying to make it work, here's what I did.
I ran lircd as follows
lircd
or
lircd -n -d /dev/lirc0 -H atilibusb /etc/lirc/lircd.conf
Then, on a separate terminal, I typed irw
While pressing some buttons on the remote, nothing happens
On the first tab of the terminal (the one running lircd), here's what I have:
Code:
[root@HTPC ~]# lircd -n -d /dev/lirc0 -H atilibusb /etc/lirc/lircd.conf
lircd-0.8.6[1966]: you should specify a valid gap value
lircd-0.8.6[1966]: lircd(atilibusb) ready, using /var/run/lirc/lircd
lircd-0.8.6[1966]: accepted new client on /var/run/lirc/lircd
lircd-0.8.6[1966]: couldn't find a compatible USB device
lircd-0.8.6[1966]: Failed to initialize hardware
I added blacklist xpad in my /etc/modprobe.d/blacklist.conf file but nothing happens.
I don't know what's wrong but there's something wrong... maybe someone can help?
Regards
Ludo
Edit: Here's an extract of dmesg
Code:
lirc_dev: IR Remote Control driver registered, major 61
lirc_atiusb: USB remote driver for LIRC $Revision: 1.85 $
lirc_atiusb: Paul Miller <pmiller9@users.sourceforge.net>
lirc_atiusb: debug mode enabled: $Id: lirc_atiusb.c,v 1.85 2009/03/11 00:21:46 jarodwilson Exp $
lirc_atiusb[2]: usb_remote_probe: dev:f659c000, intf:f658f600, id:f84dd7b8)
lirc_atiusb[2]: scanning remote_list...
lirc_atiusb[2]: remote type = 2
lirc_atiusb[2]: adding remote to list
lirc_atiusb[2]: processing endpoint 0
lirc_atiusb[2]: acceptable inbound endpoint (0x81) found (maxp=8 len=6)
lirc_atiusb[2]: adding ep=0x81 to list
lirc_dev: lirc_register_driver: sample_rate: 0
lirc_dev: driver lirc_atiusb registered at minor number = 0
lirc_atiusb[2]: on usb2:2
lirc_atiusb[2]: usb_remote_probe: dev:f659c000, intf:f658f700, id:f84dd7b8)
lirc_atiusb[2]: scanning remote_list...
lirc_atiusb[2]: prior instance found.
usbcore: registered new interface driver lirc_atiusb
Edit: [root@HTPC lirc]# lircd -n -H --driver=lirc_atiusb -d --device=/dev/lirc
Driver `--driver=lirc_atiusb' not supported.
Supported drivers:
accent
alsa_usb
asusdh
atilibusb
audio
audio_alsa
awlibusb
bte
bw6130
commandir
creative
creative_infracd
default
devinput
dsp
dvico
ea65
ftdi
i2cuser
irlink
irman
livedrive_midi
livedrive_seq
logitech
macmini
mp3anywhere
mplay
mouseremote
mouseremote_ps2
null
pcmak
pinsys
pixelview
samsung
sb0540
silitek
tira
udp
uirt2
uirt2_raw
usb_uirt_raw
usbx