1. Check kernel version and hardware # uname-aLinuxNeil-PC2.6.38.2-9.fc15.x86_64 #1SMPWedMar3016: 55: 57UTC2011x86_64x86_64x86_64GNU/Linux # lspci00: 00.0 Hostbridge: intelconfigurationcoreprocessordram
1. Check the kernel version and hardware
# Uname-
Linux Neil-PC 2.6.38.2-9. fc15.x86 _ 64 #1 SMP Wed Mar 30 16:55:57 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
# Lspci
00:00. 0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:01. 0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
. 0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 05)
00: 1a. 0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00: 1b. 0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00: 1c. 0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00: 1c. 1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00: 1c. 2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05)
00: 1d. 0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00: 1e. 0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00: 1f. 0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00: 1f. 2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port sata ahci Controller (rev 05)
00: 1f. 3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00: 1f. 6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
. 0 VGA compatible controller: nVidia Corporation GT218 [NVS 3100 M] (rev a2)
. 1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
. 0 Network controller: Broadcom Corporation BCM4313 802.11b/g LP-PHY (rev 01)
. 0 SD Host controller: Ricoh Co Ltd Device e822 (rev 03)
. 4 FireWire (IEEE 1394): Ricoh Co Ltd Device e832 (rev 03)
3f: 00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
3f: 00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
3f: 02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
3f: 02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
3f: 02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
3f: 02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
2. Compile the source code
Note: yum install broadcom-wl cannot be used, and Fedora 14 can.
Download driver package to the official, but that package can not be compiled, (here you can download the code I modified see the http://www.linuxidc.com/Linux/2011-10/44331.htm)
KBUILD_NOPEDANTIC = 1 make-C/lib/modules/'uname-R'/build M = 'pwd'
Make [1]: Entering directory '/usr/src/kernels/2.6.38.2-9. fc15.x86 _ 64'
CC [M]/root/broadcom_bcm4313/src/wl/sys/wl_linux.o
/Root/broadcom_bcm4313/src/wl/sys/wl_linux.c: In function 'wl _ attach ':
/Root/broadcom_bcm4313/src/wl/sys/wl_linux.c: 485: 3: error: implicit declaration of function 'init _ MUTEX '[-Werror = implicit-function-declaration]
C0: some warnings being treated as errors
Make [2]: *** [/root/broadcom_bcm4313/src/wl/sys/wl_linux.o] Error 1
Make [1]: *** [_ module _/root/broadcom_bcm4313] Error 2
Make [1]: Leaving directory '/usr/src/kernels/2.6.38.2-9. fc15.x86 _ 64'
You need to add
# Define init_MUTEX (LOCKNAME) sema_init (LOCKNAME, 1 );
3. Copy the compiled wl. ko file
/Lib/module/xxxxx/extra/wl. ko
[Root @ Neil-PC wl] # pwd
/Lib/modules/2.6.38.2-9. fc15.x86 _ 64/extra/wl
[Root @ Neil-PC wl] # ll
Total 3964
-Rw-r -- 1 root 4058778 Apr 15 08:32 wl. ko
4. Insert Module
Detection and automatic insertion. If successful, the system will return directly without errors.
# Modproble wl
5. You can use reboot.