[Bug 371109] [NEW] MCC doesn't set up bttv IR remote - should use dev/input

Aaron Whitehouse lists at whitehouse.org.nz
Sun May 3 04:30:14 UTC 2009


Public bug reported:

Binary package hint: mythbuntu-control-centre

I have a bttv card (Winfast 2000XP card=34) and chose the card in the drop-down list of remotes in Jaunty Mythbuntu.  I thought this would set up the card, but it did not.  I have now made this work and feel that the steps that I took could be automated (see my "Answer" at:
https://answers.launchpad.net/mythbuntu/+question/54983
, made into a script and run whenever somebody chose this card from the list.

$ grep -A 4 bttv /proc/bus/input/devices
will give the input device at the end of the last line:

N: Name="bttv IR (card=34)"
P: Phys=pci-0000:03:07.0/ir0
S: Sysfs=/devices/pci0000:00/0000:00:14.4/0000:03:07.0/input/input6
U: Uniq=
H: Handlers=kbd event6 

Ship http://linux.bytesex.org/v4l2/linux-input-layer-lircd.conf with MCC
and put it in /etc/lircd.conf at this stage.

Then generate a *correct* /etc/lirc/hardware.conf to read:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Winfast TV2000/XP (card"
REMOTE_MODULES="bttv"
REMOTE_DRIVER="dev/input"
REMOTE_DEVICE="/dev/input/[EVENTNUM FROM ABOVE]"
REMOTE_LIRCD_CONF="leadtek/lircd.conf.RM-0010"
REMOTE_LIRCD_ARGS=""

I'm happy to test any scripts that are proposed.  The problem with a GUI
that says it configures LIRC for the bttv remote is that you expect it
to work when you select it.  I was quite disappointed to have to figure
it out for myself (by asking on the LIRC list).

** Affects: mythbuntu-control-centre (Ubuntu)
     Importance: Undecided
         Status: New

-- 
MCC doesn't set up bttv IR remote - should use dev/input
https://bugs.launchpad.net/bugs/371109
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list