Lirc (et Fedora 12) - Logiciels - Linux et OS Alternatifs
Marsh Posté le 21-11-2009 à 21:20:38
En compilant depuis les sources :
./configure --with-driver=atiusb |
Ca me donne
You will have to use the lirc_atiusb kernel module.
Now enter 'make' and 'make install' to compile and install the package.
Et
./configure --with-driver=lirc_atiusb |
donne
configure: error: *** you need to have the Linux kernel source installed
for this driver
|
Marsh Posté le 21-11-2009 à 21:16:26
Bonsoir
j'essaie en vain de faire fonctionner ma télécommande avec Fedora Core 12.
C'est une télécommande du kit DVD de la XBOX (1) qui fonctionne parfaitement sous Ubuntu par exemple donc à priori tout va bien.
[root@HTPC dev]# lsmod | grep lirc
lirc_atiusb 14712 0
lirc_dev 10772 1 lirc_atiusb
[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
J'ai essayé tout un tas de configs dont
[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=""
[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
Et...
[root@HTPC ~]# lircd -n -d /dev/lirc0 -H lirc_atiusb /etc/lirc/lircd.conf
Driver `lirc_atiusb' not supported.
Pourtant
[root@HTPC ~]# lsmod | grep ati
lirc_atiusb 14712 0
lirc_dev 10772 1 lirc_atiusb
Est ce que vous avez une idée ?
L'install vient de yum mais ça fait pareil ou presque à partir des sources de lirc, à ceci près que lirc_atiusb est reconnu mais bon...
Comme vu un peu partout j'ai ajouté xpad à /etc/modprobe.d/blacklist.conf
---------------
Like a flower bending in the breeze, bend with me, sway with ease. When we dance you have a way with me, stay with me, sway with me.