libera/#devuan-dev/ Saturday, 2024-10-05

onefangALSA is a pain in the ARSE.  I'm very close to a working solution for "ALSA spreads it's sound everywhere", but ALSA is telling me "Slave PCM not usable".  No other clues.  I do know which one, just not why.02:25
onefangMight be some oddity in the qemu ES1370 sound device, which is the only one with more than one output device.  qemu can't run with more than one of it's supported sound cards at once, so it's the only choice for this test.02:26
fsmithredoh, I never look at the command I use to start qemu. I think it might have snd-intel-hda in it.02:27
onefangBoth work fine if I address them directly, even if I do so at the same time.  But that second ES1370 device refuses to work with ALSA otherwise.02:27
onefangI tried the hda one, and all the others.02:27
onefangAlso looks like one bad output device brings everything down, such as this second device.  So might be why your experiments failed, the one device ALSA can't deal with is stopping them all from working.02:29
onefangThere's reasons why people keep reinventing Linux sound.  lol02:30
fsmithredwhat I'm using in /etc/default/espeakup is ALSA_CARD=`aplay -l | awk '/card 0/ { print $3 }'`02:31
fsmithredit works in some cases. Not when HDMI is card 9. Maybe it would work if I was set up to use HDMI as audio.02:32
fsmithredcard 002:32
onefangIn my case HDMI 9 is the only one of the six audio devices on my graphics card that is actually hooked up to speakers.  Left to it's own ALSA tends to choose the RIG though, which is hooked up to my desktop speakers.02:33
fsmithredThe problem is also present during a speech-synth install with the installer isos.02:36
fsmithredI tried a hardware install on the laptop with HDMI as card 0.,02:37
fsmithredthere was no sound during the install02:37
fsmithredI guess I should file a bug on the installer isos.02:38
fsmithredafk02:39
onefangAlso doesn't help that a utility that might help, asoundconf, was long ago removed.  Though I think it would only help with the post install "select $THIS device as default" step.02:39
onefangI'm missing something from your awk invocation, just getting errors even after some tweaks.02:40
onefangfsmithred: when you get back, can you give me that new ISO of yours, and the script you use to run it under qemu please?02:50
onefangRight now I'm seriously considering a loop through the devices, name them out loud through the device, then ask if the user heard anything, and try the next one.  lol02:51
onefangFlaw in that is the blind user wont hear anything, and might not know to hit N until they do.02:52
onefangLoop through devices, play some short sound, detect errors, don't include that device in asoundrc.  Nasty since I'd have to create a new .asoundrc file for each iteration.02:56
fsmithredqemu-system-x86_64 -name devuan-live-speech-daedalus-20241004_1108.iso -enable-kvm -m 1400 -device e1000,netdev=user.0 -netdev user,id=user.0,hostfwd=tcp::5555-:22 -cdrom devuan-live-speech-daedalus-20241004_1108.iso -vga std -device intel-hda -device hda-duplex -smp cores=2,threads=203:01
fsmithredonefang, I'll set up the transfer now03:02
onefangOK.03:02
fsmithredas soon as I remember how03:02
onefanglol03:02
onefangWe did it a few days ago, might still be in your history.03:03
fsmithredyeah, it's in my history on the other laptop03:03
onefangAh.03:03
fsmithredcouple minutes...03:03
onefangNo hurry.03:03

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!