![]() |
#1 |
Member
![]() Posts: 10
Karma: 10
Join Date: Feb 2012
Device: none
|
dev question: enabling wifi on demand?
Any dev types know if I can enable wifi on demand somehow with the kobo touch? I've enabled telnet and what I'd like to do is browse around the device to look at the logs and use evtest to see if the touch driver is still generating events when touch input fails.
Every few days touch input stops respoding and I'd like to see if I can debug this further. The problem is that the device shuts down wifi to conserve battery (presumably) and the only way I know to force wifi on is to launch the web browser but obviously I can't do that if touch input has failed. I'm wondering if its in the realm of possibility that I could somehow listen for a double click on the home button and cause that to kick wifi (or maybe launch the web browser?). Any thoughts? |
![]() |
![]() |
![]() |
#2 |
Member
![]() Posts: 10
Karma: 10
Join Date: Feb 2012
Device: none
|
It sorta looks like this process is related to the network access, since I lose connection when I kill it:
978 root 0:00 wpa_supplicant -s -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -C /var/run/wpa_supplicant -B but running that command doesn't seem to be sufficient to enabling wifi access. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,294
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Take a look at http://hostap.epitest.fi/wpa_supplicant/ and take a look at the README for info on how wpa-cli works,
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 10
Karma: 10
Join Date: Feb 2012
Device: none
|
Thanks for the pointer. I have a script which can execute a command in response to a long press of the home button, but for some reason when I try to run the wpa_supplicant command it seems to die immediatly with no info to stdout/stderr.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Airplane Mode Keeps Enabling Itself | aglick | enTourage eDGe | 15 | 04-26-2012 12:34 PM |
Einfacher Feature-Request: /dev/ptmx und /dev/ttyUSB2 modes | Seneca | PocketBook | 2 | 12-05-2011 04:41 PM |
Bluetooth enabling | metras3 | Nook Developer's Corner | 1 | 01-30-2011 02:47 PM |
Another plugin dev question | DiapDealer | Plugins | 2 | 12-11-2010 01:46 PM |
A Question About WiFi | Xanthe | Which one should I buy? | 7 | 04-29-2010 06:31 AM |