View Single Post
Posts: 14 | Thanked: 4 times | Joined on Nov 2010
#332
Originally Posted by FrankT View Post
I guess the error is in this direction. I used SETXKBMAP before using extkbd. Is there any way to undo those settings?

Edit:
I re-added the keyboard (it wouldn't reconnect otherwise), now I got the numbers, but still the shift is not working correct. I have to press shift first, then (after releasing) press the other key. This doesn't work e.g. in OpenOffice. Furthermore, I cannot select anything while holding shift.

One more strange thing: in the default notepad, Ctrl+S doesn't work, Ctrl+F does..
Today I read this whole thread and it seems there are quite a few people with this problem. Most of them give up after a few post, so there is no solution posted.

I tried tweaking my 99-x11-external-keyboard.fdi to:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
   <device>
       <match key="info.capabilities" contains="input.keyboard">
           <match key="info.product" contains="Microsoft Bluetooth Mobile Keyboard 6000">
               <merge key="input.x11_options.XkbModel" type="string">pc105</merge>
               <merge key="input.x11_options.XkbLayout" type="string">nl,us</merge>
               <merge key="input.x11_options.XkbOptions" type="string">grp:alt_shift_toggle,caps:shiftlock</merge>
			   <merge key="input.xkb.model" type="string">evdev</merge>
           </match>
       </match>
   </device>
</deviceinfo>
Now lshal gives:
Code:
udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_1'
  info.addons.singleton = {'hald-addon-input'} (string list)
  info.capabilities = {'input', 'input.keyboard', 'input.keypad', 'input.keys', 'button'} (string list)
  info.category = 'input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Microsoft Bluetooth Mobile Keyboard 6000'  (string)
  info.subsystem = 'input'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_1'  (string)
  input.device = '/dev/input/event4'  (string)
  input.product = 'Microsoft Bluetooth Mobile Keyboard 6000'  (string)
  input.x11_driver = 'evdev'  (string)
  input.x11_options.XkbLayout = 'nl,us'  (string)
  input.x11_options.XkbModel = 'pc105'  (string)
  input.x11_options.XkbOptions = 'grp:alt_shift_toggle,caps:shiftlock'  (string)
  input.x11_options.XkbRules = 'evdev'  (string)
  input.x11_options.XkbVariant = ''  (string)
  input.xkb.layout = 'us'  (string)
  input.xkb.model = 'evdev'  (string)
  input.xkb.options = {''} (string list)
  input.xkb.rules = 'base'  (string)
  input.xkb.variant = ''  (string)
  linux.device_file = '/dev/input/event4'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/class/input/input10/event4'  (string)
Still the keyboard reacts as if it was the internal keyboard (no numbers, but long-pressing q gives 1, etc). Freemangordon do you have any ideas what I could do next?