Broadcom-STA "wl" wifi drivers

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

wl.ko for slacko 630-32bit

#136 Post by ozsouth »

Sorry, I'm unable to upload the 6.25mb file. If someone could host it, I'll do it. (it goes in /lib/modules/3.14.55/kernel/drivers/net/wireless).

maverick
Posts: 7
Joined: Mon 09 Nov 2015, 14:28

#137 Post by maverick »

Thank you for replying.
can you please upload it using a free host such as
http://tinyupload.com/
thank you.

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

32 bit Broadcom wireless module for k 3.14.55

#138 Post by ozsouth »

file deleted - see peebee's module
Last edited by ozsouth on Mon 12 Sep 2016, 06:45, edited 1 time in total.

maverick
Posts: 7
Joined: Mon 09 Nov 2015, 14:28

Thank you ozsouth

#139 Post by maverick »

ozsouth words cannot express my gratitude and appreciation.
THANK you so much.

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

wl driver for Slacko-6.3.0 k3.14.55-nopae

#140 Post by peebee »

Here is the 32-bit wl driver for Slacko-6.3.0 k3.14.55-nopae as a .pet:

broadcom_wl_v6.30.223.271_x86_32-k3.14.55_nopae_s630.pet

Creates wlan0

Needs a reboot and blacklisting of any drivers which are claiming the Broadcom wifi device (in my case b43 & ssb).

Unlike previous versions of the wl driver that claimed devices which it shouldn't, this version does not claim a device if another driver is claiming it.

Specific to k3.14.55-nopae and won't work with any other kernel.

Cheers
peebee
Last edited by peebee on Thu 28 Apr 2016, 06:06, edited 1 time in total.
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#141 Post by mavrothal »

Anyone has wl module for slacko64-6.3.0. (k 4.1.11) or Tahr64-6.0.5 (k 3.14.54)?
If not, can someone point to the sources, patches and any special module making instructions? (long thread to search :oops: )
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

How-to

#142 Post by peebee »

mavrothal wrote:Anyone has wl module for slacko64-6.3.0. (k 4.1.11) or Tahr64-6.0.5 (k 3.14.54)?
If not, can someone point to the sources, patches and any special module making instructions? (long thread to search :oops: )
Hi Mav

Check current version (currently 6.30.223.271) from:
http://www.broadcom.com/support/802.11

Get the most recent patched source from ubuntu or debian - e.g. from:
https://launchpad.net/ubuntu/+source/br ... .223.271-7
(try upping the last number to get latest) get
https://launchpad.net/ubuntu/+archive/p ... rig.tar.xz

Extract the sources for the required arch - i386 or amd64 and have a look in broadcom-sta-6.30.223.271/amd64/src/wl/sys and check the latest kernel mentioned LINUX_VERSION in:
wl_cfg80211_hybrid.c
wl_linux.c

(Currently = 4.2.0 so 4.1.11 and 3.14.54 should be ok)

patch wl_linux.c at about line #220 - change eth% to wlan%

In a system with devx and kernel sources installed, open a terminal in the extracted sources folder and type:
make

Result if compilation finishes without errors is wl.ko in the folder

If the compilation fails and your kernel is later than the one above, search the web for suitable patches!!

Package as a .pet for the particular kernel (i.e. correct name for /lib/modules/xxxx/kernel/drivers/net/wireless) with a pinstall.sh that just calls depmod -a

Test - install the .pet, then:
modprobe wl
lsmod
dmesg

to check that the new module loads without errors

then in a running system, blacklist whatever drivers were claiming the wifi device

upload to a repository and share....

Cheers
peebee
Last edited by peebee on Tue 18 Jul 2017, 06:35, edited 3 times in total.
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: How-to

#143 Post by mavrothal »

Thanks for the info.
peebee wrote: Get the most recent patched source from ubuntu or debian - e.g. from:
https://launchpad.net/ubuntu/+source/br ... .223.271-2
<snip>
patch wl_linux.c at about line #220 - change eth% to wlan%
So from all the 8 Debian patches you only apply "03-rename-to-wlan0.patch" or others too?
Do you use any of the Debian control files?
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Re: How-to

#144 Post by peebee »

mavrothal wrote:Thanks for the info.
peebee wrote: Get the most recent patched source from ubuntu or debian - e.g. from:
https://launchpad.net/ubuntu/+source/br ... .223.271-2
<snip>
patch wl_linux.c at about line #220 - change eth% to wlan%
So from all the 8 Debian patches you only apply "03-rename-to-wlan0.patch" or others too?
Do you use any of the Debian control files?
I think? the other patches should already have been applied in the ubuntu sources.....

don't use any control files.....
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#145 Post by mavrothal »

OK thanks.
Was actually pretty smooth and fast (should be easy to just make script to automate this :wink: ) .
Only the "03-rename-to-wlan0.patch" debian patch was used.

The modules works fine in my hardware with Slacko64-3.6.0.1 (k4.1.11) and Tahr64-6.0.5 (k3.14.54).

