From: Luis C. <lfc...@lf...> - 2005-03-28 20:23:41
|
Michael Reinelt wrote: >Hi Luis, > > > >>My devel system is Fedora Core 3 with all the latest updates. Yes, it >>is a 2.6 series kernel. >> >> >Mine is debian sarge/sid/experimental/dangerous/bleeding_edge/.., but >with a self-brewed vanilla kernel 2.6.11 > > > >>But I2C is a major hack if you ask me... >> >> >Full ACK. > > >>Kernel has it's own i2c functions, the lm_sensors project also has >>some other functions. >> >> >I did have a look at lm_sensors, looks like they don't use the i2c >interface at all, but access the /proc or /sys files only. > > > >>Let's do this, please include these two files, and i'll see what can >>be done about detecting the proper i2c includes. >> >> >I commited your patch with some modifications, and added all the auto* >stuff. It compiles cleanly here, but for a simple reason: configure >decieds that linux/i2c.h is unusable, and therefore deactivates I2C >support :-) > >Please give it a try! > > > I did... it seems there is still a problem... Although you do have ifdef's around my I2C functions, and after I manually enable I2C by editing config.h, it seems to ignore the drv_generic_i2c.h file, as it spews out errors at tthe end, and drv_generic_i2c.c is not being compiled at all... What does the configure look for in order to detect I2C as present? >bye, Michael > > > Luis |