Re: Implementing a new driver

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

 



Hi Alessio,

On Fri, 23 Jan 2009 13:35:28 -0800, Alessio Sangalli wrote:
> Jean Delvare wrote:
> 
> > Examples of I2C chip drivers can be found under drivers/rtc (for RTC
> 
> 
> Thanks. I guess there is already a driver for DDC/EDID monitor
> parameters right? Should be a fairly common feature for graphic cards

See drivers/video/fb_ddc.c and drivers/video/edid.h, presumably this is
what you want for a framebuffer driver. For an X driver, the code
handling DDC is in X itself.

Or, for testing purpose, you can use the legacy "eeprom" driver
together with the ddcmon and decode-edid scripts from i2c-tools [1].

[1] http://www.lm-sensors.org/wiki/I2CTools

-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux