Broadcom BCM4313 don't use the good drivers

Proxecto:Trisquel
Componente:Kernel/drivers
Categoría:informe de erro
Prioridade:normal
Asignado:Sen asignar
Estado:wrong
Descrición

Hello Everyone,

(Little not-so-important history):
I am new to Trisquel and to Only Free Software Distributions (I stopped using Windows in the beginning of this year after 7 years of fighting, and I am now using Arch Linux and Trisquel).

(Real Problem):
I have an Asus 1215N, and everything is recognize and working (beside the nVidia Optimus but that is another problem) except for the Wireless. I know that opensource drivers are available since I use them on my Arch Linux installation, but on trisquel they are not used by default and I have some problems on making it work.

This is the log from "sudo lspci -vv":

03:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
Subsystem: AzureWave Device 2047
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [d0] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us
ClockPM+ Surprise- LLActRep+ BwNot-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt-
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 14, GenCap+ CGenEn- ChkCap+ ChkEn-
Capabilities: [13c v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01
Status: NegoPending- InProgress-
Capabilities: [160 v1] Device Serial Number 00-00-60-ff-ff-6d-48-5d
Capabilities: [16c v1] Power Budgeting <?>
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma, brcmsmac

Thanks in Advance for all your help,
And continue the good job :D

Sáb, 09/15/2012 - 02:25
Estado:active» needs more info

I am showing that card is marked as not working on h-node (database of what hardware works with free software). You noted that on arch it works with an open-source (free?) driver. Could you provide us with some more info about what software is being used on arch?

Lun, 09/17/2012 - 00:52

Thanks for the reply. This is the log of the Trisquel Kernel :


Sep 17 00:27:36 BodyAsus kernel: [ 16.139191] brcmsmac: module is from the staging directory, the quality is unknown, you have been warned.
Sep 17 00:27:36 BodyAsus kernel: [ 16.153063] brcmsmac 0000:03:00.0: bus 3 slot 0 func 0 irq 15
Sep 17 00:27:36 BodyAsus kernel: [ 16.153119] brcmsmac 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Sep 17 00:27:36 BodyAsus kernel: [ 16.153132] brcmsmac 0000:03:00.0: setting latency timer to 64
Sep 17 00:27:36 BodyAsus kernel: [ 16.153202] 0000:03:00.0: Missing Free firmware
Sep 17 00:27:36 BodyAsus kernel: [ 16.183371] ieee80211 phy0: brcmsmac: fail to load firmware /*(DEBLOBBED)*/
Sep 17 00:27:36 BodyAsus kernel: [ 16.183382] ieee80211 phy0: brcmsmac: Failed to find firmware usually in /lib/firmware/brcm
Sep 17 00:27:36 BodyAsus kernel: [ 16.183431] brcmsmac 0000:03:00.0: PCI INT A disabled
Sep 17 00:27:36 BodyAsus kernel: [ 16.183468] brcmsmac: wl_pci_probe: wl_attach failed!
Sep 17 00:27:36 BodyAsus kernel: [ 16.214000] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro
Sep 17 00:27:36 BodyAsus kernel: [ 16.222870] bcma-pci-bridge 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Sep 17 00:27:36 BodyAsus kernel: [ 16.222898] bcma-pci-bridge 0000:03:00.0: setting latency timer to 64
Sep 17 00:27:36 BodyAsus kernel: [ 16.222997] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x24, class 0x0)
Sep 17 00:27:36 BodyAsus kernel: [ 16.223025] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x18, class 0x0)
Sep 17 00:27:36 BodyAsus kernel: [ 16.223078] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x11, class 0x0)
Sep 17 00:27:36 BodyAsus kernel: [ 16.252150] bcma: Bus registered

And this is lspci -vv from Arch Linux


03:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
Subsystem: AzureWave Device 2047
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [d0] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us
ClockPM+ Surprise- LLActRep+ BwNot-
LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt-
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 14, GenCap+ CGenEn- ChkCap+ ChkEn-
Capabilities: [13c v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01
Status: NegoPending- InProgress-
Capabilities: [160 v1] Device Serial Number 00-00-60-ff-ff-6d-48-5d
Capabilities: [16c v1] Power Budgeting <?>
Kernel driver in use: bcma-pci-bridge

I have exactly the same problem with my Intel Wifi PRO 5100AGN, but I don't understand it because they say that a file is missing (the firmware in most cases), but the firmware is on the /lib/firmware folder, and I'm almost 100% sure that the problem of this broadcom is the same as my Intel Pro. (Maybe I just need to find a new wireless card).

Lun, 09/17/2012 - 20:08

No need to search any further.. like my Intel Wireless PRO 5100AGN there is no Free Firmware. They are provided by the kernel and by the linux-firmware package, but since the linux-firmware package is not Free then there is no way to make my 2 Wireless cards work...

But my MSI WIND U100 has a Realtek RTL8187SE that works with Free Software, and so I installed it on my laptop :D

It is good but not as good as the Intel Wireless Pro 5100AGN, so I really need to find one as good as the Intel but with Free Drivers working out of the box if possible (but this is another problem).

Maybe someone should close this issue since there is no way to solve the problem other than forcing intel/broadcom to make the firmware free :S...

Thanks for all you help anywant !

Mar, 09/18/2012 - 05:36
Estado:needs more info» wrong

Marking as "wrong"