Active Topics

 


Reply
Thread Tools
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#31
In kp52 packet injection driver cause kernel panic and reboot when wifi was set to ad-hoc mode... This should be fixed. Power problems could be fixed too. But both needs to be tested by more people if it is really stable...

Benefit is to not have two (or more) drivers for wifi and unloading/loading when you need to switch between them. Currently for using packet injection by default is needed some hack in /etc/modprobe.d/ (which my script in first post is doing). And it would be great to get rid of it...

Userspace tools for using packet injection drivers can be fixed too if there are problems...

But first I need tests and discussion about possible problems...
 

The Following 5 Users Say Thank You to pali For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#32
I think I have to report a problem.
Enabled bleeding edge via advanced interface switcher and after leaving house (wifi range) I did not detect any higher power consumption. But when getting home there was no detection of my wlan nor was any other wlan shown. So I restarted icd2 as well as wlancond to no avail. Only stopping and restarting wlan from aifs applet let the wlan search succeed.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2014-12-29 at 22:00. Reason: vkb
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#33
@peterleinchen: thanks for testing. can you use also script from first post for enabling packet injection drivers? maybe there can be problem with other applications/applets (as process of replacing drivers is not simple).
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#34
Yep, I can do so.
But I believe aifs does it already with same mechanism.

Just a few minutes happened again, wil enable now stock drivers and switch with your script.


--edit
here are aifs scripts
wlan_load0 stock
wlan_load1 bleeding
get_wlan_path checks availability
Attached Files
File Type: gz aifs.tar.gz (1.3 KB, 78 views)
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2014-12-30 at 11:56.
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#35
Originally Posted by pali View Post
So now I'm starting thinking about removing original wl1251 drivers from kernel and provides only packet injection drivers in kernel-power-modules package... What do you think about it?
That would be great! No more fiddling with switching between drivers to get pocket injection or save power!

And doing so would in a way force people using kernel power to use this version of drivers, so bug hunting would be much much faster (more testers!).
 

The Following User Says Thank You to misiak For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#36
Hey pali,
just went out (into the cold ) to check.
I have done:
script unload
script load
script enable

And same behaviour.
I had to do another
script load
to get my wlan connectivity back
(and had high power drain after doing so)

--
you may also check aifs scripts (see my earlier post)
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2014-12-30 at 13:52.
 
Posts: 242 | Thanked: 169 times | Joined on Nov 2011
#37
Originally Posted by Akkumaru View Post
Not sure if this is related with KP53 or not, but after installing it, shortcutd proximity doesn't work anymore. However, been running for a day and it's been running stable.
Same issue here.. tried to reboot several times, disabling and reenabling shortcutd proximity sensor option in Settings, but no way to get it working again..
Any ideas on how to fix it?
 

The Following User Says Thank You to enne30 For This Useful Post:
Posts: 242 | Thanked: 169 times | Joined on Nov 2011
#38
Maybe this is related with shortcutd not working: in dmesg I see proximity log only while making a call;

Code:
[82871.672821] proximity (GPIO 89) is now open
[82872.453887] proximity (GPIO 89) is now closed
[82874.008972] proximity (GPIO 89) is now open
[82874.789886] proximity (GPIO 89) is now closed
[82875.571044] proximity (GPIO 89) is now open
[82905.782165] slide (GPIO 71) is now closed
[82907.329010] slide (GPIO 71) is now open
otherwise I can trigger proximity sensor but no log results in dmesg.

p.s. happy new year to every maemo user in TMO!!
 

The Following User Says Thank You to enne30 For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#39
Now I looked at this problem... and proximity gpio-switch is for unknown reason disabled in kernel. I looked at diff between kp52 and kp53 and there is nothing which can disable gpio-switch. So problem must be somewhere in userspace. Maybe CSSU or U-Boot? Maybe other application?

This sysfs can enable or disable proximity gpio-switch:
$ cat /sys/devices/platform/gpio-switch/proximity/disable

And this command enable it (until reboot):
$ echo 0 > /sys/devices/platform/gpio-switch/proximity/disable
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#40
So it is problem of mce which is in cssu, see:
https://gitorious.org/community-ssu/...witches.c#L324

It disable proximity gpio-switch if call is not active or not ringing.

@freemangordon: what to do now?
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Reply


 
Forum Jump


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