On 2012-03-22 17:53:51 +0100, Canek Peláez Valdés said:

On Thu, Mar 22, 2012 at 5:21 AM, Kraus Philipp
<philipp.kr...@flashpixx.de> wrote:
Hello,

I'm using a Hauppauge WinTV HVR 1900 (usb), with a self-compiled kernel 3.2.11. The USB device works very well, but I would like to use LIRC 0.9.0 with my kernel. So I have set the LIRC_DEVICES="hauppauge" within my make.conf and run emerge.
Emerge fetches this packages:

[ebuild  N     ] sys-kernel/gentoo-sources-3.2.11  USE="-build -deblob -symlink"
[ebuild  N     ] virtual/linux-sources-0
[ebuild  N     ] app-misc/lirc-0.9.0

On emerging this error is shown:

/var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/drivers/lirc_i2c/lirc_i2c.c /var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/drivers/lirc_i2c/lirc_i2c.c: In function 'ir_probe': /var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/drivers/lirc_i2c/lirc_i2c.c:559:13: error: 'struct i2c_adapter' has no member named 'id' /var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/drivers/lirc_i2c/lirc_i2c.c: At top level: /var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/drivers/lirc_i2c/lirc_i2c.c:232:12: warning: 'add_to_buf_pvr2000' defined but not used


(How) Can I solve this problem?

I don't know if this will help you in any way. I have a media center
with a Thermaltake LCD, which besides the LCD (which is actually a
VFD) it includes an imon remote control. I used to have LIRC, and
everything was right.

After kernel 2.6.36 (or similar), LIRC stopped working (I use
vanilla-sources). So I upgraded  to the 3.2 kernel, and selected
IR_IMON in Device Drivers -> Multimedia support -> Remote Controller
adapters.

Thanks for this information. In the 3.2.11 sources the Remote Controller option
is named CONFIG_RC_CORE and I have set the options

Compile Remote Controller keymap modules  (CONFIG_RC_MAP)
Enable IR raw decoder for the NEC protocol (CONFIG_IR_NEC_DECODER)
Enable IR raw decoder for the RC-5 protocol (CONFIG_IR_RC5_DECODER)
Enable IR raw decoder for the RC6 protocol (CONFIG_IR_RC6_DECODER)
Enable IR raw decoder for the JVC protocol  (CONFIG_IR_JVC_DECODER)
Enable IR raw decoder for the Sony protocol  (CONFIG_IR_SONY_DECODER)
Enable IR raw decoder for the RC-5 (streamzap) protocol (CONFIG_IR_RC5_SZ_DECODER) Enable IR raw decoder for the MCE keyboard/mouse protocol (CONFIG_IR_MCE_KBD_DECODER)
Enable IR to LIRC bridge  (CONFIG_IR_LIRC_CODEC)

for building as modules.

Now the remote works perfectly, *BUT* I don't have LIRC installed
anymore. The remote works as a keyboard, and I didn't had to configure
anything in XBMC.

Can you run the emerge build command for lirc and take a look if the build
process crashs at the same source code line, like my sources?

Thanks a lot for your help

Phil



Reply via email to