Notices


Reply
Thread Tools
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#81
Originally Posted by xxxxts View Post
The keyboards list does not show my Apple Keyboard that is connected. I have done everything correctly I believe. Can someone give me some pointers?
Did you enable bt input plugin as described here
http://wiki.maemo.org/Fremantle_Unsu...ds_and_mice.29. And what happens when Tools->reConnect is pressed
 
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, 101 views)

Last edited by x-lette; 2010-11-30 at 09:11.
 
xxxxts's Avatar
Posts: 491 | Thanked: 341 times | Joined on Nov 2009 @ LA
#83
Originally Posted by freemangordon View Post
Did you enable bt input plugin as described here
http://wiki.maemo.org/Fremantle_Unsu...ds_and_mice.29. And what happens when Tools->reConnect is pressed
Yes I did follow that. It (re)Connects just fine, the bluetooth lights up blue and they are paired but no go with it showing up in the keyboard list.
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#84
@x-lette

input.x11_options.XkbOptions = ',caps:shiftlock' (string)
input.x11_options.XkbModel = 'acpi' (string)

seems you did not set up keyboard from UI.

Set Layout to "Generic 105-key (Intl) PC"
Set Language Switch Key(s) to "Alt+Shift"

Press Save

And... remove bt-hid-scripts, you do not need them
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#85
Originally Posted by xxxxts View Post
Yes I did follow that. It (re)Connects just fine, the bluetooth lights up blue and they are paired but no go with it showing up in the keyboard list.
Hm, did you update extkbd to v 1.0.1 ?
Can you attach output from dmesg and also /tmp/Xorg.0.log
 
xxxxts's Avatar
Posts: 491 | Thanked: 341 times | Joined on Nov 2009 @ LA
#86
Originally Posted by freemangordon View Post
Hm, did you update extkbd to v 1.0.1 ?
Can you attach output from dmesg and also /tmp/Xorg.0.log
Yes I am running 1.0.1 - can you please explain how to get dmesg output?
 
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#87
Originally Posted by freemangordon View Post
@x-lette

input.x11_options.XkbOptions = ',caps:shiftlock' (string)
input.x11_options.XkbModel = 'acpi' (string)

seems you did not set up keyboard from UI.
I did. I lastly set keyboard to acpi. don't know what that means but it has no effect too. Language switch i left empty as I usually don't need to switch between languages. Might that be the final point?
Set Layout to "Generic 105-key (Intl) PC"
Set Language Switch Key(s) to "Alt+Shift"

Press Save

And... remove bt-hid-scripts, you do not need them
I just removed these scripts which also removed libxmuu1, xorg-evdev-mouse and zenity. Device immediately rebooted and now my keyboard is recognised and pairs but is unpaired again after few seconds. No chance to do anything. While paired no keys are working.

EDIT: when doing reconnect in UI I get error 'Method "Connect" with signature "" on interface "org.bluez.Input" doesn't exist'

Last edited by x-lette; 2010-11-30 at 11:09.
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#88
 
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#89
Originally Posted by xxxxts View Post
Yes I am running 1.0.1 - can you please explain how to get dmesg output?
right after you connect your keyboard in xterm type "dmesg > dmesg.log" without quotes
 
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#90
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
I formatted, installed the application and says:
Method "Connect" with signature "" on interface "org.bluez.Input" does not exist
 
Reply

Tags
bluetooth, keyboard


 
Forum Jump


All times are GMT. The time now is 22:34.