public inbox for b43-dev@lists.infradead.org
 help / color / mirror / Atom feed
* Planned Support for BCM 43162 [14e4:43ae] rev 02 ? 
@ 2016-04-30  8:38 Jan Sobotka
  2016-05-04 18:42 ` Rafał Miłecki
  0 siblings, 1 reply; 8+ messages in thread
From: Jan Sobotka @ 2016-04-30  8:38 UTC (permalink / raw)
  To: b43-dev

Hello,

is planned to add support for BCM 43162 [14e4:43ae] to b43 in near future? Unfortunately I bought the notebook with this WLAN card. Bug reported here https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1576815 I'm willing to help, for example with testing.

Regards.

Jan 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Planned Support for BCM 43162 [14e4:43ae] rev 02 ?
  2016-04-30  8:38 Planned Support for BCM 43162 [14e4:43ae] rev 02 ? Jan Sobotka
@ 2016-05-04 18:42 ` Rafał Miłecki
       [not found]   ` <3Fn.2TId.FHuvjLBV4z.1NAsIY@seznam.cz>
  0 siblings, 1 reply; 8+ messages in thread
From: Rafał Miłecki @ 2016-05-04 18:42 UTC (permalink / raw)
  To: b43-dev

Hi,

On 30 April 2016 at 10:38, Jan Sobotka <xSobotkaJ@seznam.cz> wrote:
> is planned to add support for BCM 43162 [14e4:43ae] to b43 in near future? Unfortunately I bought the notebook with this WLAN card. Bug reported here https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1576815 I'm willing to help, for example with testing.

Noone is working on new hw support right now, but essential question
is what PHY is used in this chipset. Can you load bcma for this card
and get us bcma (and potentially b43) logs?
modprobe bcma
echo "14e4 43ae" > /sys/bus/pci/drivers/bcma-pci-bridge/new_id
dmesg | egrep "bcma|b43"

-- 
Rafa?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Planned Support for BCM 43162 [14e4:43ae] rev 02 ?
       [not found]   ` <3Fn.2TId.FHuvjLBV4z.1NAsIY@seznam.cz>
@ 2016-05-05 15:37     ` Rafał Miłecki
  2016-05-05 16:22       ` Jan Sobotka
  2016-05-05 18:11       ` Stuart Longland
  0 siblings, 2 replies; 8+ messages in thread
From: Rafał Miłecki @ 2016-05-05 15:37 UTC (permalink / raw)
  To: b43-dev

Don't drop ML from To/Cc. It's a bad habit and there are other ppl who
are interested in this and may be able to help as well.

On 5 May 2016 at 17:20, Jan Sobotka <xSobotkaJ@seznam.cz> wrote:
> Hi,
>
> I have problem with command:
> sudo echo "14e4 43ae" > /sys/bus/pci/drivers/bcma-pci-bridge/new_id
> bash: /sys/bus/pci/drivers/bcma-pci-bridge/new_id: Permission denied
>
> Module bcma is loaded:
> lsmod | egrep bcma
> bcma                   53248  0
>
> than dmesg | egrep "bcma|b43" produce no output.
>
> Do you have some advice for echo "14e4 43ae"... command modification?

Not sure why it happens. Could you try
sudo su
echo "14e4 43ae" > /sys/bus/pci/drivers/bcma-pci-bridge/new_id
instead?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Planned Support for BCM 43162 [14e4:43ae] rev 02 ?
  2016-05-05 15:37     ` Rafał Miłecki
