Quote:
Originally Posted by NiLuJe
FL control is via ioctl (except on Mk. 7 when there's also a sysfs entry), so, that'd need a C helper if you want to cover all current devices.
|
Yes thank you for your help, it is now working well on my H20 (mark5 - I am not going to try to make it work on a mark7 for now)
As for wifi. Disabling seems to work, but connecting to the network doesn't:
I copied the
whole sources from koreader in a folder called 'files' in my app.
It is coded in Python (of course). After a click on a button, it launches a function which among other things, executes these lines of code:
Code:
os.system("sh ./files/enable-wifi.sh")
time.sleep(5)
os.system("sh ./files/obtain-ip.sh")
print("Wifi enabled")
But it still does not connect to the wifi network (IP remains local), while it does connect with Nickel.
Am I missing something ?
I also have another unexpected issue : the "Wifi enabled" message is being printed multiple times... Can it be due to the problem I am having (or cause it?). I really don't know why it would be executed multiple times in my code.
Thank you for your help !