1 |
On 2012-03-22 17:39:19 +0100, walt said: |
2 |
|
3 |
> On 03/22/2012 04:21 AM, Kraus Philipp wrote: |
4 |
>> Hello, |
5 |
>> |
6 |
>> I'm using a Hauppauge WinTV HVR 1900 (usb), with a self-compiled kernel |
7 |
>> 3.2.11. The USB device works very well, but I would like to use LIRC |
8 |
>> 0.9.0 with my kernel. So I have set the LIRC_DEVICES="hauppauge" within |
9 |
>> my make.conf and run emerge. |
10 |
>> Emerge fetches this packages: |
11 |
>> |
12 |
>> [ebuild N ] sys-kernel/gentoo-sources-3.2.11 USE="-build -deblob |
13 |
>> -symlink" |
14 |
>> [ebuild N ] virtual/linux-sources-0 |
15 |
>> [ebuild N ] app-misc/lirc-0.9.0 |
16 |
>> |
17 |
>> error: 'struct i2c_adapter' has no member named 'id' |
18 |
> |
19 |
> I just found this commit in Linus's git repo: |
20 |
> |
21 |
> commit c185a9420bd1c645252249018e6887a968d3e1de |
22 |
> Author: Jean Delvare <khali@> |
23 |
> Date: Sun Mar 20 14:50:53 2011 +0100 |
24 |
> |
25 |
> i2c: Drop i2c_adapter.id |
26 |
> |
27 |
> There is no user left of i2c_adapter.id, so we can get rid of it. |
28 |
> Finally! :) |
29 |
> |
30 |
> And this comment from last June: |
31 |
> |
32 |
> -What: i2c_adapter.id |
33 |
> -When: June 2011 |
34 |
> -Why: This field is deprecated. I2C device drivers shouldn't change their |
35 |
> - behavior based on the underlying I2C adapter. |
36 |
> |
37 |
> |
38 |
> The lirc code includes several #ifdefs that test for the adapter id, so |
39 |
> the lirc devs *are* changing their driver behavior based on it, obviously. |
40 |
> |
41 |
> Looks to me like lirc will need to be modified upstream for recent kernel |
42 |
> code. |
43 |
|
44 |
I think so, but I have posted the error message on the lirc mailinglist |
45 |
with actually no answer |
46 |
|
47 |
Phil |