Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-18-2021, 02:32 AM
|
#1
|
SARPi Maintainer
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,067
|
Changes to sarpi-hacks pkg
Please be aware the sarpi-hacks pkg has been modified and will no longer attempt to detect any installed RTCs or add a command to '/etc/rc.d/rc.local' to set the Slackware ARM system time from a NTP server at boot.
These changes came into effect on 17 January 2021 and the sarpi-hacks.README file has been updated accordingly to show this.
|
|
|
01-18-2021, 10:12 AM
|
#2
|
Member
Registered: Sep 2017
Location: Ontario, Canada
Distribution: Slackware, X/ubuntu, MX Linux, OpenBSD, OpenWrt
Posts: 381
|
Noted. It pays to read READMEs, and I overlooked this new one, with at least two points immediately relevant to me.
Thanks, Exaga.
TKS
|
|
|
01-19-2021, 10:26 AM
|
#3
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,160
Rep: 
|
Whilst investigating my bluetooth issues on the Pi 400, I wondered if this package - with the latest firmware - might help. In the process, I noticed that my WiFi had gone AWOL again ( I normally use a wired connection) - probably as a result of a recent kernel-firmware upgrade.
After installing the latest hack package, I'm now seeing the following error:
Code:
dmesg | grep brcmfmac
[ 2.390161] brcmfmac: F1 signature read @0x18000000=0x15294345
[ 2.394955] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[ 2.395758] usbcore: registered new interface driver brcmfmac
[ 2.431873] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.raspberrypi,400.txt failed with error -2
[ 2.615999] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[ 2.629393] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: May 14 2020 17:26:08 version 7.84.17.1 (r871554) FWID 01-3d9e1d87
Rfkill is reporting that wifi is soft blocked! Unblocking it doesn't help, and it gets blocked again upon restarting Networkmanager or rebooting. /var/lib/NetworkManager/NetworkManager.state has "WirlessEnabled=false", but again, setting this to true doesn't help and isn't persistent. Something is changing this file whenever NetworkManager starts.
I have read somewhere that this will happen if regional settings for wifi are not set. Usually, there is a default setting to US somewhere, but this doesn't seem to be happening on Slarm64. I#ve tried creating a rule in /etc/modprobe.d for brcmfmac to get it to load GB regulations (I do something similar on my laptop), but it doesn't seem to work either! Maybe because the firmware isn't loading correctly, as indicated above?
Code:
cat /etc/modprobe.d/brcmfmac.conf
softdep brcmfmac pre: cfg80211
options cfg80211 ieee80211_regdom=GB
Any ideas? I'm going to try the old Pi 400 firmware from Raspbian, as that worked last time.
Update: No, that produces the same error message! Something is borked here, but I have no idea what!
Update2: D'oh! My fault! I'd inhibited wifi somewhere else whilst trying to sort out bluetooth, and forgotten! There was a suggestion that bluetooth and wifi were not co-existing happily on the 400, but this should have been fixed by the firmware upgrade. Wifi now functioning again.
Still getting that firmware loading error, though.
--
Pete
Last edited by pchristy; 01-19-2021 at 11:04 AM.
Reason: Update and another update
|
|
|
01-19-2021, 01:05 PM
|
#4
|
SARPi Maintainer
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,067
Original Poster
|
Quote:
Originally Posted by pchristy
Whilst investigating my bluetooth issues on the Pi 400, I wondered if this package - with the latest firmware - might help. In the process, I noticed that my WiFi had gone AWOL again ( I normally use a wired connection) - probably as a result of a recent kernel-firmware upgrade.
Any ideas? I'm going to try the old Pi 400 firmware from Raspbian, as that worked last time.
Update: No, that produces the same error message! Something is borked here, but I have no idea what!
Update2: D'oh! My fault! I'd inhibited wifi somewhere else whilst trying to sort out bluetooth, and forgotten! There was a suggestion that bluetooth and wifi were not co-existing happily on the 400, but this should have been fixed by the firmware upgrade. Wifi now functioning again.
Still getting that firmware loading error, though.
|
If it were me I'd copy the Raspberry Pi OS 64bit driver modules and test with them. I don't know if their 32bit counterparts within the sarpi-hacks pkg will work as expected on a 64bit OS.
The only country specific wireless setting that I am aware of is from https://www.raspberrypi.org/document...ireless-cli.md under the heading "Adding the network details to the Raspberry Pi" in the 'wpa_supplicant.conf' section:
Code:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=<Insert 2 letter ISO 3166-1 country code here>
Obviously with unsupported software (on both sides of the fence) some trial and error is required. I'm afraid you'll have to see what works and what doesn't with this one.
|
|
|
01-19-2021, 01:58 PM
|
#5
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,160
Rep: 
|
Once I managed to re-activate wifi (mea culpa!), then my script in /etc/modprobe.d worked perfectly! I haven't seen any "official" way of doing this, and there are other ways, but this is simple. The only downside is that it only works with a specific module - it is not generic.
I'm using NetworkManager for connectivity, so I'm not sure how wpa_supplicant fits in with this! More googling, I suspect! But it might make the regional variants generic, rather than tied to the module.
I still can't get bluetooth to work reliably, though. It works for a while, and then crashes. Once crashed, the only way to recover it is a reboot. The time bewteen crashes is rarely over a minute, and sometimes just seconds. Still not found a solution! The only "oddity" I've found is that firmware not loading. However, if its not loading, how come its working at all?
--
Pete
|
|
|
01-19-2021, 03:33 PM
|
#6
|
SARPi Maintainer
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,067
Original Poster
|
Quote:
Originally Posted by pchristy
I still can't get bluetooth to work reliably
|
I thought you had another (USB) BT adapter that did work. Whatever works is usually the best option.
|
|
|
01-19-2021, 03:37 PM
|
#7
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,160
Rep: 
|
I do! It just irritates me that I can't get the internal one to work reliably. It works fine under Raspbian, so there must be a solution. And with the lockdown, I need some distraction to keep me sane...
--
Pete
|
|
|
All times are GMT -5. The time now is 06:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|