From: Arend van Spriel <arend@broadcom.com>
To: "Jürgen Bausa" <juergen.Bausa@online.de>
Cc: <linux-wireless@vger.kernel.org>
Subject: Re: Broadcom 43340
Date: Mon, 23 Mar 2015 10:52:40 +0100 [thread overview]
Message-ID: <550FE268.10601@broadcom.com> (raw)
In-Reply-To: <loom.20150322T210447-841@post.gmane.org>
On 03/22/15 21:14, Jürgen Bausa wrote:
> Arend van Spriel<arend@...> writes:
>
>>
>> On 03/21/15 21:38, Jürgen Bausa wrote:
>>> 1. the nvram file under /sys/firmware/efi/efivars/ has a wrong MAC address.
>>> I changed it to the correct one. However, I am not sure if this is really
>>> necassary.
>>
>> That MAC address is only used for device that do have mac address in the
>> device so you can ignore that one.
>
> You are right, found it out mayself in the meantime. There is no need to
> change the MAC address.
>
>>
>>> 2. Found the following on the web:
>>>
>>>> rmmod brcmfmac
>>>> rmmod brcmutil
>>>> echo on> /sys/bus/platform/drivers/sdhci-acpi/INT33BB\:00/power/control
>>>> modprobe brcmfmac
>>>
>>> After this, I can connect to wlan!
>>
>> Ah, I was wondering what type of sdio host controller was used. When
>> sdio host controller uses runtime-pm it affect communication with wlan
>> device. I recently posted a patch for that [1].
>
> So, do I understand correctly, that with your patch the above workaround
> will no longer be needed? In which kernel will your patch be included? As
> wifi is working now, I would avoid installing the patch and instead wait for
> the next kernel.
Indeed. The patch basically does the same thing as the workaround. It is
applied to wireless-drivers-next tree so it will be in 4.1 kernel. So it
will take a while before that gets released by Linus. 4.1-rc1 will
probably take approx. 6-7 wks.
>>
>>> Does this give you enough information to find out, what the problem is? Or
>>> do you still need DBG output from the driver? if so, just tell me and I will
>>> try to compile and install the kernel with DBG turnded on. Its not a big
>>> deal but I stopped working on it as I found this workaround.
>>>
>>> At the momment I am trying to put these commands to rc,local. With limited
>>> success until now, But this may be caused by the fact, that they are
>>> executed too early. Will add some sleep.
>>
>> Might be the driver is already loaded before root file system is loaded
>> (from initramfs).
>
> I now got it working. Just put 'sleeep 20' before the commands and now it
> works perfectly.
Holding the boot for 20s is steep, but I guess a working device trumps a
fast boot ;-)
>>
>>> Another thing I found out is, that the system sometimes comes up without
>>> wlan0. It seems I have it only on every second boot. However, this could be
>>> just by incident and it is not exactly every second boot but about 50 % of
>>> all boots.
>>
>> Is that after reboot or really after powerup. Curious whether there is a
>> difference between the two regarding this issue.
>>
>
> It was after reboot and at cold boot.
>
> However, this problem seems to be gone. wlan0 is up on every boot. In the
> meantime i upgraded to rc4. Could this be the reason?
Nothing in brcmfmac is changed that would explain this. Maybe something
was fixed in sdio host controller, but it is all speculation.
> Do you still need some dbg information from my machine? If so, just tell me
> and I will install a kernel with the needed options. Otherwise, I will stay
> with the current situation.
If you are happy and the issue seems resolved there is no need. Thanks.
>>> Ok, thanks. Will the driver also enable bluetooth? As I read, the
>>> bcm43341 also has Bluetooth capabilities.
>>
>> It has, but no clue what host interface is used. Anyway, it will have
>> a separate driver.
>
> Do you now, if there is some development going on for the bluetooth driver?
> Who could I conact?
I am not sure what host-interface is used to bt part. Is it usb or uart?
I know there are plans to mainline the bt uart driver, but not sure when
that will make its way into the kernel. If it is usb you should be able
to use btusb driver, but you need firmware. They added support for
handling firmware in btusb recently.
Regards,
Arend
next prev parent reply other threads:[~2015-03-23 9:52 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <550482A2.3080803@gmail.com>
[not found] ` <55048833.90408@broadcom.com>
[not found] ` <55048BB1.9080906@gmail.com>
2015-03-14 19:54 ` Broadcom 43340 Arend van Spriel
2015-03-14 20:07 ` Ochal Christophe
2015-03-14 20:39 ` Stefan Lippers-Hollmann
2015-03-14 22:13 ` Ochal Christophe
2015-03-15 11:37 ` Arend van Spriel
2015-03-15 20:38 ` Jürgen Bausa
2015-03-15 21:14 ` Arend van Spriel
2015-03-17 21:01 ` Jürgen Bausa
2015-03-17 22:20 ` Arend van Spriel
2015-03-18 21:12 ` Jürgen Bausa
2015-03-17 23:20 ` Dan Williams
2015-03-18 21:24 ` Jürgen Bausa
2015-03-18 21:29 ` Dan Williams
2015-03-18 21:40 ` Arend van Spriel
2015-03-19 21:00 ` Jürgen Bausa
2015-03-19 21:40 ` Arend van Spriel
2015-03-21 20:38 ` Jürgen Bausa
2015-03-22 13:11 ` Arend van Spriel
2015-03-22 20:14 ` Jürgen Bausa
2015-03-23 9:52 ` Arend van Spriel [this message]
2015-03-23 20:09 ` Jürgen Bausa
2015-03-23 20:50 ` Arend van Spriel
2015-03-15 21:20 ` Stefan Lippers-Hollmann
2015-03-15 2:03 ` Koen Bulcke
2015-03-15 11:39 ` Arend van Spriel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=550FE268.10601@broadcom.com \
--to=arend@broadcom.com \
--cc=juergen.Bausa@online.de \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).