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)

Hotshot 2011-06-13 01:06

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
saying insmod cant read compat.ko no such file or directory and the same for rfkill_backport. ko , cfg80211.k0, mac80211.ko and wl1251.ko and wl1251_spi.ko
ifconfig: SIOCGIFFLAGS: no such device

and the 2nd code output say ifconfig: wlan0: error fetching interface information: device not found
ifconfig: invalid hw-addr

hope this helps

laasonen 2011-06-13 01:09

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Quote:

Originally Posted by Hotshot (Post 1027890)
saying insmod cant read compat.ko no such file or directory and the same for rfkill_backport. ko , cfg80211.k0, mac80211.ko and wl1251.ko and wl1251_spi.ko
ifconfig: SIOCGIFFLAGS: no such device

and the 2nd code output say ifconfig: wlan0: error fetching interface information: device not found
ifconfig: invalid hw-addr

hope this helps

Sorry, forgot to say that you first have to cd to the folder containing the drivers.

Hotshot 2011-06-13 01:20

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
First code output
insmod: error inserting 'cfg80211.ko': -1 Invalid parameters
insmod: error inserting 'mac80211.ko': -1 Unknown symbol in module
insmod: error inserting 'wl1251.ko': -1 Unknown symbol in module
insmod: error inserting 'wl1251_spi.ko': -1 Unknown symbol in module
ifconfig: SIOCGIFFLAGS: No such device

2nd code no output

laasonen 2011-06-13 01:28

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Quote:

Originally Posted by Hotshot (Post 1027893)
First code output
insmod: error inserting 'cfg80211.ko': -1 Invalid parameters
insmod: error inserting 'mac80211.ko': -1 Unknown symbol in module
insmod: error inserting 'wl1251.ko': -1 Unknown symbol in module
insmod: error inserting 'wl1251_spi.ko': -1 Unknown symbol in module
ifconfig: SIOCGIFFLAGS: No such device

2nd code no output

This is not related to my applet. Sound like you might have wrong kernel. Try running this:
Code:

uname -a

Hotshot 2011-06-13 01:33

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Linux Nokia-N900 2.6.28.10power42 #1 PREEMPT Wed Nov 10 01:01:59 EET 2010 armv7l unknown

laasonen 2011-06-13 01:37

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Quote:

Originally Posted by Hotshot (Post 1027897)
Linux Nokia-N900 2.6.28.10power42 #1 PREEMPT Wed Nov 10 01:01:59 EET 2010 armv7l unknown

Yes, you have kernel-power v42 which is way too old for this. Try installing the version from David's Blog or enable extras-devel and check for updates.

Hotshot 2011-06-13 01:39

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Quote:

Originally Posted by laasonen (Post 1027899)
Yes, you have kernel-power v42 which is way too old for this. Try installing the version from David's Blog or enable extras-devel and check for updates.

Oh yeah I just downloaded the kernel power but it was from just extras :D let me upgrade it and see what happens.

Hotshot 2011-06-13 01:51

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
@ laasonen you sir are the man! Thanks so much it loaded up first try!

casketizer 2011-06-14 01:05

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
@laasonen

No chance for my Off button?

mauron85 2011-06-14 01:33

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
It would be nice to merge functionality from Wifi Switcher and, so there can be only one status plugin.

casketizer 2011-06-14 02:02

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Yeah, exactly that was my suggestion/idea. Laasonen said he would look into it but no news as of now. :)

nafajafam 2011-06-14 03:26

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
could someone please guide me: after un-compressing, what files do i need to install? i already have power kernel v47 installed.
thank you.

frostbyte 2011-06-14 04:23

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Quote:

Originally Posted by nafajafam (Post 1028622)
could someone please guide me: after un-compressing, what files do i need to install? i already have power kernel v47 installed.
thank you.

1. Install the Wlan Driver Selector Applet from Extras-Testing repo

2. Select the applet on your desktop applet bar (with clock, battery, profile etc)

3. Select the option to download the file

4. MicroB browser will open and you have the option to select location for the download (choose "Nokia N900" if you want it in ~/MyDocs)

5. Extract the wl1251-maemo-0.1.tar.gz file (~140MB) to /home/user/MyDocs

in X-Terminal:

Code:

sudo gainroot
cd /home/user/MyDocs
tar -zxvf wl1251-maemo-0.1.tar.gz

6. Re-select the applet and point to the location of the driver:

MyDocs/wl1251-maemo/binary/compat-wireless.

laasonen 2011-06-14 11:30

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Quote:

Originally Posted by casketizer (Post 1028604)
Yeah, exactly that was my suggestion/idea. Laasonen said he would look into it but no news as of now. :)

Forgot all about it. I did this on the morning:
http://hosted.laasonen.net/attachment-HD7DXV.png

Quote:

Originally Posted by frostbyte (Post 1028630)
5. Extract the wl1251-maemo-0.1.tar.gz file (~140MB) to /home/user/MyDocs

in X-Terminal:

Code:

sudo gainroot
cd /home/user/MyDocs
tar -zxvf wl1251-maemo-0.1.tar.gz

6. Re-select the applet and point to the location of the driver:

MyDocs/wl1251-maemo/binary/compat-wireless.

I wouldn't do that. It wastes over 140MB of space from MyDocs and of course time, if you only want the drivers. And why would you need root's permissions for extracting something to MyDocs?
Better way:
Code:

cd MyDocs #Assuming you are in your home dir, otherwise cd ~/MyDocs
tar zxvf wl1251-maemo-0.1.tar.gz --strip 2 wl1251-maemo/binary/compat-wireless/

And then select MyDocs/compat-wireless from the applet.

casketizer 2011-06-14 11:47

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Very nice! Thanks! :)

Did you upload it already? Don't see an update.

laasonen 2011-06-14 12:06

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Quote:

Originally Posted by casketizer (Post 1028851)
Very nice! Thanks! :)

Did you upload it already? Don't see an update.

No. I'll upload it later.

casketizer 2011-06-14 12:06

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Sweet. Thanks!

nafajafam 2011-06-14 16:41

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
works like a charm. reception quality and range seems to have increased a lot. thank you very much.

laasonen 2011-06-15 08:42

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
I have been having some trouble, bricked my phone and had trouble with couple bugs, but the 0.2.0 is now in extras-devel.

Biggest improvements are download wizard which downloads/installs the drivers with couple clicks and possibility to shut down wlan completely. There are also couple other improvements.
http://hosted.laasonen.net/attachment-LFGWWV.png

ajack 2011-06-15 09:41

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Quote:

Originally Posted by laasonen (Post 1029473)
I have been having some trouble, bricked my phone and had trouble with couple bugs, but the 0.2.0 is now in extras-devel.

Biggest improvements are download wizard which downloads/installs the drivers with couple clicks and possibility to shut down wlan completely. There are also couple other improvements.
http://hosted.laasonen.net/attachment-LFGWWV.png

Hi laasonen, can I suggest the text next to the wifi logo say "Stock" or "Bleeding Edge" as it can be rather confusing to know which driver is running. As for the on/off button, instead of the current icon, use a wifi image with and without a slash across it to indicate it's status... other than that, I simply love your app... :)

Pyro1099 2011-06-15 17:18

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
Quote:

Originally Posted by ajack (Post 1029509)
Hi laasonen, can I suggest the text next to the wifi logo say "Stock" or "Bleeding Edge" as it can be rather confusing to know which driver is running. As for the on/off button, instead of the current icon, use a wifi image with and without a slash across it to indicate it's status... other than that, I simply love your app... :)

Ahh beaten to the punch. I came on just to say what you just did. Maybe change the applet to say Stock instead of always "Bleeding Edge" when stock drivers are in use.

anapospastos 2011-06-15 17:27

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
New version is working flawlessly. I don't have problems anymore while loading the drivers.Thank you.

laasonen 2011-06-15 17:33

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
So you would like it say "Bleeding Edge" when the toggle button is down and "Stock" when it's up?

Wouldn't a untoggled toggle button with "Stock" label say click me to enable stock drivers :cool:

ajack 2011-06-15 18:27

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
Quote:

Originally Posted by laasonen (Post 1029777)
So you would like it say "Bleeding Edge" when the toggle button is down and "Stock" when it's up?

Wouldn't a untoggled toggle button with "Stock" label say click me to enable stock drivers :cool:

Whichever you prefer... ;)

moepda 2011-06-15 18:54

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
loving new version so thanks there :) with the wifi on/off button , may i ask if you know what file controls its colour ? im guessing its in /themes/alpha/images but not sure which it is or if its somewhere totally different ! sorry for the question as not really overly relevant to things just want to change the colour .

laasonen 2011-06-15 19:03

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
Quote:

Originally Posted by moepda (Post 1029819)
loving new version so thanks there :) with the wifi on/off button , may i ask if you know what file controls its colour ? im guessing its in /themes/alpha/images but not sure which it is or if its somewhere totally different ! sorry for the question as not really overly relevant to things just want to change the colour .

The power button icon is located here: /usr/share/icons/hicolor/48x48/hildon/location_applet_on.png

moepda 2011-06-15 19:06

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
cheers :) yet again you sorted it :) much appreciated :)

update...

sorry not the icon but the .png that is its background ..

Pyro1099 2011-06-15 22:17

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
Quote:

Originally Posted by laasonen (Post 1029777)
So you would like it say "Bleeding Edge" when the toggle button is down and "Stock" when it's up?

Wouldn't a untoggled toggle button with "Stock" label say click me to enable stock drivers :cool:

The problem is you can't tell what which of the drivers are in use at times. A different button wouldn't help with identifying which is on.

You can keep it as it is but something needs to change to say which is in use. Maybe a icon next to battery is shown when Bleeding edge is on? Or a toggled button that changes to say which is in use?

laasonen 2011-06-16 11:41

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
Quote:

Originally Posted by Pyro1099 (Post 1029929)
The problem is you can't tell what which of the drivers are in use at times. A different button wouldn't help with identifying which is on.

You can keep it as it is but something needs to change to say which is in use. Maybe a icon next to battery is shown when Bleeding edge is on? Or a toggled button that changes to say which is in use?

What kind of theme are you using? On my theme it looks pretty clear:
Bleeding edge:
http://hosted.laasonen.net/attachment-6SO3WV.png
Stock:
http://hosted.laasonen.net/attachment-MITWWV.png

kolos 2011-06-16 14:32

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
3 Attachment(s)
I can confirm laasonen's words. Here is D-Theme SmoothWaemo.
1st screenshot - wifi on, bleeding edge off
2nd screenshot - both off
3rd screenshot - both on

Pyro1099 2011-06-16 15:43

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
Quote:

Originally Posted by laasonen (Post 1030182)
What kind of theme are you using? On my theme it looks pretty clear

Hmm. Weird. I don't see it toggled. I do have a odd problem though that when you select something it highlights but mine doesn't?

laasonen 2011-06-16 16:59

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
Quote:

Originally Posted by Pyro1099 (Post 1030322)
Hmm. Weird. I don't see it toggled. I do have a odd problem though that when you select something it highlights but mine doesn't?

What theme are you using? All my three themes show clearly, if its toggled.

moepda 2011-06-16 17:19

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
the files that highlight i think are in /themes/yourtheme/images
if you edited files there it would explain your problem , not sure which exact files it is though :(

could you post which themes your using laasonen ? would be much appreciated :)

laasonen 2011-06-16 21:18

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
Quote:

Originally Posted by moepda (Post 1030381)
could you post which themes your using laasonen ? would be much appreciated :)

Theme in the screenshots is HydroCarbon. I also have the themes with came with the device (Digital Nature & Nokia Nseries).

Estel 2011-06-16 23:09

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
First of all, Thank You for that great statusmenu applet. After last upgrade it just made wifi-switcher obsolete, which is quite big thing (of which I'm very happy, cause wifi-switcher was not developed anymore and last unofficial releases were posted out of the repos).

Anyway, highlighting button work pretty well for me - I can always distinguish loaded drivers.

---

BTW - i know this isn't related to applet as it is, but i think worth mentioning here - bleeding edge drivers DO use more battery - and this is not small, "cosmetical" factor. I did extensive testing some time ago, using kp46-wl1 kernel (that one "crafted" by lxp for initial bleeding-edge drivers usage - before anyone ask, i re-tested it yesterday with kp47, with identical outcome), and results were as follows:

(tested after fresh reboot, every combination for at least 8 hours - no additional apps enabled, screen on, brightness 3/5, stable ambient light)

Stock drivers loaded, wifi connected to AP, no activity (just connected doing nothing) - 75-100 mAh drain

Bleeding edge loaded, wifi connected to AP, no activity (just connected, doing nothing) - 140-160 mAh drain

Stock drivers loaded, wifi connected to AP, doing high traffic + high internal I/O task (measuring internet speed connection, using 25 Mb/1,5 Mb link) - 300-400 mAh drain

Bleeding edge drivers loaded, wifi connected to AP, doing high traffic + high internal I/O task (measuring internet speed connection, using 25 Mb/1,5 Mb link) - 300-400 mAh drain

When drivers loaded, but wifi NOT connected, both drivers also sucked same amount of power.

As we can see in there results, both drivers perform the same on high network traffic, and when no connection is made. On idle connection, bleeding edge suck 70%-80% more power - quite big difference that can affect standby time, if You stay connected. Of course, people deactivating wifi always when not in use won't even notice, neither need to care.

Having in mind that higher battery drain occur only on idle connection, I suppose that lxp drivers doesn't handle very well power-saving features (if handle them at all). But of course I may be wrong, "more wrong", or even totally wrong.

---

Anyway, keep that good work. I think that things like this should be put on news (instead of rambling about recent nokia strategy changes, possible date of meego device, or whatever) - i discovered this thread by sole luck. Before, I was "doomed" to use self-crafted shell scripts to turn bleeding edge drivers on and off + print output info about that.

// Edit

Last question may be irrelevant, but I would like to know it "once for all" - does having python-based statusmenu applet increase CPU/RAM/whatever usage by any, even smallest factor, like widgets? I wasn't able to track it down, so if increase exist, it much be REALLY small and completely "affordable" even for biggest optimization geeks like me (especially, having in mind usefulness of such applet), but i just want to know out-of-curiosity. Thanks in advance.

laasonen 2011-06-16 23:45

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
Quote:

Originally Posted by Estel (Post 1030571)
Last question may be irrelevant, but I would like to know it "once for all" - does having python-based statusmenu applet increase CPU/RAM/whatever usage by any, even smallest factor, like widgets? I wasn't able to track it down, so if increase exist, it much be REALLY small and completely "affordable" even for biggest optimization geeks like me (especially, having in mind usefulness of such applet), but i just want to know out-of-curiosity. Thanks in advance.

It would be pretty hard to measure the applet's cpu-usage, because its no a individual process. The applet isn't doing anything except, if its clicked so the cpu usage is likely next to nothing.

And thanks for the tests.

casketizer 2011-06-17 13:39

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.0]
 
