wifi work only in debug mode

2,826 views
Skip to first unread message

Giovanni Maria Lombino

unread,
Mar 10, 2019, 4:23:10 PM3/10/19
to Android-x86
I installed in a notebook packbell android rc2 but the wifi only works if I start debug mode, if I boot in normal mode it does not work it does not find networks.

debug mode is here/
https://raw.githubusercontent.com/GMLombino/packbell/master/debug%20mode
normal mode is here/
https://raw.githubusercontent.com/GMLombino/packbell/master/normal%20mode

how can i solve?

Jon West

unread,
Mar 10, 2019, 4:55:37 PM3/10/19
to Android-x86

Try adding the AUTO_LOAD=old flag in Grub, since debug mode does use modprobe, this might make a difference on your device 

Giovanni Maria Lombino

unread,
Mar 10, 2019, 6:48:35 PM3/10/19
to andro...@googlegroups.com
if i add AUTO_LOAD=old the wifi works, but on reboot no. how can i make the change permanent?
thank you

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.

Jon West

unread,
Mar 10, 2019, 6:55:25 PM3/10/19
to Android-x86
I usually edit it from my working Windows install. Check the "Custom Install For Bliss OS 8.x/10.x/11.x UEFI/ESP (64bit)" section of the second post on the Bliss OS XDA thread for more details on how I typically do that.
https://forum.xda-developers.com/showpost.php?p=77915735&postcount=2
We use the same method as Android-x86 releases, so the method will cross over fine.

Chih-Wei Huang

unread,
Mar 10, 2019, 10:59:23 PM3/10/19
to Android-x86
Giovanni Maria Lombino <lombi...@gmail.com> 於 2019年3月11日 週一 上午4:23寫道:
>
> I installed in a notebook packbell android rc2 but the wifi only works if I start debug mode, if I boot in normal mode it does not work it does not find networks.

which -rc2?

Anyway, you should not use the obsolete ??-rc2.
Please update to the stable release, say 8.1-r1.
It's interesting to see the report.
In normal mode the wl driver is loaded.

[ 3.534368] wl: module license 'MIXED/Proprietary' taints kernel.
[ 3.534372] Disabling lock debugging due to kernel taint
[ 3.976071] wlan0: Broadcom BCM4727 802.11 Hybrid Wireless
Controller 6.30.223.271 (r587334)

However, in debug mode there is no the third line shown above.

Let me guess. In normal mode the wl driver is used but it doesn't work.
In debug mode another workable wifi driver is used.
What's it? Please open a terminal and type the command:

ifconfig wlan0

To workaround it, could you try to edit /system/etc/modules.blacklist
to add this line (system must be read-write):

deferred wl

This will defer the wl driver loading after all other modules.

--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Giovanni Maria Lombino

unread,
Mar 11, 2019, 3:26:43 AM3/11/19
to andro...@googlegroups.com
hi Chih-Wei Huang, in debug mode, this my  ifconfig

x86_64:/ # ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 08:ED:B9:3D:17:EC
          inet addr:192.168.1.132  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::d50f:d604:c7ae:5a19/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1240 errors:0 dropped:0 overruns:0 frame:0
          TX packets:721 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:485094 (473.7 KiB)  TX bytes:227723 (222.3 KiB)

x86_64:/ #

Giovanni Maria Lombino

unread,
Mar 11, 2019, 3:30:41 AM3/11/19
to andro...@googlegroups.com
than you Jon West, but if I do not have windows installed, but only android. how permanent change the grub command line?

Chih-Wei Huang

unread,
Mar 11, 2019, 3:34:34 AM3/11/19
to Android-x86
Giovanni Maria Lombino <lombi...@gmail.com> 於 2019年3月11日 週一 下午3:26寫道:
>
> hi Chih-Wei Huang, in debug mode, this my ifconfig
>
> x86_64:/ # ifconfig wlan0
> wlan0 Link encap:Ethernet HWaddr 08:ED:B9:3D:17:EC
> inet addr:192.168.1.132 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::d50f:d604:c7ae:5a19/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:1240 errors:0 dropped:0 overruns:0 frame:0
> TX packets:721 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:485094 (473.7 KiB) TX bytes:227723 (222.3 KiB)

Unfortunately this doesn't show what driver it is.
Are you using 8.1? If yes, please type

/system/bin/ifconfig wlan0

Alternatively try the command:

readlink /sys/class/net/wlan0/device/driver

Giovanni Maria Lombino

unread,
Mar 11, 2019, 5:41:56 PM3/11/19
to andro...@googlegroups.com
x86_64:/ $ su
x86_64:/ # readlink /sys/class/net/wlan0/device/driver

../../../../../bus/bcma/drivers/brcmsmac
x86_64:/ #

I hope it is useful


Chih-Wei Huang

unread,
Mar 11, 2019, 11:39:43 PM3/11/19
to Android-x86
Giovanni Maria Lombino <lombi...@gmail.com> 於 2019年3月12日 週二 上午5:41寫道:
>
> x86_64:/ $ su
> x86_64:/ # readlink /sys/class/net/wlan0/device/driver
>
> ../../../../../bus/bcma/drivers/brcmsmac
> x86_64:/ #
>
> I hope it is useful

So in debug mode brcmsmac is used but in
normal mode the incorrect driver wl is used.

As I've suggested, the simplest way to fix it is to
defer the loading of wl driver.
Add the line to /system/etc/modules.blacklist
(system must be read-write):

deferred wl

Or to disable it completely:

blacklist wl

Let me know if this works.

Giovanni Maria Lombino

unread,
Mar 12, 2019, 4:12:52 AM3/12/19
to andro...@googlegroups.com
I added both deferred wl and blacklist wl in /system/etc/modules.blacklist, but the wifi no work.

I started again adding AUTO_LOAD = old and so it works and this is its dmesg:


Chih-Wei Huang

unread,
Mar 12, 2019, 4:36:52 AM3/12/19
to Android-x86
Giovanni Maria Lombino <lombi...@gmail.com> 於 2019年3月12日 週二 下午4:12寫道:
>
> I added both deferred wl and blacklist wl in /system/etc/modules.blacklist, but the wifi no work.
>
> I started again adding AUTO_LOAD = old and so it works and this is its dmesg:

OK. Seems brcmsmac doesn't be auto loaded by ueventd.
I recall someone reported a similar issue before.

Could you boot to debug mode, type 'exit' once,
then copy the /tmp/log to usb disk and upload it somewhere
so I can check. Thanks!

Giovanni Maria Lombino

unread,
Mar 12, 2019, 2:11:32 PM3/12/19
to andro...@googlegroups.com
Sorry which command I have to use to copy the log

Chih-Wei Huang

unread,
Mar 12, 2019, 10:07:47 PM3/12/19
to Android-x86
Giovanni Maria Lombino <lombi...@gmail.com> 於 2019年3月13日 週三 上午2:11寫道:
>
> Sorry which command I have to use to copy the log

mount /dev/sdc1 /hd (suppose the usb disk is at sdc1)
cp /tmp/log /hd
Reply all
Reply to author
Forward
0 new messages