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

Bug#796591: debian-installer: beep on x86 UEFI for accessibility



Package: debian-installer
Version: 20150718
Severity: normal

Hello,

As raised during the accessibility talk, we need to emit a beep at boot
menu in the UEFI case too (grub menu).

I don't really know how to test this (can qemu emulate it?), so for
now I'm just attaching a patch which should be working, but which is
not tested.  Also, we probably need to make it conditionalized under
official uploads like was done for the syslinux prompt.

Samuel

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

-- no debconf information
diff --git a/build/boot/hurd/grub-hurd-cdrom.cfg b/build/boot/hurd/grub-hurd-cdrom.cfg
index b50ceb5..a7753b4 100644
--- a/build/boot/hurd/grub-hurd-cdrom.cfg
+++ b/build/boot/hurd/grub-hurd-cdrom.cfg
@@ -26,6 +26,8 @@ else
 	set menu_color_highlight=white/blue
 fi
 
+play 480 440 1
+
 menuentry "Debian GNU/Hurd installer boot menu" {
 	true
 }
diff --git a/build/boot/hurd/grub-hurd-pxe.cfg b/build/boot/hurd/grub-hurd-pxe.cfg
index b5c9fc3..1f6031e 100644
--- a/build/boot/hurd/grub-hurd-pxe.cfg
+++ b/build/boot/hurd/grub-hurd-pxe.cfg
@@ -17,6 +17,8 @@ else
 	set menu_color_highlight=white/blue
 fi
 
+play 480 440 1
+
 menuentry "Debian GNU/Hurd installer boot menu" {
 	true
 }
diff --git a/build/boot/kfreebsd/grub-kfreebsd-cdrom.cfg b/build/boot/kfreebsd/grub-kfreebsd-cdrom.cfg
index c252410..202b3d7 100644
--- a/build/boot/kfreebsd/grub-kfreebsd-cdrom.cfg
+++ b/build/boot/kfreebsd/grub-kfreebsd-cdrom.cfg
@@ -26,6 +26,8 @@ else
 	set menu_color_highlight=white/blue
 fi
 
+play 480 440 1
+
 menuentry "Debian GNU/kFreeBSD installer boot menu" {
 	true
 }
diff --git a/build/boot/kfreebsd/grub-kfreebsd-pxe.cfg b/build/boot/kfreebsd/grub-kfreebsd-pxe.cfg
index 03f242b..587152e 100644
--- a/build/boot/kfreebsd/grub-kfreebsd-pxe.cfg
+++ b/build/boot/kfreebsd/grub-kfreebsd-pxe.cfg
@@ -17,6 +17,8 @@ else
 	set menu_color_highlight=white/blue
 fi
 
+play 480 440 1
+
 menuentry "Debian GNU/kFreeBSD installer boot menu" {
 	true
 }
diff --git a/build/boot/x86/grub/grub-efi.cfg b/build/boot/x86/grub/grub-efi.cfg
index 759076c..79f07da 100644
--- a/build/boot/x86/grub/grub-efi.cfg
+++ b/build/boot/x86/grub/grub-efi.cfg
@@ -17,3 +17,4 @@ else
   set menu_color_highlight=white/blue
 fi
 
+play 480 440 1
diff --git a/build/config/hurd.cfg b/build/config/hurd.cfg
index 4ac8965..d32a919 100644
--- a/build/config/hurd.cfg
+++ b/build/config/hurd.cfg
@@ -33,7 +33,7 @@ GRUB_CFG_PXE=boot/hurd/grub-hurd-pxe.cfg
 # GRUB modules
 GRUB_PLATFORM=i386-pc
 GRUB_MODDIR=/usr/lib/grub/$(GRUB_PLATFORM)
-GRUB_MODULES_PXE=pxe tftp multiboot cpuid echo gfxterm gfxterm_background gzio minicmd normal png vbe
+GRUB_MODULES_PXE=pxe tftp multiboot cpuid echo play gfxterm gfxterm_background gzio minicmd normal png vbe
 
 # Location for Xen example configuration.
 XENCFG = $(SOME_DEST)/$(EXTRANAME)debian.cfg
diff --git a/build/config/kfreebsd.cfg b/build/config/kfreebsd.cfg
index b8eddd1..b549739 100644
--- a/build/config/kfreebsd.cfg
+++ b/build/config/kfreebsd.cfg
@@ -18,7 +18,7 @@ GRUB_CFG_PXE=boot/kfreebsd/grub-kfreebsd-pxe.cfg
 # GRUB modules
 GRUB_PLATFORM=i386-pc
 GRUB_MODDIR=/usr/lib/grub/$(GRUB_PLATFORM)
-GRUB_MODULES_PXE=pxe tftp bsd cpuid echo gfxterm gfxterm_background gzio minicmd normal png vbe
+GRUB_MODULES_PXE=pxe tftp bsd cpuid echo play gfxterm gfxterm_background gzio minicmd normal png vbe
 
 # Location for Xen example configuration.
 XENCFG = $(SOME_DEST)/$(EXTRANAME)debian.cfg

Reply to: