Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Mythtvnz

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

 

 

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded


lists at whitehouse

Nov 16, 2009, 12:26 AM

Post #1 of 1 (532 views)
Permalink
Bttv Leadtek WinFast 2000XP worked perfectly, then didn't on reboot

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

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.