maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] External Keyboard Support - extkbd (https://talk.maemo.org/showthread.php?t=65577)

freemangordon 2011-09-22 07:21

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
Quote:

Originally Posted by istota (Post 1089564)
Sorry and please understand.
He needs to use the full keyboard on my n900. It is now used to use USB keyboard (works very well I have all the numeric keys, ctrl + backspace = TaskManager and modified hildon keys after leaving the task manager q, w, e, r, a, s, d, f. ..... ).
Bluetooth keyboard I bought because I had hoped it use the. There were problems which I could not find answers so I tried everything (xkb chinook, hid script, keyboard bluetoth for fremantle).
I have saved settings usb keyboard


whether something helps

I know and understand the Lord is now very busy, but kindly please help.

1. First of all please remove all other software that tries to set keyboard layout:

bt-hid-scripts
modified Xorg evdev driver (if installed)
modified layouts
whatever else you have installed related to bluetooth.

2. Reinstall extkbd (and extmou if installed)

in terminal as root:
apt-get install --reinstall extkbd
(apt-get install --reinstall extmou)

3. Reboot your n900

4. After the reboot re-pair your keyboard

5. Go to settings->external keyboard. You should have your bluetooth keyboard listed. Set first language to USA(variant none), second to your preference(Romanian?) and try with different settings for keyboard layout (for example MacBook/MacBook pro) to see if it will work. As your keyboard uses non-standard layout and the model is not supported it could take a while until you find the correct layout. After EVERY settings change you must push Save button so your changes to take effect.

Estel 2011-09-23 05:58

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
Quote:

Originally Posted by freemangordon (Post 1093710)
Seems you have some keyboard/mouse combo, that is why you have cursor when device is connected.

Nope, this is why I reported it. It' It's "just plain" USB keyboard, recognized by ext* as "USB-compliant keyboard". Normally, when I connect mouse (or mouse and keyboard via HUB, or keyboard with trackball) I got appropriate message.

Unless, of course, unspecified (by extkb database) "USB-Compliant" keyboard got "mouse-mode" enabled by default, just in case there may be trackball. That might be sane explanation (and approach). Anyway, it's indeed no big deal :)

cube48 2011-09-23 11:07

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
I'm in the same situation like jschan.
My HP TouchPad Wireless Keyboard is connected and properly detected but I can write only letters. No matter which layout I choose, it's still mimicking the phone keyboard layout (i.e. when holding "a" character longer, "*" is written).

I have no problems with USB keyboard via H-E-N. There the layouts are being switched fine.

Thanks in advance for any hints.

istota 2011-09-23 12:05

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
Quote:

Originally Posted by cube48 (Post 1094432)
I'm in the same situation like jschan.
My HP TouchPad Wireless Keyboard is connected and properly detected but I can write only letters. No matter which layout I choose, it's still mimicking the phone keyboard layout (i.e. when holding "a" character longer, "*" is written).

I have no problems with USB keyboard via H-E-N. There the layouts are being switched fine.

Thanks in advance for any hints.

Welcome to the club !!!

FrankT 2011-09-25 19:52

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
Quote:

Originally Posted by istota (Post 1094469)
Welcome to the club !!!

I've got the same problem, anyone has a suggestion?

FrankT 2011-09-25 20:17

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
Quote:

Originally Posted by freemangordon (Post 1086175)
I think I already told you to not use setxkbmap. If you insist on using it ok, just reminding you that this is EXTKBD thread, not SETXKBMAP thread.

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..

cube48 2011-09-26 07:02

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
I think I'm getting to close to workaround to my problem. I'm using xbindkeys for switching apps to fullscreen. Thanks to xbindkeys I can capture keycodes from BT keyboard and assign them some function/command.
Code:

# Capture multiple key codes - popup will shows up where the keys should be captured and codes are then shown in original terminal.
xbindkeys -mk

Captured codes can be inserted in xbindkeys config file with associated command. So far so good.

What I don't know is how to initiate certain keypress event from xbindkeys as a command. Can anybody give me some hint how to invoke keypresses from terminal? Thanks!

Edit: Answer to my question is: xdotool

trlopes1974 2011-09-26 13:00

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
http://talk.maemo.org/attachment.php...1&d=1317041646


Just bought this BeeWi BT keyboard. all char keys are working perfectly. Yet, some special keys do not seem to work no matter wich layout I choose. Is it possibel to create a new kb layout??

istota 2011-09-26 14:01

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
Quote:

Originally Posted by cube48 (Post 1096462)
I think I'm getting to close to workaround to my problem. I'm using xbindkeys for switching apps to fullscreen. Thanks to xbindkeys I can capture keycodes from BT keyboard and assign them some function/command.
Code:

# Capture multiple key codes - popup will shows up where the keys should be captured and codes are then shown in original terminal.
xbindkeys -mk

Captured codes can be inserted in xbindkeys config file with associated command. So far so good.

What I don't know is how to initiate certain keypress event from xbindkeys as a command. Can anybody give me some hint how to invoke keypresses from terminal? Thanks!

Edit: Answer to my question is: xdotool

hello

if you can get the keyboard shortcuts ctrl + backspace maemo = TaskManager.
choice of the minimized windows in the TaskManager via letter keys.
Can you describe precisely what and how?

istota 2011-10-02 14:09

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
Quote:

Originally Posted by freemangordon (Post 1093716)
1. First of all please remove all other software that tries to set keyboard layout:

bt-hid-scripts
modified Xorg evdev driver (if installed)
modified layouts
whatever else you have installed related to bluetooth.

2. Reinstall extkbd (and extmou if installed)

in terminal as root:
apt-get install --reinstall extkbd
(apt-get install --reinstall extmou)

3. Reboot your n900

4. After the reboot re-pair your keyboard

5. Go to settings->external keyboard. You should have your bluetooth keyboard listed. Set first language to USA(variant none), second to your preference(Romanian?) and try with different settings for keyboard layout (for example MacBook/MacBook pro) to see if it will work. As your keyboard uses non-standard layout and the model is not supported it could take a while until you find the correct layout. After EVERY settings change you must push Save button so your changes to take effect.

Hi

brought back the old picture BckupMenu

uninstall
- MmmRemotePhoneControl
- Bt-hid script is not installed
- Modified evdev Xorg driver - if it does not conflict with extkbd?
- Our original rx-51
- Unistal extkbd extmou

-Removed bluetooth paired devices
-Clean / var / lib / bluetooth ....
-Clean rotfs (Clear apt cache, Remove unused dependencies, Purge unused configuration files)

- Apt-get install - reinstall xkb-data
- Apt-get install extkbd extmou

achievements
- Letter keys (no key numeruw, no special keys CTRL ......) Check with different settings - no change

*Help now what ?????????


All times are GMT. The time now is 10:41.

vBulletin® Version 3.8.8