maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras] (https://talk.maemo.org/showthread.php?t=73682)

don_falcone 2012-02-29 08:31

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Huh, isn't that what in preferences "startup-enable" (and the mode type) is for?

laasonen 2012-02-29 16:57

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by getnani (Post 1171872)
@laasonen,
is there any possibility that the state of the wlan (disabled or enabled) remains the same even after reboot?
At the moment, after every reboot it goes to enabled state.

It would be great if it stays at the last state it was before rebooted/ shutdown? if it can be done using a simple mod, please post it, if u dont want the applet to be updated.

Thanks for the wonderful applet. significant difference matey!

The applet doesn't save the status of the wlan anywhere, so you first would have to make it save the wlan's status to gconf when the status changes and on startup read the status from gconf and modify the wlan's status.

It's pretty easy task, if anyone is interested on implementing it, but I can't do it myself, because I don't have Maemo SDK or a device to test it on anymore.

getnani 2012-02-29 17:03

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
okay.... say if i wana start disabled on boot... how shud i do it?

getnani 2012-02-29 17:07

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by don_falcone (Post 1171875)
Huh, isn't that what in preferences "startup-enable" (and the mode type) is for?

Sorry I am not able to see any prefs in the settings.. where shud I look for this?

laasonen 2012-02-29 17:16

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by getnani (Post 1172158)
okay.... say if i wana start disabled on boot... how shud i do it?

Quickest way would probably be to add something like this:
Code:

start on started hildon-desktop

respawn

script
  exec /sbin/unload-drivers.sh
end script

to:
Code:

/etc/event.d/disable-wlan

getnani 2012-02-29 17:26

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
ta muchly m8

getnani 2012-02-29 17:30

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
one small request... any easyway to get the applet in the status menu to start in wlan disabled? becos, now wlan is disabled, yet it shows in the applet enabled!

laasonen 2012-02-29 17:47

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by getnani (Post 1172177)
one small request... any easyway to get the applet in the status menu to start in wlan disabled? becos, now wlan is disabled, yet it shows in the applet enabled!

Hmm, the applet probably starts up before wlan gets disabled, so it shows wrong status :/

To fix it, you could add this line:
Code:

                commands.getoutput('sudo /sbin/unload-drivers.sh')
after this line:
Code:

                StatusMenuItem.__init__(self)
on this file:
Code:

/usr/lib/hildon-desktop/status-area-wlan-driver-selector-applet.py
and remove this file:
Code:

/etc/event.d/disable-wlan

don_falcone 2012-03-01 17:24

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
Quote:

Originally Posted by getnani (Post 1172162)
Sorry I am not able to see any prefs in the settings.. where shud I look for this?

Dunno which version you have installed, but on mine, if i click any of the plugins buttons, i can select preferences (to the right of the screen which pops up). On the same screen where you f.e. select the mode for GSM.

Estel 2012-03-01 22:12

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.2 in extras]
 
don_falcone, are You sure that You're not referring to Advanced Interface Switcher, instead of the WLAN Driver selector applet? ;)

/Estel


All times are GMT. The time now is 12:16.

vBulletin® Version 3.8.8