Notices


Reply
Thread Tools
eL.ectron1k's Avatar
Posts: 149 | Thanked: 15 times | Joined on Jul 2010 @ Russia
#411
guys
if i install bleeding-edge wl1251 driver 0.1 (with step-by-step manual in README file) at my 47kernel will it work?
__________________
N900 overdosed.
Need help with translating your software to Russian? pm me.
I love E.ON
 
laasonen's Avatar
Posts: 565 | Thanked: 618 times | Joined on Jun 2010 @ Finland
#412
Originally Posted by eL.ectron1k View Post
guys
if i install bleeding-edge wl1251 driver 0.1 (with step-by-step manual in README file) at my 47kernel will it work?
Yes.

If you already have the kernel-power v47, you only need to install the osso-wlan_3.0.20+0m5-1_armel.deb and put the binary/compat-wireless folder to MyDocs for example. Then you just cd to that folder and run the unload.sh and load.sh files. I have made applet which makes the enabling and disabling quicker and easier.
__________________
Couple of my applications:
ConnLock - Advanced phone lock
Sanakirja.org - A Sanakirja.org dictionary client
Wlan Driver Selector Applet - Switch easily between stock and bleeding edge drivers

Last edited by laasonen; 2011-06-06 at 11:57.
 

The Following 2 Users Say Thank You to laasonen For This Useful Post:
eL.ectron1k's Avatar
Posts: 149 | Thanked: 15 times | Joined on Jul 2010 @ Russia
#413
laasonen, ups
i've just installerd all and downgraded to 46 kernel...
and cant boot into these kernel, no item file..


*WHHHHAAAAXXXX*

U posted additional information so late

Dont worry, i'll upgrade kernel power back to 47 and install only osso, ur Plugin i had more time ago ^_^
__________________
N900 overdosed.
Need help with translating your software to Russian? pm me.
I love E.ON

Last edited by eL.ectron1k; 2011-06-06 at 12:01.
 
eL.ectron1k's Avatar
Posts: 149 | Thanked: 15 times | Joined on Jul 2010 @ Russia
#414
Strange..ive created Ad-hoc @ ubuntu 11, and if select these nw in Connection Manager, - it's shutted down ><
__________________
N900 overdosed.
Need help with translating your software to Russian? pm me.
I love E.ON
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#415
If you look just a few posts back, I mentioned that I have the same issue - connecting to an ad-hoc network with this driver causes spontaneous shutdowns for me too.
 
Posts: 40 | Thanked: 43 times | Joined on Oct 2008
#416
I am having trouble getting the drivers to autostart.

I've made a file called power-kernel in /etc/event.d . For good measure, I did a chmod +x on it as well.

The contents are:

Code:
description "bleeding-drivers"

start on started hildon-desktop
stop on starting shutdown

console none

script
cd /home/user/MyDocs/wl1251-maemo/binary/compat-wireless/
sh load.sh
end script
Any ideas on what could be going wrong? Needless to say, the command executes fine from sudo gainroot.

tarek : )
 

The Following User Says Thank You to tarek For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#417
Does it need a root/sudo gainroot command at the start of the script.?

Id love to know how to get it to autostart too! tried one way and it broke my wifi...
 
Posts: 40 | Thanked: 43 times | Joined on Oct 2008
#418
Finally got the solution.

1. Modify load.sh
Code:
#!/bin/sh
# Save mac address
MACADDR="`ifconfig wlan0 | sed -n 's/.*HWaddr \([0-9A-Fa-f:]\+\).*/\1/p'`"
# Unload wifi modules
rmmod wl1251_spi 2>/dev/null
rmmod wl1251 2>/dev/null
rmmod wl12xx 2>/dev/null
rmmod mac80211 2>/dev/null
rmmod cfg80211 2>/dev/null
rmmod rfkill_backport 2>/dev/null
rmmod compat_firmware_class 2>/dev/null
rmmod compat 2>/dev/null
# Load bleeding-edge wl1251
insmod /home/user/MyDocs/wl1251-maemo/binary/compat-wireless/compat.ko
insmod /home/user/MyDocs/wl1251-maemo/binary/compat-wireless/rfkill_backport.ko
insmod /home/user/MyDocs/wl1251-maemo/binary/compat-wireless/cfg80211.ko
insmod /home/user/MyDocs/wl1251-maemo/binary/compat-wireless/mac80211.ko
insmod /home/user/MyDocs/wl1251-maemo/binary/compat-wireless/wl1251.ko
insmod /home/user/MyDocs/wl1251-maemo/binary/compat-wireless/wl1251_spi.ko
# Restore mac address
ifconfig wlan0 down hw ether "$MACADDR"
2. Copy load.sh to /usr/sbin
Code:
cp load.sh /usr/sbin

3. Change permissions to +x
Code:
chmod +x /usr/sbin/load.sh

4. Create proper event.d script

Code:
vi /etc/event.d/power-network
Code:
description "bleeding-drivers"

start on started hildon-desktop
stop on starting shutdown

console none

script
sleep 15
exec /usr/sbin/load.sh
end script

5. Reboot
 

The Following 2 Users Say Thank You to tarek For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#419
testing now.. thanks

edit: awesome, wifi still works! !!

Last edited by F2thaK; 2011-07-30 at 05:21.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#420
Just have in mind that it use *much* more battery than stock ones - when connected to some AP and idle (battery usage on wifi load or disconnected is same).
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Reply

Tags
driver, injection, wl1251

Thread Tools

 
Forum Jump


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