Bug#807945: keyboard-configuration skips prompts when using only bluetooth keyboard
Package: keyboard-configuration
Version: 1.123
Severity: normal
Dear Maintainer,
When configuring a system that uses only a bluetooth keyboard (no USB keyboard
directly attached), the function keyboard_present() in keyboard-configuration.config
indicates that no keyboard is present, which prevents the keyboard configuration UI
from ever running.
The work around was to plug in a USB keyboard temporarily while running
dpkg-reconfigure keyboard-configuration, so that the function would return
true.
It might be nice if the script could work with bluetooth keyboards, or perhaps
at least emit an error message to console indicating that no keyboard was detected
therefore the configuration UI is being skipped. It took me a long time to figure
out that's why the script wasn't working. This is in part because I spent a lot
of time trying to figure out the significance of these warnings, which I think
are harmless red herrings in the end:
# dpkg-reconfigure keyboard-configuration
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
thanks.
-b.
-- System Information:
Debian Release: 8.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: armhf (armv7l)
Kernel: Linux 3.19.0-00485-gc5f2138 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_SG.utf8, LC_CTYPE=en_SG.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages keyboard-configuration depends on:
ii debconf 1.5.56
ii initscripts 2.88dsf-59
ii liblocale-gettext-perl 1.05-8+b1
keyboard-configuration recommends no packages.
keyboard-configuration suggests no packages.
Versions of packages keyboard-configuration is related to:
ii console-common 0.7.88
ii console-data 2:1.12-5
pn console-tools <none>
ii kbd 1.15.5-2
-- debconf information:
keyboard-configuration/variantcode: dvorak
keyboard-configuration/modelcode: pc105
keyboard-configuration/other:
keyboard-configuration/layout:
keyboard-configuration/altgr: The default for the keyboard layout
keyboard-configuration/toggle: No toggling
keyboard-configuration/store_defaults_in_debconf_db: true
keyboard-configuration/unsupported_layout: true
keyboard-configuration/ctrl_alt_bksp: false
debian-installer/console-setup-udeb/title:
keyboard-configuration/layoutcode: us
keyboard-configuration/unsupported_options: true
keyboard-configuration/switch: No temporary switch
* keyboard-configuration/unsupported_config_options: true
keyboard-configuration/xkb-keymap: us(dvorak)
* keyboard-configuration/model: Generic 105-key (Intl) PC
keyboard-configuration/optionscode: ctrl:nocaps
* keyboard-configuration/variant: English (US) - English (Dvorak)
keyboard-configuration/unsupported_config_layout: true
keyboard-configuration/compose: No compose key
Reply to: