[mythtv-users] Lirc doesn't work

Oscar Curero oscar at naiandei.net
Fri Jun 24 19:13:53 UTC 2005


El Viernes, 24 de Junio de 2005 02:04, Marc Tousignant wrote:
> > -----Original Message-----
> > From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-
> > bounces at mythtv.org] On Behalf Of Oscar Curero
> > Doesn't work.
> > My remote is the one that came with the pvr-350.
> > There are a lot of config files for this model:
> > http://www.mach8.nl/misc/hauppauge_grey.jpg
> > (30 buttons aprox.)
> >
> > BUT I have this:
> > http://images.amazon.com/images/P/B0007SV8QA.01-
> > A16GRAMNJJ3TBV._SCMZZZZZZZ_.jpg
> > (44 buttons aprox.)
> >
> > Using the linux-input-layer (the long file that I posted before) I can
> > use most of the buttons, although some of them are incorrect: for
> > examlpe, the "left" button is recognized using the "irw" program as the
> > "STOP" button:
> >
> > 0000000000010080 00 STOP linux-input-layer
> > the right button:
> > 0000000000010080 00 STOP linux-input-layer
> > the "up" button:
> > 000000000001007c 00 KPCOMMA linux-input-layer
> > the "down" button:
> > 000000000001007f 00 COMPOSE linux-input-layer
> >
> > What can I do now?

> Simple, create your own lircd.conf
> After you do this thou you'll have to create your own lircrc for myth too.

I have created one with "irrecord". the file config was exactly the same that 
Nick posted before 
( http://lirc.sourceforge.net/remotes/hauppauge/lircd.conf.hauppauge at the 
bottom). After that, I though that everything would work as expected... but 
no, the remote doesn't work. Using "irw" no output at all, but in dmesg I get 
the same errors as before:

i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=1
i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=0

i2c IR (Hauppauge): unknown key: key=0x17 raw=0x3797 down=1
i2c IR (Hauppauge): unknown key: key=0x17 raw=0x3797 down=0

i2c IR (Hauppauge): unknown key: key=0x18 raw=0x3798 down=1
i2c IR (Hauppauge): unknown key: key=0x18 raw=0x3798 down=0

i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=1
i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3f94 down=0

i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=1
i2c IR (Hauppauge): unknown key: key=0x14 raw=0x3794 down=0

I have the following modules loaded (related to lirc):

ir_kbd_i2c
ir_common
i2c_algo_bit
lirc_i2c
i2c_core 
lirc_dev
 
If I unload the first module (ir_kbd_i2c) then I can't use the remote:

Before unloading the module:

lilium:~/input # ./lsinput
/dev/input/event0
   bustype : BUS_ISA
   vendor  : 0x1f
   product : 0x1
   version : 256
   name    : "PC Speaker"
   phys    : "isa0061/input0"
   bits ev : EV_SYN EV_SND

/dev/input/event1
   bustype : BUS_I2C
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "i2c IR (Hauppauge)"
   phys    : "i2c-0//ir0"
   bits ev : EV_SYN EV_KEY EV_REP

AFTER ("irw" doesn't work because /dev/input/event1 doesn't exist):

lilium:~/input # ./lsinput
/dev/input/event0
   bustype : BUS_ISA
   vendor  : 0x1f
   product : 0x1
   version : 256
   name    : "PC Speaker"
   phys    : "isa0061/input0"
   bits ev : EV_SYN EV_SND


Ideas?

SuSE 9.3 (i386)
kernel: 2.6.11.4-20a-default
Lirc: 0.7.0


-- 
Oscar Curero - Linux user: 306877
--    GPG keyID: 0xE0EA0B24    -- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20050624/6a3bf726/attachment.pgp


More information about the mythtv-users mailing list