[mythtv-users] lirc_zilog - HDPVR

Jarod Wilson jarod at wilsonet.com
Wed Feb 2 19:15:46 UTC 2011

On Feb 2, 2011, at 12:36 AM, James MacKenzie wrote:

> Jarod Wison wrote:
>> On Feb 1, 2011, at 5:14 PM, James MacKenzie wrote:
>>>> Is anyone using the 'built in' lirc_i2c in 2.6.37?  If so, how...
>>>> I have also tried to use ir_kbd_i2c, because I read somewhere that
>> lirc_i2c is
>>>> being phased out.
>> Yes, lirc_i2c has been removed from the kernel as of 2.6.38-rc2, as it is
>> entirely redundant with ir-kbd-i2c.
> Here is the problem with that.  ir-kbd-i2c doesn't work for me...at all.
> I get rid of lirc_i2c and lirc_dev, then I load ir-kbd-i2c.
> I try both 'modprobe ir-kbd-i2c hauppauge=1 debug=1' and 'modprobe ir-kbd-i2c
> debug=1'
> These return:
> input: i2c IR (Hauppauge) as /devices/virtual/input/input14
> ir-kbd-i2c: i2c IR (Hauppauge) detected at i2c-1/1-0018/ir0 [ivtv i2c driver
> #0]
> So...it's there...it's found something.
> When I then start lircd (0.9.0-pre1), I get:
> lircd: lircd(i2cuser) ready, using /var/run/lirc/lircd
> lircd: accepted new client on /var/run/lirc/lircd
> lircd: Cannot find i2c adapter
> lircd: i2c device cannot be opened

You're Doing It Wrong(tm). :)

$ sudo modprobe ir-kbd-i2c

$ dmesg |tail -n 4
Registered IR keymap rc-rc5-tv
input: i2c IR (Hauppauge) as /devices/virtual/rc/rc0/input7
rc0: i2c IR (Hauppauge) as /devices/virtual/rc/rc0
ir-kbd-i2c: i2c IR (Hauppauge) detected at i2c-8/8-0018/ir0 [ivtv i2c driver #0]

$ tail -n 10 /proc/bus/input/devices 
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="i2c IR (Hauppauge)"
P: Phys=i2c-8/8-0018/ir0
S: Sysfs=/devices/virtual/rc/rc0/input7
U: Uniq=
H: Handlers=kbd event7 
B: EV=100013
B: KEY=c0010 201080400000000 0 30200a000 18000004801 9e000000000000 ffc
B: MSC=10

$ lircd -H devinput -d /dev/input/event7

And use the lircd.conf.devinput config file provided with lirc.

Jarod Wilson
jarod at wilsonet.com

More information about the mythtv-users mailing list