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-11-2021, 04:03 PM
|
#31
|
SARPi Maintainer
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,069
|
Quote:
Originally Posted by pchristy
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
|
|
|
01-11-2021, 04:09 PM
|
#32
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,171
Original Poster
Rep: 
|
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
|
|
|
01-12-2021, 12:14 AM
|
#33
|
Senior Member
Registered: Aug 2014
Posts: 2,153
Rep: 
|
Quote:
Originally Posted by pchristy
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.
|
|
|
01-12-2021, 05:47 AM
|
#34
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,171
Original Poster
Rep: 
|
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
|
|
|
01-12-2021, 06:05 AM
|
#35
|
Senior Member
Registered: Aug 2014
Posts: 2,153
Rep: 
|
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
|
|
|
01-12-2021, 06:27 AM
|
#36
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,171
Original Poster
Rep: 
|
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
|
|
|
01-12-2021, 06:37 AM
|
#37
|
Senior Member
Registered: Aug 2014
Posts: 2,153
Rep: 
|
|
|
|
01-12-2021, 07:43 AM
|
#38
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,171
Original Poster
Rep: 
|
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
Last edited by pchristy; 01-12-2021 at 07:44 AM.
Reason: add attachments
|
|
|
01-12-2021, 07:51 AM
|
#39
|
Senior Member
Registered: Aug 2014
Posts: 2,153
Rep: 
|
Quote:
Originally Posted by pchristy
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.
|
|
|
01-12-2021, 07:54 AM
|
#40
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,171
Original Poster
Rep: 
|
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
|
|
|
01-12-2021, 08:09 AM
|
#41
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,171
Original Poster
Rep: 
|
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
|
|
|
01-12-2021, 08:51 AM
|
#42
|
Senior Member
Registered: Aug 2014
Posts: 2,153
Rep: 
|
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.
|
|
|
01-12-2021, 09:11 AM
|
#43
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,171
Original Poster
Rep: 
|
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
|
|
|
01-12-2021, 11:03 AM
|
#44
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,171
Original Poster
Rep: 
|
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
|
|
|
01-12-2021, 11:16 AM
|
#45
|
Senior Member
Registered: Aug 2014
Posts: 2,153
Rep: 
|
Quote:
Originally Posted by pchristy
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.
|
|
|
All times are GMT -5. The time now is 07:56 AM.
|
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
|
|