Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: HDMI by default instead of USB after each reboot
#18
(05-23-2024, 12:57 PM)Tim Curtis Wrote:
(05-23-2024, 12:20 PM)romain Wrote:
(05-23-2024, 12:12 PM)Tim Curtis Wrote: This log entry where haystack[0] is "" indicates the issue is in an upstream function.

Code:
20240523 132853 getArrayIndex(): needle="SMSL USB AUDIO", haystack[0]=""

ETA: What is the output from the commands below?

Code:
aplay -l
lsusb
cat /proc/asound/card0/usbid
ls /proc/asound/card0/
aplay -l

Code:
root@salon:~# aplay -l
**** Liste des périphériques matériels PLAYBACK ****
carte 0 : AUDIO [SMSL USB AUDIO], périphérique 0 : USB Audio [USB Audio]
 Sous-périphériques : 1/1
 Sous-périphérique #0 : subdevice #0
carte 1 : vc4hdmi0 [vc4-hdmi-0], périphérique 0 : MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
 Sous-périphériques : 1/1
 Sous-périphérique #0 : subdevice #0
carte 2 : vc4hdmi1 [vc4-hdmi-1], périphérique 0 : MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
 Sous-périphériques : 1/1
 Sous-périphérique #0 : subdevice #0

Is aplay the only command that returns output in French language?

The detection routines would be searching for English key words for example "card 0".
 Yes, I came to the same conclusion 

Code:
root@salon:~# aplay -l | awk -F'[' '/carte 0/{print $2}' | cut -d']' -f1
SMSL USB AUDIO
root@salon:~# aplay -l | awk -F'[' '/card 0/{print $2}' | cut -d']' -f1
Reply


Messages In This Thread
RE: HDMI by default instead of USB after each reboot - by romain - 05-23-2024, 01:00 PM

Forum Jump: