maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle (https://talk.maemo.org/showthread.php?t=67554)

mrexcess 2011-01-06 03:30

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
i presume thats directed at porselinaheart?

if not the contents of my ...-wl1.item is identical to the above instructions i quoted and ive not modified the standard kernel power on at all

porselinaheart 2011-01-06 04:00

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
my multiboot item is as follows:

ITEM_NAME="Maemo 2.6.28.10power46-wl1"
ITEM_KERNEL=2.6.28.10power46-wl1
ITEM_MODULES=ext3

multiboot seems to recognize it and load it, but then i just end up with a reboot again.

one1002 2011-01-06 09:18

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
alright porselinaheart..i'll try to help..hope i can remember the steps i did 2days ago...but i can't guarantee anything yea..

here goes..

first of all, please backup/copy your original v46..these are the files to be copied/backup as dpkg -i the new v46-wl12 will overwrite the original v46..

1. zImage-2.6.28-maemo46 (/boot)
2. vmlinuz-2.6.28.10power46 (/boot/multiboot)
3. 2.6.28.10power46 (/lib/modules)

then do these ORDERLY as per instructed in the README file, AND note the added dpkg for bootimg..

Code:

# dpkg -i kernel-power_2.6.28-maemo46-wl1_armel.deb
# dpkg -i kernel-power-headers_2.6.28-maemo46-wl1_armel.deb
# dpkg -i kernel-power-modules_2.6.28-maemo46-wl1_armel.deb
# dpkg -i kernel-power-bootimg_2.6.28-maemo46-wl1_armel.deb
# dpkg -i kernel-power-flasher_2.6.28-maemo46-wl1_armel.deb

after you are done, FROM THE PC, extract the "zImage-2.6.28-maemo46-wl1" file from "wl1251-maemo\binary\kernel-power\kernel-power-bootimg_2.6.28-maemo46-wl1_armel\boot.."

copy the file to /boot ON THE PHONE

copy again into /boot/multiboot, and then rename the file to "vmlinuz-2.6.28.10power46-wl1" without the quotes

now, go to /etc/multiboot.d and create a new .item entry called "02-Maemo-2.6.28.10power46-wl1.item"

edit the file as follows :

Code:

ITEM_NAME="Maemo 2.6.28.10power46-wl1"
ITEM_KERNEL=2.6.28.10power46-wl1
ITEM_MODULES=ext3

now remember the original v46 that u backed up just now?copy each of the file to the respective folder..(refer the above for the path)

now make sure in /boot , u have
1. a folder called "multiboot"
2. zImage-2.6.28-maemo46
3. zImage-2.6.28-maemo46-wl1

in /boot/multiboot , u will have :
1. vmlinuz-2.6.28.10power46
2. vmlinuz-2.6.28.10power46-wl1
3. vmlinuz-2.6.28.NIT.06 (IF INSTALLED)
4. vmlinuz-2.6.28-omap1

in /etc/multiboot.d, you will have :
1. 00-Maemo-2.6.28-omap1.item
2. 01-Maemo-kernel-power46.item
3. 02-Maemo-2.6.28.10power46-wl1.item
4. 11-NITDroid-mmcblk0p5-2.6.28.NIT.06.item (IF INSTALLED)

in /lib/modules, you should have :
1. a folder called "2.6.28.10power46"
2. a folder called "2.6.28.10power46-wl1"
3. a folder called "2.6.28.NIT.06"
4. a folder called "2.6.28-omap1"
5. a folder called "current"

well, basically, these files are in my N900, and it's working..i can boot either v46-wl1 or v46..both are in working state..no issues up till now

erm..i guessed this is what i did..i'm not sure if i missed a step or two..but try it first..

mrexcess 2011-01-06 09:26

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
thanks so much one1002, i did a ls /lib/modules this morning and realised that wl1 was just overwriting the standard 46 . . . kinda obvious infact .. ill go back to where porselinaheart is and try this tonight. :)

