No USB detected on Raspberry Pi 4 with aarch64

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby robg » Sun Jan 10, 2021 4:12 pm

So it's definitely not related to your kernel. I will try to find some time next week to see what settings pulseaudio-alsa imports and that (may) need be added to the kernel. Since this is now diverging from the original (USB) topic, I'll open a new thread when I get around to investigating.

Many thanks again!
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby graysky » Sun Jan 10, 2021 4:20 pm

Seems one solution is to add dtparam=audio=on to /boot/config.txt. After doing that, as long as your user is in the audio group, it works as expected:
$this->bbcode_second_pass_code('', '# pacman -S alsa-utils mpg123
...
% mpg123 02-The_Need_to_Dance.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.26.3; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes


Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: 02-The_Need_to_Dance.mp3 ...

MPEG 1.0 L III cbr128 44100 j-s

Title: The Need to Dance Artist: The Jerky Boys
Comment: Album: The Jerky Boys 4
Year: 1997 Genre: Unknown ')

$this->bbcode_second_pass_code('', '% id
uid=1004(facade) gid=985(users) groups=985(users),995(audio)')

This is under my kernel/aarch64 (5.10.y) or the current repo kernel (5.4.83).

And it only works without the kms driver. With the kms driver it does not work.
$this->bbcode_second_pass_code('', '% cat /boot/config.txt
# dtoverlay=vc4-kms-v3d
dtparam=audio=on
hdmi_force_hotplug=1
over_voltage=6
arm_freq=2000')

Yet booting with it:
$this->bbcode_second_pass_code('', '% mpg123 02-The_Need_to_Dance.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.26.3; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
[src/libout123/module.c:133] error: Failed to open module sdl.
[src/libout123/module.c:133] error: Failed to open module jack.
[src/libout123/module.c:133] error: Failed to open module pulse.
[src/libout123/libout123.c:468] error: Found no driver out of [alsa,oss,sdl,jack,pulse] working with device <default>.
main: [src/mpg123.c:323] error: out123 error 3: failure loading driver module
')
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby inqysoul » Mon Apr 05, 2021 4:33 pm

Hi, I might be a bit late but I've found a post that goes over the solution for this issue. Here's the link :

https://kiljan.org/2021/02/20/64-bit-arch-linux-arm-on-a-raspberry-pi-4-model-b-with-8-gb-of-ram/

I followed the instructions on the link and my USB ports are working fine now.
inqysoul
 
Posts: 1
Joined: Mon Apr 05, 2021 4:26 pm

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby pierrec » Tue Apr 06, 2021 7:58 am

Thank you, the author uses the upstream kernel linux-raspberrypi4.
Btw the post is quite recent, Feb 2021.
pierrec
 
Posts: 9
Joined: Wed Dec 16, 2020 3:12 pm

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby crowlKats » Tue Apr 13, 2021 4:02 pm

I am encountering this issue now, but the method in the link mentioned above doesn't work, and going through the replies in this thread I can't figure out what I need to do. My biggest problem is that it seems the PI doesn't have any network connectivity, so I can't even SSH into it, making it impossible for me to do anything.
crowlKats
 
Posts: 1
Joined: Tue Apr 13, 2021 3:42 pm

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby robg » Tue Apr 13, 2021 4:33 pm

Try setting "total_mem=4096" (or anything below 4GB, e.g., 2048) in /boot/config.txt. This should allow you to boot with working USB peripherals (and internet?) The ALARM aarch64 image is meant to be installed on a RPI 4 with 4GB of RAM and apparently does not take too kindly to the 8GB version. If the above trick allows you to boot with a working keyboard, you can then install the linux-raspberrypi4 kernel which supports the 8GB RPI.
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am

Previous

Return to ARMv8

Who is online

Users browsing this forum: Google [Bot] and 3 guests