@ 2016-05-05 16:22       ` Jan Sobotka
  2016-05-06  0:03         ` Rafał Miłecki
  2016-05-05 18:11       ` Stuart Longland
  1 sibling, 1 reply; 8+ messages in thread
From: Jan Sobotka @ 2016-05-05 16:22 UTC (permalink / raw)
  To: b43-dev

Sorry, I used reply instead reply to all. It was not intention. 

Great, now it works. Output:

root at chobot-lenovo-laptop:/home/chobot# echo "14e4 43ae" > /sys/bus/pci/drivers/bcma-pci-bridge/new_id
root at chobot-lenovo-laptop:/home/chobot# dmesg | egrep "bcma|b43"
[ 5295.114902] bcma: bus0: Found chip with id 0x4335, rev 0x02 and package 0x01
[ 5295.114950] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2E, class 0x0)
[ 5295.114974] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x2E, class 0x0)
[ 5295.115026] bcma: bus0: Core 2 found: ARM CR4 (manuf 0x4BF, id 0x83E, rev 0x04, class 0x0)
[ 5295.115073] bcma: bus0: Core 3 found: PCIe Gen2 (manuf 0x4BF, id 0x83C, rev 0x04, class 0x0)
[ 5295.115096] bcma: bus0: Core 4 found: USB 2.0 Device (manuf 0x4BF, id 0x81A, rev 0x14, class 0x0)
[ 5295.115119] bcma: bus0: Core 5 found: SDIO Device (manuf 0x4BF, id 0x829, rev 0x15, class 0x0)
[ 5295.115170] bcma: bus0: Bridge found
[ 5295.115221] bcma-pci-bridge: probe of 0000:02:00.0 failed with error -84

---------- P?vodn? zpr?va ----------
Od: Rafa? Mi?ecki 
Komu: Jan Sobotka , b43-dev 
Datum: 5. 5. 2016 17:37:24
P?edm?t: Re: Planned Support for BCM 43162 [14e4:43ae] rev 02 ?

Don't drop ML from To/Cc. It's a bad habit and there are other ppl who
are interested in this and may be able to help as well.

On 5 May 2016 at 17:20, Jan Sobotka  wrote:
> Hi,
>
> I have problem with command:
> sudo echo "14e4 43ae" > /sys/bus/pci/drivers/bcma-pci-bridge/new_id
> bash: /sys/bus/pci/drivers/bcma-pci-bridge/new_id: Permission denied
>
> Module bcma is loaded:
> lsmod | egrep bcma
> bcma                   53248  0
>
> than dmesg | egrep "bcma|b43" produce no output.
>
> Do you have some advice for echo "14e4 43ae"... command modification?

Not sure why it happens. Could you try
sudo su
echo "14e4 43ae" > /sys/bus/pci/drivers/bcma-pci-bridge/new_id
instead?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Planned Support for BCM 43162 [14e4:43ae] rev 02 ?
  2016-05-05 15:37     ` Rafał Miłecki
  2016-05-05 16:22       ` Jan Sobotka
@ 2016-05-05 18:11       ` Stuart Longland
  1 sibling, 0 replies; 8+ messages in thread
From: Stuart Longland @ 2016-05-05 18:11 UTC (permalink / raw)
  To: b43-dev

On 06/05/16 01:37, Rafa? Mi?ecki wrote:
>> sudo echo "14e4 43ae" > /sys/bus/pci/drivers/bcma-pci-bridge/new_id
>> > bash: /sys/bus/pci/drivers/bcma-pci-bridge/new_id: Permission denied
> Not sure why it happens

echo "14e4 43ae" | sudo tee /sys/bus/pci/drivers/bcma-pci-bridge/new_id

That should work.  The reason why the other didn't work is because you
were running the 'echo' command as root, but then the re-direction was
being done by a shell that was running as a user.

`sudo` is not a magic shell built-command, it's just a suid-root binary,
and merely passes on the arguments the shell gives it.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20160506/93caabd4/attachment.sig>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Planned Support for BCM 43162 [14e4:43ae] rev 02 ?
  2016-05-05 16:22       ` Jan Sobotka
@ 2016-05-06  0:03         ` Rafał Miłecki
  2016-05-06 11:19           ` Jan Sobotka
  2016-05-09  9:40           ` Arend Van Spriel
  0 siblings, 2 replies; 8+ messages in thread
From: Rafał Miłecki @ 2016-05-06  0:03 UTC (permalink / raw)
  To: Jan Sobotka, brcm80211 development
  Cc: b43-dev, linux-wireless@vger.kernel.org