stlpaul 2011-01-06 17:33

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Yes the -wl1 "upgrades" the existing power kernel (meaning it removes it then installed -wl1 kernel) so if you want both you need to do some workarounds like that. I don't think there's any point in having both installed, but if you want to do it there's no technical reason why it won't work.

Also beware that the modules for each kernel use up a lot of rootfs, so be careful not to run out of space.

saud khan 2011-01-07 03:38

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
donated :)

just waiting for the driver now :D

stlpaul 2011-01-07 04:54

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
I ran Kismet while driving down the highway at full speed and logged over 250 networks with coordinates in 7 minutes :) A lot easier than hauling a laptop and a bluetooth GPS.

one1002 2011-01-07 10:01

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by stlpaul (Post 913398)
Yes the -wl1 "upgrades" the existing power kernel (meaning it removes it then installed -wl1 kernel) so if you want both you need to do some workarounds like that. I don't think there's any point in having both installed, but if you want to do it there's no technical reason why it won't work.

Also beware that the modules for each kernel use up a lot of rootfs, so be careful not to run out of space.

well, the reason i have both installed is because i would like to test IF v46-wl1 is stable enough because some users did reported having battery issue with it..and also the issue about the network being connected 24/7..

well, after 3 days using the v46-wl1, i could say that it's stable..just like the original v46..my battery life is pretty much the same..could last 2 1/2 days..2 days with moderate usage..

also, looking at the battery-graph, upon using the v46-wl1, i don't have any network connected unless i connect it myself..

if however, the 46-wl12 is not stable, i can boot into the original v46 without having to dpkg -i each file again.. =)

andyph666 2011-01-07 10:55

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
one1002: tried your method but it looks like both power kernel and the wl1 just shuts off the phone. Omap1 works just fine though.

Err reinstalling the .debs with the readme did it. Works fine now. Took off the other power kernel.

one1002 2011-01-07 17:23

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by andyph666 (Post 914043)
one1002: tried your method but it looks like both power kernel and the wl1 just shuts off the phone. Omap1 works just fine though.

Err reinstalling the .debs with the readme did it. Works fine now. Took off the other power kernel.

strange..erm..does the v46 and v46-wl1 co-exists?

or are you currently on v46-wl1?

Creamy Goodness 2011-01-07 18:36

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
thanks lxp
I donated only $6 because I am really broke from Christmas spending, and I don't know if I will have a job in 3 months because my contract expires... But hey, thanks to your work I think the resale value of my n900 went up by at least $10 :)

lolloo 2011-01-08 01:10

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
http://rapidshare.com/files/44030122...emo-0.1.tar.gz

I downloaded bleeding-edge wl1251 wifi driver from there.

I did sh load.sh
and then enable monitor mode.

but when I type
iwconfig
it still shows an error .

when I type after sh load.sh
smod |grep wl12

I get only 5 moduels, but user one1002 says it has to be 7-9 moduels

where am i wrong?

one1002 2011-01-08 02:48

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by lolloo (Post 914607)
http://rapidshare.com/files/44030122...emo-0.1.tar.gz

I downloaded bleeding-edge wl1251 wifi driver from there.

I did sh load.sh
and then enable monitor mode.

but when I type
iwconfig
it still shows an error .

when I type after sh load.sh
smod |grep wl12

I get only 5 moduels, but user one1002 says it has to be 7-9 moduels

where am i wrong?

do u have wireless-tools installed?and also, are you root?

one1002 2011-01-08 02:56

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
2 Attachment(s)
here's the screenshot when the modules are loaded/unloaded

the default modules :

Attachment 16826


the loaded modules :

Attachment 16827

Creamy Goodness 2011-01-08 02:56

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by lolloo (Post 914607)
http://rapidshare.com/files/idiot/wl...emo-0.1.tar.gz

I downloaded bleeding-edge wl1251 wifi driver from there.

I did sh load.sh
and then enable monitor mode.

but when I type
iwconfig
it still shows an error .

when I type after sh load.sh
smod |grep wl12

I get only 5 moduels, but user one1002 says it has to be 7-9 moduels

where am i wrong?

well, you failed step one - donate to receive the download link.
do you really expect help from us? go ask your pirated software dealer for tech support. and delete that link before someone deletes your account!

one1002 2011-01-08 02:58

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by Creamy Goodness (Post 914655)
well, you failed step one - donate to receive the download link.
do you really expect help from us? go ask your pirated software dealer for tech support. and delete that link before someone deletes your account!

lol that's good one..

Creamy Goodness 2011-01-08 03:11

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
well i guess you're legally allowed to post it, so no danger of his account being banned, but it's still lame. it's lxp's topic, i think it's insulting to demand support while bragging about your cheapness. it's like being invited to dinner at someone's house and eating all the food before anyone else has enough.

porselinaheart 2011-01-08 03:54

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
@one1002, Didn't try your tuto becos of the previous posts above me stating failure, and i was feeling too damn lazy to reinstall my original kernel power, etc like i had to the other day if anything went wrong, but thanks to reading through your tuto, managed to figure out a sequence of installations that works for me. much thanks bro!!!
I hope you don't mind, I'm posting my edited version of your tuto, that worked for me, :o


1) First of all, please backup/copy the folder below to somewhere safe:
/lib/modules/2.6.28.10power46

2) After you are done, FROM THE PC, extract the "zImage-2.6.28-maemo46-wl1" file from "wl1251-maemo\binary\kernel-power\kernel-power-bootimg_2.6.28-maemo46-wl1_armel\boot.."
(dpkg the bootimg .deb might work just as well to put the kernel into /boot, but i didn't try it out as it might overwrite your original power46 kernel)

3) Copy the file to /boot ON THE PHONE

4) Copy again into /boot/multiboot, and then rename the file to "vmlinuz-2.6.28.10power46-wl1" without the quotes

5) Now, go to /etc/multiboot.d and create a new .item entry called "02-Maemo-2.6.28.10power46-wl1.item"

edit the file as follows :

Code:

ITEM_NAME="Maemo 2.6.28.10power46-wl1"
ITEM_KERNEL=2.6.28.10power46-wl1
ITEM_MODULES=ext3

6) Next, from xterm, run these commands:

Code:

sudo gainroot
cd wl1251-maemo/binary/kernel-power
dpkg -i kernel-power-modules_2.6.28-maemo46-wl1_armel.deb

7) Now remember the /lib/modules/2.6.28.10power46 folder that u backed up just now?copy the folder back into /lib/modules

8) Reboot and select the new kernel from multiboot. Your original power46 kernel should load as well.

TiagoTiago 2011-01-08 09:44

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Do we have an approximate ETA for an official power kernel release with this?

moepda 2011-01-08 09:56

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
can i ask how its best to remove this ? installed

kernel-power_2.6.28-maemo46-wl1_armel.deb
kernel-power-headers_2.6.28-maemo46-wl1_armel.deb
kernel-power-modules_2.6.28-maemo46-wl1_armel.deb
kernel-power-flasher_2.6.28-maemo46-wl1_armel.deb

with instructions from readme but wish now to remove. could anyone help ? i have backup of titan v46/boot/multiboot and modules but unsure of code to remove the wl1 versions...

porselinaheart 2011-01-08 10:13

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by moepda (Post 914762)
can i ask how its best to remove this ? installed

kernel-power_2.6.28-maemo46-wl1_armel.deb
kernel-power-headers_2.6.28-maemo46-wl1_armel.deb
kernel-power-modules_2.6.28-maemo46-wl1_armel.deb
kernel-power-flasher_2.6.28-maemo46-wl1_armel.deb

with instructions from readme but wish now to remove. could anyone help ? i have backup of titan v46/boot/multiboot and modules but unsure of code to remove the wl1 versions...

are saying that u wanna reinstall the orignal power kernel 46?? well, i found it quite fiddly. had to uninstall it manually from app manager,as well as dependencies, like HEN and NITDroid Installer. I think it might work if u downlaod the actual debs from the repositories though. could you maybe tell us what u are trying to achieve so that we can advise you accordingly?

moepda 2011-01-08 10:28

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
im just trying to revert back to just kernel v46 rather than v46wl1 . removing the installed contents of the wl1251-maemo folder from wl1251-maemo.tar.

