[BRLTTY] Minimum stuff needed to play a sound in an installer.

S. Massy lists at wolfdream.ca
Sun Nov 30 15:56:01 EST 2014


On Fri, Nov 28, 2014 at 06:11:42PM +0100, Didier Spaier wrote:
> Hi there,
> 
> I need to play a sound as a prompt for blind users in
> a Linux installer.
> 
> I ship the pcspkr module so I can just issue:
>   echo -e "\a"
> So far, so good.
> 
> But I have been told that most modern legacy-free
> PCs don't have pcspkr support anymore.
Corect. Few PCs do and virtually no laptops or other portable computers.

> 
> Then, what would be the bare minimum stuff to ship
> in the installer to just play a sound, knowing that it
> has absolutely no sound support at the moment (no
> kernel module for sound, no userspace application)?
If you have no sound support then it seems unlikely that you will be
able to play any sound. Your best bet would be to rely on the braille
display to notify the user. I assume your user will have a connected
braille display? If you have no sound support and braille isn't active
at that point, you could always use a connected network to send a form
of notification; that's the route I'd take if I were trying to hack some
accessibility into a system for my own purposes and had to cope with
such limitations.
Cheers,
S.M.
-- 
Sebastien Massy
Montreal, Canada
Website: http://www.wolfdream.ca
Twitter: http://www.twitter.com/SMassy1
LinkedIn: http://ca.linkedin.com/pub/sebastien-massy/47/5a5/81a
Google+: https://plus.google.com/113474861330993124986/posts


More information about the BRLTTY mailing list