The Following User Says Thank You to Mentalist Traceur For This Useful Post: | ||
![]() |
2012-10-17
, 21:34
|
Posts: 141 |
Thanked: 313 times |
Joined on May 2012
@ Czech Republic
|
#242
|
The Following 2 Users Say Thank You to luf For This Useful Post: | ||
![]() |
2012-10-17
, 22:16
|
Posts: 462 |
Thanked: 550 times |
Joined on Sep 2008
@ Moscow
|
#243
|
I have problem with AIS when bluetoothd is restarted (manually or some crash it doesn't matter). The AIS is unusable for bluetooth in that case till next rebooot. I don't take a look into the code but it seems like AIS doesn't count with bluetoothd restart (change dbus path - as pid is part of the path).
Steps to reproduce:
AIS - BT on
in cmd: stop bluetoothd; start bluetoothd
AIS - change BT - no effect
Can it be fixed?
![]() |
2012-10-21
, 15:49
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#244
|
ifconfig: wlan0: error fetching interface information: Device not found libwl1251: netlink family ID is 53 wl1251-cal: Country code: 260 wl1251-cal: Got CAL NVS wl1251-cal: found MAC address xx:xx:xx:xx:xx:xx wl1251-cal: netlink family id 52 wl1251-cal: ack_handler()
start: Job not changed: wlancond Current MAC: ec:9b:5b:fd:82:37 (unknown) ERROR: Can't change MAC: interface up or not permission: Device or resource busy
![]() |
2012-10-22
, 17:53
|
Posts: 462 |
Thanked: 550 times |
Joined on Sep 2008
@ Moscow
|
#245
|
The Following User Says Thank You to 412b For This Useful Post: | ||
![]() |
2012-10-24
, 20:20
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#246
|
The Following User Says Thank You to Estel For This Useful Post: | ||
![]() |
2012-10-24
, 21:26
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#247
|
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
![]() |
2012-10-25
, 01:30
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#248
|
![]() |
2012-10-25
, 06:24
|
Posts: 462 |
Thanked: 550 times |
Joined on Sep 2008
@ Moscow
|
#249
|
I testes it ~40 times in row (sic! [including lockdown timer]) and it never rebooted. cssu-thumb and kernel-power here (kernel isn't related, probably).
The most I was able to reproduce, were "spawning too fast" or something like that, which deny starting wlancond again, until certain time passes. Highly unlikely to happen in real-life situations, though - to get it, one need to *really* spam stopping and starting wlancond.
/Estel
The Following 2 Users Say Thank You to 412b For This Useful Post: | ||
![]() |
2012-10-25
, 20:38
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#250
|
The included-in-power-kernel paths to the injection-capable wifi driver modules is:
/opt/packet-injection-modules/`uname -r`/compat.ko
/opt/packet-injection-modules/`uname -r`/mac80211.ko
/opt/packet-injection-modules/`uname -r`/cfg80211.ko
/opt/packet-injection-modules/`uname -r`/rfkill_backport.ko
/opt/packet-injection-modules/`uname -r`/wl1251.ko
/opt/packet-injection-modules/`uname -r`/wl1251_spi.ko
Note that the .ko files are all in that same directory - not in a bunch of different sub-directories, as was/is the case for the backport-modules package. Your latest (well, I last updated about 6 hours ago) version in -devel contained a very neat* script to get the 'correct' file path to the modules, but it would still fail on a device with kernel power 51 without a redundant install of backport-modules, because your wlan-load1.sh script still contains all the subdirectories that applied only to the backport-modules package.
*But honestly, I think the get_wlan_path.sh script should at least be reordered. (And either way you'd have to change your approach, based on the above information, if you wanted to find the directory dynamically.) This is because with power-kernel v51, there's going to never be a need for backport-modules package, so once kernel-power v51 or some stable consequent version there-of makes it to extras, you won't need to keep checking for backport-modules' paths to the modules. Only very odd, unusual setups will exist that could possibly contain injection drivers at the backport-modules paths, without also containing them at the kernel-power 51+ paths. So the logical thing would be to put the check for the kernel-power 51+ paths first, and then only if that path's not found, check in the backport-modules path. The way you have it now, every time you go to load the drivers, it'll check the less-likely-to-be-widely-used-in-the-future backport-modules path, and only then check the built-in-to-kernel-power path.
Not saying you need to fix this now - devel is devel for a reason and I'm happy to tweak the shell scripts myself into working order every time an update happens, but I presume it's something you'd want to fix for when you push it down to extras-testing/extras.