hoping thats enough info ? not sure if i could just open the .deb files with 7zip and remove files from relevant locations ?

porselinaheart 2011-01-08 11:17

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by moepda (Post 914783)
im just trying to revert back to just kernel v46 rather than v46wl1 . removing the installed contents of the wl1251-maemo folder from wl1251-maemo.tar.

hoping thats enough info ? not sure if i could just open the .deb files with 7zip and remove files from relevant locations ?

well, afaik, apart from deleting the extracted w|1251-maemo folder form Mydocs, u'll have to reinstall kernel-power46 it should overwrite all the relevant folders, modules, etc (in my case i had to uninstall power46 since my system was reading as installed, and reinstall). if you've added the w|1251 kernel manually to multiboot, then that and the corresponding .item file have to be manually deleted as well.

If uw ant both installed, follow my tuto above

retsaw 2011-01-08 11:55

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
To switch back to the official kernel-power then run as root "apt-get install kernel-power=2.6.28-maemo46 kernel-power-modules=2.6.28-maemo46 kernel-power-headers=2.6.28-maemo46 kernel-power-flasher=2.6.28-maemo46", you can change the kernel-power version to whichever you wish to install (there is quite a few in the repositories, presumably all the version that have been released), this worked for me, but I am typing this from memory so may have made a mistake and I don't know how it interacts with multiboot because I don't use that.

As it happens the reason I wanted to downgrade was because of a bug with bluetooth audio that happened to be introduced in kernel-power v46 (it turned out not to be specific to the changes made in this version), and I didn't realise because I upgraded to this kernel from kernel-power v45, so slightly off-topic, but does anyone know where I should report that bug.

moepda 2011-01-08 20:36

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by moepda (Post 914783)
im just trying to revert back to just kernel v46 rather than v46wl1 . removing the installed contents of the wl1251-maemo folder from wl1251-maemo.tar.

hoping thats enough info ? not sure if i could just open the .deb files with 7zip and remove files from relevant locations ?

thanks to all for your help , reinstalling v46 fixed it :) reinstalled osso wlan too so all sorted .

dashti 2011-01-09 12:57

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
can't see everything screen is small any suggestion :(

http://img706.imageshack.us/img706/1...1010815042.png

Saturn 2011-01-09 13:11

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by dashti (Post 915770)
can't see everything screen is small any suggestion :(
...[/IMG]

press the volume button on top to change the size of the font.

dashti 2011-01-09 13:18

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
thanks

http://img440.imageshack.us/img440/6...1010815060.png

http://img638.imageshack.us/img638/8...1010815091.png

http://img375.imageshack.us/img375/5...1010815204.png

http://img412.imageshack.us/img412/4...1010815210.png

HellDragon 2011-01-10 13:36

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
just donated, this is great news! i had no faith in neopwn anymore

maxximuscool 2011-01-10 23:44

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Does it have to use Custome Kernel!!!

Mentalist Traceur 2011-01-11 00:17

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by maxximuscool (Post 917376)
Does it have to use Custome Kernel!!!

No. No it magically stopped needing to use the custom kernel sometime between now and the last time someone asked just a couple pages ago.

Rule of thumb: If someone bothers including an entire custom kernel image, chances are, you need that kernel image.

It's basically power kernel v46, with one module compiled and added in that the modified driver needs to work. If you're using it with multiboot, everything you need is included.

If you're using uboot, I can provide you with either the instructions on how to use the image lxp provides with dd and mkimage to combine it with a uboot image, or with a flashable kernel image already prepended with uboot (I'm assuming you already have the sources and files anyway, so presumably providing you with the same image attached to a uboot binary would just save you effort/time, and not violate anything).

