hi,
   Refer  "<Linux source folder>/Documentation/i2c/dev-interface", u will
know more information to interface I2C through dev interface..


On Thu, Nov 11, 2010 at 4:12 AM, shootingatshadow <[email protected]
> wrote:

> I am a bit new to Linux device drivers, been doing some research and
> trying things out. (Read Linux Device Drivers Book, digging around
> forums). So I have found ati2caddress 0x38 a chip which I would like
> to talk to. There is already a driver in place for that chip. I have
> the spec sheet in hand for that chip as well. However, the device
> shows up under /proc/bus and in the devices file. How can I access
> this device and send it information? My only other experience is
> opening a file under /dev/DEVICE and read and write bytes to it, any
> suggestions would be greatly appreciated. So I checked global errno
> and it is 9, which is bad file descriptor, any ideas?
>
> --
> unsubscribe: 
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to