Broadcom-STA "wl" wifi drivers

Message
Author
ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#181 Post by ozsouth »

Seems like you're close. I can't download your tar.gz, but check the readme.
The one I used stated that all actions (expansion, make) had to be run in /hybrid_wl and nowhere else.
Yes, cd / then mkdir /hybrid_wl, then cd /hybrid_wl. Then expand then run make.
That's vital to correct script execution. If your script is the same, that may be your only problem.

Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#182 Post by Puppyt »

Hiyer ozsouth -
SUCCESS!!

Since my last post on this thread I left the issue of Puppy on this Lenovo x130e to sit and stew. This morning when I resumed the project using a UEFI-usb TahrPup64 6.06 - quite forgetting that I had installed your pet. Doctored pic below shows the sequence of events - your module was picked up immediately and connected without issues! Dunno what happened to change issues - all it needed was a leaf from the Book of Micro$haft I suppose - "Turn it off, and then turn it back on again."
Cheers again :)

...Oh hang on - I just checked and the MODULESCONFIG skiplist wasn't modified as you outlined earlier. Hmmm mystery deepens...

EDIT: 10 minutes later and I've officially weirded myself out - the USB mothership of TahrPup64 didn't transfer your wl.ko over into the pristine HDD install, as far as I can tell. So perhaps the TahrPup64 6.0.6 enables my dual-band BCM432224 card to work OOTB. Checking with earlier Pupplets, so I may be some time off on my tangent...
Attachments
capture13513.jpg
(82.57 KiB) Downloaded 533 times
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

boof
Posts: 579
Joined: Wed 26 Sep 2012, 22:53

#183 Post by boof »

moved broadcom-sta to home directory
ran make
same error, below is segment of file where it stops [293]


/usr/src/linux/scripts/Makefile.build

# Built-in and composite module parts
292 $(obj)/%.o: $(src)/%.c $(recordmcount_source) $(objtool_obj) FORCE
293 $(call cmd,force_checksrc)
294 $(call if_changed_rule,cc_o_c)


