From: Luis.F.Correia <Lui...@se...> - 2005-04-05 07:25:10
|
Hi! > -----Original Message----- > From: Michael Reinelt [mailto:re...@eu...] > Sent: Tuesday, April 05, 2005 7:02 AM > To: lcd4linux-devel > Subject: [Lcd4linux-devel] Re: fixes to the i2c patch that > Luis supplied > > Take #2: this should have gone to the list :-) > > Hi Paul and others, > > Paul Kamphuis wrote: > > I created a patch file for the corrections I made to > current CVS tree to > > make the i2c work properly. > > I applied the following changes: > > drv_generic_i2c.c > > - store section in the open function > > - made Section variable const to remove compiler warning > I reverted this one a bit. I casted the parameter on assignment to the > global variable, and stored 'Driver', too. Same as in > drv_generic_parport. > > > configure.in > > - modified the i2c verification/detection to correctly > detect and enable > > i2c support > > note: i2c support requires a 2.6 kernel and kernel headers > installed. I > > assume this detection would be > > sufficient for proper i2c enable/disable > > But it still does not work here. I again get tons of errors: Try this, go to your current kernel source and enable I2C support. Then, run make dep. I remember having to do such a trick to get it compiling on 2.4 a loooooong time ago :) Btw, my 2.4 development system is not ready yet... Luis Correia |