Comment 110 for bug 278078

Revision history for this message
In , Petr Machata (pmachata) wrote :

I see this problem too. I set a crazy repeat values:

# lshal | sed -n '/input.product.*Keyboard/,+5p'
  input.product = 'Dell Dell USB Keyboard' (string)
  input.x11_driver = 'evdev' (string)
  input.x11_options.AutoRepeat = '1000 250' (string)
  input.xkb.layout = 'us,cz,ru' (string)
  input.xkb.model = 'evdev' (string)
  input.xkb.options = 'terminate:ctrl_alt_bksp,grp:switch,grp:alt_shift_toggle,grp_led:scroll' (string)

... yet the keyboard, when unplugged and re-plugged, has some sort of default repeat ratio.

I took a peek in the sources. config/hal.c:device_added doesn't name that option explicitly (it does so for layout, model, etc.), but it sticks it into its option array anyway. NewInputDeviceRequest then adds all these options to IDevRec::commonOptions. hw/xfree86/common/xf86Option.c:xf86CollectInputOptions then copies this over to InputInfoPtr::config. Then I gave up, `config' is mentioned in too many places for me to sift through.