[Pkg-utopia-maintainers] Bug#600291: hal: Pressing Shift-Left generates incorrectly BrightnessDown
Michal Sojka
sojkam1 at fel.cvut.cz
Fri Oct 15 15:49:38 UTC 2010
Package: hal
Version: 0.5.14-3
Severity: normal
When I put my laptop (HP 6710b) into a docking station and use
external keyboard, certain keyboard combinations (e.g. Shift-Left),
generate BrightnessDown keycode. When that happend and the external
keyboard switches to some strange mode where normal keys doesn't work
and arrows generates BrightnessDown even without shift. The external
keyboard starts working again only after I press Fn-F9/10 on the
internal laptop keyboard i.e. real brightnes down/up keys.
This happens only if I boot or resume the laptop in the docking
station. Everything works correctly when laptop is booted outside and
then it is put into the dock.
What follow are two different output from lshal which are (I hope)
relevant to the problem.
1) When there is the problem with external keyboard (keymap.data
contains e012:brightnessdown for two devices):
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX0_port_logicaldev_input'
info.addons.singleton = {'hald-addon-input'} (string list)
info.capabilities = {'input', 'input.keyboard', 'input.keypad', 'input.keys', 'input.keymap', 'button'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX0_port' (string)
info.product = 'AT Raw Set 2 keyboard' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX0_port_logicaldev_input' (string)
input.device = '/dev/input/event9' (string)
input.keymap.data = {'e001:fn_esc', 'e009:battery', 'e00a:screenlock', 'e00b:camera', 'e00c:media', 'e00e:dvd', 'e031:help', 'e033:f23', 'e057:wlan', 'e012:brightnessdown', 'e017:brightnessup', 'e06e:switchvideomode', 'e008:presentation', 'e059:help'} (string list)
input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX0_port' (string)
input.product = 'AT Raw Set 2 keyboard' (string)
linux.device_file = '/dev/input/event9' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/devices/platform/i8042/serio1/input/input9/event9' (string)
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port'
info.linux.driver = 'atkbd' (string)
info.parent = '/org/freedesktop/Hal/devices/platform_i8042' (string)
info.product = 'i8042 KBD port' (string)
info.subsystem = 'serio' (string)
info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'serio' (string)
linux.sysfs_path = '/sys/devices/platform/i8042/serio0' (string)
serio.description = 'i8042 KBD port' (string)
serio.id = 'serio0' (string)
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input'
info.addons.singleton = {'hald-addon-input'} (string list)
info.capabilities = {'input', 'input.keyboard', 'input.keypad', 'input.keys', 'input.keymap', 'button'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port' (string)
info.product = 'AT Translated Set 2 keyboard' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input' (string)
input.device = '/dev/input/event4' (string)
input.keymap.data = {'e001:fn_esc', 'e009:battery', 'e00a:screenlock', 'e00b:camera', 'e00c:media', 'e00e:dvd', 'e031:help', 'e033:f23', 'e057:wlan', 'e012:brightnessdown', 'e017:brightnessup', 'e06e:switchvideomode', 'e008:presentation', 'e059:help'} (string list)
input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port' (string)
input.product = 'AT Translated Set 2 keyboard' (string)
linux.device_file = '/dev/input/event4' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/devices/platform/i8042/serio0/input/input4/event4' (string)
2) When the external keyboard works correctly (e012:brightnessdown
appears only once):
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX0_port'
info.parent = '/org/freedesktop/Hal/devices/platform_i8042' (string)
info.product = 'i8042 AUX0 port' (string)
info.subsystem = 'serio' (string)
info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX0_port' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'serio' (string)
linux.sysfs_path = '/sys/devices/platform/i8042/serio1' (string)
serio.description = 'i8042 AUX0 port' (string)
serio.id = 'serio1' (string)
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port'
info.linux.driver = 'atkbd' (string)
info.parent = '/org/freedesktop/Hal/devices/platform_i8042' (string)
info.product = 'i8042 KBD port' (string)
info.subsystem = 'serio' (string)
info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'serio' (string)
linux.sysfs_path = '/sys/devices/platform/i8042/serio0' (string)
serio.description = 'i8042 KBD port' (string)
serio.id = 'serio0' (string)
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input'
info.addons.singleton = {'hald-addon-input'} (string list)
info.capabilities = {'input', 'input.keyboard', 'input.keypad', 'input.keys', 'input.keymap', 'button'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port' (string)
info.product = 'AT Translated Set 2 keyboard' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input' (string)
input.device = '/dev/input/event4' (string)
input.keymap.data = {'e001:fn_esc', 'e009:battery', 'e00a:screenlock', 'e00b:camera', 'e00c:media', 'e00e:dvd', 'e031:help', 'e033:f23', 'e057:wlan', 'e012:brightnessdown', 'e017:brightnessup', 'e06e:switchvideomode', 'e008:presentation', 'e059:help'} (string list)
input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port' (string)
input.product = 'AT Translated Set 2 keyboard' (string)
linux.device_file = '/dev/input/event4' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/devices/platform/i8042/serio0/input/input4/event4' (string)
Is there a way to fix the problem?
-Michal
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35.6 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages hal depends on:
ii adduser 3.112 add and remove users and groups
ii dbus 1.3.2-wsh1 simple interprocess messaging syst
ii hal-info 20091130-1 Hardware Abstraction Layer - fdi f
ii libblkid1 2.17.2-3.1 block device id library
ii libc6 2.11.2-5 Embedded GNU C Library: Shared lib
ii libdbus-1-3 1.3.2-wsh1 simple interprocess messaging syst
ii libdbus-glib-1-2 0.88-2 simple interprocess messaging syst
ii libexpat1 2.0.1-7 XML parsing C library - runtime li
ii libglib2.0-0 2.25.11-3 The GLib library of C routines
ii libhal-storage1 0.5.14-3 Hardware Abstraction Layer - share
ii libhal1 0.5.14-3 Hardware Abstraction Layer - share
ii libusb-0.1-4 2:0.1.12-16 userspace USB programming library
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
ii mount 2.17.2-3.1 Tools for mounting and manipulatin
ii pciutils 1:3.1.7-5 Linux PCI Utilities
ii udev 161-1 /dev/ and hotplug management daemo
ii usbutils 0.87-5 Linux USB utilities
Versions of packages hal recommends:
ii consolekit 0.4.1-4 framework for defining and trackin
ii eject 2.1.5+deb1+cvs20081104-7 ejects CDs and operates CD-Changer
ii pm-utils 1.3.0-2 utilities and scripts for power ma
Versions of packages hal suggests:
pn gnome-device-manager <none> (no description available)
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list