05-23-2024, 01:00 PM
(05-23-2024, 12:57 PM)Tim Curtis Wrote:Yes, I came to the same conclusion(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.aplay -l
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/
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".
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