Skip to content

Instantly share code, notes, and snippets.

View Chrono-byte's full-sized avatar

Ellie Gummere Chrono-byte

View GitHub Profile
#!/bin/bash
modprobe -r ec_sys
modprobe ec_sys write_support=1
on="\x8a"
off="\x0a"
led(){
echo -n -e $1 | dd of="/sys/kernel/debug/ec/ec0/io" bs=1 seek=12 count=1 conv=notrunc 2> /dev/null