View previous topic :: View next topic |
Author |
Message |
cravengemetzel n00b
Joined: 12 Mar 2012 Posts: 40
|
Posted: Sat Nov 17, 2012 5:39 am Post subject: I cannot get brcmsmac to work anymore. [SOLVED] |
|
|
Since kernel >3.5.2-gentoo-sources I have been unable to get a wlan0 interface with the brcmsmac opensource driver for my BCM4313 card. There used to be no issue whatsoever, and I have spent dozens of hours trying to solve this issue.
Currenty I am on a chroot from my Debian system, which is the only way that I can access my wireless network. I've tried recompiling my kernel with genkernel and what SHOULD be the proper settings for my system. I am lost. I tried the proprietary broadcom-sta as well, and was not able to get it to work (which it always used to work). I've tried installing these drivers in a proper booted gentoo system, after a fresh kernel recompile either from chroot or my gentoo system. I've tried copying the firmware needed for the brcmsmac driver from /lib/firmware/brcm to /usr/src/3.x/firmware/brcm but got an error saying that the drivers cannot be loaded due to "incompatible binary format". I assume they shoud be -bin format, but they are .fw format.
I can give thorough specifications of my system via the inxi script upon request (its output is much more human-readable than lspci).
Last edited by cravengemetzel on Sat Nov 17, 2012 11:14 pm; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Nov 17, 2012 9:12 am Post subject: |
|
|
Code: | emerge linux-firmware | IMHO best way to get firmware for in kernel modules.
assume your menuconfig is: Quote: | [*] Networking support --->
-*- Wireless --->
--- Wireless
<M> cfg80211 - wireless configuration API
[ ] nl80211 testmode command
[ ] enable developer warnings
[ ] cfg80211 regulatory debugging
[ ] enable powersave by default
[ ] cfg80211 DebugFS entries
[*] cfg80211 wireless extensions compatibility
< > Common routines for IEEE802.11 drivers
<M> Generic IEEE 802.11 Networking Stack (mac80211)
Default rate control algorithm (Minstrel) --->
[ ] Enable mac80211 mesh networking (pre-802.11s) support
[ ] Export mac80211 internals in DebugFS
[ ] Trace all mac80211 debug messages
[ ] Select mac80211 debugging features ---> | lsmod includes Quote: |
Device Drivers --->
[*] Network device support --->
[*] Wireless LAN --->
--- Wireless LAN
< > Broadcom 43xx wireless support (mac80211 stack)
< > Broadcom 43xx-legacy wireless support (mac80211 stack)
<M> Broadcom IEEE802.11n PCIe SoftMAC WLAN driver
< > Broadcom IEEE802.11n embedded FullMAC WLAN driver
[ ] Broadcom driver debug functions (NEW)
Broadcom specific AMBA --->
<M> BCMA support
[*] Support for BCMA on PCI-host bus
[*] BCMA Broadcom GBIT MAC COMMON core driver
[ ] BCMA debugging | lsmod output includes? Quote: |
bcma
brcmsmac
brcmutil
mac80211
cfg80211
crc_ccitt
crc8 | but not wl or b43 or b43legacy or ssb?
Assuming neither ifconfig nor ifconfig -a shows wlan0; does lspci -k show "Kernel driver in use:" or "Kernel modules:" ?
What does dmesg have? _________________ Defund the FCC. |
|
Back to top |
|
|
cravengemetzel n00b
Joined: 12 Mar 2012 Posts: 40
|
Posted: Sat Nov 17, 2012 11:13 pm Post subject: |
|
|
Thank you! I have no idea what was wrong with my system, but I set the options in the kernel menuconfig as those that you provided, and then I disabled "build in-kernel firmware blobs" to allow firmware access via userspace rather than kernel, compiled, rebooted, and was amazed that my problem was solved so easily.
The Gentoo community is the best. (: |
|
Back to top |
|
|
|