You are not logged in.

#1 2011-10-30 21:47:39

Segura
Member
Registered: 2011-03-05
Posts: 12

[SOLVED](?) BCM4313 and brcmsmac driver

Hi, my wireless card (BCM4313) don't work since the last kernel update, I think. I have been reading the Wiki [https://wiki.archlinux.org/index.php/Broadcom_wireless] and some old posts on the forum following what they say but still can't manage to connect to any wifi. I start this topic to see is someone have any idea how to make it work. hmm

The wiki says that for the BCM4313 the driver to use is the brcmsmac driver, and also says that it is already include in the kernel so "no further action should be required of the user." https://wiki.archlinux.org/index.php/Br … 2Fbrcmfmac
It also recommends to blacklist other drivers, here is my blaclisted modules:

/etc/modprobe.d/modprobe.conf

#
# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
#
blacklist bcma
blacklist b43
blacklist b43legacy
blacklist brcm80211
blacklist ssb

I'm using Gnome 3.2.1 with NetworkManager 0.9.1. I see the button to enable the wireless interface, but when I press it nothing happens.
uname -a

 Linux Arch 3.0-ARCH #1 SMP PREEMPT Wed Oct 19 10:27:51 CEST 2011 x86_64 Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz GenuineIntel GNU/Linux 

lspci -vnn | grep 14e4

 02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01) 

iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off	

lsmod

Module                  Size  Used by
ipv6                  290983  30 
rfcomm                 34909  0 
bnep                    9245  2 
uvcvideo               64963  0 
videodev               78006  1 uvcvideo
media                  10437  2 uvcvideo,videodev
v4l2_compat_ioctl32     8292  1 videodev
btusb                  11577  0 
bluetooth             139297  11 rfcomm,bnep,btusb
lib80211                4158  0 
snd_hda_codec_hdmi     22092  1 
arc4                    1410  2 
snd_hda_codec_realtek   294320  1 
joydev                  9895  0 
brcmsmac              594688  0 
brcmutil                6563  1 brcmsmac
snd_hda_intel          22122  4 
snd_hda_codec          77927  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               6325  1 snd_hda_codec
snd_pcm                73952  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              19416  1 snd_pcm
snd                    57818  14 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
e1000e                142545  0 
mei                    31313  0 
soundcore               6146  1 snd
mac80211              215908  1 brcmsmac
psmouse                55192  0 
serio_raw               4294  0 
snd_page_alloc          7121  2 snd_hda_intel,snd_pcm
pcspkr                  1819  0 
i915                  707339  8 
fuse                   67290  2 
drm_kms_helper         25409  1 i915
drm                   183380  4 i915,drm_kms_helper
cpufreq_ondemand        6132  4 
cfg80211              160772  2 brcmsmac,mac80211
crc_ccitt               1331  1 brcmsmac
sdhci_pci               8530  0 
sdhci                  22194  1 sdhci_pci
mmc_core               73682  1 sdhci
intel_agp              10904  1 i915
iTCO_wdt               12717  0 
i2c_algo_bit            5199  1 i915
intel_gtt              14423  3 i915,intel_agp
i2c_core               20133  5 videodev,i915,drm_kms_helper,drm,i2c_algo_bit
iTCO_vendor_support     1929  1 iTCO_wdt
intel_ips              11213  0 
evdev                   9530  9 
video                  11228  1 i915
thermal                 7863  0 
toshiba_bluetooth       2066  0 
button                  4470  1 i915
ac                      2376  0 
battery                 6317  0 
toshiba_acpi            9164  0 
sparse_keymap           3088  1 toshiba_acpi
rfkill                 15402  4 bluetooth,cfg80211,toshiba_acpi
acpi_cpufreq            5877  1 
freq_table              2451  2 cpufreq_ondemand,acpi_cpufreq
processor              24256  1 acpi_cpufreq
mperf                   1275  1 acpi_cpufreq
ext4                  370462  1 
mbcache                 5817  1 ext4
jbd2                   71074  1 ext4
crc16                   1297  2 bluetooth,ext4
usbhid                 35256  0 
sr_mod                 14951  0 
hid                    81635  1 usbhid
cdrom                  36329  1 sr_mod
sd_mod                 28307  3 
ahci                   21217  2 
libahci                18885  1 ahci
libata                173297  2 ahci,libahci
scsi_mod              131546  3 sr_mod,sd_mod,libata
ehci_hcd               39543  0 
usbcore               142576  5 uvcvideo,btusb,usbhid,ehci_hcd

/etc/rc.conf

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
#   LANG in /etc/locale.conf takes precedence
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
#   Note: Using "localtime" is discouraged, using "" makes hwclock fall back
#   to the value in /var/lib/hwclock/adjfile
# TIMEZONE: timezones are found in /usr/share/zoneinfo
#   Note: if unset, the value in /etc/localtime is used unchanged
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#

LOCALE="ca_ES.UTF8"
DAEMON_LOCALE="yes"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Madrid"
KEYMAP="es"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
#   Replace every !module by an entry as on the following line in a file in
#   /etc/modprobe.d:
#     blacklist module
#   See "man modprobe.conf" for details.
#
MODULES=(acpi-cpufreq toshiba_acpi cpufreq_ondemand fuse !snd_pcm_oss)

# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30

# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"

# Scan for BTRFS volumes at startup
USEBTRFS="no"

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="Arch"

# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
#   - interface: name of device (required)
#   - address: IP address (leave blank for DHCP)
#   - netmask: subnet mask (ignored for DHCP)
#   - gateway: default route (ignored for DHCP)
# 
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=

interface=(!eth0 !wlan0)
address=
netmask=
gateway=

# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"

# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This requires the netcfg package
#
#NETWORKS=(main)


# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
#hal
DAEMONS=(@syslog-ng dbus !network !smbnetfs crond @gdm @networkmanager @bluetooth @alsa @cpufreq @cups @vboxdrv)


I also noticed in the boot sequence that sometimes fails ([fail]) when is loading the modules but in lsmod the module brcmsmac is loaded.
If someone tell me in which file is saved this information I could give more detailed info.

I have tried the lw driver from AUR but it neither worked, also tried to install the b43 but here says that the support for my wireless card is in WIP http://linuxwireless.org/en/users/Drivers/b43


This BCM4313 was supported and worked time ago. What have changed now? What I have missed?
Someone have the same BCM4313 card and it is working? How?


Thanks!
PS: Sorry for my bad english!

Last edited by Segura (2011-11-01 14:49:39)

Offline

#2 2011-10-31 18:50:28

Diaz
Member
From: Portugal
Registered: 2008-04-16
Posts: 366

Re: [SOLVED](?) BCM4313 and brcmsmac driver

Mine is working fine and i have nothing blacklisted.

/etc/modprobe.d/modprobe.conf

└─[>>] cat /etc/modprobe.d/modprobe.conf
#
# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
#

uname -a

└─[>>] uname -a
Linux diazportatil 3.0-ARCH #1 SMP PREEMPT Wed Oct 19 10:27:51 CEST 2011 x86_64 AMD E-450 APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux

iwconfig

└─[>>] iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"<deleted>"  
          Mode:Managed  Frequency:2.427 GHz  Access Point: <deleted>   
          Bit Rate=18 Mb/s   Tx-Power=19 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=43/70  Signal level=-67 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:248  Invalid misc:3836   Missed beacon:0

lspci -vnn | grep 14e4

└─[>>] lspci -vnn | grep 14e4
01:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)

lsmod

└─[>>] lsmod
Module                  Size  Used by
ipv6                  290983  10 
fuse                   67290  2 
uvcvideo               64963  0 
videodev               78006  1 uvcvideo
media                  10437  2 uvcvideo,videodev
v4l2_compat_ioctl32     8292  1 videodev
joydev                  9895  0 
snd_hda_codec_realtek   294320  1 
snd_hda_codec_hdmi     22092  1 
snd_hda_intel          22122  6 
snd_hda_codec          77927  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               6325  1 snd_hda_codec
snd_pcm                73952  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              19416  1 snd_pcm
snd                    57818  18 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
i2c_piix4               8224  0 
bcma                   13762  0 
ohci_hcd               21714  0 
arc4                    1410  2 
soundcore               6146  1 snd
ehci_hcd               39543  0 
sp5100_tco              4568  0 
xhci_hcd               70783  0 
snd_page_alloc          7121  2 snd_hda_intel,snd_pcm
brcmsmac              594688  0 
serio_raw               4294  0 
usbcore               142576  5 uvcvideo,ohci_hcd,ehci_hcd,xhci_hcd
atl1c                  32528  0 
pcspkr                  1819  0 
eeepc_wmi               2247  0 
asus_wmi               13644  1 eeepc_wmi
k10temp                 2883  0 
sparse_keymap           3088  1 asus_wmi
pci_hotplug            25672  1 asus_wmi
evdev                   9530  9 
brcmutil                6563  1 brcmsmac
mac80211              215908  1 brcmsmac
cfg80211              160772  2 brcmsmac,mac80211
rfkill                 15402  2 asus_wmi,cfg80211
crc_ccitt               1331  1 brcmsmac
psmouse                55192  0 
wmi                     8347  1 asus_wmi
processor              24256  2 
video                  11228  0 
battery                 6317  0 
ac                      2376  0 
button                  4470  0 
ext4                  370462  2 
mbcache                 5817  1 ext4
jbd2                   71074  1 ext4
crc16                   1297  1 ext4
sd_mod                 28307  4 
ahci                   21217  3 
libahci                18885  1 ahci
libata                173297  2 ahci,libahci
scsi_mod              131546  2 sd_mod,libata
radeon                992259  2 
ttm                    54360  1 radeon
drm_kms_helper         25409  1 radeon
drm                   183380  4 radeon,ttm,drm_kms_helper
i2c_algo_bit            5199  1 radeon
i2c_core               20133  6 videodev,i2c_piix4,radeon,drm_kms_helper,drm,i2c_algo_bit

/etc/rc.conf

└─[>>] cat /etc/rc.conf 
#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
#   LANG in /etc/locale.conf takes precedence
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
#   Note: Using "localtime" is discouraged, using "" makes hwclock fall back
#   to the value in /var/lib/hwclock/adjfile
# TIMEZONE: timezones are found in /usr/share/zoneinfo
#   Note: if unset, the value in /etc/localtime is used unchanged
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Lisbon"
KEYMAP="pt-latin9"
CONSOLEFONT="lat9v-16"
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
#   Replace every !module by an entry as on the following line in a file in
#   /etc/modprobe.d:
#     blacklist module
#   See "man modprobe.conf" for details.
#
MODULES=()

# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30

# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"

# Scan for BTRFS volumes at startup
USEBTRFS="no"

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="diazportatil"

# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
#   - interface: name of device (required)
#   - address: IP address (leave blank for DHCP)
#   - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
#   - broadcast: broadcast address (ignored for DHCP) (optional)
#   - gateway: default route (ignored for DHCP)
# 
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# broadcast=192.168.0.255
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=

interface=
address=
netmask=
broadcast=
gateway=

# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"

# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
# If you are sure nothing else touches your hardware clock (such as ntpd or
# a dual-boot), you might want to enable 'hwclock'. Note that this will only
# make a difference if the hwclock program has been calibrated correctly.
#
# If you use a network filesystem you should enable 'netfs'.
#
DAEMONS=(syslog-ng crond dbus networkmanager)

using networkmanager on xfce.

Offline

#3 2011-11-01 14:39:03

silvik
Member
From: Bucharest/Romania
Registered: 2006-11-08
Posts: 110

Re: [SOLVED](?) BCM4313 and brcmsmac driver

02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)

works fine with cat /etc/modprobe.d/blacklist.conf:

blacklist bcma
install bcma /bin/false

blacklist acer_wmi
install acer_wmi /bin/false

Offline

#4 2011-11-01 14:49:01

Segura
Member
Registered: 2011-03-05
Posts: 12

Re: [SOLVED](?) BCM4313 and brcmsmac driver

Well apparently it works fine now, I don't know what could be the problem.
I have checked the modules mounted and now I have 3 more:

cryptd                  8213  0
aes_x86_64              7476  0
aes_generic            26106  1 aes_x86_64

I don't think it's part of the problem, but anyway..

Thank you anyway!

Offline

Board footer

Powered by FluxBB