SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-05-20 16:50:12

WuFu
#! Member
Registered: 2013-05-20
Posts: 96

[HOWTO?] Broadcom BCM4313/4727 on HP (and some other) laptops

Hi! I have an HP Pavilion dm1-4130ss laptop with a BCM94313HMGB. This card contains a WiFi and a Bluetooth chip. I used it on Waldorf when it was in testing with some problems (had to use wl and sometimes the system just crashed). Now I installed Waldorf (stable) clean and did everything to get wl working as I did back in testing, but the system just crashed on boot, nearly every time.
The problem? I don't know exactly why it happens, but it seems that hp_wmi has some problems with wl (or viceversa).
The fix? You can blacklist hp_wmi, but I didn't like that option so I tried some more things. The final fix came as a surprise: Get hp_wmi in your initramfs. Here is everything I did:

sudo apt-get install broadcom-sta-dkms
/etc/modprobe.d/broadcom-sta-dkms.conf
# wl module from Broadcom conflicts with the following modules:
blacklist b44
blacklist b43legacy
blacklist b43
blacklist brcm80211
blacklist brcmsmac
blacklist ssb
blacklist bcma
/etc/initramfs-tools/modules
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax:  module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
hp_wmi
lib80211
lib80211_crypt_tkip

But, wait! You said something about other laptops! Well, that's something I didn't try, but if the same problem happens on some other laptop, try this fix changing hp_wmi for your wmi module (Try using "lsmod | grep -i wmi").

Extra info: I haven't tested this on a long term, so I don't know if I will have the same crashes I had before, but at least it boots and works, so that's a lot already. I also had this problem in Arch Linux, I haven't tried this fix, but I'm positive it would work. Also, the line in dmesg shows the card as a BCM4727, but the line in lspci shows a BCM4313. I don't know if this also happened in Waldorf (testing), but it's nothing to worry about.

Hope this is useful for some people like me, with this weird Bluetooth+WiFi card.

EDIT: The crashes still happen, but not as often as when Wheezy was in testing. Now it only happens after having the computer on for 5-7 days. Suspend and hibernation both work correctly, never having any problem with them.

Last edited by WuFu (2013-07-21 19:48:48)

Offline

Be excellent to each other!

#2 2013-05-20 18:20:14

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: [HOWTO?] Broadcom BCM4313/4727 on HP (and some other) laptops

Thanks for the info.  smile
Mind posting the vendor:product tuple for your card?

lspci -knn | grep -EiA2 net

Thx

Last edited by xaos52 (2013-05-20 18:20:36)

Offline

#3 2013-05-20 18:41:11

WuFu
#! Member
Registered: 2013-05-20
Posts: 96

Re: [HOWTO?] Broadcom BCM4313/4727 on HP (and some other) laptops

Of course! Here you go!

lspci -knn | grep -EiA2 net
03:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
	Subsystem: Hewlett-Packard Company Device [103c:1795]
	Kernel driver in use: wl
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
	Subsystem: Hewlett-Packard Company Device [103c:3387]
	Kernel driver in use: r8169

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo