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)

laasonen 2011-06-06 05:48

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

Originally Posted by flocke000 (Post 1022932)
I have the same problem with the applet, so I added the debug lines to the script and rebooted my phone.
After the second reboot the applet was not in the menu, I attached the logfile, I hope it helps.

Thanks! It seems that the notification daemon is not up yet when the applet starts. I'll make it wait until the user clicks it for the first time.

laasonen 2011-06-06 07:06

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
0.1.2-1 is now on repos :)

ajack 2011-06-06 08:12

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

Originally Posted by laasonen (Post 1023072)
0.1.2-1 is now on repos :)

Am happy to report the applet appears correctly after a reboot now... :)

LTman 2011-06-06 08:15

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
now i need status menu scrolling applet

laasonen 2011-06-06 08:26

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

Originally Posted by LTman (Post 1023108)
now i need status menu scrolling applet

If you have CSSU or this, it should enable scrolling automatically, if you have too many applets. If you are using CSSU you can add more rows for the applets:
Code:

gconftool-2 -s /apps/osso/hildon-status-menu/view/number_of_rows -t int 6
gconftool-2 -s /apps/osso/hildon-status-menu/view/number_of_rows_portrait -t int 8

http://hosted.laasonen.net/attachment-S957VV.png

moepda 2011-06-06 13:00

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
got applet ok , drivers in MyDocs with applet saying bleeding edge drivers loaded. output of the test commands seems to say not loaded ?

Nokia-N900:~# cat /proc/modules | grep wl12xx
wl12xx 77760 0 - Live 0xbf126000
mac80211 153180 1 wl12xx, Live 0xbf0ef000
crc7 1216 1 wl12xx, Live 0xbf0ec000
cfg80211 27408 2 wl12xx,mac80211, Live 0xbf0c9000
Nokia-N900:~# lsmod|grep "wl12"
wl12xx 77760 0
mac80211 153180 1 wl12xx
crc7 1216 1 wl12xx
cfg80211 27408 2 wl12xx,mac80211
Nokia-N900:~#

not sure but have i missed something ? complete wl1251 in MyDocs ,running cssu15 and power 47...

laasonen 2011-06-06 13:55

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

Originally Posted by moepda (Post 1023260)
got applet ok , drivers in MyDocs with applet saying bleeding edge drivers loaded. output of the test commands seems to say not loaded ?

Nokia-N900:~# cat /proc/modules | grep wl12xx
wl12xx 77760 0 - Live 0xbf126000
mac80211 153180 1 wl12xx, Live 0xbf0ef000
crc7 1216 1 wl12xx, Live 0xbf0ec000
cfg80211 27408 2 wl12xx,mac80211, Live 0xbf0c9000
Nokia-N900:~# lsmod|grep "wl12"
wl12xx 77760 0
mac80211 153180 1 wl12xx
crc7 1216 1 wl12xx
cfg80211 27408 2 wl12xx,mac80211
Nokia-N900:~#

not sure but have i missed something ? complete wl1251 in MyDocs ,running cssu15 and power 47...

Sounds like it might be permission problem, if everything else is working.

Could you try to run this as user:
Code:

sudo sh /sbin/load-bleeding-edge-drivers.sh
If its asking for password, cancel and before trying again run:
Code:

update-sudoers

moepda 2011-06-06 15:05

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
cheers forthe reply , still not working that way . output :

/home/user # update-sudoers
/home/user # sudo sh /sbin/load-bleeding-edge-drivers.sh
user is not in the sudoers file. This incident will be reported.
/home/user # sh /sbin/load-bleeding-edge-drivers.sh
ifconfig: wlan0: error fetching interface information: Device not found
insmod: can't read 'compat.ko': No such file or directory
insmod: can't read 'rfkill_backport.ko': No such file or directory
insmod: can't read 'cfg80211.ko': No such file or directory
insmod: can't read 'mac80211.ko': No such file or directory
insmod: can't read 'wl1251.ko': No such file or directory
insmod: can't read 'wl1251_spi.ko': No such file or directory
ifconfig: SIOCGIFFLAGS: No such device

but if i do
cd MyDocs/wl1251-maemo/binary/compat-wireless
sh load.sh

its output is correct i think

/home/user # cat /proc/modules | grep wl12xx
/home/user # lsmod|grep "wl12"
wl1251_spi 4224 0
wl1251 79808 1 wl1251_spi
mac80211 220024 2 wl1251_spi,wl1251
cfg80211 154472 2 wl1251,mac80211
crc7 1216 1 wl1251_spi
/home/user #
but applet says bleeding edge already in use. i can manually load but not load with applet. applet display changes but doesnt affect drivers
do i need to put any files in /sbin ?

laasonen 2011-06-06 15:16

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

Originally Posted by moepda (Post 1023348)
cheers forthe reply , still not working that way . output :

/home/user # update-sudoers
/home/user # sudo sh /sbin/load-bleeding-edge-drivers.sh
user is not in the sudoers file. This incident will be reported.
/home/user # sh /sbin/load-bleeding-edge-drivers.sh
ifconfig: wlan0: error fetching interface information: Device not found
insmod: can't read 'compat.ko': No such file or directory
insmod: can't read 'rfkill_backport.ko': No such file or directory
insmod: can't read 'cfg80211.ko': No such file or directory
insmod: can't read 'mac80211.ko': No such file or directory
insmod: can't read 'wl1251.ko': No such file or directory
insmod: can't read 'wl1251_spi.ko': No such file or directory
ifconfig: SIOCGIFFLAGS: No such device

but if i do
cd MyDocs/wl1251-maemo/binary/compat-wireless
sh load.sh

its output is correct i think

/home/user # cat /proc/modules | grep wl12xx
/home/user # lsmod|grep "wl12"
wl1251_spi 4224 0
wl1251 79808 1 wl1251_spi
mac80211 220024 2 wl1251_spi,wl1251
cfg80211 154472 2 wl1251,mac80211
crc7 1216 1 wl1251_spi
/home/user #
but applet says bleeding edge already in use. i can manually load but not load with applet. applet display changes but doesnt affect drivers
do i need to put any files in /sbin ?

No, you don't have to put anything to /sbin.

Could you try this as user:
Code:

cd /home/user/MyDocs/wl1251-maemo/binary/compat-wireless
sudo  /sbin/load-bleeding-edge-drivers.sh

Or this, if you have them loaded already:
Code:

cd /home/user/MyDocs/wl1251-maemo/binary/compat-wireless
sudo  /sbin/unload-bleeding-edge-drivers.sh


moepda 2011-06-06 15:56

Re: [ANNOUNCE] Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers
 
both commands work . 1st loads and 2nd unloads


~ $ cd /home/user/MyDocs/wl1251-maemo/binary/compat-wireless
~/MyDocs/wl1251-maemo/binary/compat-wireless $ sudo /sbin/unload-bleeding-edge-drivers.sh
~/MyDocs/wl1251-maemo/binary/compat-wireless $ cd /home/user ~ $ lsmod|grep "wl12"
wl12xx 77760 0
mac80211 153180 1 wl12xx
cfg80211 27408 2 wl12xx,mac80211
crc7 1216 1 wl12xx
~ $ cat /proc/modules | grep wl12xx
wl12xx 77760 0 - Live 0xbf123000
mac80211 153180 1 wl12xx, Live 0xbf0e5000
cfg80211 27408 2 wl12xx,mac80211, Live 0xbf0bf000
crc7 1216 1 wl12xx, Live 0xbf0e2000
~ $ cd /home/user/MyDocs/wl1251-maemo/binary/compat-wireless~/MyDocs/wl1251-maemo/binary/compat-wireless $ sudo /sbin/load-bleeding-edge-drivers.sh
~/MyDocs/wl1251-maemo/binary/compat-wireless $ cat /proc/modules | grep wl12xx
~/MyDocs/wl1251-maemo/binary/compat-wireless $ lsmod|grep "wl12"
wl1251_spi 4224 0
wl1251 79808 1 wl1251_spi
mac80211 220024 2 wl1251_spi,wl1251
cfg80211 154472 2 wl1251,mac80211
crc7 1216 1 wl1251_spi
~/MyDocs/wl1251-maemo/binary/compat-wireless $


All times are GMT. The time now is 07:14.

vBulletin® Version 3.8.8