Re: Appropriate interface ?

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


On Wednesday 21 January 2009, Curran, Dominic wrote:
> Hi
> I apologies for slightly off-topic question.
>
> I have a camera which consists of three separate i2c slave devices on the
> same i2c bus: - sensor              (V4L2 interface)
>  - piezo len driver    (V4L2 interface)
>  - EEPROM (512 bytes)         ?
>
> The EEPROM is written with factory settings (sensor & lens info).
> It is meant to be read-only.
>
> Can anyone suggest an appropriate interface to usermode for the EEPROM ?
> Should I implement sysfs interface ?
> Or is there something more appropriate.

The drivers/i2c/chips/at24.c driver, which should handle most EEPROMs, exports 
EEPROM data through sysfs.

Best regards,

Laurent Pinchart

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

[Linux Media]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Linux Kernel]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [SSH]     [DVB Maintainers]     [Linux USB]     [Yosemite Information]

Add to Google Powered by Linux