[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Having a d-i boot timeout for enabling speech?



Hello,

Users on the debian-accessibility mailing list reported that they found
it very useful that the MacOS X installation image automatically starts
a speech-enabled installer when the boot menu is left untouched for
10 seconds, so that blind people have really nothing more to do than
plugging the installation USB key and turning the computer on to get a
speaking installer (and notably in the case when the computer does not
have a hardware speaker for beeping at the boot menu).

It happens that syslinux supports this, the attached patch implements
it. What do debian-boot people think about the idea?

Samuel
diff --git a/build/boot/x86/spk.cfg b/build/boot/x86/spk.cfg
index 7b5ee92af..13d51c8c6 100644
--- a/build/boot/x86/spk.cfg
+++ b/build/boot/x86/spk.cfg
@@ -2,3 +2,5 @@ label installspk
 	menu label Install with ^speech synthesis
 	kernel ${KERNEL}
 	append desktop=%desktop% ${VIDEO_MODE} initrd=${INITRD} speakup.synth=soft --- quiet ${CONSOLE}
+timeout 100
+ontimeout ${KERNEL} desktop=%desktop% ${VIDEO_MODE} initrd=${INITRD} speakup.synth=soft --- quiet ${CONSOLE}
diff --git a/build/boot/x86/spkgtk.cfg b/build/boot/x86/spkgtk.cfg
index d5bec168e..6391d4310 100644
--- a/build/boot/x86/spkgtk.cfg
+++ b/build/boot/x86/spkgtk.cfg
@@ -2,3 +2,5 @@ label installspk
 	menu label Install with ^speech synthesis
 	kernel ${KERNEL}
 	append desktop=%desktop% ${VIDEO_MODE} initrd=${INITRD_GTK} speakup.synth=soft --- quiet ${CONSOLE}
+timeout 100
+ontimeout ${KERNEL} desktop=%desktop% ${VIDEO_MODE} initrd=${INITRD_GTK} speakup.synth=soft --- quiet ${CONSOLE}
diff --git a/build/boot/x86/syslinux.cfg b/build/boot/x86/syslinux.cfg
index 7b2a1ce0d..2063f31d0 100644
--- a/build/boot/x86/syslinux.cfg
+++ b/build/boot/x86/syslinux.cfg
@@ -1,7 +1,7 @@
 # D-I config version 2.0
 # search path for the c32 support libraries (libcom32, libutil etc.)
 path ${SYSDIR}
-include ${SYSDIR}menu.cfg
-default ${SYSDIR}vesamenu.c32
 prompt 0
 timeout 0
+include ${SYSDIR}menu.cfg
+default ${SYSDIR}vesamenu.c32

Reply to: