View Single Post
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#82
Originally Posted by freemangordon View Post
@x-lette Try to uninstall bt-hid-scripts and reinstall extkbd, although I have no idea in what condition is your system after installing both bt-hid-scripts and extkbd. And also could you attach /usr/share/hal/fdi/policy/20thirdparty/99-x11-external-keyboard.fdi here, so I can check what are your actual settings
Some days ago I tried the keyboard without bt-hid-scripts installed and all I got was a message from extkbd that the host was down (I think it was err 112, but not sure). Then I installed them scripts and it still didn't work. After an update of the scripts it did work. But maybe that was related to something completely different (constellation of moon and stars and such).

OK, I will try what you suggest and tell you the results. Just to be sure on that point: with installing extkbd I don't need to fuzzle around with layoutfiles anymore, right? There is a xkb-chinook folder in /usr/share/X11 which I didn't install manually.

BTW, when looking at the attached file I see that there is a string to be matched "Bluetooth Wireless keyboard" and I remember there was someone else having the problem that his keyboard didn't match some string too. Where can I change that string? Directly in this file or does it get overwritten when using extkbd again?

EDIT:
After some looking around it seems like the string is correct. This is what hal-devices tells about the keyboard:
Code:
0: udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_1'
  info.category = 'input'  (string)
  input.device = '/dev/input/event4'  (string)
  input.product = 'Bluetooth Wireless keyboard'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  linux.sysfs_path = '/sys/class/input/input5/event4'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  info.addons.singleton = { 'hald-addon-input' } (string list)
  info.capabilities = { 'input', 'input.keyboard', 'input.keypad', 'input.keys', 'input.mouse', 'but
  input.xkb.layout = 'us'  (string)
  input.xkb.rules = 'base'  (string)
  info.subsystem = 'input'  (string)
  info.product = 'Bluetooth Wireless keyboard'  (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_1'  (string)
  input.xkb.options = { '' } (string list)
  input.xkb.model = 'nokiarx51'  (string)
  input.x11_options.XkbLayout = 'us,gb'  (string)
  linux.device_file = '/dev/input/event4'  (string)
  input.x11_options.XkbRules = 'evdev'  (string)
  input.x11_driver = 'evdev'  (string)
  input.x11_options.XkbOptions = ',caps:shiftlock'  (string)
  input.x11_options.XkbModel = 'acpi'  (string)
  input.xkb.variant = ''  (string)
  input.x11_options.XkbVariant = ''  (string)
There is a layout us,gb mentioned but this is definitely not applied. Neither us nor gb is active as both should be qwerty-layout, but current layout is still qwertz. (Not that I want to use some qwerty-layout but this seems to be an easy way to check if layout is applied or not.)

Also I found out that some of the keys are actually sending a code to the device but it's not mapped to a character. Can I somehow read the keycodes sent by the keyboard? I didn't find any suitable tool.
Attached Files
File Type: gz 99-x11-external-keyboard.fdi.gz (260 Bytes, 108 views)

Last edited by x-lette; 2010-11-30 at 09:11.