2010-09-24 17:06:40

by Gábor Stefanik

[permalink] [raw]
Subject: Re: problem with b43

On Fri, Sep 24, 2010 at 6:55 PM, Cyrille <[email protected]> wrote:
> Hi
> I've got a problem with a broadcom 4312 [12e4:4315].
> The environment :
> ===========================
> uname -a
> 2.6.35.5-libre.29.fc14.x86_64
>
> lspci -vnn
> 0b:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
> ? ? ? ?Subsystem: Dell Wireless 1395 WLAN Mini-Card [1028:000b]
> ? ? ? ?Flags: bus master, fast devsel, latency 0, IRQ 17
> ? ? ? ?Memory at fe7fc000 (64-bit, non-prefetchable) [size=16K]
> ? ? ? ?Capabilities: [40] Power Management version 3
> ? ? ? ?Capabilities: [58] Vendor Specific Information: Len=78 <?>
> ? ? ? ?Capabilities: [e8] MSI: Enable- Count=1/1 Maskable- 64bit+
> ? ? ? ?Capabilities: [d0] Express Endpoint, MSI 00
> ? ? ? ?Capabilities: [100] Advanced Error Reporting
> ? ? ? ?Capabilities: [13c] Virtual Channel
> ? ? ? ?Capabilities: [160] Device Serial Number 7f-78-4e-ff-ff-6d-00-23
> ? ? ? ?Capabilities: [16c] Power Budgeting <?>
> ? ? ? ?Kernel driver in use: b43-pci-bridge
> ? ? ? ?Kernel modules: ssb
> ===============================
>
> Installation method ( http://wireless.kernel.org/en/users/Drivers/b43#fw-b43-lp ) :
> You are using the b43 driver from linux-2.6.25 or newer
> export FIRMWARE_INSTALL_DIR="/lib/firmware"
> wget http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
> tar xjf broadcom-wl-4.150.10.5.tar.bz2
> cd broadcom-wl-4.150.10.5/driver
> sudo ../../b43-fwcutter-013/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta_mimo.o

You are using the firmware for G-PHYs. Yo should use v4.174 (also
known as v4.178) for LP-PHY.

>
>
> Seems work : ls /lib/firmware/b43-open/
> a0g0bsinitvals5.fw ? a0g1bsinitvals9.fw ? b0g0bsinitvals9.fw ?lp0bsinitvals15.fw ?n0initvals11.fw ?ucode5.fw
> a0g0bsinitvals9.fw ? a0g1initvals13.fw ? ?b0g0initvals13.fw ? lp0initvals13.fw ? ?pcm5.fw ? ? ? ? ?ucode9.fw
> a0g0initvals5.fw ? ? a0g1initvals5.fw ? ? b0g0initvals5.fw ? ?lp0initvals14.fw ? ?ucode11.fw
> a0g0initvals9.fw ? ? a0g1initvals9.fw ? ? b0g0initvals9.fw ? ?lp0initvals15.fw ? ?ucode13.fw
> a0g1bsinitvals13.fw ?b0g0bsinitvals13.fw ?lp0bsinitvals13.fw ?n0absinitvals11.fw ?ucode14.fw
> a0g1bsinitvals5.fw ? b0g0bsinitvals5.fw ? lp0bsinitvals14.fw ?n0bsinitvals11.fw ? ucode15.fw

Extract to /lib/firmware/b43. /lib/firmware/b43-open is only for OpenFWWF.

>
>
> But :
> dmesg
> b43-phy3 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.
> b43-phy4: Broadcom 4312 WLAN found (core revision 15)
> b43-phy4 debug: Found PHY: Analog 6, Type 5, Revision 1
> b43-phy4 debug: Found Radio: Manuf 0x17F, Version 0x2062, Revision 2
> phy4: Selected rate control algorithm 'minstrel'
> Registered led device: b43-phy4::tx
> Registered led device: b43-phy4::rx
> Registered led device: b43-phy4::radio
> Broadcom 43xx driver loaded [ Features: PMLS, Firmware-ID: FW13 ]
> ssb0:0: Missing Free firmware
> b43-phy4 ERROR: Rejected non-Free firmware
> ssb0:0: Missing Free firmware
> b43-phy4 ERROR: Rejected non-Free firmware

Compile compat-wireless to bypass the "free-only" patch in Fedora.

(John, are you still maintaining the Fedora kernel's wireless part? If
so, please kill this "freedom enforcement"!)

>
>
> So don't work.
> Grrrrrrrrrrrrrrrrrrrr
> I thought nevertheless that with this kernel that was going to work.
> No idea, I thing is due of the model [12e4:4315]. Is there anyone who can say to me if it possible to install and configure this card with a free-kernel.
>
> Thanx !
>
> Cyrille
>
>
>
> ----
> [ [email protected] | http://cbiot.fr ]
>
> "Et le combat cessa faute de combattants."
> --- Le Cid (1636), IV, 3, Rodrigue - - - -
>
> BLAG : http://blagblagblag.org
> Blag'em up! http://zenblagger.org
>
>
>
> _______________________________________________
> b43-dev mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/b43-dev
>



--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)


2010-09-24 17:29:37

by John W. Linville

[permalink] [raw]
Subject: Re: problem with b43

On Fri, Sep 24, 2010 at 07:06:17PM +0200, G?bor Stefanik wrote:
> On Fri, Sep 24, 2010 at 6:55 PM, Cyrille <[email protected]> wrote:
> > Hi
> > I've got a problem with a broadcom 4312 [12e4:4315].
> > The environment :
> > ===========================
> > uname -a
> > 2.6.35.5-libre.29.fc14.x86_64

> > Broadcom 43xx driver loaded [ Features: PMLS, Firmware-ID: FW13 ]
> > ssb0:0: Missing Free firmware
> > b43-phy4 ERROR: Rejected non-Free firmware
> > ssb0:0: Missing Free firmware
> > b43-phy4 ERROR: Rejected non-Free firmware
>
> Compile compat-wireless to bypass the "free-only" patch in Fedora.
>
> (John, are you still maintaining the Fedora kernel's wireless part? If
> so, please kill this "freedom enforcement"!)

This isn't a Fedora kernel. I'm guessing it is from "Free-dora"
by way of BLAG, and I have no control over it -- sorry.

Cyrille, did you try b43-openfwwf? If that doesn't work, then you
will need to use extracted proprietary firmware with some other kernel
(e.g. stock Fedora) or you will have to live without b43.

John
--
John W. Linville Someday the world will need a hero, and you
[email protected] might be all we have. Be ready.

2010-09-24 17:31:17

by Gábor Stefanik

[permalink] [raw]
Subject: Re: problem with b43

2010/9/24 John W. Linville <[email protected]>:
> On Fri, Sep 24, 2010 at 07:06:17PM +0200, G?bor Stefanik wrote:
>> On Fri, Sep 24, 2010 at 6:55 PM, Cyrille <[email protected]> wrote:
>> > Hi
>> > I've got a problem with a broadcom 4312 [12e4:4315].
>> > The environment :
>> > ===========================
>> > uname -a
>> > 2.6.35.5-libre.29.fc14.x86_64
>
>> > Broadcom 43xx driver loaded [ Features: PMLS, Firmware-ID: FW13 ]
>> > ssb0:0: Missing Free firmware
>> > b43-phy4 ERROR: Rejected non-Free firmware
>> > ssb0:0: Missing Free firmware
>> > b43-phy4 ERROR: Rejected non-Free firmware
>>
>> Compile compat-wireless to bypass the "free-only" patch in Fedora.
>>
>> (John, are you still maintaining the Fedora kernel's wireless part? If
>> so, please kill this "freedom enforcement"!)
>
> This isn't a Fedora kernel. ?I'm guessing it is from "Free-dora"
> by way of BLAG, and I have no control over it -- sorry.
>
> Cyrille, did you try b43-openfwwf? ?If that doesn't work, then you
> will need to use extracted proprietary firmware with some other kernel
> (e.g. stock Fedora) or you will have to live without b43.

OpenFWWF definitely won't work with LP-PHYs. We don't even know enough
about LP-PHY to fix the DMA error, let alone to write our own
firmware...

>
> John
> --
> John W. Linville ? ? ? ? ? ? ? ?Someday the world will need a hero, and you
> [email protected] ? ? ? ? ? ? ? ? ?might be all we have. ?Be ready.
>



--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

2010-09-24 17:40:28

by Cyrille

[permalink] [raw]
Subject: Re: problem with b43

> 'm guessing it is from "Free-dora"
> by way of BLAG, and I have no control over it -- sorry.
Yes I'm using a BLAG 119K with a free-dora kernel.
Cyrille

----
[ [email protected] | http://cbiot.fr ]

"Et le combat cessa faute de combattants."
--- Le Cid (1636), IV, 3, Rodrigue - - - -

BLAG : http://blagblagblag.org
Blag'em up! http://zenblagger.org



2010-09-24 17:43:56

by Michael Büsch

[permalink] [raw]
Subject: Re: problem with b43

On Fri, 2010-09-24 at 19:30 +0200, Gábor Stefanik wrote:
> OpenFWWF definitely won't work with LP-PHYs. We don't even know enough
> about LP-PHY to fix the DMA error, let alone to write our own
> firmware...

Well, the firmware is pretty much independent of the PHY that is used
(except for some workarounds and some minor stuff).
The firmware does only depend on the wireless MAC core revision.
What 80211 core rev do LP PHY devices typically have?

--
Greetings Michael.