I hereby claim:
- I am awensaunders on github.
- I am awensaunders (https://keybase.io/awensaunders) on keybase.
- I have a public key ASBpWI4GHAWdI6qZ06dzQBwVYObQNXtmI1c6hy_Ru4LbIwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am awensaunders on github. | |
* I am awensaunders (https://keybase.io/awensaunders) on keybase. | |
* I have a public key ASC6FuWyQOHvjn7cuz06mVfrDQUVROZyQiWqnUys753tLgo | |
To claim this, I am signing this object: |
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
#!/usr/bin/env python3 | |
import subprocess | |
import time | |
i2cbus = 3 #This is important. Check which bus your DDC is on with i2cdetect. | |
offset = 0x00 #Where to start writing | |
data = [0x00, 0xFF, 0xFF, 0xFF, 0xFF,...] #Your EDID Goes here | |
for value in data: | |
print("value", hex(value), "offset", hex(offset)) #for debuging | |
print(subprocess.check_output(["i2cset", "-y", str(i2cbus), "0x50", str(hex(offset)), str(hex(value))])) |