Installing LCNC on Beelink  BT3 PRO II

More
11 Jun 2021 00:21 - 11 Jun 2021 00:34 #211758 by BeagleBrainz
sorry my bad
dmesg | grep brcm > dmesg.txt


Your particular USB wifi requires a driver that is not included in the kernel.


Now the file that I have attached should be the one required to get the on board wifi going. There are some weird characters at the beginning of the text file that cause trouble when opening in a text editor.

Open a terminal and change directory to where you downloaded the file and run
sudo cp brcmfmac43455-sdio.txt /lib/firmware/brcm/
Reboot
And try
dmesg | grep brcm > dmesg.txt
And post the dmesg.txt
Attachments:
Last edit: 11 Jun 2021 00:34 by BeagleBrainz.

Please Log in or Create an account to join the conversation.

More
11 Jun 2021 00:32 #211760 by htdave
Still nothing

Please Log in or Create an account to join the conversation.

More
11 Jun 2021 00:36 - 11 Jun 2021 01:11 #211762 by BeagleBrainz
Empty file ?

Hmmm that's strange by all accounts their should be a kernel message regarding loading the drivers.

you should have something along these lines
[   10.829058] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   10.829210] usbcore: registered new interface driver brcmfmac
[   10.834417] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.Beelink-BT3  Pro.txt failed with error -2
[   10.834469] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.txt failed with error -2
[   11.840877] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50


Ok OK My bad, one thing I didn't notice is that kernel has to have support for B43_SDIO which in needed for the on board wifi card.
I thought that the because the drivers were built this would be included.
So my friend it looks like I will need to rebuild the kernel and package it up for you. Or build a new ISO image.
Last edit: 11 Jun 2021 01:11 by BeagleBrainz.

Please Log in or Create an account to join the conversation.

More
11 Jun 2021 10:07 #211786 by tommylight
Dmesg does not output anything without using sudo on all new-ish Linux distros.

Please Log in or Create an account to join the conversation.

More
11 Jun 2021 10:21 - 11 Jun 2021 10:21 #211789 by BeagleBrainz
Just booted up the H2 iso I created, dmesg works fine without sudo. Which was the ISO the OP installed from.
Last edit: 11 Jun 2021 10:21 by BeagleBrainz.

Please Log in or Create an account to join the conversation.

More
11 Jun 2021 10:34 #211794 by tommylight
I just get a blank screen without sudo on Mint 19.3.
Strange ....

Please Log in or Create an account to join the conversation.

More
11 Jun 2021 10:36 - 11 Jun 2021 11:18 #211795 by BeagleBrainz
Is that with a standard kernel, debian rt or my rt kernel.


hmmm maybe I changed the dmesg permission
rmurphy@thinkPad-t530:~$ ls -la /bin/dmesg
-rwxr-xr-x 1 root root 72000 Sep 17  2020 /bin/dmesg

But this means I must have done it on ALL Mint installations on ALL machines, even those that have multiple versions of Mint.
Ok it's not that, I deleted /bin/dmesg then reinstalled util-linux (package for dmesg) & permissions were the same.

OK Dave you may have to run the dmesg command with sudo in front of it.

Hey Tommy just for interest can you run:
cat /proc/sys/kernel/dmesg_restrict
If you get something other than 0 can you try,
sudo sysctl -w kernel.dmesg_restrict=0

Then try dmesg without sudo
To go back to previous, ie sudo requires dmesg
sysctl -w kernel.dmesg_restrict=1

OK found out that there is a kernel config option that changes the operation of dmesg, to do with wether a user can read log.
The kernel I built, taken the default config from a std Mint kernel, allows a normal user to use dmesg without using sudo, the debian RT kernel does not allow this behaviour.
Last edit: 11 Jun 2021 11:18 by BeagleBrainz.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
11 Jun 2021 17:46 #211820 by tommylight
Attachments:
The following user(s) said Thank You: BeagleBrainz

Please Log in or Create an account to join the conversation.

More
11 Jun 2021 20:09 #211830 by tommylight
Some info on the picture above, there are all the lines run and the version of kernel, all this is on Linux Mint 19.3 with all the latest updates, and sure enough the kernel is from the Debian Stretch repository.
As can be seen above, the line proposed by Beagle does it's magic and now dmesg works with no sudo privileges.
Thank you Beagle.

Please Log in or Create an account to join the conversation.

More
11 Jun 2021 21:25 #211832 by BeagleBrainz
Not too sure if that with survive a reboot.
Although we haven’t sorted dave’s Issue we’ve learnt something.
Sorry about going off topic.

Please Log in or Create an account to join the conversation.

Time to create page: 0.117 seconds
Powered by Kunena Forum