On 03/22/2012 04:21 AM, Kraus Philipp 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
> error: 'struct i2c_adapter' has no member named 'id'

I just found this commit in Linus's git repo:

commit c185a9420bd1c645252249018e6887a968d3e1de
Author: Jean Delvare <khali@>
Date:   Sun Mar 20 14:50:53 2011 +0100

    i2c: Drop i2c_adapter.id
    There is no user left of i2c_adapter.id, so we can get rid of it.
    Finally! :)
And this comment from last June:

-What:  i2c_adapter.id
-When:  June 2011
-Why:   This field is deprecated. I2C device drivers shouldn't change their
-       behavior based on the underlying I2C adapter.

The lirc code includes several #ifdefs that test for the adapter id, so
the lirc devs *are* changing their driver behavior based on it, obviously.

Looks to me like lirc will need to be modified upstream for recent kernel

Reply via email to