[haiku-bugs] Re: [Haiku] #6474: wifi seems not to work with a BCM4312 : Vendor: 0x14e4, device:0x4312

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 17 Jan 2019 21:51:38 -0000

#6474: wifi seems not to work with a BCM4312 : Vendor: 0x14e4, device:0x4312
--------------------------------------------+------------------------------
   Reporter:  filscauj                      |      Owner:  nobody
       Type:  bug                           |     Status:  new
   Priority:  normal                        |  Milestone:  R1
  Component:  Drivers/Network/broadcom43xx  |    Version:  R1/alpha2
 Resolution:                                |   Keywords:  bcm43xx
 Blocked By:                                |   Blocking:  9349, 11074,
                                            |  11736
Has a Patch:  0                             |   Platform:  x86
--------------------------------------------+------------------------------
Description changed by diver:

Old description:

Hello,

I just finished to install HAIKU on may laptop (hp dv9000). Then I read
the "welcome" text with WebPositive and follow the procedure for BCM43xx
:

with my wired link in a terminal session I just enter the :

-> install-wifi-firmware.sh.

then the script downloads some firmware (I can' show you this because i
made it before the issue), and at the end, the script seems finish
without errors.

what I can see is the driver bcm43xx seems to see a 0x4311 device in
place of 0x4312 ...In fact I don't know i the script is running well or
not because at the first boot this is already the case (0x4311) ...

So how can I check the script is perfectly running ?

I just show you a shot cut of my syslog file concernig BCM43xx:

first the PCI scanning is detecing well the card :

KERN: PCI: [dom 0, bus  3] bus   3, device  0, function  0: vendor 14e4,
device 4312, revision 02
KERN: PCI:   class_base 02, class_function 80, class_api 00
KERN: PCI:   vendor 14e4: Broadcom Corporation
KERN: PCI:   device 4312: BCM4312 802.11a/b/g (Broadcom 802.11a/b/g WLAN)
KERN: PCI:   info: Network controller
KERN: PCI:   line_size 10, latency 00, header_type 00, BIST 00
KERN: PCI:   ROM base host 00000000, pci 00000000, size 00000000
KERN: PCI:   cardbus_CIS 00000000, subsystem_id 1371, subsystem_vendor_id
103c
KERN: PCI:   interrupt_line 0b, interrupt_pin 01, min_grant 00,
max_latency 00
KERN: PCI:   base reg 0: host b0200000, pci b0200000, size 00004000,
flags 04
KERN: PCI:   base reg 1: host 00000000, pci 00000000, size 00000010,
flags 0f
KERN: PCI:   base reg 2: host 00000000, pci 00000000, size 00000000,
flags 00
KERN: PCI:   base reg 3: host 00000000, pci 00000000, size 00000000,
flags 00
KERN: PCI:   base reg 4: host 00000000, pci 00000000, size 00000000,
flags 00
KERN: PCI:   base reg 5: host 00000000, pci 00000000, size 00000000,
flags 00
KERN: PCI:   Capabilities: PM, vendspec, MSI, PCIe


the the driver is loaded but it seems to have some issue with the MAC rev
13 :

KERN: broadcom43xx: init_driver(0x81ec6228)
KERN: [broadcom43xx] (bwi) bus_alloc_resource(3, [16], 0x0, 0xffffffff,
0x1,0x2)
KERN: add_memory_type_range(1788, 0xb0200000, 0x20000, 0)
KERN: set MTRRs to:
KERN:   mtrr:  0: base: 0x7ff60000, size:    0x20000, type: 0
KERN:   mtrr:  1: base: 0xb0000000, size:  0x2000000, type: 0
KERN:   mtrr:  2: base: 0xc0000000, size: 0x40000000, type: 0
KERN:   mtrr:  3: base: 0x80000000, size: 0x80000000, type: 1
KERN: [broadcom43xx] (bwi) bus_alloc_resource(1, [0], 0x0, 0xffffffff,
0x1,0x6)
KERN: [broadcom43xx] (bwi) BBP: id 0x4311, rev 0x2, pkg 0
KERN: [broadcom43xx] (bwi) MAC rev 13 is not supported
KERN: [broadcom43xx] (bwi) no MAC was found
KERN: remove_memory_type_range(1788, 0xb0200000, 0x20000, 0)


Thanks a lot for your replies

New description:

 Hello,

 I just finished to install HAIKU on may laptop (hp dv9000). Then I read
 the "welcome" text with WebPositive and follow the procedure for BCM43xx :

 with my wired link in a terminal session I just enter the :

 -> install-wifi-firmware.sh.

 then the script downloads some firmware (I can' show you this because i
 made it before the issue), and at the end, the script seems finish without
 errors.

 what I can see is the driver bcm43xx seems to see a 0x4311 device in place
 of 0x4312 ...In fact I don't know i the script is running well or not
 because at the first boot this is already the case (0x4311) ...

 So how can I check the script is perfectly running ?

 I just show you a shot cut of my syslog file concernig BCM43xx:

 first the PCI scanning is detecing well the card :
 {{{
 KERN: PCI: [dom 0, bus  3] bus   3, device  0, function  0: vendor 14e4,
 device 4312, revision 02
 KERN: PCI:   class_base 02, class_function 80, class_api 00
 KERN: PCI:   vendor 14e4: Broadcom Corporation
 KERN: PCI:   device 4312: BCM4312 802.11a/b/g (Broadcom 802.11a/b/g WLAN)
 KERN: PCI:   info: Network controller
 KERN: PCI:   line_size 10, latency 00, header_type 00, BIST 00
 KERN: PCI:   ROM base host 00000000, pci 00000000, size 00000000
 KERN: PCI:   cardbus_CIS 00000000, subsystem_id 1371, subsystem_vendor_id
 103c
 KERN: PCI:   interrupt_line 0b, interrupt_pin 01, min_grant 00,
 max_latency 00
 KERN: PCI:   base reg 0: host b0200000, pci b0200000, size 00004000, flags
 04
 KERN: PCI:   base reg 1: host 00000000, pci 00000000, size 00000010, flags
 0f
 KERN: PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags
 00
 KERN: PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags
 00
 KERN: PCI:   base reg 4: host 00000000, pci 00000000, size 00000000, flags
 00
 KERN: PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags
 00
 KERN: PCI:   Capabilities: PM, vendspec, MSI, PCIe
 }}}

 the the driver is loaded but it seems to have some issue with the MAC rev
 13 :

 {{{
 KERN: broadcom43xx: init_driver(0x81ec6228)
 KERN: [broadcom43xx] (bwi) bus_alloc_resource(3, [16], 0x0, 0xffffffff,
 0x1,0x2)
 KERN: add_memory_type_range(1788, 0xb0200000, 0x20000, 0)
 KERN: set MTRRs to:
 KERN:   mtrr:  0: base: 0x7ff60000, size:    0x20000, type: 0
 KERN:   mtrr:  1: base: 0xb0000000, size:  0x2000000, type: 0
 KERN:   mtrr:  2: base: 0xc0000000, size: 0x40000000, type: 0
 KERN:   mtrr:  3: base: 0x80000000, size: 0x80000000, type: 1
 KERN: [broadcom43xx] (bwi) bus_alloc_resource(1, [0], 0x0, 0xffffffff,
 0x1,0x6)
 KERN: [broadcom43xx] (bwi) BBP: id 0x4311, rev 0x2, pkg 0
 KERN: [broadcom43xx] (bwi) MAC rev 13 is not supported
 KERN: [broadcom43xx] (bwi) no MAC was found
 KERN: remove_memory_type_range(1788, 0xb0200000, 0x20000, 0)
 }}}

 Thanks a lot for your replies

--

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/6474#comment:14>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: