maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [SOLVED] Kernel-Power 52 wrecked my phone, Wi-Fi (https://talk.maemo.org/showthread.php?t=89769)

xvan 2013-04-12 05:07

[SOLVED] Kernel-Power 52 wrecked my phone, Wi-Fi
 
Hey...

My first power-kernel was 51 with uboot...
When I installed it I had no wifi if I booted in stock... but I was happy with 51 so I never asked why...

Now I upgraded to 52, and can't start wifi...

My tests where:
Code:

~ $ ifconfig wlan0 up
ifconfig: SIOCGIFFLAGS: No such device

~ $ modprobe -l | grep wl12
/lib/modules/2.6.28.10-power52/wl12xx.ko

~ $modprobe -r wl12xx
FATAL: Module wl1251_spi not found

I have no blacklisted modules...
Any guesses?

NiQ 2013-04-12 06:16

Re: [HELP] Kernel-Power 52 wrecked my phone, Wi-Fi
 
Does /lib/modules/2.6.28.10-power52 exist and contain the KP52 module files?

xvan 2013-04-12 18:19

Re: [HELP] Kernel-Power 52 wrecked my phone, Wi-Fi
 
yes. upgrade deletedmy kp51 modules and added the kp52 ones...

I also tried to

Code:

sudo apt-get install --reinstall kernel-power-modules

jellyroll 2013-04-12 19:53

Re: [HELP] Kernel-Power 52 wrecked my phone, Wi-Fi
 
I cannot load the bleeding edge drivers anymore since.
Is it possible to downgrade KP52?

Mentalist Traceur 2013-04-12 20:22

Re: [HELP] Kernel-Power 52 wrecked my phone, Wi-Fi
 
Quote:

Originally Posted by xvan (Post 1335575)
Code:

~ $modprobe -r wl12xx
FATAL: Module wl1251_spi not found


Umm... wl1251_spi is part of the injection-capable patched wifi driver. Not the stock wifi driver (unless they changed things in v. 52).

So I suspect for some reason the config for modprobe has wl1251_spi (one of the modules making up the injection-capable driver) listed as either a dependency of wl12xx (the stock driver) or vice-versa.

Mentalist Traceur 2013-04-12 20:51

Re: [HELP] Kernel-Power 52 wrecked my phone, Wi-Fi
 
Quote:

Originally Posted by jellyroll (Post 1335712)
I cannot load the bleeding edge drivers anymore since.
Is it possible to downgrade KP52?

I believe since 51 they were included with the kernel-power-modules package. Located at /opt/packet-injection-modules/`uname`/.

jellyroll 2013-04-12 22:17

Re: [HELP] Kernel-Power 52 wrecked my phone, Wi-Fi
 
Quote:

Originally Posted by Mentalist Traceur (Post 1335725)
I believe since 51 they were included with the kernel-power-modules package. Located at /opt/packet-injection-modules/`uname`/.

There is an error (Cleven/Reaver WARNING: The system did not find a know compatible kernel version for the injection drivers. The application might not work properly..) but I got it working by using a shell script from an older post http://talk.maemo.org/showthread.php...t=kernel-power :D

Thanx mate!

JellyRoll:/media/mmc1# sh packet-injection.sh load
ERROR: Module wl12xx does not exist in /proc/modules
libwl1251: netlink family ID is 29
wl1251-cal: Country code: 504
wl1251-cal: Got CAL NVS
wl1251-cal: found MAC address 22:7y:40:1z:b4:88
wl1251-cal: netlink family id 28
wl1251-cal: ack_handler()
wlancond (stop) running, process 2666
wlancond (stop) pre-stop, (main) process 2666
wlancond (stop) stopping, process 2666
wlancond (stop) killed, process 2666
wlancond (stop) post-stop
wlancond (stop) waiting
wlancond (start) waiting
wlancond (start) starting
wlancond (start) pre-start
wlancond (start) spawned, process 2911
wlancond (start) post-start, (main) process 2911
wlancond (start) running, process 2911
JellyRoll:/media/mmc1#

jellyroll 2013-04-12 23:30

Re: [HELP] Kernel-Power 52 wrecked my phone, Wi-Fi
 
I did this and now everything is working as before think it's the best solution.

sudo gainroot
apt-get install --reinstall kernel-power=1:2.6.28-10power51r1 kernel-power-modules=1:2.6.28-10power51r1 kernel-power-flasher=1:2.6.28-10power51r1 kernel-power-bootimg=1:2.6.28-10power51r1

xvan 2013-04-12 23:42

Re: [HELP] Kernel-Power 52 wrecked my phone, Wi-Fi
 
Quote:

Originally Posted by Mentalist Traceur (Post 1335719)
Umm... wl1251_spi is part of the injection-capable patched wifi driver. Not the stock wifi driver (unless they changed things in v. 52).

So I suspect for some reason the config for modprobe has wl1251_spi (one of the modules making up the injection-capable driver) listed as either a dependency of wl12xx (the stock driver) or vice-versa.

Thanks!!
Something put a packet-injection.conf with this
Code:

blacklist wl12xx
alias wl12xx wl1251_spi

i never checked other files blacklisting things.

J4ZZ 2013-06-03 08:56

Re: [HELP] Kernel-Power 52 wrecked my phone, Wi-Fi
 
Quote:

Originally Posted by jellyroll (Post 1335712)
I cannot load the bleeding edge drivers anymore since.
Is it possible to downgrade KP52?

Use 'GConf Edit' and change the path for 'driver_folder' under 'apps' -> 'wlan_driver_selector' to
Code:

/opt/packet-injection-modules/2.6.28.10-power52


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

vBulletin® Version 3.8.8