Hello. Wow, I must've I missed this because I asked the question which you answered here.
For archive purposes I'll share my turn on/off scripts below. But I was going crazy with how
would simply not bring the device up. This insmod seem to do the trick.
I will give your solution a try, I think the only thing missing from your script as it currently sits is the
at the end, but it goes through hiccup.
One thing that I've notived with my experiments so that is that if you turn on bluetooth via nickel, then no matter what you do the system will lose 3% battery per hour, doesn't matter if you properly shutdown bluetooth or pkill all processes, nothing. Maybe this mod you mentioned is the trick. I will experiment and share my findings here.
FWIW, it's easy to prevent koreader from killing bluetoothd on startup:
Just comment out the bluetoothd in the killall comment in koreader/koreader.sh
Quote:
killall -q -TERM nickel hindenburg sickel fickel strickel fontickel adobehost foxitpdf iink dhcpcd-dbu # bluetoothd
|
But If you can turn it on from the koreader via a plugin (which I'm writing), I wouldn't comment it out, and leave it as it is.
One thing that still baffles me is the requirement to have wifi enabled is still present with this set of commands. I disable network and trigger these commands via koreader, and bluetooth won't come up. It doesn't have to be connected to any network, but wifi needs to be turned on.