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

Re: [solved] How to set/change option for a specific input device with new Xorg+HAL

On Sun, Apr 12, 2009 at 14:35, Florian Kulzer
<florian.kulzer+debian@icfo.es> wrote:


> First of all, I would check if Xorg really uses the list of input
> devices from HAL. Here is what my log tells me now, with all former
> InputDevice sections and related entries in ServerLayout commented out:
> $ grep -i hal /var/log/Xorg.0.log
> (II) The server relies on HAL to provide the list of input devices.
>        If no devices become available, reconfigure HAL or disable AllowEmptyInput.
> (II) config/hal: Adding input device Macintosh mouse button emulation
> (II) config/hal: Adding input device Dell Premium USB Optical Mouse
> (II) config/hal: Adding input device Dell Dell USB Keyboard

got that

> Furthermore, to see what HAL knows about the keyboard:
> $ lshal -u $(hal-find-by-capability --capability "input.keyboard")
> udi = '/org/freedesktop/Hal/devices/usb_device_413c_2003_noserial_if0_logicaldev_input'
>  info.addons.singleton = {'hald-addon-input'} (string list)
>  info.callouts.add = {'debian-setup-keyboard'} (string list)
>  info.capabilities = {'input', 'input.keyboard', 'input.keypad', 'input.keys', 'button'} (string list)
>  info.category = 'input'  (string)

looks good

>  [...]
>  input.product = 'Dell Dell USB Keyboard'  (string)
>  input.x11_driver = 'evdev'  (string)
>  input.xkb.layout = 'es'  (string)
>  input.xkb.model = 'pc105'  (string)
>  input.xkb.options = 'lv3:ralt_switch,compose:rwin'  (string)
>  input.xkb.rules = 'base'  (string)
>  input.xkb.variant = 'nodeadkeys'  (string)
> It is important that hal shows the "evdev" driver and all the
> input.xkb.* properties correctly, as well as the "debian-setup-keyboard"
> callout. The callout ensures that a script in /usr/lib/hal/ is executed
> /etc/default/console-setup.

Hmm, everything checks out. The one oddity was that the console-setup
XKBVARIANT was set to "latin", not OADG109A or nothing. I changed that,
and I will reboot and see what happens. The other thing is that the last
time I tried not using setxkbmap was quite some time ago, and there
have been a few upgrades to xserver and evdev since then.

Kelly Clowers

Reply to: