Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] LIRC with kernel 3.2.11
Date: Thu, 22 Mar 2012 16:55:17
Message-Id: CADPrc809Yo+4h01rSBfcz5OAQZehBxV0mqBcEbqk5gvjfCFMCQ@mail.gmail.com
In Reply to: [gentoo-user] LIRC with kernel 3.2.11 by Kraus Philipp
1 On Thu, Mar 22, 2012 at 5:21 AM, Kraus Philipp
2 <philipp.kraus@×××××××××.de> wrote:
3 > Hello,
4 >
5 > 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.
6 > Emerge fetches this packages:
7 >
8 > [ebuild  N     ] sys-kernel/gentoo-sources-3.2.11  USE="-build -deblob -symlink"
9 > [ebuild  N     ] virtual/linux-sources-0
10 > [ebuild  N     ] app-misc/lirc-0.9.0
11 >
12 > On emerging this error is shown:
13 >
14 >  /var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/drivers/lirc_i2c/lirc_i2c.c
15 > /var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/drivers/lirc_i2c/lirc_i2c.c: In function 'ir_probe':
16 > /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'
17 > /var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/drivers/lirc_i2c/lirc_i2c.c: At top level:
18 > /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
19 >
20 >
21 > (How) Can I solve this problem?
22
23 I don't know if this will help you in any way. I have a media center
24 with a Thermaltake LCD, which besides the LCD (which is actually a
25 VFD) it includes an imon remote control. I used to have LIRC, and
26 everything was right.
27
28 After kernel 2.6.36 (or similar), LIRC stopped working (I use
29 vanilla-sources). So I upgraded to the 3.2 kernel, and selected
30 IR_IMON in Device Drivers -> Multimedia support -> Remote Controller
31 adapters.
32
33 Now the remote works perfectly, *BUT* I don't have LIRC installed
34 anymore. The remote works as a keyboard, and I didn't had to configure
35 anything in XBMC.
36
37 I don't see any Hauppauge driver in the Remote Controller adapters
38 menu in the kernel; but maybe it's called differently. If that's the
39 case, then you will need LIRC no more; you can use your remote as any
40 other input device.
41
42 Regards.
43 --
44 Canek Peláez Valdés
45 Posgrado en Ciencia e Ingeniería de la Computación
46 Universidad Nacional Autónoma de México

Replies

Subject Author
[gentoo-user] Re: LIRC with kernel 3.2.11 Philipp Kraus <philipp.kraus@×××××××××.de>