b43 fails to work with broadcom 43227

Rafał Miłecki zajec5 at gmail.com
Sat Aug 18 04:10:16 EDT 2012


2012/8/18 Jack <x6719620 at gmail.com>:
> 2012/8/18 Rafał Miłecki <zajec5 at gmail.com>:
>> 2012/8/17 Jack <x6719620 at gmail.com>:
>>> Dear developers,
>>>
>>> Hello. I have a Broadcom 43227, with ID 14e4:4358. According to
>>> previous threads, I patched and recompiled the module 'bcma' by adding
>>> PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4358) to host_pci.c. However, it
>>> does not work as well.
>>>
>>> I am using 3.4.9-1-ARCH kernel, and I got the following dmesg after
>>> inserting the module b43. No new interfaces showed up.
>>>
>>> [  386.153119] bcma: Found chip with id 0xA8DB, rev 0x00 and package 0x08
>>> [  386.153164] bcma: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800,
>>> rev 0x25, class 0x0)
>>> [  386.153201] bcma: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812,
>>> rev 0x1E, class 0x0)
>>> [  386.153278] bcma: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev
>>> 0x12, class 0x0)
>>>
>>> [  386.153313] bcma: Core 3 found: SDIO Device (manuf 0x4BF, id 0x829,
>>> rev 0x07, class 0x0)
>>> [  386.153484] bcma: PLL init unknown for device 0xA8DB
>>> [  386.192637] bcma: PMU resource config unknown for device 0xA8DB
>>> [  386.204612] bcma: PMU switch/regulators init unknown for device 0xA8DB
>>> [  386.216631] bcma: Workarounds unknown for device 0xA8DB
>>> [  386.253679] bcma: Using fallback SPROM failed (err -2)
>>> [  386.253686] bcma: No SPROM available
>>> [  386.293112] bcma: Bus registered
>>> [  428.245922] Broadcom 43xx driver loaded [ Features: PMNLS ]
>>>
>>> I have no ideas about what is going wrong, whether the SPROM or the
>>> b43 driver. I would like to test new patches and give feedback as far
>>> as possible.
>>
>> You won't get BCM43227 support in b43 yet, it's not finished yet. But
>> you should try to fix that SPROM error. Please test patch I've just
>> submitted (and Cc-ed you):
>> [RFT][PATCH] bcma: BCM43227 support
>>
> There're no more complains about the SPROM after applying your patch.
> BCMA is supposed to work properly.
> I'm looking forward to the support of 43227 in b43. I would like to
> test a development version if possible.

OK, thanks. If you wish you can edit net/wireless/b43/main.c and find:
BCMA_CORE(BCMA_MANUF_BCM, BCMA_CORE_80211, 0x1D, BCMA_ANY_CLASS),

Then add
BCMA_CORE(BCMA_MANUF_BCM, BCMA_CORE_80211, 0x1E, BCMA_ANY_CLASS),
below the line you found.

This will make b43 try support your card but it will fail after
detecting unsupported PHY/RADIO.

-- 
Rafał



More information about the b43-dev mailing list