The hybrid driver from Broadcom is still a bit behind in terms of
support for the latest kernels but there are workarounds. This
particular issue also effects other kernel modules such as the out of
tree Nvidia and ATI blobs that require the
asm/system.h file in their includes.
I’ve had success with replacing it with asm/switch_to.h which seems to have fixed things for now. The cause for this can be found on the .
Chipsets
supported by “Broadcom’s IEEE 802.11a/b/g/n hybrid Linux® device
driver” are: BCM4311, BCM4312, BCM4313, BCM4321, BCM4322, BCM43224, and
BCM43225, BCM43227 and BCM43228.
Errors:
- $ make
- KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
- make[1]: Entering directory `/usr/src/linux-headers-3.5.0-18-generic'
- Wireless Extension is the only possible API for this kernel version
- Using Wireless Extension API
- LD /home/txgcwm/Desktop/hy/built-in.o
- CC [M] /home/txgcwm/Desktop/hy/src/shared/linux_osl.o
- CC [M] /home/txgcwm/Desktop/hy/src/wl/sys/wl_linux.o
- /home/txgcwm/Desktop/hy/src/wl/sys/wl_linux.c:43:24: fatal error: asm/system.h: No such file or directory
- compilation terminated.
- make[2]: *** [/home/txgcwm/Desktop/hy/src/wl/sys/wl_linux.o] Error 1
- make[1]: *** [_module_/home/txgcwm/Desktop/hy] Error 2
- make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-18-generic'
- make: *** [all] Error 2
The rundown:
- Download the 32 or 64-bit version:
- Download my patches: and
- Extract the sources:
cd ~/Downloads; mkdir -p wl; cd wl; tar xf ../hybrid-portsrc*.tar.gz - Patch and compile the sources:
patch
-p0 src/wl/sys/wl_linux.c < ~/Downloads/switch_to.patch; patch -p0
src/wl/sys/wl_linux.c < ~/Downloads/bc_wl_abiupdate.patch;
make; sudo make install; sudo depmod; sudo modprobe wl
Give
Ubuntu a few seconds after loading the “wl” kernel module, then
eventually the Network Manager will start looking for wireless networks.
TL;DR: These patches are required for a working wl kernel module for the 3.4 and 3.5 kernel series.
Update: Also verified to work with Linux 3.6 series.
Related posts:
阅读(1818) | 评论(1) | 转发(0) |