Multiboot 0.2.5 and autoloading bq27x00_battery. For those like me that are running OCCP widget and titan's power37 or 39 with multiboot 0.2.5, there is the need of loading bq27x00_battery module after every reboot. As Jay-C, the author of multiboot stated here there are problems autoloading that module. So for those interested i have added some lines of code to the /home/user/.OCCP file to autoload the bq2700_battery module so that the temperature is displayed in the OCCP widget: Code: QBW_REMEMBER_ME=${7} if [ "$(cat /sys/class/power_supply/bq27200-0/temp)" == "" ] ; then sudo modprobe bq27x00_battery > /dev/null ; fi if [ "$QBW_REMEMBER_ME" -eq 3 ] ; then
QBW_REMEMBER_ME=${7} if [ "$(cat /sys/class/power_supply/bq27200-0/temp)" == "" ] ; then sudo modprobe bq27x00_battery > /dev/null ; fi if [ "$QBW_REMEMBER_ME" -eq 3 ] ; then