Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-04-2012, 05:52 PM   #1
jape
Junior Member
jape began at the beginning.
 
Posts: 9
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?
jape is offline   Reply With Quote
Old 03-06-2012, 08:25 PM   #2
jape
Junior Member
jape began at the beginning.
 
Posts: 9
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.
jape is offline   Reply With Quote
 
Enthusiast
Old 03-06-2012, 09:09 PM   #3
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 6,502
Karma: 42516438
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
Take a look at http://hostap.epitest.fi/wpa_supplicant/ and take a look at the README for info on how wpa-cli works,
PeterT is offline   Reply With Quote
Old 03-08-2012, 08:26 PM   #4
jape
Junior Member
jape began at the beginning.
 
Posts: 9
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.
jape is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:27 AM.


MobileRead.com is a privately owned, operated and funded community.