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

Didier Spaier didier at slint.fr
Sun Nov 30 17:53:13 EST 2014


On 30/11/2014 21:56, S. Massy wrote:
> 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.
Thanks Sébastien. I will just hope that users will hear a beep,
and else tell them to wait a few seconds before typing the
command line then.
Cheers,
Didier



More information about the BRLTTY mailing list