I spoke with Phcoder (the original author) about this ages ago, and he recommended not actually playing sound with it, but using it with an audio cable between the output device and input device. I assume you'd be able to use it at a much higher speed that way.
Martin
Dec 7, 2021, 10:37 by nic.c3.14@gmail.com:
On Tue, Dec 7, 2021 at 10:00 AM Peter Stuge peter@stuge.se wrote:
What if you build coreboot for emulation/qemu with spkmodem console? Does QEMU produce actual sound? I don't know whether QEMU has a speaker output.
To add to this, QEMU will produce tones with the spkmodem console if you add "-soundhw pcspk" to your qemu command line. I have tried it, but spkmodem-recv was unable to decode the signal. I do recall being able to get it working once on actual hardware by modifying the timing in spkmodem.c such that the baud rate was some ridiculously low number like 10 baud, and then messing with the #defines in spkmodem-recv, but I don't remember what I set those defines to.
Nicholas _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org