So here are the pets for the Broadcom wl WiFi module for the 3.14.54 64bit kernel and for the 4.1.11 64bit kernel
(Note: datafilehost is both sneaky and annoying. The "Download" button is the small one... and even then you should unckeck the "Download with Secured Download manager" option just under it)

UPDATE I experienced freezes with the 4.1.11 module. So I recompiled using the 03-rename-to-wlan0, 04-user_ioctl, 05-remove-time-and-date-macros, and 13-broadcom-sta-6.30.223.248-linux-3.18-null-pointer-crash debian patches and is more stable.
Also updated the install scripts and added also an unisntall script in the pets. Both pets uploaded in the above links and are now in version 5.
Last edited by mavrothal on Tue 02 Feb 2016, 07:54, edited 1 time in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#146 Post by mavrothal »

Just a notion to early adopters that the files above have been updated.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

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

WL driver for Tahrpup 6.0.5 pae kernel 3.14.56

#147 Post by ozsouth »

see next post - best to use peebee's driver.
Last edited by ozsouth on Mon 08 Feb 2016, 21:20, edited 1 time in total.

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

wl drivers for tahrpup-6.0.5 all flavours

#148 Post by peebee »

Updated 17-feb

Thanks @ozsouth

The complete set of drivers in .pet format for all flavours of tahrpup-6.0.5 with "standard" kernels are now in 666philb's tahrpup repositories:

http://distro.ibiblio.org/puppylinux/pet_packages-tahr/
http://distro.ibiblio.org/puppylinux/pe ... es-tahr64/
Last edited by peebee on Wed 17 Feb 2016, 07:12, edited 1 time in total.
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

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

#149 Post by ozsouth »

Thanks PeeBee. Would definitely be good to have these in the general repository, as I couldn't find one, so made another somewhat untidy module.

bdkemp1952
Posts: 2
Joined: Mon 15 Feb 2016, 00:16

Re: wl drivers for tahrpup-6.0.5 all flavours

#150 Post by bdkemp1952 »

peebee wrote:Thanks @ozsouth

The complete set of drivers in .pet format for all flavours of tahrpup-6.0.5 with "standard" kernels is at:
http://smokey01.com/peebee/broadcom/tahr-6.0.5/

I've sent a pm to 666philb suggesting he might like to add them to his repository.

Hello. I am running TahrPup 6.0.5 64 bit with a Broadcom BCm4313 driver. Can you help me withe specific directions to get it working? I understand some of the basics, but just can't quite get it correct.
Thank you.

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

#151 Post by ozsouth »

Welcome. I don't have the 64 bit Tahrpup, but peebee's .pet (the amd64 version) should be able to be downloaded (from the smokey01 site) & installed via file manager (just click on the .pet - takes under a minute).
That should automatically do the necessary blacklisting of conflicting modules. A reboot is then required (save session if frugal install). Then the connect tool (choosing simple network setup) should offer you wlan0 to connect to. Hope that helps.

bdkemp1952
Posts: 2
Joined: Mon 15 Feb 2016, 00:16

#152 Post by bdkemp1952 »

ozsouth wrote:Welcome. I don't have the 64 bit Tahrpup, but peebee's .pet (the amd64 version) should be able to be downloaded (from the smokey01 site) & installed via file manager (just click on the .pet - takes under a minute).
That should automatically do the necessary blacklisting of conflicting modules. A reboot is then required (save session if frugal install). Then the connect tool (choosing simple network setup) should offer you wlan0 to connect to. Hope that helps.
Wow, works great! Thanks so much. This is really awesome.

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#153 Post by peebee »

bdkemp1952 wrote:
ozsouth wrote:Hope that helps.
Wow, works great! Thanks so much. This is really awesome.
Thanks @ozsouth for the clear instructions.

Glad it works for you @bdkemp1952 :D

666philb has now uploaded the pets to the tahrpup repositories so they should be available via his excellent download and update mechanisms so I'll remove the link to smokey01

Cheers
peebee

p.s. @mavrothal made the 64 bit pet so thanks are also due to him
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#154 Post by slavvo67 »

PPM made me uninstall the multi-kernel pet on page 1 due to kernel incompatibility. Are there any made for:

#Note: Ubuntu 14.10 is named Utopic Unicorn.
DISTRO_NAME='Quirky Unicorn'
#version number of this distribution:
DISTRO_VERSION=6.2.1
#The distro whose binary packages were used to build this distribution:
DISTRO_BINARY_COMPAT='ubuntu'
DISTRO_COMPAT_VERSION='utopic'
#the kernel pet package used:
DISTRO_KERNEL_PET='linux_kernel-3.16.6-nopae-builtin_aufs_f2fs_squashfs_zram-i586-unicorn.pet'

Just bought a new HP Stream and really need that wifi working...

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#155 Post by peebee »

slavvo67 wrote:Are there any made for:
DISTRO_KERNEL_PET='linux_kernel-3.16.6-nopae
Best I can suggest is follow the HowTo at:
http://www.murga-linux.com/puppy/viewto ... 946#884946

Being Quirky rather than Puppy, it is not possible to get the correct compiling environment other than by downloading and installing Quirky....
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

Post Reply