Skip to contentSkip to conversation

DDC/CI tool for lm_sensors package

CONTRIBUTION Oleg I. Vdovikin 2 participants 3 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I've recently finished writing a tool which is suitable for
communication with DDC/CI (DDC2Bi) enabled monitors (Samsung, NEC/Mitsubishi are known to support it) and allows querying monitor capabilities, reading and writing monitor controls, such as contrast, brightness, geometry, etc...

I'm believe, that there is some interest on this, at least googling
shows that. ;-) The reason for contributing is simple - I've spent some time on this, and do not want to just this into the wastebasket. ;-)

I've tested it with Samsung SyncMaster 173T with radeonfb and
Nicolas Boichat, which has independently started digging on the same thing and now working with GUI version, has tested it with Mitsubishi Diamond Pro 2060u with rivafb. Mitsubishi Diamond Pro 2060u does not support capabilities request.

This program is based on info sniffed on wire, published in USB Monitor
Control Class 1.0 specification for control codes available at
http://www.usb.org/developers/devclass_docs/usbmon10.pdf
and ACCESS.bus (tm) Specifications Version 3.0 available at
http://www.semtech.com/pdf/abusv30.pdf. In fact, up to date information about DDC/CI standard (Display Data Channel Command Interface (DDC/CI) Standard (formerly DDC2Bi), Version 1) is available from VESA
(http://www.vesa.org) and the summary is freely available at
http://www.vesa.org/summary/sumddcci.htm

Attached please find a patch against lm_sensors-2.8.7. I would like if
someone will review this stuff and commit it to the CVS.

I'm not in the list, so please CC me in your answers.

Also, I've made a web page available at this address:
http://jaffar.cs.msu.su/oleg/ddcci/

Thanks,
Oleg.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lm_sensors-2.8.7-ddcci.diff
Type: text/x-patch
Size: 22602 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040821/6ef67f91/lm_sensors-2.8.7-ddcci.bin

#1 lore raw

----- Original Message -----
From: "Jean Delvare" <[email protected]>
To: "Oleg I. Vdovikin" <[email protected]>
Cc: <[email protected]>
Sent: Sunday, August 22, 2004 11:20 AM
Subject: Re: [CONTRIBUTION] DDC/CI tool for lm_sensors package

Quoted 14 lines
Quoted 6 lines

I've recently finished writing a tool which is suitable for communication with DDC/CI (DDC2Bi) enabled monitors (Samsung, NEC/Mitsubishi are known to support it) and allows querying monitor capabilities, reading and writing monitor controls, such as contrast, brightness, geometry, etc...

Quoted 7 lines

I'm believe, that there is some interest on this, at least googling shows that. ;-) The reason for contributing is simple - I've spent some time on this, and do not want to just this into the wastebasket. ;-)
(...)
Attached please find a patch against lm_sensors-2.8.7. I would like if someone will review this stuff and commit it to the CVS.

Quoted 2 lines

The project itself looks interesting and all, but how exactly does this belong to lm_sensors?

Well, just like the other stuff in the prog directory. It's just a
sample program utilizing i2c bus. It's not a complete solution & will never be, but treat as decoding software. In fact, it's possible to make it a sensors like kernel module.

Quoted 8 lines

I agree that there are other related drivers and tools in the lm_sensors package already, such as the eeprom and ddcmon drivers, and the eeprom decoding scripts. But they don't really belong there either. The only reason they are part of the lm_sensors package is that they were written by the lm_sensors team. It was also convenient to keep all drivers in the same place while the interfaces and internal structures were stabilizing, and to keep the scripts with the drivers for the same reasons. Convenient, but certainly not very clean.

Exactly. But also they're too small to make them separate package, but
very handy.

Quoted 5 lines

So I'd suggest that you distribute your DDC/CI tool as a separate package. I'd rather move non-sensors things out of lm_sensors than include new non-sensors things in it. Also, your work is more likely to catch potential users eyes as a separata package. I doubt anyone will be looking for such a tool in our package.

I'd rather suggest to make separate package for the lm_sensors, called
i2c-utils or something like this and include existing progs. Or, alternatively you can make a registry of existing projects, utilizing I2C bus. In fact, there are number of packages which use i2c, but due to their size and specific they are never become well known to public, except the ones which is already included to the lm_sensors package.

Thank you for explanations,
Oleg.

#2 lore raw
In reply to Oleg I. Vdovikin
Quoted 6 lines

I've recently finished writing a tool which is suitable for communication with DDC/CI (DDC2Bi) enabled monitors (Samsung, NEC/Mitsubishi are known to support it) and allows querying monitor capabilities, reading and writing monitor controls, such as contrast, brightness, geometry, etc...

Quoted 7 lines

I'm believe, that there is some interest on this, at least googling shows that. ;-) The reason for contributing is simple - I've spent some time on this, and do not want to just this into the wastebasket. ;-)
(...)
Attached please find a patch against lm_sensors-2.8.7. I would like if someone will review this stuff and commit it to the CVS.

The project itself looks interesting and all, but how exactly does this belong to lm_sensors?

I agree that there are other related drivers and tools in the lm_sensors package already, such as the eeprom and ddcmon drivers, and the eeprom decoding scripts. But they don't really belong there either. The only reason they are part of the lm_sensors package is that they were written by the lm_sensors team. It was also convenient to keep all drivers in the same place while the interfaces and internal structures were stabilizing, and to keep the scripts with the drivers for the same reasons. Convenient, but certainly not very clean.

So I'd suggest that you distribute your DDC/CI tool as a separate package. I'd rather move non-sensors things out of lm_sensors than include new non-sensors things in it. Also, your work is more likely to catch potential users eyes as a separata package. I doubt anyone will be looking for such a tool in our package.

Thanks.

Signature · 2 lines
Jean "Khali" Delvare
http://khali.linux-fr.org/