LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 01-18-2021, 01:32 AM   #1
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
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.
 
Old 01-18-2021, 09:12 AM   #2
TheTKS
Member
 
Registered: Sep 2017
Location: Ontario, Canada
Distribution: Slackware, X/ubuntu, OpenBSD, OpenWRT
Posts: 361

Rep: Reputation: 243Reputation: 243Reputation: 243
Noted. It pays to read READMEs, and I overlooked this new one, with at least two points immediately relevant to me.

Thanks, Exaga.

TKS
 
Old 01-19-2021, 09:26 AM   #3
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Rep: Reputation: Disabled
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 10:04 AM. Reason: Update and another update
 
Old 01-19-2021, 12:05 PM   #4
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Original Poster
Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by pchristy View Post
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.
 
Old 01-19-2021, 12:58 PM   #5
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Rep: Reputation: Disabled
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
 
Old 01-19-2021, 02:33 PM   #6
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Original Poster
Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by pchristy View Post
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.
 
Old 01-19-2021, 02:37 PM   #7
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Rep: Reputation: Disabled
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
 
  


Reply

Tags
ntp, rtc, sarpi-hacks, slackware arm



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SARPi Project - website and content changes Exaga Slackware - ARM 5 02-04-2020 01:35 AM
SARPi website new URL - sarpi.co.uk Exaga Slackware - ARM 4 01-28-2018 06:36 PM
LXer: Technology Changes Us, Changes Society, and Changes Governments LXer Syndicated Linux News 0 10-10-2016 02:00 PM
Xscreensaver hacks (looking for old hacks) xr82 Linux - Software 2 01-07-2009 01:32 PM
Starting from 0 - pkg by pkg Lopes Linux - Newbie 2 07-02-2005 01:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration