On Sun, Apr 20, 2025 at 05:28:24AM -0400, fsmithred via Dng wrote:
> I managed to combine them. You can still use card number or name. If you use
> the name, the script will get the card number from aplay. It sets the card
> in /etc/default/espeakup and /etc/asound.conf and restarts both espeakup and
> alsa. It cleans up after itself, so you can run it multiple times until you
> find the card that works. And if you tell it to use a card that doesn't
> exist, it does nothing and exits with an error.
>
> I put it on paste.debian.net here:
> https://paste.debian.net/1370439/
>
I tried it out, and the new set-card script works nicely in my
testing, thank you.
> Make sure the usb is not disconnecting and reconnecting. Sometimes they do
> that if they can wiggle in the port.
I wasn't able to reproduce this, so I assume it was a one time issue.
Greg
--
web site:
http://www.gregn.net
gpg public key:
http://www.gregn.net/pubkey.asc
--
Free domains:
http://www.eu.org/ or mail dns-manager@???