PDA

Afficher la version complète : Lirc et telecommande Pinnacle PCTV pro



petitchevalroux
07/11/2005, 00h40
Aprés avoir essayer de toute les maniere possible et inimaginable de faire fonctionner cette http://www.alionet.org/style_emoticons/<#EMO_DIR#>/bang.gif telecommande je suis vraiment à bout et je m'en remet à vous pour bénificier de votre aide.
Explication du problème :
J ai installé le package lirc grace à mon gentil apt4rpm. La version installé est lircd 0.7.0.
un
rclirc start lance bien le démon lirc.
mais irw me donne
connect: Connection refused
le log de lirc indique

Nov 6 22:54:58 cameleon lircd 0.7.0: accepted new client on /var/run/lirc/lircd
Nov 6 22:54:58 cameleon lircd 0.7.0: could not reset tty
Nov 6 22:54:58 cameleon lircd 0.7.0: caught signal
mon fichier /etc/sysconfig/lirc ressemble à ça :

## Path: Hardware/Lirc
## Description: lirc (infrared remote control) configuration
## ServiceRestart: lirc
## Type: string
## Default: "660"
#
# permissions for /dev/lircd
#
LIRCD_DEV_PERMISSIONS="666"

## Type: string
## Default: "root:video"
#
# owner and group for /dev/lircd
#
LIRCD_DEV_OWNER="root:video"

## Type: string
## Default: ""
#
# use given driver
#
LIRCD_DRIVER="pinsys"

## Type: string
## Default: ""
#
# read from given device
#
LIRCD_DEVICE="/dev/lirc"

## Type: string(lirc_bt829,lirc_gpio,l irc_i2c,lirc_it87,lirc_parallel,lirc_sir,ir-kbd-i2c,ir-kbd-gpio)
## Default: ""
#
# load given lirc driver module
#
LIRC_MODULE="lirc_serial"

## Type: string
## Default: ""
#
# listen for network connections on specified port.
# WARNING: don't use this on a machine with an internet
# connection as lircd is running as root!
#
LIRCD_LISTENPORT=""

## Type: string
## Default: ""
#
# connect lircd to specified host
#
LIRCD_CONNECT=""
Le probleme c 'est que je ne sais absolument pas quel module mettre pour ma telecommande dans LIRC_MODULE. J ai mis le lirc_serial parce que ma télécommande est branché sur mon port COM1.
lsmod me donne :

lirc_serial 13024 0
lirc_dev 12812 1 lirc_serial
et voici ce que j 'ai mis dans mon /etc/modprobe.conf.local

alias char-major-61 lirc_serial
options lirc_serial irq=4 io=0x3f8
enfin mon lirc.conf est celui que l'on peut trouver sur lirc

#
# contributed by Bart Alewijnse <scarfboy@yahoo.com>
#
# brand: Pinnacle Systems
# model: PCTV Remote (Perhaps other ones as well)
# supported devices: there's only one I know of. (serial)
#
# Mail me if your remote is only partly supported, or if it has different
# buttons than listed below.
#

begin remote

name PinnacleSysPCTVRemote
bits 8
eps 30
aeps 100

one 0 0
zero 0 0
gap 180000

begin codes
Mute 0x000000000000003C
Power 0x000000000000002F
Chan+Play 0 x000000000000003F
Chan-Stop 0x000000000000 003E
Vol+FF 0x000000000000003B
Vol-Rew 0x000000000 000003D
1 0x0000000000000031
2 0x0000000000000032
3 0x0000000000000033
4 0x0000000000000034
5 0x0000000000000035
6 0x0000000000000036
7 0x0000000000000037
8 0x0000000000000038
9 0x0000000000000039
Fullscreen 0x000000000000002D
0/AV 0x000000000000003A
Info 0x000000000000002B
Preview 0x000000000000002E
Record 0x0000000000000027
Chan_Last 0 x0000000000000025
F_TV 0x0000000000000026
F_TELETEXT 0x0000000000000029
F_RADIO 0x000000000000002A

#
# here are some extra buttons a new version of the remote seems to have
#
# contributed by Robbert Monna <rjmonna@kabelfoon.nl>
#
# brand: Pinnacle Systems
# model: PCTV Remote (newest version?)
# supported devices: dongle on serial port (from TV-Card)
#
L 0x000000000000001F
Zoom 0x000000000000001E
vol+ 0x000000000000001B
vol- 0x000000000000000F
channel+ 0x0000000000000017
channel- 0x000000000000001C
middle 0x000000000000001A
Menu 0x000000000000001D
next 0x0000000000000019
undo 0x0000000000000016
pause 0x0000000000000015
redo 0x0000000000000013
Rewind 0x000000000000000E
Play 0x000000000000000D
Stop 0x000000000000000B
FForward 0x0000000000000007
EPG 0x0000000000000018

# here are some more buttons that seem to be mapped differently from
# the ones above

# contributed by InterCeptor ceptor_7@freemail.hu
#
# brand: Pinnacle Systems PCTV Pro Remote
# model no. of remote control: (I can't find any numbers on it)
# supported devices: serial
#

9 0x0000000000000082
Zoom 0x00000000000000B2
middle 0x0000000000000014


end codes
end remote
voila je croix ne rien avoir oublier. merci de votre aide.