Fork 0
mirror of https://codeberg.org/ral/rwedid.git synced 2024-06-25 17:26:10 +02:00
Mirror of read/write edid rust tooling
Go to file
2023-08-01 03:23:40 +02:00
src Improve docs 2023-08-01 03:23:40 +02:00
.gitignore Start project 2023-03-10 03:31:57 +01:00
.rustfmt.toml Some clippy lints 2023-07-28 21:25:44 +02:00
Cargo.lock Release 0.3.2 2023-07-31 19:30:06 +02:00
Cargo.toml Release 0.3.2 2023-07-31 19:30:06 +02:00
LICENSE Add license 2023-03-10 03:32:05 +01:00
readme.md Extend readme 2023-07-31 18:44:35 +02:00

Read and Write EDID

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