maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Queen BeeCon Widget - N900 Hard Sleep Mode (https://talk.maemo.org/showthread.php?t=49982)

meetsani 2011-08-20 19:00

Re: [Announce] Queen BeeCon Widget - N900 Hard Sleep Mode
 
after i had done hard sleep and re.start ma device all the qbw are back to default with fellow icons and my qtlockscreen is also un-available.. is it a bug?

sixwheeledbeast 2012-01-28 21:36

Re: [Announce] Queen BeeCon Widget - N900 Hard Sleep Mode
 
Looking to get some sort of "Hard Sleep Mode" working on my N900.
I could do with some help with getting wlan to disable.

I have got my wlan set to search for connections every 10 minutes.
Using the following code...
Code:

run-standalone.sh dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:true ; ifconfig wlan0 down ; rmmod wl12xx ;
...the wlan will reconnect after 10 minutes.
Is there a way to disable wlan completely? Or trigger Wifi Switcher which I also have installed.

Currently my commands, in order:-
Disconnect wlan as above code box
Changes to 2G
Disables Bluetooth
Locks the screen
Secure's Device

magic_doc 2012-02-27 17:02

Re: [Announce] Queen BeeCon Widget - N900 Hard Sleep Mode
 
Quote:

Originally Posted by sixwheeledbeast (Post 1157129)
Code:

run-standalone.sh dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:true ; ifconfig wlan0 down ; rmmod wl12xx ;
...the wlan will reconnect after 10 minutes.
Is there a way to disable wlan completely? Or trigger Wifi Switcher which I also have installed.

I was wondering why it can connect again with the wlan- and found out why- to unload a kernel-module with rmmod you need to have root-rights, so the correct command would be sudo rmmod.
But this has a major disadvantage: the module stays unloaded when you wake up the device again, so you would have to take care to reload the module and do some other things like vi_ does in his script here.

In former times I was using wifi-switch too and found out, that it is not worth the work- for me it makes nearly no difference wether the wifi-module is loaded or not regarding the standby-time.

But apart from this minor bug it's a great widget, thanks to No!No!No!Yes! for it!

CU Michael


All times are GMT. The time now is 15:17.

vBulletin® Version 3.8.8