Re: bwn updates - now BCM4321, BCM4322

2016-05-30 Thread Adrian Chadd
I'm glad it's working!

I'll go make the PHY attach failure more noisy so people know what's going on.


-a


On 30 May 2016 at 02:33, Björn Jonare  wrote:
> On Saturday 28 May 2016 at 20:02, Adrian Chadd wrote:
>> hi,
>>
>> I'll go add some more debugging to the attach side of things. It does
>> that when it doesn't recognise the phy, and that's silly.
>>
>>
>>
>> -adrian
>
> Hi,
>
> Turned out the problem was at my end, I apologize for the noise. Though I was 
> sure I've checked I was running a kernel _without_ the GPL PHY code. After 
> donning a pointy hat and standing in a corner for a while, I now have a 
> working BCM4321, this is brilliant!
>
> Again thank you for your work and putting up with all the line noise from 
> resulting from stupid user mistakes :)
>
> --
> /Hälsningar Björn
>
>
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: bwn updates - now BCM4321, BCM4322

2016-05-30 Thread Björn Jonare
On Saturday 28 May 2016 at 20:02, Adrian Chadd wrote:
> hi,
>  
> I'll go add some more debugging to the attach side of things. It does
> that when it doesn't recognise the phy, and that's silly.
>  
>  
>  
> -adrian

Hi,

Turned out the problem was at my end, I apologize for the noise. Though I was 
sure I've checked I was running a kernel _without_ the GPL PHY code. After 
donning a pointy hat and standing in a corner for a while, I now have a working 
BCM4321, this is brilliant!

Again thank you for your work and putting up with all the line noise from 
resulting from stupid user mistakes :)

--
/Hälsningar Björn  


___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: bwn updates - now BCM4321, BCM4322

2016-05-28 Thread Adrian Chadd
hi,

I'll go add some more debugging to the attach side of things. It does
that when it doesn't recognise the phy, and that's silly.



-adrian


On 28 May 2016 at 06:34, Björn Jonare  wrote:
> Hi,
>
> First let me say that I very much appreciate your work on bwn. Broadcom 
> devices are, alas all too common :( Anyway I dug an old iMac out of storage 
> and installed a recent CURRENT (r300836) since I knew the wifi chip in it to 
> be some variant of the BCM4322.
>
> After uncommenting all needed lines (?) in the Makefile regarding GNU PHY 
> support I loaded bwn_v4_ucode,  bwn_v4_n_ucode and if_bwn. Upon checking 
> dmesg I got this:
>
> siba_bwn0:  mem 
> 0xd020-0xd0203fff,0xd000-0xd00f irq 17 at device 0.0 on pci3
> siba_bwn0: warn: multiple PCI(E) cores
> siba_bwn0: unsupported coreid (USB 1.1 Host)
> bwn0 on siba_bwn0
> bwn0: failed
> device_attach: bwn0 attach returned 6
>
>
>
> So, the driver doesn’t attach :(
>
> Since my understanding of drivers is well, lacking, is there anything I could 
> do to get this specific version of BCM4322 to work[1]? I would be glad to 
> provide any information needed.
>
>
> [1] That is to get the driver to attach. I have no illusions regarding 
> functionality, this is after all a Broadcom chipset!
>
>
> --
> /Hälsningar Björn
>
>
>
> On Thursday 19 May 2016 at 09:01, Adrian Chadd wrote:
>
>> Hiya,
>>
>> I managed to get the BCM4321 and BCM4322 working. You need to load
>> bwn_v4_n_ucode for BCM4322 and then it should "just work".
>>
>> BCM4321 also works on bwn_v4_n_ucode - it uses the same newer ucode API.
>>
>> You can't load bwn_v4_n_ucode and bwn_v4_lp_ucode just yet - I need to
>> address that.
>>
>> Let me know if you can test out either of these chips!
>>
>>
>> -adrian
>> ___
>> freebsd-wireless@freebsd.org (mailto:freebsd-wireless@freebsd.org) mailing 
>> list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org 
>> (mailto:freebsd-wireless-unsubscr...@freebsd.org)"
>
>
>
> ___
> freebsd-wireless@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: bwn updates - now BCM4321, BCM4322

2016-05-28 Thread Björn Jonare
Hi,  

First let me say that I very much appreciate your work on bwn. Broadcom devices 
are, alas all too common :( Anyway I dug an old iMac out of storage and 
installed a recent CURRENT (r300836) since I knew the wifi chip in it to be 
some variant of the BCM4322.

After uncommenting all needed lines (?) in the Makefile regarding GNU PHY 
support I loaded bwn_v4_ucode,  bwn_v4_n_ucode and if_bwn. Upon checking dmesg 
I got this:

siba_bwn0:  mem 
0xd020-0xd0203fff,0xd000-0xd00f irq 17 at device 0.0 on pci3
siba_bwn0: warn: multiple PCI(E) cores
siba_bwn0: unsupported coreid (USB 1.1 Host)
bwn0 on siba_bwn0
bwn0: failed
device_attach: bwn0 attach returned 6



So, the driver doesn’t attach :(

Since my understanding of drivers is well, lacking, is there anything I could 
do to get this specific version of BCM4322 to work[1]? I would be glad to 
provide any information needed.


[1] That is to get the driver to attach. I have no illusions regarding 
functionality, this is after all a Broadcom chipset!


--
/Hälsningar Björn



On Thursday 19 May 2016 at 09:01, Adrian Chadd wrote:

> Hiya,
>  
> I managed to get the BCM4321 and BCM4322 working. You need to load
> bwn_v4_n_ucode for BCM4322 and then it should "just work".
>  
> BCM4321 also works on bwn_v4_n_ucode - it uses the same newer ucode API.
>  
> You can't load bwn_v4_n_ucode and bwn_v4_lp_ucode just yet - I need to
> address that.
>  
> Let me know if you can test out either of these chips!
>  
>  
> -adrian
> ___
> freebsd-wireless@freebsd.org (mailto:freebsd-wireless@freebsd.org) mailing 
> list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org 
> (mailto:freebsd-wireless-unsubscr...@freebsd.org)"



___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

bwn updates - now BCM4321, BCM4322

2016-05-19 Thread Adrian Chadd
Hiya,

I managed to get the BCM4321 and BCM4322 working. You need to load
bwn_v4_n_ucode for BCM4322 and then it should "just work".

BCM4321 also works on bwn_v4_n_ucode - it uses the same newer ucode API.

You can't load bwn_v4_n_ucode and bwn_v4_lp_ucode just yet - I need to
address that.

Let me know if you can test out either of these chips!


-adrian
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"