Installing LCNC on Beelink  BT3 PRO II

  • BeagleBrainz
  • New Member
  • New Member
More
5 years 4 months ago #211758 by BeagleBrainz
Replied by BeagleBrainz on topic Installing LCNC on Beelink  BT3 PRO II
sorry my bad
Code:
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
Code:
sudo cp brcmfmac43455-sdio.txt /lib/firmware/brcm/
Reboot
And try
Code:
dmesg | grep brcm > dmesg.txt
And post the dmesg.txt

Please Log in to join the conversation.

More
5 years 4 months ago #211760 by htdave
Still nothing

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
5 years 4 months ago #211762 by BeagleBrainz
Replied by BeagleBrainz on topic Installing LCNC on Beelink  BT3 PRO II
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
Code:
[ 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


[strike]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.[/strike]

Please Log in to join the conversation.

More
5 years 4 months ago #211786 by tommylight
Dmesg does not output anything without using sudo on all new-ish Linux distros.

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
5 years 4 months ago #211789 by BeagleBrainz
Replied by BeagleBrainz on topic Installing LCNC on Beelink  BT3 PRO II
Just booted up the H2 iso I created, dmesg works fine without sudo. Which was the ISO the OP installed from.

Please Log in to join the conversation.

More
5 years 4 months ago #211794 by tommylight
I just get a blank screen without sudo on Mint 19.3.
Strange ....

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
5 years 4 months ago #211795 by BeagleBrainz
Replied by BeagleBrainz on topic Installing LCNC on Beelink  BT3 PRO II
Is that with a standard kernel, debian rt or my rt kernel.


hmmm maybe I changed the dmesg permission
Code:
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:
Code:
cat /proc/sys/kernel/dmesg_restrict
If you get something other than 0 can you try,
Code:
sudo sysctl -w kernel.dmesg_restrict=0

Then try dmesg without sudo
To go back to previous, ie sudo requires dmesg
Code:
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.

Please Log in to join the conversation.

More
5 years 4 months ago #211820 by tommylight

Attachment not found

Please Log in to join the conversation.

More
5 years 4 months ago #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 to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
5 years 4 months ago #211832 by BeagleBrainz
Replied by BeagleBrainz on topic Installing LCNC on Beelink  BT3 PRO II
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 to join the conversation.

Time to create page: 0.183 seconds
Powered by Kunena Forum