LinuxQuestions.org
Review your favorite Linux distribution.
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-11-2021, 04:03 PM   #31
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 689

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414

Quote:
Originally Posted by pchristy View Post
Give me a clue! What am I looking for here?
You're dealing with a hybrid of SARPi64/slarm64 and I have no clue to give you about such a setup or its configuration.

Setting up wireless under Slackware ARM on a Raspberry Pi: https://sarpi.fatdog.eu/index.php?p=wireless-nic
 
Old 01-11-2021, 04:09 PM   #32
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
Sorry if I wasn't clear. This is currently a pure slarm64 system, though I had the same problem both on hybrid and sarpi/slackwarearm.
--
Pete
 
Old 01-12-2021, 12:14 AM   #33
sndwvs
Member
 
Registered: Aug 2014
Posts: 942

Rep: Reputation: Disabled
Quote:
Originally Posted by pchristy View Post
In the end I installed sndwvs xfce image - the one from the 29th Dec, which seems to have overcome the problems I was having the first time I tried with earlier versions. I then installed kde5, and a lot of the necessary support libraries (you always miss some, if you don't use the slackware installer!) and now it all runs fine. It boots into the sddm login screen fine, I've managed to compile xvidcore and x264, but not x265 or ffmpeg! ffmpeg complains about a missing gnutls, but it IS installed!

The big remaining problem is that it refuses to recognise the built-in bluetooth or wifi! Both come up immediately on the supplied Raspbian OS, but refuse to work under slarm64. If I plug a bluetooth dongle in, it works fine - but not the onboard bluetooth or wifi!
please give full dmesg.
 
Old 01-12-2021, 05:47 AM   #34
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
OK, here you go. I've attached both dmesg and lsmod.

As far as I can see, the modules have loaded (seems to be the same one for both wifi and bluetooth, which makes sense).

The bluetooth manager tells me that no adapters have been found, and networkmanager doesn't display any wifi networks.

I'm going to boot it into raspbian before lunch and see if I can spot anything different (firmware?).

--
Pete
Attached Files
File Type: txt dmesg.txt (26.0 KB, 2 views)
File Type: txt lsmod.txt (2.7 KB, 1 views)
 
Old 01-12-2021, 06:05 AM   #35
sndwvs
Member
 
Registered: Aug 2014
Posts: 942

Rep: Reputation: Disabled
yes there is a problem with the firmware,
for wifi:
Code:
cd /lib/firmware/brcm/ &&\
ln -s brcmfmac43456-sdio.bin brcmfmac43456-sdio.raspberrypi,400.txt &&\
reboot
 
Old 01-12-2021, 06:27 AM   #36
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
OK, done that, still not working. brcmfmac43456-sdio.bin seems to be a link to ../ap6256/fw_bcm43456c5_ag.bin

New dmesg and lsmod attached.

--
Pete
Attached Files
File Type: txt dmesg-2.txt (26.0 KB, 2 views)
File Type: txt lsmod-2.txt (2.7 KB, 1 views)
 
Old 01-12-2021, 06:37 AM   #37
sndwvs
Member
 
Registered: Aug 2014
Posts: 942

Rep: Reputation: Disabled
try replacing with these
brcmfmac43456-sdio.bin
brcmfmac43456-sdio.clm_blob
brcmfmac43456-sdio.txt
 
Old 01-12-2021, 07:43 AM   #38
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
OK, copied those into the /lib/firmware/brcm folder, overwriting the existing files. No change. No wifi showing in networkmanager and no adapters showing in the bluetooth manager.

I'll be in and out of the house this afternoon - got to pick my wife up, and take her car to the garage at some point, but I'll have a look at the firmware folder on raspbian, see if there's a clue there.

I assume the firmware is not sensitive to 32/64 bit? (Raspbian appears to be 32bit).

--
Pete
Attached Files
File Type: txt dmesg-3.txt (25.9 KB, 2 views)
File Type: txt lsmod-3.txt (2.7 KB, 1 views)

Last edited by pchristy; 01-12-2021 at 07:44 AM. Reason: add attachments
 
Old 01-12-2021, 07:51 AM   #39
sndwvs
Member
 
Registered: Aug 2014
Posts: 942

Rep: Reputation: Disabled
Quote:
Originally Posted by pchristy View Post
I assume the firmware is not sensitive to 32/64 bit? (Raspbian appears to be 32bit).
yes, it doesn't matter.
you need to watch rfkill, raspberry pi 4 has a different wifi module.

Last edited by sndwvs; 01-12-2021 at 07:54 AM.
 
Old 01-12-2021, 07:54 AM   #40
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
OK, I know it all works on raspbian, so I'm going to copy the contents of the brcm folder over and see what happens (yes, I have backed it up!)



--
Pete
 
Old 01-12-2021, 08:09 AM   #41
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
OK, copying the contents of Raspbian's /lib/firmware/brcm to slarm64's has got wifi working! My wifi network now appears "automagically" in networkmanager!

However, the bluetooth manager still says "no adapters".

dmesg and lsmod attached...

--
Pete
Attached Files
File Type: txt dmesg-4.txt (26.2 KB, 2 views)
File Type: txt lsmod-4.txt (2.7 KB, 1 views)
 
Old 01-12-2021, 08:51 AM   #42
sndwvs
Member
 
Registered: Aug 2014
Posts: 942

Rep: Reputation: Disabled
for bluetooth you need a udev rule and a script

you also need to understand what specific firmware is needed for wifi, according to the links above firmware from 2020-12-02-raspios-buster-armhf-lite.img

Last edited by sndwvs; 01-12-2021 at 08:58 AM.
 
Old 01-12-2021, 09:11 AM   #43
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
Hm! Both those already exist. This install came from your xfce image of the 29/12/2020.

The bluetooth subsystem seems to be working, and can be restarted:
Code:
~# /etc/rc.d/rc.bluetooth restart
Starting Bluetooth services:  bluetoothd hciconfig sdptool hciattach
If I plug a USB bluetooth adapter in, it works fine. It just doesn't recognise the internal one.



--
Pete
 
Old 01-12-2021, 11:03 AM   #44
pchristy
Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 702

Original Poster
Rep: Reputation: Disabled
I downloaded the 2020-12-02-raspios-buster-armhf-lite.img and copied the contents of /lib/firmware/brcm to my sd card. No difference, wifi still works, bluetooth doesn't.

On Raspbian, the /lib folder is a link to /usr/lib, and in there is a folder called bluetooth containing a single executable file called bluetoothd. Now being an executable, this will be architecture dependent, but I gave it a try anyway - didn't help, so I deleted it. But it looks as if the Pi-400 may need something else besides the firmware to get it up and running?

Any thoughts?

--
Pete
 
Old 01-12-2021, 11:16 AM   #45
sndwvs
Member
 
Registered: Aug 2014
Posts: 942

Rep: Reputation: Disabled
Quote:
Originally Posted by pchristy View Post
I downloaded the 2020-12-02-raspios-buster-armhf-lite.img and copied the contents of /lib/firmware/brcm to my sd card. No difference, wifi still works, bluetooth doesn't.
this is not specific, half of it is unnecessary for this board.

try running btuart
Code:
ls /dev | grep -P 'ttyAM|ttyS|serial'
should be
Code:
serial0
serial1
ttyAMA0
ttyS0
also check in /boot/config.txt
Code:
[all]
dtparam=i2c_arm=on
dtparam=spi=on

Last edited by sndwvs; 01-12-2021 at 11:22 AM.
 
  


Reply

Tags
pi 400


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Pi 400 slarm64-current not booting pchristy Slackware - ARM 18 12-29-2020 12:16 PM
[SOLVED] Slarm64 / Xfce / Blueman / PyGObject - GUI seems broken? shelldweller Slackware - ARM 9 02-20-2020 10:25 AM
Installing slarm64 on a Raspberry PI 4 akschu Slackware - ARM 0 01-04-2020 09:44 PM
slarm64 no wifi kermitdafrog8 Slackware - ARM 45 09-27-2019 10:33 AM
[VPS] 4 load page = 100 MB RAM loaded? do i need 100x 400 mb ram for next 400 page? vaporizel Linux - Server 1 03-14-2011 08:40 PM

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

All times are GMT -5. The time now is 06:40 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