On 5 May 2016 at 18:22, Jan Sobotka <xSobotkaJ@seznam.cz> wrote:
> Great, now it works. Output:
>
> root at chobot-lenovo-laptop:/home/chobot# echo "14e4 43ae" > /sys/bus/pci/drivers/bcma-pci-bridge/new_id
> root at chobot-lenovo-laptop:/home/chobot# dmesg | egrep "bcma|b43"
> [ 5295.114902] bcma: bus0: Found chip with id 0x4335, rev 0x02 and package 0x01
> [ 5295.114950] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2E, class 0x0)
> [ 5295.114974] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x2E, class 0x0)
> [ 5295.115026] bcma: bus0: Core 2 found: ARM CR4 (manuf 0x4BF, id 0x83E, rev 0x04, class 0x0)
> [ 5295.115073] bcma: bus0: Core 3 found: PCIe Gen2 (manuf 0x4BF, id 0x83C, rev 0x04, class 0x0)
> [ 5295.115096] bcma: bus0: Core 4 found: USB 2.0 Device (manuf 0x4BF, id 0x81A, rev 0x14, class 0x0)
> [ 5295.115119] bcma: bus0: Core 5 found: SDIO Device (manuf 0x4BF, id 0x829, rev 0x15, class 0x0)
> [ 5295.115170] bcma: bus0: Bridge found
> [ 5295.115221] bcma-pci-bridge: probe of 0000:02:00.0 failed with error -84

So this is device with BCM4335 chipset which is a FullMAC one AFAIK.
It may be supported by brcmfmac. There is already support for BCM4335
in brcmfmac but it was developed for SDIO devices only. I don't think
we ever met BCM4335 on PCIe device.

You may try:
sudo su
rmmod bcma
echo "14e4 43ae" > /sys/bus/pci/drivers/brcmfmac/new_id
dmesg | grep brcmfmac

However I think brcmfmac may need some extra changes to support
BCM4335 on PCIe. Lets also see if Broadcom team can help us with this.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Planned Support for BCM 43162 [14e4:43ae] rev 02 ?
  2016-05-06  0:03         ` Rafał Miłecki
@ 2016-05-06 11:19           ` Jan Sobotka
  2016-05-09  9:40           ` Arend Van Spriel
  1 sibling, 0 replies; 8+ messages in thread
From: Jan Sobotka @ 2016-05-06 11:19 UTC (permalink / raw)
  To: Rafał Miłecki
  Cc: b43-dev, linux-wireless@vger.kernel.org, brcm80211 development

>>You may try:
>>sudo su
>>rmmod bcma
>>echo "14e4 43ae" > /sys/bus/pci/drivers/brcmfmac/new_id
>>dmesg | grep brcmfmac

Output:
[14054.947644] usbcore: registered new interface driver brcmfmac

Full command history:
root at chobot-lenovo-laptop:~# lsmod | grep bcma
root at chobot-lenovo-laptop:~# rmmod bcma
rmmod: ERROR: Module bcma is not currently loaded
root at chobot-lenovo-laptop:~# echo "14e4 43ae" > /sys/bus/pci/drivers/brcmfmac/new_id
-bash: /sys/bus/pci/drivers/brcmfmac/new_id: No such file or directory
root at chobot-lenovo-laptop:~# modprobe brcmfmac
root at chobot-lenovo-laptop:~# lsmod | grep brcmfmac
brcmfmac              290816  0
brcmutil               16384  1 brcmfmac
cfg80211              565248  2 brcmfmac,mac80211
root at chobot-lenovo-laptop:~# echo "14e4 43ae" > /sys/bus/pci/drivers/brcmfmac/new_id
root at chobot-lenovo-laptop:~# dmesg | grep brcmfmac
[14054.947644] usbcore: registered new interface driver brcmfmac


---------- P?vodn? zpr?va ----------
Od: Rafa? Mi?ecki 
Komu: Jan Sobotka , brcm80211 development 
Datum: 6. 5. 2016 2:03:08
P?edm?t: Re: Planned Support for BCM 43162 [14e4:43ae] rev 02 ?

On 5 May 2016 at 18:22, Jan Sobotka  wrote:
> Great, now it works. Output:
>
> root at chobot-lenovo-laptop:/home/chobot# echo "14e4 43ae" > /sys/bus/pci/drivers/bcma-pci-bridge/new_id
> root at chobot-lenovo-laptop:/home/chobot# dmesg | egrep "bcma|b43"
> [ 5295.114902] bcma: bus0: Found chip with id 0x4335, rev 0x02 and package 0x01
> [ 5295.114950] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2E, class 0x0)
> [ 5295.114974] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x2E, class 0x0)
> [ 5295.115026] bcma: bus0: Core 2 found: ARM CR4 (manuf 0x4BF, id 0x83E, rev 0x04, class 0x0)
> [ 5295.115073] bcma: bus0: Core 3 found: PCIe Gen2 (manuf 0x4BF, id 0x83C, rev 0x04, class 0x0)
> [ 5295.115096] bcma: bus0: Core 4 found: USB 2.0 Device (manuf 0x4BF, id 0x81A, rev 0x14, class 0x0)
> [ 5295.115119] bcma: bus0: Core 5 found: SDIO Device (manuf 0x4BF, id 0x829, rev 0x15, class 0x0)
> [ 5295.115170] bcma: bus0: Bridge found
> [ 5295.115221] bcma-pci-bridge: probe of 0000:02:00.0 failed with error -84

So this is device with BCM4335 chipset which is a FullMAC one AFAIK.
It may be supported by brcmfmac. There is already support for BCM4335
in brcmfmac but it was developed for SDIO devices only. I don't think
we ever met BCM4335 on PCIe device.

However I think brcmfmac may need some extra changes to support
BCM4335 on PCIe. Lets also see if Broadcom team can help us with this.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Planned Support for BCM 43162 [14e4:43ae] rev 02 ?
  2016-05-06  0:03         ` Rafał Miłecki
  2016-05-06 11:19           ` Jan Sobotka
@ 2016-05-09  9:40           ` Arend Van Spriel
  1 sibling, 0 replies; 8+ messages in thread
