| onefang | ALSA 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 |
|---|---|---|
| onefang | Might 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 |
| fsmithred | oh, I never look at the command I use to start qemu. I think it might have snd-intel-hda in it. | 02:27 |
| onefang | Both 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 |
| onefang | I tried the hda one, and all the others. | 02:27 |
| onefang | Also 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 |
| onefang | There's reasons why people keep reinventing Linux sound. lol | 02:30 |
| fsmithred | what I'm using in /etc/default/espeakup is ALSA_CARD=`aplay -l | awk '/card 0/ { print $3 }'` | 02:31 |
| fsmithred | it 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 |
| fsmithred | card 0 | 02:32 |
| onefang | In 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 |
| fsmithred | The problem is also present during a speech-synth install with the installer isos. | 02:36 |
| fsmithred | I tried a hardware install on the laptop with HDMI as card 0., | 02:37 |
| fsmithred | there was no sound during the install | 02:37 |
| fsmithred | I guess I should file a bug on the installer isos. | 02:38 |
| fsmithred | afk | 02:39 |
| onefang | Also 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 |
| onefang | I'm missing something from your awk invocation, just getting errors even after some tweaks. | 02:40 |
| onefang | fsmithred: 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 |
| onefang | Right 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. lol | 02:51 |
| onefang | Flaw in that is the blind user wont hear anything, and might not know to hit N until they do. | 02:52 |
| onefang | Loop 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 |
| fsmithred | qemu-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=2 | 03:01 |
| fsmithred | onefang, I'll set up the transfer now | 03:02 |
| onefang | OK. | 03:02 |
| fsmithred | as soon as I remember how | 03:02 |
| onefang | lol | 03:02 |
| onefang | We did it a few days ago, might still be in your history. | 03:03 |
| fsmithred | yeah, it's in my history on the other laptop | 03:03 |
| onefang | Ah. | 03:03 |
| fsmithred | couple minutes... | 03:03 |
| onefang | No hurry. | 03:03 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!