improved base and added PP defines KERNEL_UPSTREAM TESTING DEBUG

This commit is contained in:
adeliktas
2023-10-28 03:55:19 +02:00
parent a6a285b82c
commit fb5d501d88
26 changed files with 813 additions and 476 deletions

12
km/install.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
make clean
make
sudo rmmod TaxiDriver
sudo rm /dev/TaxiDriver
# choose a unique MAJOR number; read out the used number and adjust in mknod for next use.
# MAJOR number has to match mknod to open device!
# 511, 250, 505
sudo mknod /dev/TaxiDriver c 506 0
sudo chmod 666 /dev/TaxiDriver
sudo insmod TaxiDriver.ko
cat /proc/devices | grep -i "TaxiDriver"