On my theme it is also clearly visible when toggled.

Two not-overly-important things that could be added:
- a small no-wifi status area icon when wifi is disabled (like wifi switcher)
- auto reconnect after reenabling of wifi. on my device it only reconnects when i start a browser or so, or eventually modest does its check. strangely openntp is not enough to have it immediately reconnect.

But I already love it as it is :) Thanks laasonen!

Estel 2011-06-17 13:59

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers [0.2.0]
 
Quote:

Originally Posted by laasonen (Post 1030578)
It would be pretty hard to measure the applet's cpu-usage, because its no a individual process. The applet isn't doing anything except, if its clicked so the cpu usage is likely next to nothing.

So it's just sitting there and doing nothing (cpu usage-wise), until it's clicked? That's exactly what i wanted to know - thank You.

I +1 for caketizer ideas, except that for me it sometimes auto-reconnect to my network when drivers switched or wifi turned on - without even prompt to choose network. Having in mind that this doesn't occur always, i think that it may be related to interval set for scanning wireless background - if drivers are loaded fast enough, trusted wifi is detected "on time" at initial scan. If, for some reason they're loaded little later, initial scan fail, and it wait for next background scan or manual AP selection.

---

Anyway, current version is rock solid stable, so can we promote it to (in)famous extras? I'm getting used to fact that I'm almost only one voting (i know, voting process is counter-intuitive as hell), so here's quick instruction:

http://maemo.org/packages/package_in...pplet/0.2.0-1/

here, You need to login with Your maemo.org account (which is different from Your forum account - if You don't have maemo.org account, just register it) - then, you will see option to vote positive or negative for this package. When it reach total 10 positive votes (and 7 or 14 - i don't remember - days have passed since it arrived in testing) option to promote it to extras will appear to our fellow maintainer.

I really think that voting is just basic way we can show our support for developers - yea, quite complicated at beginning, but when You get used to it, it's no problem anymore. And, for maintainers, it can be quite frustrating to see so much interest in forum topic, with 0 votes on project page... So, please, vote, if it works for You :)

laasonen 2011-06-18 12:10

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

Originally Posted by casketizer (Post 1030829)
Two not-overly-important things that could be added:
- a small no-wifi status area icon when wifi is disabled (like wifi switcher)
- auto reconnect after reenabling of wifi. on my device it only reconnects when i start a browser or so, or eventually modest does its check. strangely openntp is not enough to have it immediately reconnect.

Uploaded 0.2.1 to extras-devel. There should be now red wlan status area icon when the wlan is disabled. It also opens the connection dialog when drivers are loaded.

Estel 2011-06-18 16:57

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers and shut down WLAN complitely [0.2.0]
 
Upgraded, tested in all possible variants, voted for package promotion into extras... Working like a charm :)

the only thing that would be nice to correct at this point is package description - indication that it can be used also for disabling/enabling WLAN on both drivers - not only switching between them - may help other people discover it (i know that informations are in changelog, but still package description is most of the time "first contact" with package, and if outcome isn't good enough, it may be "last contact").

I know that uploading another version just for such small irrelevant thing may be irritating, but package isn't long in extras and still (except You as maintainer) I was only one voting, so i think it may be worth effort. Of course decision is always up to You.

/Estel


All times are GMT. The time now is 04:21.

vBulletin® Version 3.8.8