The main issue in a 95%-working mythtv box is that the remote has never actually changed any channels on the digital cable box, although it does everything but that. So I was told to write a udev rule, the mention and contents of which were totally skipped in the howto I was following, and have been poring over
http://www.reactivated.net/writing_u...html#ownership for a few days now. I'm finding it difficult to apply to my situation.
I'd already written a 10-local.rules file for my usb MFC's scanner, but that the contents were in a howto that I simply pasted into it, and apparently another paragraph for the lirc is in order (according to the hyperlinked instructions above).
One of the difficulties is that the device in question has both a class and a module in the sys tree, and I have no idea which to use for the subsystem, and it's also a usb-device, being an irblaster that came with my Hauppauge WinTV PVR-250. Another difficulty is that the appropriate module for that tuner is the i2c, which had to be downloaded from a backports source, along with the change-channel-lirc.pl file, and there is no contrib/ directory in those tarballs.
At any rate, here's some sysinfo data:
When I type into a terminal: "udevinfo -a -p /sys/module/lirc_i2c" I get:
looking at device '/module/lirc_i2c':
KERNEL=="lirc_i2c"
SUBSYSTEM=="module"
SYSFS{refcnt}=="2"
SYSFS{srcversion}=="24D5B1AE659A301B1B416CB"
When I type in: "udevinfo -a -p /sys/class/lirc/lirc0" I get:
looking at device '/class/lirc/lirc0':
KERNEL=="lirc0"
SUBSYSTEM=="lirc"
SYSFS{dev}=="61:0"
I get nada output when I try to modprobe lirc_i2c, or modprobe ir-kbd-i2c, and the only 3 results when I type: "cat /proc/bus/input/devices" are for the keyboard, mouse, and pc speaker (yes, I'm using sudo in front of each terminal command).
Right now my udev paragraph is:
SUBSYSTEM!="lirc", ACTION!="add", GOTO="_end"
# KERNEL="lirc[0-9]*", NAME="lirc0/%n"
SYSFS{dev}=="61:0", MODE="0666", GROUP="mythtv". RUN+="/usr/local/bin/change-channel-lirc.pl"
LABEL="_end"
and it doesn't seem to be giving me any errors at system boot-up.
Any diagnosis/assistance would be greatly appreciated. I'm using Mythtv .20, the the full release of Kubuntu 6.10 (the combined backend, frontend system, with the lamp server installed first, then the desktops. There really seems to be no connection between the lirc and the setop box, except my bright idea of making sure the program is linked in the udev rule above.