I've been fighting with LIRC for a week now and I just can't make it work. The remote seems to work but LIRC doesn't pick up the signals. That's as far as I understand what's going on.
I have a Hauppauge WinTV-PC-FM model 647 (printed on the box). The output of lspci is included below. Also the box says: "Year 2000 compliant" (so this card has no excuse whatsoever
).
But seriously.
What does work?
- In console I do get [0-9] showing up at the terminal if I press the buttons on the remote. That's not supposed to happen I guess, but that shows at least the remote and PCI card work properly and that the kernel has recognised them.
- starting or stopping lirc has no effect on the point above.
- ir-keytable -t gives me all the keys and scancodes so again, the remote and PCI card work well.
- when I start lirc and issue "irw", I get no more output, it seems like the remote stops working.
- The volume up/down/mute do work in my desktop environment (XFCE4)
- Volume up and down stop working when I start lirc and run irw. When I ^c irw it starts working again. Starting/stopping lirc on itself has no effect.
- if I start irexec: also it seems like the remote stops working both on the command line and in X, also ir-keytable -t no longer produces output.
And then some info I thought might be relevant:
cat /etc/issue
Code:
Debian GNU/Linux jessie/sid \n \l
lspci -v
Code:
05:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Subsystem: Hauppauge computer works Inc. WinTV Series
Flags: bus master, medium devsel, latency 32, IRQ 17
Memory at f0001000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
Kernel driver in use: bttv
05:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Subsystem: Hauppauge computer works Inc. WinTV Series
Flags: bus master, medium devsel, latency 32, IRQ 17
Memory at f0000000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
Kernel driver in use: snd_bt87x
tail -n 12 /proc/bus/input/devices
Code:
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="i2c IR (Hauppauge)"
P: Phys=i2c-9/9-0018/ir0
S: Sysfs=/devices/virtual/rc/rc0/input20
U: Uniq=
H: Handlers=kbd event17
B: PROP=0
B: EV=100013
B: KEY=10afc312 214201700000000 0 118000 41a800004801 9e16c000000000 10000ffc
B: MSC=10
cat /etc/lirc/hardware.conf
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
#Don't start irexec, even if a good config file seems to exist.
#START_IREXEC=false
#Try to load appropriate kernel modules
LOAD_MODULES=true
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="devinput"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/input/event17"
MODULES=""
# Default configuration files for your hardware if any
LIRCD_CONF="/usr/share/lirc/remotes/hauppauge/lircd.conf.hauppauge"
LIRCMD_CONF="/usr/share/lirc/remotes/hauppauge/lircmd.conf.hauppauge"
lsmod | grep ir
Code:
ir_kbd_i2c 12795 0
rc_core 22404 4 bttv,rc_hauppauge,ir_kbd_i2c
i2c_core 46012 13 drm,bttv,i915,i2c_i801,tuner,ir_kbd_i2c,drm_kms_helper,i2c_algo_bit,msp3400,v4l2_common,tveeprom,tuner_simple,videodev
dmesg | grep -i haupp
Code:
[ 3.437034] bttv: 0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
[ 3.437035] bttv: 0: using: Hauppauge (bt878) [card=10,autodetected]
[ 3.439587] bttv: 0: Hauppauge/Voodoo msp34xx: reset line init [5]
[ 3.490346] tveeprom 9-0050: Hauppauge model 61344, rev D421, serial# 3894894
[ 3.490352] bttv: 0: Hauppauge eeprom indicates model#61344
[ 3.630799] Registered IR keymap rc-hauppauge
[ 3.630966] input: i2c IR (Hauppauge) as /devices/virtual/rc/rc0/input20
[ 3.631016] rc0: i2c IR (Hauppauge) as /devices/virtual/rc/rc0
[ 3.631018] ir-kbd-i2c: i2c IR (Hauppauge) detected at i2c-9/9-0018/ir0 [bt878 #0 [sw]]
tail -n 100 /var/log/syslog
Code:
Dec 14 19:25:13 host systemd[1]: Stopping LSB: Starts LIRC daemon....
Dec 14 19:25:13 host lircd-0.9.0-pre1[3684]: caught signal
Dec 14 19:25:13 host lircd-0.9.0-pre1[3690]: caught signal
Dec 14 19:25:13 host lirc[3899]: Stopping remote control daemon(s): LIRC:.
Dec 14 19:25:13 host systemd[1]: Starting LSB: Starts LIRC daemon....
Dec 14 19:25:13 host lirc[3905]: Loading LIRC modules:.
Dec 14 19:25:13 host lirc[3905]: Starting remote control daemon(s) : LIRC : failed!
Dec 14 19:25:13 host systemd[1]: Started LSB: Starts LIRC daemon..
Dec 14 19:25:18 host systemd[1]: Stopping LSB: Starts LIRC daemon....
Dec 14 19:25:18 host lirc[3939]: Stopping remote control daemon(s): LIRC: failed!
Dec 14 19:25:18 host systemd[1]: Starting LSB: Starts LIRC daemon....
Dec 14 19:25:18 host lirc[3946]: Loading LIRC modules:.
Dec 14 19:25:18 host lirc[3946]: Starting remote control daemon(s) : LIRC : failed!
Dec 14 19:25:18 host systemd[1]: Started LSB: Starts LIRC daemon..
Dec 14 19:25:35 host systemd[1]: Stopping LSB: Starts LIRC daemon....
Dec 14 19:25:35 host lirc[3981]: Stopping remote control daemon(s): LIRC: failed!
Dec 14 19:25:35 host systemd[1]: Starting LSB: Starts LIRC daemon....
Dec 14 19:25:35 host lirc[3988]: Loading LIRC modules:.
Dec 14 19:25:35 host lircd-0.9.0-pre1[3994]: lircd(devinput) ready, using /var/run/lirc/lircd
Dec 14 19:25:35 host lirc[3988]: Starting remote control daemon(s) : LIRC :.
Dec 14 19:25:35 host systemd[1]: Started LSB: Starts LIRC daemon..
Dec 14 19:25:37 host lircd-0.9.0-pre1[3994]: accepted new client on /var/run/lirc/lircd
Dec 14 19:25:37 host lircd-0.9.0-pre1[3994]: initializing '/dev/input/event17'
Dec 14 19:25:38 host lircd-0.9.0-pre1[3994]: removed client
Dec 14 19:25:38 host lircd-0.9.0-pre1[3994]: closing '/dev/input/event17'
Dec 14 19:27:28 host systemd[1]: Stopping LSB: Starts LIRC daemon....
Dec 14 19:27:28 host lircd-0.9.0-pre1[3994]: caught signal
Dec 14 19:27:28 host lirc[4025]: Stopping remote control daemon(s): LIRC:.
Dec 14 19:27:28 host systemd[1]: Starting LSB: Starts LIRC daemon....
Dec 14 19:27:28 host lirc[4031]: Loading LIRC modules:.
Dec 14 19:27:28 host lircd-0.9.0-pre1[4037]: lircd(devinput) ready, using /var/run/lirc/lircd
Dec 14 19:27:28 host lirc[4031]: Starting remote control daemon(s) : LIRC :.
Dec 14 19:27:28 host systemd[1]: Started LSB: Starts LIRC daemon..
Dec 14 19:27:32 host lircd-0.9.0-pre1[4037]: accepted new client on /var/run/lirc/lircd
Dec 14 19:27:32 host lircd-0.9.0-pre1[4037]: initializing '/dev/input/event17'
Dec 14 19:27:36 host lircd-0.9.0-pre1[4037]: removed client
Dec 14 19:27:36 host lircd-0.9.0-pre1[4037]: closing '/dev/input/event17'
Dec 14 19:28:40 host systemd[1]: Stopping LSB: Starts LIRC daemon....
Dec 14 19:28:40 host lircd-0.9.0-pre1[4037]: caught signal
Dec 14 19:28:40 host lirc[4072]: Stopping remote control daemon(s): LIRC:.
Dec 14 19:28:40 host systemd[1]: Starting LSB: Starts LIRC daemon....
Dec 14 19:28:40 host lirc[4079]: Loading LIRC modules:.
Dec 14 19:28:40 host lircd-0.9.0-pre1[4085]: lircd(devinput) ready, using /var/run/lirc/lircd
Dec 14 19:28:40 host lirc[4079]: Starting remote control daemon(s) : LIRC :.
Dec 14 19:28:40 host systemd[1]: Started LSB: Starts LIRC daemon..
Dec 14 19:28:43 host lircd-0.9.0-pre1[4085]: accepted new client on /var/run/lirc/lircd
Dec 14 19:28:43 host lircd-0.9.0-pre1[4085]: initializing '/dev/input/event17'
Dec 14 19:28:59 host lircd-0.9.0-pre1[4085]: removed client
Dec 14 19:28:59 host lircd-0.9.0-pre1[4085]: closing '/dev/input/event17'
Dec 14 19:29:04 host systemd[1]: Stopping LSB: Starts LIRC daemon....
Dec 14 19:29:04 host lircd-0.9.0-pre1[4085]: caught signal
Dec 14 19:29:04 host lirc[4115]: Stopping remote control daemon(s): LIRC:.
Dec 14 19:29:04 host systemd[1]: Stopped LSB: Starts LIRC daemon..
Dec 14 19:29:15 host systemd[1]: Starting LSB: Starts LIRC daemon....
Dec 14 19:29:15 host lirc[4148]: Loading LIRC modules:.
Dec 14 19:29:15 host lircd-0.9.0-pre1[4154]: lircd(devinput) ready, using /var/run/lirc/lircd
Dec 14 19:29:15 host lirc[4148]: Starting remote control daemon(s) : LIRC :.
Dec 14 19:29:15 host systemd[1]: Started LSB: Starts LIRC daemon..
Dec 14 19:37:11 host systemd[1]: Stopping LSB: Starts LIRC daemon....
Dec 14 19:37:11 host lircd-0.9.0-pre1[4154]: caught signal
Dec 14 19:37:11 host lirc[4193]: Stopping remote control daemon(s): LIRC:.
Dec 14 19:37:11 host systemd[1]: Stopped LSB: Starts LIRC daemon..
Dec 14 19:37:26 host systemd[1]: Starting LSB: Starts LIRC daemon....
Dec 14 19:37:26 host lirc[4227]: Loading LIRC modules:.
Dec 14 19:37:26 host lircd-0.9.0-pre1[4233]: lircd(devinput) ready, using /var/run/lirc/lircd
Dec 14 19:37:26 host lirc[4227]: Starting remote control daemon(s) : LIRC :.
Dec 14 19:37:26 host systemd[1]: Started LSB: Starts LIRC daemon..
Dec 14 19:37:28 host lircd-0.9.0-pre1[4233]: accepted new client on /var/run/lirc/lircd
Dec 14 19:37:28 host lircd-0.9.0-pre1[4233]: initializing '/dev/input/event17'
Dec 14 19:37:44 host lircd-0.9.0-pre1[4233]: removed client
Dec 14 19:37:44 host lircd-0.9.0-pre1[4233]: closing '/dev/input/event17'
Dec 14 19:37:57 host lircd-0.9.0-pre1[4233]: accepted new client on /var/run/lirc/lircd
Dec 14 19:37:57 host lircd-0.9.0-pre1[4233]: initializing '/dev/input/event17'
Dec 14 19:38:01 host lircd-0.9.0-pre1[4233]: removed client
Dec 14 19:38:01 host lircd-0.9.0-pre1[4233]: closing '/dev/input/event17'
Dec 14 19:39:43 host systemd[1]: Stopping LSB: Starts LIRC daemon....
Dec 14 19:39:43 host lircd-0.9.0-pre1[4233]: caught signal
Dec 14 19:39:43 host lirc[4272]: Stopping remote control daemon(s): LIRC:.
Dec 14 19:39:43 host systemd[1]: Stopped LSB: Starts LIRC daemon..
Dec 14 19:44:09 host systemd[1]: Starting LSB: Starts LIRC daemon....
Dec 14 19:44:09 host lirc[4314]: Loading LIRC modules:.
Dec 14 19:44:09 host lircd-0.9.0-pre1[4320]: lircd(devinput) ready, using /var/run/lirc/lircd
Dec 14 19:44:09 host lirc[4314]: Starting remote control daemon(s) : LIRC :.
Dec 14 19:44:09 host systemd[1]: Started LSB: Starts LIRC daemon..
Dec 14 19:44:14 host lircd-0.9.0-pre1[4320]: accepted new client on /var/run/lirc/lircd
Dec 14 19:44:14 host lircd-0.9.0-pre1[4320]: initializing '/dev/input/event17'
Dec 14 19:44:21 host lircd-0.9.0-pre1[4320]: removed client
Dec 14 19:44:21 host lircd-0.9.0-pre1[4320]: closing '/dev/input/event17'
Dec 14 19:45:35 host systemd[1]: Stopping LSB: Starts LIRC daemon....
Dec 14 19:45:35 host lircd-0.9.0-pre1[4320]: caught signal
Dec 14 19:45:35 host lirc[4349]: Stopping remote control daemon(s): LIRC:.
Dec 14 19:45:35 host systemd[1]: Stopped LSB: Starts LIRC daemon..
ls -lah /var/run/lirc/*
Code:
srw-rw-rw- 1 root root 0 Dec 14 19:55 /var/run/lirc/lircd
-rw-r--r-- 1 root root 5 Dec 14 19:55 /var/run/lirc/lircd.pid
ls -lah /dev/lir*
Code:
lrwxrwxrwx 1 root root 21 Dec 14 19:55 /dev/lircd -> ../var/run/lirc/lircd
/etc/init.d/lirc status #then I launched irw and immediately quit with ^-c after:
Code:
lirc.service - LSB: Starts LIRC daemon.
Loaded: loaded (/etc/init.d/lirc)
Active: active (running) since Sun 2014-12-14 20:08:07 CET; 8s ago
Process: 4665 ExecStop=/etc/init.d/lirc stop (code=exited, status=0/SUCCESS)
Process: 4699 ExecStart=/etc/init.d/lirc start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/lirc.service
└─4705 /usr/sbin/lircd --driver=devinput --device=/dev/input/event17
Dec 14 20:08:07 host systemd[1]: Starting LSB: Starts LIRC daemon....
Dec 14 20:08:07 host lirc[4699]: Loading LIRC modules:.
Dec 14 20:08:07 host lircd-0.9.0-pre1[4705]: lircd(devinput) ready, using /var/run/lirc/lircd
Dec 14 20:08:07 host lirc[4699]: Starting remote control daemon(s) : LIRC :.
Dec 14 20:08:07 host systemd[1]: Started LSB: Starts LIRC daemon..
Dec 14 20:08:14 host lircd-0.9.0-pre1[4705]: accepted new client on /var/run/lirc/lircd
Dec 14 20:08:14 host lircd-0.9.0-pre1[4705]: initializing '/dev/input/event17'
Dec 14 20:08:14 host lircd-0.9.0-pre1[4705]: removed client
Dec 14 20:08:14 host lircd-0.9.0-pre1[4705]: closing '/dev/input/event17'
Thanks in advance for any help!