Notices


Reply
Thread Tools
Posts: 14 | Thanked: 4 times | Joined on Nov 2010
#331
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?
 
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?
 
Posts: 14 | Thanked: 4 times | Joined on Nov 2010
#333
Today I read this whole thread and it seems there are quite a few people with my problem (extkbd having no effect at all). 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?
 
Posts: 14 | Thanked: 4 times | Joined on Nov 2010
#334
Today I read this whole thread and it seems there are quite a few people with my problem (extkbd having no effect at all). 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:

<?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:

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?
 
Posts: 14 | Thanked: 4 times | Joined on Nov 2010
#335
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?
 

The Following User Says Thank You to FrankT For This Useful Post:
Posts: 41 | Thanked: 5 times | Joined on Aug 2011 @ Lima, Peru
#336
Originally Posted by freemangordon View Post
@emotion - delete /usr/share/hal/fdi/policy/20thirdparty/99-x11-external-keyboard.fdi
Thanks for your support freemangordon. I recently reflashed, then I installed extkbd but I can't pairing my SU-8W keyboard. Do you have any idea what to do now to match it as before?

EDIT: now it's OK!!!! Thanks!!!

Last edited by emotion; 2011-10-26 at 08:24.
 
Posts: 166 | Thanked: 74 times | Joined on May 2010
#337
@FrankT - yeah, i'm one of the guys with the same problem. i just haven't posted anything in that i haven't had any new info. i did take it as far as it looks like you did in terms of getting lshal to exclude reporting any nokia keyboard mappings, but like you, i ended up getting the same behavior. i also tried rebooting just in case.

since then, i've just been quietly following the thread, hoping a post sheds more light on the problem.

the only other thing on my n900 that i found suspect was that for some reason, i had a cached deb of extmou that required bt-hid-scripts. if bt-hid-scripts was installed via dependencies at one time though, it wasn't installed anymore when i found the dependency. i keep meaning to, but i haven't taken the time to uninstall/reinstall packages.
 

The Following User Says Thank You to jschan For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#338
@FrankT and jschan - If my memory serves me well extkbd has never had a dependency on bt-hid-scripts, actually those are marked as incompatible.

May some of you post dmesg and syslog output after connecting the keyboard, so I can try to find something wrong there. BTW which version of extkbd are you using?
 

The Following User Says Thank You to freemangordon For This Useful Post:
Posts: 14 | Thanked: 4 times | Joined on Nov 2010
#339
Originally Posted by freemangordon View Post
@FrankT and jschan - If my memory serves me well extkbd has never had a dependency on bt-hid-scripts, actually those are marked as incompatible.

May some of you post dmesg and syslog output after connecting the keyboard, so I can try to find something wrong there. BTW which version of extkbd are you using?
Thank you for your reply. I'm not sure what syslog you mean. Here is my Xorg.0.log
Code:
(**) Microsoft Bluetooth Mobile Keyboard 6000: Device: "/dev/input/event4"
(II) Microsoft Bluetooth Mobile Keyboard 6000: Found 1 mouse buttons
(II) Microsoft Bluetooth Mobile Keyboard 6000: Found scroll wheel(s)
(II) Microsoft Bluetooth Mobile Keyboard 6000: Found keys
(II) Microsoft Bluetooth Mobile Keyboard 6000: Configuring as keyboard
(II) Microsoft Bluetooth Mobile Keyboard 6000: Adding scrollwheel support
(**) Microsoft Bluetooth Mobile Keyboard 6000: (accel) acceleration profile 0
(**) Microsoft Bluetooth Mobile Keyboard 6000: (accel) filter chain progression: 2.00
(**) Microsoft Bluetooth Mobile Keyboard 6000: (accel) filter stage 0: 20.00 ms
(**) Microsoft Bluetooth Mobile Keyboard 6000: (accel) set acceleration profile 0
I don't get why it sees a scrollwheel by the way...
The dmesg looks like:
Code:
[13450.855407] kb_lock (GPIO 113) is now closed
[13451.174621] kb_lock (GPIO 113) is now open
[13457.847412] hci_h4p hci_h4p: firmware: requesting bcmfw.bin
[13475.838836] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[13475.882080] input: Microsoft Bluetooth Mobile Keyboard 6000 as /class/input/input4
[13475.971527] generic-bluetooth 0005:045E:0762.0001: input: BLUETOOTH HID v0.13 Keyboard [Microsoft Bluetooth Mobile Keyboard 6000] on 30:38:55:02:54:59
 

The Following User Says Thank You to FrankT For This Useful Post:
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#340
@FrankT and jschan: Me too. Looks like you both got a lot further than I did!

How related is this to extkb and how much is it because this KB is contrary? If, although using extkb, the problem is more kb specific, is it worth reporting findings/activites in a separate thread for easier reading?
 
Reply

Tags
bluetooth, keyboard


 
Forum Jump


All times are GMT. The time now is 23:31.