Module not in use

03:00.0 Network controller [0280]: Broadcom Corporation Device [14e4:43c3] (rev 04)
Subsystem: ASUSTeK Computer Inc. Device [1043:86fb]
Flags: fast devsel, IRQ 19
Memory at f7000000 (64-bit, non-prefetchable) [size=32]
Memory at f6800000 (64-bit, non-prefetchable) [size=8]
Memory at f2400000 (64-bit, prefetchable) [size=4]
Capabilities: [48] Power Management version 3
Capabilities: [58] MSI: Enable- Count=1/32 Maskable- 64bit+
Capabilities: [68] Vendor Specific Information: Len=44 <?>
Capabilities: [ac] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Device Serial Number 00-00-00-ff-ff-00-00-00
Capabilities: [150] Power Budgeting <?>
Capabilities: [160] Virtual Channel
Capabilities: [1b0] Latency Tolerance Reporting
Capabilities: [220] #15
Kernel modules: brcmfmac, wl

Hi everybody I have a problem with my new wireless card, I see it has brcmfmac and wl module, how do I make kernel use one of them? I know for other devices there is line: kernel driver in use.

This is card in question:
https://www.amazon.com/ASUS-802-11AC-Wireless-AC3100-Adapter-PCE-AC88/dp/B01H9QMOMY[/size][/size][/size]

This should happen automatically.

But the package broadcom-wl blocks (blacklists) other kernel modules, to prevent them from being loaded automatically.
I would suggest to uninstall it, that wireless card should be supported by kernel 4.4+ (by the included brcmfmac module, which should then be used automatically).

The same issue. I didnas younsaid but this was happening before i installed broadcom-wl.

Then maybe the module cannot be loaded.

Is kernel-firmware installed?

Please run “dmesg -w” in a terminal window, and then “sudo modprobe -v brcmfmac” in another one, and post the output you get from the first.

kernel-firmware installed

output of dmesg -w
https://preview.ibb.co/fy4zbS/IMG_20180214_121416.jpg](https://ibb.co/dQTQGS)

It probably would have been easier to do that in the graphical session… :wink:
And I didn’t want to see the full output, but rather the new one when running “sudo modprobe -v brcmfmac”.
Did you run that? And nothing changed?

ALternatively, run this and post the output:

sudo dmesg -C
sudo modprobe -v brcmfmac
dmesg

so i did as root
dmesg -c; # clean
modprobe -v brcmfmac;
dmesg -w; # in another terminal

nothing new came up.

Hm.
And what does “lspci -k” say now?

same as before. same as in original post.

I.e. nothing.

Well, maybe it is loaded already?
Try to unload it first:

dmesg -C
rmmod brcmfmac
modprobe -v brcmfmac
dmesg

same as in original post.

Then you didn’t uninstall all broadcom-wl packages. :wink:

sorry, i did unimstall it only difference is

wl

is not in kernel module list.

so this might be my only option upgrade to kernel v4.12 (or other LTR) it seems. have been googling for hours and kernel firmware for broadcom newest chip is not in 4.4

According to wireless.kernel.org this card should be supported since kernel 4.4.

BCM4366 14e4:43c3 Supported in 4.4+

( https://wireless.wiki.kernel.org/en/users/drivers/brcm80211 )

have been googling for hours and kernel firmware for broadcom newest chip is not in 4.4

The firmware is not part of the kernel, it is part of kernel-firmware.

You could try to update it to the latest version from http://download.opensuse.org/repositories/Kernel:/stable/standard/ (you can also get the latest kernel from there)

I’d still try to find out what goes wrong first.
Did you try the commands I wrote in my previous post?
I.e. unload the module first?

Maybe the output shows what the problem is.

Apparently the necessary firmware was added in January 2016 already:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/brcm/brcmfmac4366b-pcie.bin?id=52442afee9907bc32a058f22bb3295d040677c26

Leap 42.3 ships with kernel-firmware 20170530, which does contain that file.

wolfi@amiga:~> rpm -q kernel-firmware 
kernel-firmware-20170530-14.1.noarch
wolfi@amiga:~> rpm -ql kernel-firmware  | grep 4366
/lib/firmware/brcm/brcmfmac4366b-pcie.bin

So IMHO, it should just work.

Sorry guys have been having issues with GUI (part of nVidia problems everyone is having here), finally got GUI going so now I will be posting from my PC not from laptop or from cellphone.

So:


rmmod brcmfmac

dmesg output after running rmmod


 2158.343521] usbcore: deregistering interface driver brcmfmac


