| Crates.io | rwedid |
| lib.rs | rwedid |
| version | 0.3.2 |
| created_at | 2023-07-28 19:40:07.100946+00 |
| updated_at | 2023-07-31 17:32:17.089747+00 |
| description | Read and write EDID data over an I2C bus. |
| homepage | |
| repository | https://codeberg.org/ral/rwedid.git |
| max_upload_size | |
| id | 928808 |
| size | 19,691 |
Read and write EDID data over an I2C bus.
Load the Linux kernel module:
modprobe i2c-dev
Adapt the I2C bus device /dev/i2c-4 in the examples below
to whatever matches your hardware setup.
Note: Be very careful to write to the correct bus! Failing to do so may seriously damage your hardware!
To read an EDID, run (as root):
./edidread -d /dev/i2c-4 > edid.bin
To write an EDID, run (as root):
./edidwrite -d /dev/i2c-4 < edid.bin
Note: The edidread tool writes binary data to stdout which
is potentially dangerous. Redirect the output into a file or pipe.
For further usage information, run the comands with --help.
Validate the EDID binary blob with the edid-decode tool:
edid-decode -c < edid.bin