From: Luis.F.Correia <Lui...@se...> - 2005-04-04 16:11:25
|
Hi Paul! > -----Original Message----- > From: Paul Kamphuis [mailto:pau...@xs...] > Sent: Monday, April 04, 2005 5:02 PM > To: lcd4linux devel; Luis .F.Correia ; Michael Reinelt > Subject: fixes to the i2c patch that Luis supplied > > Hi, > > 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 > > 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 > > lcd4linux.conf.sample > - changed the model to 'generic' for the HD44780-I2C display (model > 'WRAP1C-PCF8574' is unknown?) :) this is my own personal model, it is quite innocous to lcd4linux since it is the only driver I have in my lcd4linux.conf, it works. > > This is the first patch file I ever created so I hope it is ok. > > Let me know if it works, > > Paul Looks good! Luis Correia |