EDIT #2
copy of end of make result.
^
In file included from /hybrid_wl/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
./include/net/cfg80211.h:4304:6: note: expected ‘struct cfg80211_scan_info *’ but argument is of type ‘int’
void cfg80211_scan_done(struct cfg80211_scan_request *request,
^
scripts/Makefile.build:293: recipe for target '/hybrid_wl/src/wl/sys/wl_cfg80211_hybrid.o' failed
make[2]: *** [/hybrid_wl/src/wl/sys/wl_cfg80211_hybrid.o] Error 1
Makefile:1490: recipe for target '_module_/hybrid_wl' failed
make[1]: *** [_module_/hybrid_wl] Error 2
make[1]: Leaving directory '/usr/src/linux'
Makefile:159: recipe for target 'all' failed
make: *** [all] Error 2


EDIT#1
Will try to expand files in hybrid_wl

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#184 Post by ozsouth »

Sorry Boof. I do know that cfg80211 loads after wl.ko, but why the failure? This requires greater minds than mine.

boof
Posts: 579
Joined: Wed 26 Sep 2012, 22:53

#185 Post by boof »

deleted all broadcom sta files, and used ppm to download broadcom-sta-dkms-6.30_223_270_3. It installed without missing dependencies. I cold rebooted, but can't find the new driver.

I'm using Xenialpup64-7.0.8.5, wth the 4.9.15 kernel. devx and kernel sources are loaded. deb patch file is available to kernel 4.12.x

I have a Makefile in /usr/src/broadcom-sta-6.30.223.271 I will make it and see what happens.


########################
IT WORKED!!!!!!

wl.ko was created! now, I will delete all other broadcom drivers, and ask where do I put wl.ko?

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#186 Post by ozsouth »

Boof, I believe wl.ko should go in

/lib/modules/4.9.15/kernel/drivers/net/wireless

then from a terminal, run depmod & reboot.

boof
Posts: 579
Joined: Wed 26 Sep 2012, 22:53

#187 Post by boof »

that didn't work. depmod without filename or arguements?

Edit $1
Actually, wl is loaded at boot, but I can't see the driver or the device. It has a dependency,cfg80112, which I haven't proven loaded.

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#188 Post by ozsouth »

No arguments for depmod.
Your .pet may have done some skiplisting, as peebee's did. Check via running lsmod in a terminal. See if bcma/b43 are loaded. May need to skiplist these & others (see earlier posts bottom page 11) & reboot.

boof
Posts: 579
Joined: Wed 26 Sep 2012, 22:53

#189 Post by boof »

installing

/lib/modules/4.9.15/kernel/drivers/net/wireless/broadcom/wl/wl.ko

and running depmod

causes total loss of touchpad and its keys next boot..

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#190 Post by ozsouth »

Oh dear. Can't fathom that one. Sorry - I'm out of ideas. Hopefully someone smarter can help.

boof
Posts: 579
Joined: Wed 26 Sep 2012, 22:53

#191 Post by boof »

Quiried PPM for all files broadcom-sta, found 3, downloaded all, recompiled driver with API=CFG80211. put driver in
/lib/modules/4.9.15/kernel/drivers/net/wireless

ran modprobe lib80211
modprobe cfg80211
insmod /lib/modules/4.9.15/kernel/drivers/net/wireless/wl.ko

used Frizbee, but with an open network--wext support dropped last revision?????? My hotspot doesn't have WEP support. At least it works. I can block any pirates as my screenis on and I can see any users. What other M2 form factor cards are there I can use, with wext support?

boof
Posts: 579
Joined: Wed 26 Sep 2012, 22:53

new probs after reboot.

#192 Post by boof »

I was able to select cfg80211 instead of wext for encoding, and have it work, but the change is not permanent, and I can't get that screen to come up again. ATM it's still trying to use ioctil, which my wl driver does not support. I can only connect via usb cable. Do I need a script to run modprobe lib80211 and modprobe cfg80211? I have used bootmanager to install these in correct order at boot. Cannot access wl driver for same. I've put it into /lib/modules/4.9.15/kernel/drivers/net/wireless driver appears to load, but will not connect. diagnotics attached
Attachments
pdiag-20170905.tar.gz
(176.86 KiB) Downloaded 171 times

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#193 Post by ozsouth »

OK, back in Oz. Have downloaded Xenial64 7.0.8.5 & devx & kernel source. Attempted to compile wl - failed. Error message 'Neither CFG80211 nor Wireless Extension is enabled in kernel'. CFG80211 shows in /boot/config-4.9.15 as m (module), as it does in other puplets. Sorry but at that point I usually abandon the puplet, as I can't do kernel compiling.

EDIT: Have found (at last) newer source - see pg 14 - success!
Last edited by ozsouth on Thu 26 Oct 2017, 07:47, edited 1 time in total.

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

Slacko64 k 4.4.70 wl.ko

#194 Post by ozsouth »

Broadcom wireless module Slacko64 k 4.4.70

** WITHDRAWN **

Further testing of this and k 3.16.43 version showed flaky performance. Increasingly, I don't seem to be able to resolve this. WL source code now over 2 years old. Apparently incompatible with newer kernels (got lucky with 3.14.79). Time to abandon it.

EDIT: newer source found - new driver for 4.4.70 64bit on pg14
Last edited by ozsouth on Thu 26 Oct 2017, 07:48, edited 1 time in total.

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#195 Post by belham2 »

Has anyone been able to successfully make an overall broadcom-sta .pet (or wl.ko) for Phil's Xenial64 7.0.8 with kernel 4.9.15? :cry:

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#196 Post by ozsouth »

My attempts failed - as above. Seems the source I used (from Broadcom's site) is out of date (didn't work beyond kernel 4.2.0 - the k 4.4.70 driver I made was too flaky to use). However, someone must have updated source, as I have a driver for Slacko64 6.9.9.9 k 4.9.30 that works fine.
EDIT: Now have updated source - see below!
Last edited by ozsouth on Thu 26 Oct 2017, 07:11, edited 1 time in total.

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#197 Post by belham2 »

ozsouth wrote:My attempts failed - as above. Seems the source I used (from Broadcom's site) is out of date (didn't work beyond kernel 4.2.0 - the k 4.4.70 driver I made was too flaky to use). However, someone must have updated source, as I have a driver for Slacko64 6.9.9.9 k 4.9.30 that works fine.

Hi Ozsouth!

Well, crap then, I'll just ditch the darn Xenial64 on wireless and use Slacko64-6.9.9.9 with kernel 4.9.30 (I have it frugal installed, so it'll be easy). Any chance I could convince you to upload yours (the wl.ko driver) to your tinydownload repo and post the link here (or did you already post it earlier and I missed it)? Would be deeply appreciated :wink:

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#198 Post by ozsouth »

Wait - ubuntu may have usable patched source - not sure, but will try later today. I googled broadcom 6.30.223.271- and got
broadcom-sta-source_6.30.223.271-7_all.deb

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#199 Post by ozsouth »

Broadcom wl driver 64bit k 4.9.30, .pet, with apologies to creator, as I can't remember where I got it.
http://s000.tinyupload.com/?file_id=779 ... 5151554706

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

SUCCESS

#200 Post by ozsouth »

Ok, I've got updated source (July 2017) for 64bit wl driver - can now create newer modules. Must have kernel sources & devx for desired puppy loaded.
Then cd / and expand (tar -zxvf) source file attached. Then cd /hybrid_wl & run make.
http://s000.tinyupload.com/?file_id=043 ... 6757166267
Last edited by ozsouth on Thu 26 Oct 2017, 07:23, edited 1 time in total.

Post Reply