wwwwwwwwwwww
Maybe this is an example repo for how to write a simply kernel module? wwwww
sudo apt-get install libudev-dev linux-headers-$(uname -r) gcc
git clone https://github.com/cocoa-xu/catgirl_kmodule
cd catgirl_kmodule
make
sudo insmod catgirl_kmodule.ko
# meow
cat /sys/catgirl/meow
# set name
echo -n "Cocoa" | sudo tee /sys/catgirl/name
# meow (again)
cat /sys/catgirl/meow
sudo rmmod catgirl_kmodule