Modify

Opened 6 years ago

Closed 5 years ago

Last modified 2 years ago

#10887 closed defect (fixed)

not working BCM43222 [14e4:a8d6]

Reported by: bsmail_f1@… Owned by: jogo
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: 43222 a8d6 Cc:

Description

This is radio not detecting wl, mac80211, b43

See ticket: #10877

How to get working this radio?

Attachments (2)

bcma-detect-more-chips.patch (541 bytes) - added by hauke 6 years ago.
ssb-detect-more-chips.patch (511 bytes) - added by hauke 6 years ago.

Download all attachments as: .zip

Change History (25)

comment:1 Changed 6 years ago by a_pol@…

it's really not working on my dlink dsl-2760u, not detected as Ticket #10877

Changed 6 years ago by hauke

comment:2 Changed 6 years ago by hauke

Could you please try the attached kernel patch.
Place it to target/linux/brcm63xx/patches-3.X

It just makes bcma detected your device, then try out if b43 or brcmsmac are working and report back and if one of them is not working provide a error message.

comment:3 Changed 6 years ago by hauke

  • Owner changed from developers to hauke
  • Status changed from new to accepted

comment:4 Changed 6 years ago by bsmail_f1@…

[   15.880000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.888000] bcma: PCI card detected, report problems.
[   15.892000] bcma: Failed to scan: -88
[   15.900000] bcma-pci-bridge: probe of 0000:00:01.0 failed with error -1

comment:5 Changed 6 years ago by hauke

  • Owner changed from hauke to jogo
  • Status changed from accepted to assigned

This seams to be a device using ssb.

Changed 6 years ago by hauke

comment:6 Changed 6 years ago by hauke

As it now looks more like a ssb based chip could you please try patch ssb-detect-more-chips.patch instead and report back.

comment:7 Changed 6 years ago by anonymous

Detect 43222 but not working

[    0.088000] pci 0000:00:01.0: [14e4:a8d6] type 0 class 0x000280
[    0.088000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x00003fff]
[    0.100000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30003fff]
[    0.104000] pci 0000:00:01.0: BAR 0: set to [mem 0x30000000-0x30003fff] (PCI address [0x30000000-0x30003fff])
[    0.108000] Switching to clocksource MIPS
[    0.116000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    0.124000] PCI: Setting latency timer of device 0000:00:01.0 to 64
[    0.148000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x1E, vendor 0x4243)
[    0.148000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x10, vendor 0x4243)
[    0.148000] ssb: Core 2 found: PCI (cc 0x804, rev 0x0E, vendor 0x4243)
[    0.168000] ssb: ERROR: PLL init unknown for device A8D6
[    0.172000] ssb: ERROR: PMU resource config unknown for device A8D6
[    0.216000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
[   36.400000] Compat-wireless backport release: compat-wireless-2011-11-29
[   36.408000] Backport based on wireless-testing.git master-2011-12-01
[   36.640000] cfg80211: Calling CRDA to update world regulatory domain
[   37.412000] cfg80211: World regulatory domain updated:
[   37.416000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   37.424000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   37.432000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   37.444000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   37.452000] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   37.460000] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   39.032000] b43-phy0: Broadcom 43222 WLAN found (core revision 16)
[   39.108000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   39.108000] Registered led device: b43-phy0::tx
[   39.108000] Registered led device: b43-phy0::rx
[   39.112000] Registered led device: b43-phy0::radio
[   39.112000] Broadcom 43xx driver loaded [ Features: PNL ]

comment:8 follow-up: Changed 6 years ago by hauke

There is nothing bad in the logs, the errors in the ssb log do not cause any problems.

Could you build trunk with CONFIG_PACKAGE_B43_PHY_N=y and CONFIG_PACKAGE_B43_DEBUG=y being activated and post the log output of b43 when loading and when starting wifi. Am I right this device has one wifi card just working in 2.4 GHz mode?

comment:9 Changed 6 years ago by bsmail_f1@…

Sorry, i can't find how to activate these variables.
This device can working in two modes: 2.4 GHz and 5 GHz.

comment:10 in reply to: ↑ 8 Changed 6 years ago by a_pol@…

i have only 11g mode on my dlink dsl-2760u with this patches (bcm43222 in ssb mode).

[   12.804000] b43-phy0: Broadcom 43222 WLAN found (core revision 16)
[   12.856000] b43-phy0 debug: Found PHY: Analog 8, Type 4, Revision 6
[   12.856000] b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2056, Revision 6
[   12.880000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   12.884000] Registered led device: b43-phy0::tx
[   12.884000] Registered led device: b43-phy0::rx
[   12.884000] Registered led device: b43-phy0::radio
[   12.884000] Broadcom 43xx driver loaded [ Features: PNL ]
[   12.916000] Button Hotplug driver version 0.4.1
[   13.112000] PPP generic driver version 2.4.2
[   13.336000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.544000] NET: Registered protocol family 24
[   13.604000] nf_conntrack version 0.5.0 (464 buckets, 1856 max)
[   17.452000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   17.520000] b43-phy0 debug: Chip initialized
[   17.524000] b43-phy0 debug: 64-bit DMA initialized
[   17.524000] b43-phy0 debug: QoS enabled
[   17.548000] b43-phy0 debug: Wireless interface started
[   17.548000] b43-phy0 debug: Adding Interface type 2
[   17.556000] b43-phy0 debug: Removing Interface type 2
[   17.556000] b43-phy0 debug: Wireless interface stopped
[   17.556000] b43-phy0 debug: DMA-64 rx_ring: Used slots 0/64, Failed frames 0/0 = 0.0%, Average tries 0.00
[   17.556000] b43-phy0 debug: DMA-64 tx_ring_AC_BK: Used slots 0/256, Failed frames 0/0 = 0.0%, Average tries 0.00
[   17.564000] b43-phy0 debug: DMA-64 tx_ring_AC_BE: Used slots 0/256, Failed frames 0/0 = 0.0%, Average tries 0.00
[   17.572000] b43-phy0 debug: DMA-64 tx_ring_AC_VI: Used slots 0/256, Failed frames 0/0 = 0.0%, Average tries 0.00
[   17.580000] b43-phy0 debug: DMA-64 tx_ring_AC_VO: Used slots 0/256, Failed frames 0/0 = 0.0%, Average tries 0.00
[   17.588000] b43-phy0 debug: DMA-64 tx_ring_mcast: Used slots 0/256, Failed frames 0/0 = 0.0%, Average tries 0.00
[   17.804000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   17.872000] b43-phy0 debug: Chip initialized
[   17.876000] b43-phy0 debug: 64-bit DMA initialized
[   17.876000] b43-phy0 debug: QoS enabled
[   17.900000] b43-phy0 debug: Wireless interface started
[   17.908000] device wlan0 entered promiscuous mode
[   17.916000] b43-phy0 debug: Adding Interface type 3
[   18.564000] b43-phy0 debug: Set beacon interval to 100
[   18.564000] b43-phy0 debug: Updated beacon template at 0x68
[   18.564000] b43-phy0 debug: Updated beacon template at 0x468
[   18.564000] b43-phy0 debug: Using hardware based encryption for keyidx: 1, mac: ff:ff:ff:ff:ff:ff
[   19.912000] bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (2)]
[   21.012000] eth1: link forced UP - 100/full - flow control off/off
[   21.336000] device wlan0 left promiscuous mode
[   21.340000] br-lan: port 1(wlan0) entering disabled state
[   21.800000] device eth1 entered promiscuous mode
[   22.292000] device wlan0 entered promiscuous mode
[   25.220000] br-lan: port 2(wlan0) entering forwarding state
[   25.228000] br-lan: port 2(wlan0) entering forwarding state
[   25.232000] br-lan: port 1(eth1) entering forwarding state
[   25.240000] br-lan: port 1(eth1) entering forwarding state
[   40.256000] br-lan: port 2(wlan0) entering forwarding state
[   40.288000] br-lan: port 1(eth1) entering forwarding state

comment:11 follow-ups: Changed 6 years ago by jogo

Replying to a_pol@…:

i have only 11g mode on my dlink dsl-2760u with this patches (bcm43222 in ssb mode).

This is completely normal, b43 only supports the 2.4 Ghz band and doesn't support 11n rates yet.

comment:12 in reply to: ↑ 11 Changed 6 years ago by anonymous

Replying to jogo:

not working on Linux 3.3

root@OpenWrt:/# wifi detect
config wifi-device radio0

option type mac80211
option channel 11
option macaddr ff:ff:ff:ff:ff:ff
option hwmode 11g


# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1


config wifi-iface

option device radio0
option network lan
option mode ap
option ssid OpenWrt
option encryption none

root@OpenWrt:/# wifi
PHY for wifi device radio0 not found
PHY for wifi device radio0 not found

dmesg here

[    0.116000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)              
[    0.120000] b43-pci-bridge 0000:00:01.0: setting latency timer to 64         
[    0.144000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x1E, vendor 0x4243)
[    0.144000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x10, vendor 0x4243
[    0.144000] ssb: Core 2 found: PCI (cc 0x804, rev 0x0E, vendor 0x4243)       
[    0.164000] ssb: ERROR: PLL init unknown for device A8D6                     
[    0.168000] ssb: ERROR: PMU resource config unknown for device A8D6          
[    0.192000] ssb: WARNING: Using fallback SPROM failed (err -2)               
[    0.196000] ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)                  
[    0.204000] ssb: Unsupported SPROM revision 255 detected. Will extract v1    
[    0.232000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0   
[    0.240000] NET: Registered protocol family 2                                
[    0.244000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)   
[    0.252000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.260000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)       
[    0.268000] TCP: Hash tables configured (established 1024 bind 1024)       
[    0.276000] TCP reno registered                                              
[    0.276000] UDP hash table entries: 256 (order: 0, 4096 bytes)             
[    0.284000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
...
[   12.692000] b43-phy0: Broadcom 43222 WLAN found (core revision 16)           
[   12.744000] b43-phy0 debug: Found PHY: Analog 8, Type 4, Revision 6          
[   12.744000] b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2056, Revisio
[   12.768000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'    
[   12.772000] Registered led device: b43-phy0::tx                              
[   12.772000] Registered led device: b43-phy0::rx                              
[   12.772000] Registered led device: b43-phy0::radio                           
[   12.772000] Broadcom 43xx driver loaded [ Features: PNL ]                    
[   12.812000] Button Hotplug driver version 0.4.1                              
[   13.004000] PPP generic driver version 2.4.2                                 
[   13.228000] ip_tables: (C) 2000-2006 Netfilter Core Team                     
[   13.440000] NET: Registered protocol family 24                               
[   13.496000] nf_conntrack version 0.5.0 (462 buckets, 1848 max)               
[   21.820000] eth1: link forced UP - 100/full - flow control off/off   

comment:13 in reply to: ↑ 11 Changed 6 years ago by a_pol@…

Replying to jogo:

after booting Linux 3.3 stop working on kernel 3.0 too :(

comment:14 Changed 6 years ago by hauke

  • Resolution set to fixed
  • Status changed from assigned to closed

The pci id was added in r31695.

The problem with the missing mac address is probably fixed with r31638.

comment:15 Changed 6 years ago by bsmail_f1@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

Detect 43222 but not working

CONFIG_PACKAGE_B43_PHY_N=y and CONFIG_PACKAGE_B43_DEBUG=y

[   36.504000] Compat-wireless backport release: compat-wireless-2011-11-29
[   36.508000] Backport based on wireless-testing.git master-2011-12-01
[   36.744000] cfg80211: Calling CRDA to update world regulatory domain
[   37.516000] cfg80211: World regulatory domain updated:
[   37.520000] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   37.528000] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   37.536000] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   37.544000] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   37.556000] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   37.564000] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   39.164000] b43-phy0: Broadcom 43222 WLAN found (core revision 16)
[   39.216000] b43-phy0 debug: Found PHY: Analog 8, Type 4, Revision 6
[   39.216000] b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2056, Revision 6
[   39.240000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   39.240000] Registered led device: b43-phy0::tx
[   39.244000] Registered led device: b43-phy0::rx
[   39.244000] Registered led device: b43-phy0::radio
[   39.244000] Broadcom 43xx driver loaded [ Features: PNL ]
root@OpenWrt:/# lsmod | grep "b43\|ssb\|wl"
b43                   305744  0
bcma                   16560  1 b43
mac80211              231664  1 b43
cfg80211              137120  2 b43,mac80211
root@OpenWrt:/# iwlist wlan0 power
wlan0     Current mode:on
root@OpenWrt:/# iwconfig wlan0
wlan0     IEEE 802.11bg  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on

Where is the problem?

comment:16 follow-up: Changed 6 years ago by hauke

Do you get any error messages form bcma in the kernel log (dmesg)?

Do you have the same problem as reported here http://www.spinics.net/lists/linux-wireless/msg93482.html ?

comment:17 in reply to: ↑ 16 Changed 6 years ago by jogo

Replying to hauke:

Do you get any error messages form bcma in the kernel log (dmesg)?

BCM43222 is ssb, not bcma, so check for ssb errors.

comment:18 Changed 6 years ago by bsmail_f1@…

root@OpenWrt:/# dmesg |grep ssb
[    0.148000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x1E, vendor 0x4243)
[    0.148000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x10, vendor 0x4243)
[    0.148000] ssb: Core 2 found: PCI (cc 0x804, rev 0x0E, vendor 0x4243)
[    0.168000] ssb: ERROR: PLL init unknown for device A8D6
[    0.172000] ssb: ERROR: PMU resource config unknown for device A8D6
[    0.216000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0

comment:19 follow-up: Changed 5 years ago by anonymous

on b43 it works with BCM43222, but very dirty, unstable (router just reboots itself when wifi is enabled) and only 802.11BG :(

comment:20 in reply to: ↑ 19 Changed 5 years ago by ppvazquezfer@…

Replying to anonymous:

on b43 it works with BCM43222, but very dirty, unstable (router just reboots itself when wifi is enabled) and only 802.11BG :(

Same wifi chip and same problem. The board is a Comtrend VR-3025un.
Found this patch (http://permalink.gmane.org/gmane.linux.kernel.wireless.general/106887) that maybe could make it work better.

comment:21 Changed 5 years ago by hauke

  • Resolution set to fixed
  • Status changed from reopened to closed

The patch linked by ppvazquezfer was applied some time ago.

It is a know problem that only ieee80211g rates are supported.

comment:22 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:23 Changed 2 years ago by anonymous

96328avng - dont work.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.