Accessing i2c subsystem from within a kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



you don't use the /dev/i2c* interface, you use the exported functions in i2c-core.c,
as documented in doc/writing-clients.

Luis Correia wrote:
> Hi!
> 
> This question may or may not be related to lm_sensors, but you guys
> are the I2C master around here.
> 
> I have a small embedded hardware (PcEngines) that I whish to include
> a LCD display to use with lcd4linux.
> 
> For that I'm adapting a ppdev emulator driver, but now I need to know
> if I can (and how) access the /dev/i2c-* interface from within a
> kernel driver itself.
> 
> This is probably a very dumb question....
> 
> 
> Thanks!
> 
> Luis Correia
> Bering-uClibc Team Member
> 
> 



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux