LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   ubuntu 12.04 / BCM4312: device is present but can't do much (http://www.linuxquestions.org/questions/linux-hardware-18/ubuntu-12-04-bcm4312-device-is-present-but-cant-do-much-4175431012/)

eantoranz 10-07-2012 04:16 PM

ubuntu 12.04 / BCM4312: device is present but can't do much
 
Ok, guys, this is a Dell XPS M1530 where I'm trying to set up the wireless to work. The device is present but can't do much.

Code:

$ sudo iwlist scan
lo        Interface doesn't support scanning.

eth2      Failed to read scan data : Invalid argument

eth0      Interface doesn't support scanning.

Code:

0b:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
        Subsystem: Dell Wireless 1395 WLAN Mini-Card [1028:000b]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at f1efc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=2 PME-
        Capabilities: [58] Vendor Specific Information: Len=78 <?>
        Capabilities: [e8] 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: 00, 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 36-c1-4e-ff-ff-6d-00-23
        Capabilities: [16c v1] Power Budgeting <?>
        Kernel driver in use: wl
        Kernel modules: wl, ssb

lsmod:
Code:

Module                  Size  Used by
joydev                17393  0
rfcomm                38139  0
bnep                  17830  2
bluetooth            158438  10 rfcomm,bnep
parport_pc            32114  0
ppdev                  12849  0
nvidia              10962290  42
dell_wmi              12601  0
sparse_keymap          13658  1 dell_wmi
dell_laptop            17767  0
dcdbas                14098  1 dell_laptop
snd_hda_codec_idt      60251  1
snd_hda_intel          32765  2
snd_hda_codec        109562  2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep              13276  1 snd_hda_codec
snd_pcm                80845  2 snd_hda_intel,snd_hda_codec
psmouse                86421  0
serio_raw              13027  0
lib80211_crypt_tkip    17275  0
snd_seq_midi          13132  0
snd_rawmidi            25424  1 snd_seq_midi
snd_seq_midi_event    14475  1 snd_seq_midi
snd_seq                51567  2 snd_seq_midi,snd_seq_midi_event
uvcvideo              67203  0
snd_timer              28931  2 snd_pcm,snd_seq
videodev              86588  1 uvcvideo
snd_seq_device        14172  3 snd_seq_midi,snd_rawmidi,snd_seq
wl                  2646601  0
r592                  17808  0
mac_hid                13077  0
memstick              15857  1 r592
r852                  17901  0
sm_common              16737  1 r852
nand                  49667  2 r852,sm_common
nand_ids                8547  1 nand
mtd                    35584  2 sm_common,nand
nand_bch              13003  1 nand
bch                    21757  1 nand_bch
nand_ecc              13070  1 nand
snd                    62064  13 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
wmi                    18744  1 dell_wmi
lib80211              14040  2 lib80211_crypt_tkip,wl
soundcore              14635  1 snd
snd_page_alloc        14108  2 snd_hda_intel,snd_pcm
lp                    17455  0
parport                40930  3 parport_pc,ppdev,lp
vesafb                13516  1
firewire_ohci          40172  0
firewire_core          56906  1 firewire_ohci
sdhci_pci              18324  0
sdhci                  28241  1 sdhci_pci
crc_itu_t              12627  1 firewire_core
sky2                  53628  0
video                  19068  0

What can I try?

TobiSGD 10-07-2012 07:38 PM

Do you have the firmware for that Broadcom device installed?

eantoranz 10-07-2012 07:40 PM

Things about firmware have to deal with fwcutter, right? I think the package will take care of that but you have instructions to follow? perhaps doing some tricks can get this done.

TobiSGD 10-07-2012 07:55 PM

You can either use the Additional Driver program or you install the package firmware-b43-lpphy-installer via apt-get. This package will automatically download, strip and install the firmware. Keep in mind that you need a working Internet connection for that package to work, so you have to temporarily use a wired connection.

eantoranz 10-07-2012 08:32 PM

After installing the package:

Code:

[16176.889046] b43-pci-bridge 0000:0b:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[16176.889069] b43-pci-bridge 0000:0b:00.0: setting latency timer to 64
[16176.909259] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x16, vendor 0x4243)
[16176.909278] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x0F, vendor 0x4243)
[16176.909296] ssb: Core 2 found: PCMCIA (cc 0x80D, rev 0x0A, vendor 0x4243)
[16176.909313] ssb: Core 3 found: PCI-E (cc 0x820, rev 0x09, vendor 0x4243)
[16176.972256] ssb: Sonics Silicon Backplane found on PCI device 0000:0b:00.0
[16177.021074] cfg80211: Calling CRDA to update world regulatory domain
[16177.102291] cfg80211: World regulatory domain updated:
[16177.102296] cfg80211:    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[16177.102299] cfg80211:    (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.102302] cfg80211:    (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[16177.102305] cfg80211:    (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[16177.102308] cfg80211:    (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.102311] cfg80211:    (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.169991] b43-phy0: Broadcom 4312 WLAN found (core revision 15)
[16177.236560] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule:
[16177.236569] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.236575] cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width channel with regulatory rule:
[16177.236581] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.236587] cfg80211: Updating information on frequency 2422 MHz for a 20 MHz width channel with regulatory rule:
[16177.236593] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.236599] cfg80211: Updating information on frequency 2427 MHz for a 20 MHz width channel with regulatory rule:
[16177.236605] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.236610] cfg80211: Updating information on frequency 2432 MHz for a 20 MHz width channel with regulatory rule:
[16177.236617] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.236622] cfg80211: Updating information on frequency 2437 MHz for a 20 MHz width channel with regulatory rule:
[16177.236628] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.236634] cfg80211: Updating information on frequency 2442 MHz for a 20 MHz width channel with regulatory rule:
[16177.236640] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.236645] cfg80211: Updating information on frequency 2447 MHz for a 20 MHz width channel with regulatory rule:
[16177.236651] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.236657] cfg80211: Updating information on frequency 2452 MHz for a 20 MHz width channel with regulatory rule:
[16177.236663] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.236668] cfg80211: Updating information on frequency 2457 MHz for a 20 MHz width channel with regulatory rule:
[16177.236675] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.236680] cfg80211: Updating information on frequency 2462 MHz for a 20 MHz width channel with regulatory rule:
[16177.236686] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[16177.236692] cfg80211: Updating information on frequency 2467 MHz for a 20 MHz width channel with regulatory rule:
[16177.236698] cfg80211: 2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[16177.236703] cfg80211: Updating information on frequency 2472 MHz for a 20 MHz width channel with regulatory rule:
[16177.236710] cfg80211: 2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[16177.236715] cfg80211: Updating information on frequency 2484 MHz for a 20 MHz width channel with regulatory rule:
[16177.236722] cfg80211: 2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[16177.300339] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[16177.301068] Registered led device: b43-phy0::tx
[16177.301094] Registered led device: b43-phy0::rx
[16177.301117] Registered led device: b43-phy0::radio
[16177.301134] Broadcom 43xx driver loaded [ Features: PNL ]
[16177.317772] ADDRCONF(NETDEV_UP): wlan0: link is not ready

I tried getting the interface up with ip link, the led where I see if the wireless is up lit up for a fraction of a second then turned off and the interface is still down.

This is from dmesg

Code:

[16622.352289] b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
[16622.657273] b43-phy0: Radio hardware status changed to DISABLED
[16622.657929] ADDRCONF(NETDEV_UP): wlan0: link is not ready

And this is from iwlist afterwards:

Code:

$ sudo iwlist scan
lo        Interface doesn't support scanning.

wlan0    Interface doesn't support scanning : Network is down

eth0      Interface doesn't support scanning.


TobiSGD 10-07-2012 10:19 PM

Do you have a hardware switch for WLAN on that device?
What is the output of
Code:

rfkill list

eantoranz 10-07-2012 10:22 PM

About question 1: I don't think there's any switch involved here.... but can you throw a command to make sure of it?

About question 2:

Code:

$ sudo rfkill list
[sudo] password for antoranz:
1: dell-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: yes
3: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes
antoranz@pingui:~/Downloads/wireless$ sudo rfkill unblock 1
}antoranz@pingui:~/Downloads/wireless$ sudo rfkill unblock 3
antoranz@pingui:~/Downloads/wireless$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:21:9b:ee:ab:fe brd ff:ff:ff:ff:ff:ff
7: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 00:23:4e:6d:36:c1 brd ff:ff:ff:ff:ff:ff
antoranz@pingui:~/Downloads/wireless$ sudo iwlist scan
lo        Interface doesn't support scanning.

wlan0    Interface doesn't support scanning : Network is down

eth0      Interface doesn't support scanning.


eantoranz 10-09-2012 12:17 AM

The problem was the interface's switch on the side of the laptop. Damn.

Thanks for your interest.


All times are GMT -5. The time now is 01:31 AM.