From: Arend Van Spriel @ 2016-05-09  9:40 UTC (permalink / raw)
  To: Rafał Miłecki, Jan Sobotka, brcm80211 development
  Cc: b43-dev, linux-wireless@vger.kernel.org

On 6-5-2016 2:03, Rafa? Mi?ecki wrote:
> On 5 May 2016 at 18:22, Jan Sobotka <xSobotkaJ@seznam.cz> wrote:
>> Great, now it works. Output:
>>
>> root at chobot-lenovo-laptop:/home/chobot# echo "14e4 43ae" > /sys/bus/pci/drivers/bcma-pci-bridge/new_id
>> root at chobot-lenovo-laptop:/home/chobot# dmesg | egrep "bcma|b43"
>> [ 5295.114902] bcma: bus0: Found chip with id 0x4335, rev 0x02 and package 0x01
>> [ 5295.114950] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2E, class 0x0)
>> [ 5295.114974] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x2E, class 0x0)
>> [ 5295.115026] bcma: bus0: Core 2 found: ARM CR4 (manuf 0x4BF, id 0x83E, rev 0x04, class 0x0)
>> [ 5295.115073] bcma: bus0: Core 3 found: PCIe Gen2 (manuf 0x4BF, id 0x83C, rev 0x04, class 0x0)
>> [ 5295.115096] bcma: bus0: Core 4 found: USB 2.0 Device (manuf 0x4BF, id 0x81A, rev 0x14, class 0x0)
>> [ 5295.115119] bcma: bus0: Core 5 found: SDIO Device (manuf 0x4BF, id 0x829, rev 0x15, class 0x0)
>> [ 5295.115170] bcma: bus0: Bridge found
>> [ 5295.115221] bcma-pci-bridge: probe of 0000:02:00.0 failed with error -84
> 
> So this is device with BCM4335 chipset which is a FullMAC one AFAIK.
> It may be supported by brcmfmac. There is already support for BCM4335
> in brcmfmac but it was developed for SDIO devices only. I don't think
> we ever met BCM4335 on PCIe device.

It does have an ARM core, but for fullmac we need RAM as well and I
don't see that listed. So I guess it is a 43162 and needs softmac
driver. Also could not find any fullmac firmware for it. The only thing
I found was a hybrid wl driver release for it.

Regards,
Arend

> You may try:
> sudo su
> rmmod bcma
> echo "14e4 43ae" > /sys/bus/pci/drivers/brcmfmac/new_id
> dmesg | grep brcmfmac
> 
> However I think brcmfmac may need some extra changes to support
> BCM4335 on PCIe. Lets also see if Broadcom team can help us with this.
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-05-09  9:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-30  8:38 Planned Support for BCM 43162 [14e4:43ae] rev 02 ? Jan Sobotka
2016-05-04 18:42 ` Rafał Miłecki
     [not found]   ` <3Fn.2TId.FHuvjLBV4z.1NAsIY@seznam.cz>
2016-05-05 15:37     ` Rafał Miłecki
2016-05-05 16:22       ` Jan Sobotka
2016-05-06  0:03         ` Rafał Miłecki
2016-05-06 11:19           ` Jan Sobotka
2016-05-09  9:40           ` Arend Van Spriel
2016-05-05 18:11       ` Stuart Longland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox