Add support for trixie.
Apparently things start differently with trixie, so modified the system monitor code to keep trying to allocate the resources it needs (and adapter and a client to the i2c bus). This mades the code work, and startup is not affected.
This commit is contained in:
@@ -1,14 +1,8 @@
|
||||
|
||||
sudo cp -vf oneUpPower.ko /lib/modules/`uname -r`/kernel/drivers/power/supply/oneUpPower.ko
|
||||
sudo depmod -a
|
||||
ls /lib/modules/`uname -r`/kernel/drivers/power/supply/
|
||||
sudo insmod oneUpPower.ko
|
||||
|
||||
#ls -l /sys/class/power_supply/BAT0
|
||||
#cat /sys/class/power_supply/BAT0/uevent
|
||||
#cat /sys/class/power_supply/BAT0/capacity
|
||||
#cat /sys/class/power_supply/BAT0/status
|
||||
#
|
||||
#ls -l /sys/class/power_supply/AC0
|
||||
#cat /sys/class/power_supply/AC0/ueven
|
||||
sync
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user