Aiuto lirc
1 messaggio
• Pagina 1 di 1
Aiuto lirc
Salve a tutti,
sto provando a far funzionare il mio telecomando pinnacle PCTV con mandriva, ma fino ad ora non sono riuscito a venirne a capo, ma ricordo che in passato ero riuscito a farlo funzionare... solo che ora non ricordo come.
Cmq ho installato i seguenti pacchetti:
libkdelirc_shared1-4.4.3-1mdv2010.1
dkms-lirc-0.8.7-0.20100505.1mdv2010.1
lirc-0.8.7-0.20100505.1mdv2010.1
liblirc0-0.8.7-0.20100505.1mdv2010.1
lirc-remotes-0.8.3-0.20080704.4mdv2010.0
kdelirc-4.4.3-1mdv2010.1
ho configurato il file lircd in etc/sysconfig così:
DRIVER=pinsys
# Hardware driver module to load
HWMOD=lirc_serial
# The device node that communicates with the IR device.
# if you are using lirc_serial, set DEVICE to /dev/ttyS[0-9]
# where 0-9 is the serial port your IR receiver is plugged
# with devfs enabled
DEVICE=/dev/lirc/0
#DEVICE=/dev/lirc/serial
# without devfs
#DEVICE=/dev/lirc
# Serial port for the receiver (for serial driver)
# COM1 (/dev/ttyS0)
COM_PORT=/dev/ttyS0
DRIVER_OPTS="irq=4 io=0x3f8"
# COM2 (/dev/ttyS1)
#COM_PORT=/dev/ttyS1
#DRIVER_OPTS="irq=3 io=0x2f8"
# COM3 (/dev/ttyS2)
#COM_PORT=/dev/ttyS2
#DRIVER_OPTS="irq=4 io=0x3e8
# COM4 (/dev/ttyS3)
#COM_PORT=/dev/ttyS3
#DRIVER_OPTS="irq=3 io=0x2e8"
ed configurato il file lircd.conf per il mio telecomando PCTV che ho copiato dalla lista del file installato da lirc-remote.
Purtroppo se lancio il comando mode2 -d /dev/lirc/0 premendo i tasti del telecomando non accade nulla e se lancio il comando irw il demone lircd si disattiva.
Lancio i seguenti comandi per verificare lirc:
[root@localhost thomas]# dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, major 61
lirc_serial: auto-detected active high receiver
lirc_dev: lirc_register_driver: sample_rate: 0
lirc_serial $Revision: 5.105 $ registered
[root@localhost thomas]# ps uxa | grep lirc
root 1818 0.0 0.0 4844 796 ? Ss 14:23 0:00 lircd --driver=pinsys --device=/dev/lirc/0
thomas 6399 0.3 2.1 133724 45576 ? S 14:38 0:01 kdeinit4: kwrite [kdeinit] /etc/sysconfig/lircd
root 7265 0.0 0.0 4088 820 pts/0 S+ 14:43 0:00 grep --color lirc
[root@localhost thomas]# lsmod | grep lirc
lirc_serial 9923 0
lirc_dev 9416 1 lirc_serial
Provato in winz..z e funziona regolarmente con software pinnacle sulla porta Com1
Qualcuno esperto può aiutarmi?
Grazie
sto provando a far funzionare il mio telecomando pinnacle PCTV con mandriva, ma fino ad ora non sono riuscito a venirne a capo, ma ricordo che in passato ero riuscito a farlo funzionare... solo che ora non ricordo come.
Cmq ho installato i seguenti pacchetti:
libkdelirc_shared1-4.4.3-1mdv2010.1
dkms-lirc-0.8.7-0.20100505.1mdv2010.1
lirc-0.8.7-0.20100505.1mdv2010.1
liblirc0-0.8.7-0.20100505.1mdv2010.1
lirc-remotes-0.8.3-0.20080704.4mdv2010.0
kdelirc-4.4.3-1mdv2010.1
ho configurato il file lircd in etc/sysconfig così:
DRIVER=pinsys
# Hardware driver module to load
HWMOD=lirc_serial
# The device node that communicates with the IR device.
# if you are using lirc_serial, set DEVICE to /dev/ttyS[0-9]
# where 0-9 is the serial port your IR receiver is plugged
# with devfs enabled
DEVICE=/dev/lirc/0
#DEVICE=/dev/lirc/serial
# without devfs
#DEVICE=/dev/lirc
# Serial port for the receiver (for serial driver)
# COM1 (/dev/ttyS0)
COM_PORT=/dev/ttyS0
DRIVER_OPTS="irq=4 io=0x3f8"
# COM2 (/dev/ttyS1)
#COM_PORT=/dev/ttyS1
#DRIVER_OPTS="irq=3 io=0x2f8"
# COM3 (/dev/ttyS2)
#COM_PORT=/dev/ttyS2
#DRIVER_OPTS="irq=4 io=0x3e8
# COM4 (/dev/ttyS3)
#COM_PORT=/dev/ttyS3
#DRIVER_OPTS="irq=3 io=0x2e8"
ed configurato il file lircd.conf per il mio telecomando PCTV che ho copiato dalla lista del file installato da lirc-remote.
Purtroppo se lancio il comando mode2 -d /dev/lirc/0 premendo i tasti del telecomando non accade nulla e se lancio il comando irw il demone lircd si disattiva.
Lancio i seguenti comandi per verificare lirc:
[root@localhost thomas]# dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, major 61
lirc_serial: auto-detected active high receiver
lirc_dev: lirc_register_driver: sample_rate: 0
lirc_serial $Revision: 5.105 $ registered
[root@localhost thomas]# ps uxa | grep lirc
root 1818 0.0 0.0 4844 796 ? Ss 14:23 0:00 lircd --driver=pinsys --device=/dev/lirc/0
thomas 6399 0.3 2.1 133724 45576 ? S 14:38 0:01 kdeinit4: kwrite [kdeinit] /etc/sysconfig/lircd
root 7265 0.0 0.0 4088 820 pts/0 S+ 14:43 0:00 grep --color lirc
[root@localhost thomas]# lsmod | grep lirc
lirc_serial 9923 0
lirc_dev 9416 1 lirc_serial
Provato in winz..z e funziona regolarmente con software pinnacle sulla porta Com1
Qualcuno esperto può aiutarmi?
Grazie
Codicem
mob asus P5LD2 - n.2 hd sata 250g raid - ram 2 g - pentium d820 2.80GHz d-core
Mandriva 2010.1 - kernel 2.6.33.6-desktop-nrj.69mib - kde 4.4.3
mob asus P5LD2 - n.2 hd sata 250g raid - ram 2 g - pentium d820 2.80GHz d-core
Mandriva 2010.1 - kernel 2.6.33.6-desktop-nrj.69mib - kde 4.4.3
-

codicem - Utente junior

- Messaggi: 24
- Iscritto il: 4 novembre 2008, 23:21
1 messaggio
• Pagina 1 di 1
Chi c’è in linea
Visitano il forum: Nessuno e 3 ospiti