search for: have_linux_i2c_dev_h

Displaying 2 results from an estimated 2 matches for "have_linux_i2c_dev_h".

2014 Jul 09
0
[PATCH] Support for ASEM UPS on Linux/i2c
...#defined in <stddef.h> > the attached patch #includes <stdio.h> in AC_CHECK_DECLS. Tested on an ubuntu 12.10 x64, seems to solve the issue. I am a little confused as to how you are testing this :-) The driver still wouldn't compile on Ubuntu 14.04 with libi2c-dev. The "#if HAVE_LINUX_I2C_DEV_H" won't be satisfied until after config.h is included (typically by main.h). Since the driver won't even be compiled if WITH_LINUX_I2C is not defined, I took out the #if wrapper. Also, since the intermediate commits aren't terribly useful, I'll collapse the asem_i2c_take2 branc...
2014 Jul 08
2
[PATCH] Support for ASEM UPS on Linux/i2c
On 08/07/2014 01:02, Charles Lepple wrote: >>> Sorry I did not test this sooner - this went to Gmane but not to my email. >>> If you have time, could you please write up a quick man page for this driver? >>> >>> Also, there seem to be some missing symbols and include files: >>> >>>