[mythtvnz] Bttv Leadtek WinFast 2000XP worked perfectly, then didn't on reboot

Aaron Whitehouse lists at whitehouse.org.nz
Mon Nov 16 08:26:10 GMT 2009


I have a bttv Leadtek 2000XP.  I had the remote working perfectly over
LIRC (dev/input).  Then I rebooted and now it doesn't work.  Evtest on
the device works correctly.

The card is:
03:07.0 Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 11)
I: Bus=0001 Vendor=107d Product=6609 Version=0001
N: Name="bttv IR (card=34)"
P: Phys=pci-0000:01:06.0/ir0
H: Handlers=kbd event5
B: EV=100003
B: KEY=8fc736 2350000 0 0 0 10000 10000 190 40004801 1e0001 fff80 0 4002

I set it up by following the steps here:
http://www.linuxtv.org/wiki/index.php/Leadtek_WinFast_2000#Setting_up_the_remote
and here:
http://www.mythtv.org/wiki/Leadtek_WinFast#Remote

I wrote both the guides, so please tell me if I have done something
stupid (and don't assume that the guides are 100%).

Essentially, I set up a udev symlink for the remote event device, as it
changed each boot. I started lirc with:
sudo /usr/sbin/lircd --device=/dev/input/event5 --driver=dev/input
(I had to sudo mkdir /var/run/lirc first, as I got an error that it
couldn't create the lock file. This was before I had created the udev
symlink of "bttv_remote")
and everything worked fine. I was using MythTV happily and the remote
let me use all of the buttons that I had configured (which was a lot
better than what Mythbuntu Control Centre did for my card). Irw worked
entirely as expected.

After restarting, LIRC is not working correctly. Irw gives nothing when
buttons are pressed. MythTV does not respond to presses at all. However,
typing:
$ sudo evtest /dev/input/bttv_remote
[sudo] password for mythbuntu:
Input driver version is 1.0.0
Input device ID: bus 0x1 vendor 0x107d product 0x6606 version 0x1
Input device name: "bttv IR (card=34)"
Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
    Event code 2 (1)
[snip]
  Event type 20 (Repeat)
Testing ... (interrupt to exit)
Event: time 1258356979.584032, type 1 (Key), code 2 (1), value 1
Event: time 1258356979.584042, -------------- Report Sync ------------
Event: time 1258356979.584046, type 1 (Key), code 2 (1), value 0
Event: time 1258356979.584048, -------------- Report Sync ------------
Event: time 1258356980.309671, type 1 (Key), code 3 (2), value 1
Event: time 1258356980.309680, -------------- Report Sync ------------
Event: time 1258356980.309684, type 1 (Key), code 3 (2), value 0
Event: time 1258356980.309686, -------------- Report Sync ------------
Event: time 1258356981.074843, type 1 (Key), code 78 (KPPlus), value 1
Event: time 1258356981.074853, -------------- Report Sync ------------
Event: time 1258356981.074858, type 1 (Key), code 78 (KPPlus), value 0
Event: time 1258356981.074861, -------------- Report Sync ------------

So it seems to me that the udev symlink and remote driver are working
correctly, but somehow my LIRC settings are incorrect.

/etc/lirc/hardware.conf
http://launchpadlibrarian.net/35742390/hardware.conf

/etc/lirc/linux-input-layer-lircd.conf
http://launchpadlibrarian.net/35742412/linux-input-layer-lircd.conf

/etc/lirc/lircd.conf
http://launchpadlibrarian.net/35742423/lircd.conf

/home/mythbuntu/.lircrc
http://launchpadlibrarian.net/35742503/.lircrc

/home/mythbuntu/.lirc/mythtv
http://launchpadlibrarian.net/35742508/mythtv

dmesg | tail -150 > dmesg-tail-150.log
http://launchpadlibrarian.net/35742644/dmesg-tail-150.log

/var/log/daemon.log
http://launchpadlibrarian.net/35742724/daemon.log

/var/log/messages
http://launchpadlibrarian.net/35742735/messages

/var/log/syslog
http://launchpadlibrarian.net/35742740/syslog

cat /var/log/kern.log | tail -150 > kern.log
http://launchpadlibrarian.net/35742764/kern.log

DistroRelease: Ubuntu 9.10
InstallationMedia: Mythbuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: lirc 0.8.6-0ubuntu2

Any help, or further tests, that anyone can give would be greatly
appreciated!

Regards,

Aaron



More information about the mythtvnz mailing list