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: 11
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:
Code: Select all
# 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                               


Code: Select all
% 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.
Code: Select all
% 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:
Code: Select all
% 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
 
Posts: 749
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Previous

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 2 guests