IsaacDFP 2011-01-11 00:54

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Is there a fix for the camera "operation failed" issue? I do not have the "osso" installed and never did. :(

kulas 2011-01-11 01:20

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by IsaacDFP (Post 917423)
Is there a fix for the camera "operation failed" issue? I do not have the "osso" installed and never did. :(

have you install F-cam api drivers?

Mentalist Traceur 2011-01-11 01:25

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by IsaacDFP (Post 917423)
Is there a fix for the camera "operation failed" issue? I do not have the "osso" installed and never did. :(

Uninstall all the FCam stuff (BlessN900, FCamera, that one low-light picture taking program - everything that uses FCam drivers). Then reboot. Then reinstall all the FCam stuff. Reboot. The fix has been around for months. It happens when the kernel updates to a newer version, but doesn't update the drivers with it, or something along those lines gets screwed up. Reinstalling the drivers tends to fix it. If it doesn't, something else is wrong.

As for the osso stuff, if you have the N900, you have "osso". Osso - I'm not sure what it stands for though - is a prefix for a bunch of the stuff that's installed on the N900 by default. Some of it, like the thing lxp's patch fixes, is necessary for the system to work. For instance, half of the applications that are installed by default have osso in their name (I don't remember which ones do. You can always open up x-term and type osso and press tab twice. It should show a bunch of commands that start with osso in the name).

Anyway, the point is, this osso package fixes a bug in the stock osso-wifi-thingy. The problem is it makes apt-get complain about dependencies being wrong. If you don't install it, you don't lose too much - you just might have to occasionally restart your wifi driver to make it work right if the bug kicks in.

Haider 2011-01-11 01:37

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Is the downloading file really 141 mb or am I downloading a wrong file? Because I dont have much space left in my applications?

Mentalist Traceur 2011-01-11 01:50

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by Haider (Post 917446)
Is the downloading file really 141 mb or am I downloading a wrong file? Because I dont have much space left in my applications?

Yeah it's pretty big, but a lot of that is the source code, kernel headers, and other stuff.

The sources are just there to comply with GPL. They don't actually do anything, so they can be kept in the MyDocs partition or moved off-device. The kernel will override your current kernel, so it's not like it adds much if anything to the space used. The kernel headers don't need to be installed, so that's a lot of space aside from the source code saved. Then there's the multiboot-compatible package, so you don't need to install that unless you're using multiboot, and again, it probably won't take much space.

Also, you can keep the driver modules on the MyDocs partition, so long as you rewrite/edit the load/unload scripts to use absolute paths or the appropriate relative paths.

In other words, you're not actually using that much application space at all.

damion 2011-01-11 03:38

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by lxp (Post 906372)
Thank you for your donation.
I am going to look into the ad-hoc problem soon.
AP mode may be possible to implement, I will add that to my todo list. We are not really stuck at 2.6.28 wifi stack. This driver already uses compat-wireless to backport the bleeding-edge wifi stack to the 2.6.28 kernel.

Ah, that is excellent news. I'll look at what is needed in later kernels config/command-wise to actually enable AP mode having only read about the potential until now. Is it possible this already works due to the backport?

stlpaul 2011-01-11 05:41

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by Mentalist Traceur (Post 917439)
Osso - I'm not sure what it stands for though - is a prefix for a bunch of the stuff that's installed on the N900 by default

OSSO - Open Source Software Operations

IsaacDFP 2011-01-11 07:32

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
Quote:

Originally Posted by Mentalist Traceur (Post 917439)
Uninstall all the FCam stuff (BlessN900, FCamera, that one low-light picture taking program - everything that uses FCam drivers). Then reboot. Then reinstall all the FCam stuff. Reboot.

Thank you very much. It's my first time playing around with power kernel so I wasn't aware of this. I also had a few other applications that failed to launch but reinstalling them also fixed it. As per the newly modified osso wifi driver, i'd rather manually restart it the rare times i get out of range than not be able to receive future ota updates. But thanks again :)

Tigerite 2011-01-11 11:30

Re: [Announce] bleeding-edge wl1251 wifi driver for Maemo Fremantle
 
The feature modified wasn't the wifi driver, but osso-wlan, i.e. wlancond - which is simply a daemon ensuring wl1251-cal gets run, amongst other things. The driver is modified within the kernel module and does not prevent future OTA updates.


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

vBulletin® Version 3.8.8