modproble -v brcmfmac

output


insmod /lib/modules/4.4.114-42-default/kernel/drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko

dmesg output after running modprobe -v


 2275.703988] usbcore: registered new interface driver brcmfmac
 2275.808971] brcmfmac 0000:03:00.0: Direct firmware load for brcm/brcmfmac4366b-pcie.txt failed with error -2
 2278.131858] brcmfmac: brcmf_pcie_download_fw_nvram: FW failed to initialize

lspci -nnv output for this device


03:00.0 Network controller [0280]: Broadcom Corporation Device [14e4:43c3] (rev 04)
        Subsystem: ASUSTeK Computer Inc. Device [1043:86fb]
        Flags: fast devsel, IRQ 19
        Memory at f7000000 (64-bit, non-prefetchable) [size=32]
        Memory at f6800000 (64-bit, non-prefetchable) [size=8]
        Memory at f2400000 (64-bit, prefetchable) [size=4]
        Capabilities: [48] Power Management version 3
        Capabilities: [58] MSI: Enable- Count=1/32 Maskable- 64bit+
        Capabilities: [68] Vendor Specific Information: Len=44 <?>
        Capabilities: [ac] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [13c] Device Serial Number 00-00-00-ff-ff-00-00-00
        Capabilities: [150] Power Budgeting <?>
        Capabilities: [160] Virtual Channel
        Capabilities: [1b0] Latency Tolerance Reporting
        Capabilities: [220] #15
        Kernel modules: brcmfmac

One more question how comes this comes out as USB not as PCI?[/size][/size][/size]

All right on AskUbutnu somebody had exactly the same problem and here is reference to it:
https://askubuntu.com/questions/907489/wifi-driver-issues-asus-pce-ac88

According to the page firmware version in there is 1.164 :S IDK!!!

Ok, so there seems indeed to be a problem with loading the firmware.

I’m wondering why it tries to load brcmfmac4366b-pcie.txt .
This does not exist in openSUSE’s kernel-firmware package.

I’m not sure whether this is critical though.
Have you actually tried whether the device works or not?
You should switch to NetworkManager in YaST->System->Network Settings, otherwise you’d need to configure the connection in YaST.

But I found this:
https://ubuntuforums.org/showthread.php?t=2337200
Apparently that device is misidentified by the kernel, seems it’s rather a 4366c not 4366b. No idea whether that fix is in Leap’s 4.4 kernel already, but try to install the latest one from the repo I posted.
Apparently you also need to get the proper firmware manually, that thread mentions how to do that.

One more question how comes this comes out as USB not as PCI?

Hm? lspci only shows PCI devices…

Or do you mean the mention of “usbcore”?
Well, I suppose the card has internally an USB bus and that’s how the actual wireless chip is connected.
I.e. the card is some kind of USB->PCIe adapter.

Just guessing though.

That was about Ubuntu 16.04 though which is over a year older than Leap 42.3.
Maybe that didn’t contain the necessary firmware file yet (it was released in April 2016, and that firmware file was added in January 2016).
The comments indicate that it works fine in Ubuntu 17.04 and 17.10 though.

According to the page firmware version in there is 1.164 :S IDK!!!

Where do you see any firmware version?
There have been no changes to the firmware in kernel-firmware git since that initial commit.

I have not tried it on any other PC.

LOL I thought maybe I messed up here :S

Honestly IDK :frowning: I was tired when I wrote this message.

Per this page:
https://rhees.nl/2017/03/10/HOWTO-install-drivers-for-the-Asus-PCE-AC88-on-Debian-Jessie/

I have extracted brcmfmac4366c-pcie.bin to /lib/firmware/brcm/brcmfmac4366c-pcie.bin now how do I make brcmfmac use it?

No, I mean have you actually tried whether it works on this PC?
I.e. does it show up in NetworkManager/ifconfig, have you tried to establish a connection?

So far, the only “problem” mentioned here is that there is no line “Kernel driver in use” in the lspci output…

AIUI, you 'd need a newer version of brcmfmac, that knows about brcmfmac4366c-pcie.bin.

IOW, install a newer kernel.

But note that you’d need to reinstall the nvidia driver for the new kernel as well.