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 2010-11-18 08:44

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
@eagle_linux:
do you have latest (1.0.0) version?

if so, try next steps:
Once you have configured (and saved) correct layout for external keyboard, try to reconnect it without pressing save button on UI, something like:

1.connect keyboard
2. configure layout from UI
3. save
4. disconnect keyboard
5. connect keyboard
6. dismiss UI (by taping outside dialog)

and playing with setxkbmap will interfere with extkbd, so it is better to avoid it :)

BTW setxkbmap -model nokiarx51 -layout de | xkbcomp -i 3 $DISPLAY sets layout of internal keyboard (id 3)

freemangordon 2010-11-18 08:46

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

Originally Posted by number41 (Post 876779)
No, I assumed the application enabled it by itself. I was actually going to edit my post and this bit of info, but you mentioned it before I did. :) Once I tried it, the application worked like a charm, albeit with one problem:

I couldn't get diacritics, upon which my language (portuguese) depends heavily upon, to work. Changing the language to Brazil wouldn't help. I didn't try Portugal, but I'm not sure it would work.

This is a known bug in maemo since Diablo, I think, though there's a workaround described in http://labs.danilocesar.com/blog/200...cents-on-n800/ , which I couldn't get to work on extkbd. It works on Fremantle, though, I was using it before trying extkbd.

So, did you try Portugal with different variants (nativo for example)?

number41 2010-11-18 10:21

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
I will test it later, today. I should mention, though, that I have the xkb-chinook directory in usb/share/X11, and in both /usr/share/X11/xkb/symbols/nokia_vndr/ and the xkb-chinook variant, i have the modified su-8w file with the portuguese language modification.

Would those interfere with testing, or is it ok to make tests with those modifications still present?

eagle_linux 2010-11-18 11:32

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

Originally Posted by freemangordon (Post 876852)
@eagle_linux:
and playing with setxkbmap will interfere with extkbd, so it is better to avoid it :)

BTW setxkbmap -model nokiarx51 -layout de | xkbcomp -i 3 $DISPLAY sets layout of internal keyboard (id 3)

Yes, I used version 1.0.0 :)

I tried it according to your instructions, same results as before. Internal keyboard sort of works, internal (= the slide-out keyboard integrated into the n900) keyboard has the wrong layout.

Also, the setxkbmap command was SUPPOSED to fix the internal keyboard layout, as using your program caused the external keyboard layout to be somewhat correct, but the internal keyboard layout to be wrong. Sorry if I didn't make myself clear, I'm still somewhat busy with a cold I've caught ;)

freemangordon 2010-11-18 12:05

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

Originally Posted by number41 (Post 876917)
I will test it later, today. I should mention, though, that I have the xkb-chinook directory in usb/share/X11, and in both /usr/share/X11/xkb/symbols/nokia_vndr/ and the xkb-chinook variant, i have the modified su-8w file with the portuguese language modification.

Would those interfere with testing, or is it ok to make tests with those modifications still present?

If you have modified files in /usr/share/X11/xkb/ after installing extkbd, probably that is the reason why you have problems. What i can propose is to reinstall xkb-data-extkbd package and to setup keyboard from UI. If it still not work correctly after that please make a screenshot of extkbd UI and attach it here, so i will be able to recreate your problem.

freemangordon 2010-11-18 12:07

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

Originally Posted by eagle_linux (Post 876967)
Yes, I used version 1.0.0 :)

I tried it according to your instructions, same results as before. Internal keyboard sort of works, internal (= the slide-out keyboard integrated into the n900) keyboard has the wrong layout.

Also, the setxkbmap command was SUPPOSED to fix the internal keyboard layout, as using your program caused the external keyboard layout to be somewhat correct, but the internal keyboard layout to be wrong. Sorry if I didn't make myself clear, I'm still somewhat busy with a cold I've caught ;)

Have in mind that setxkbmap sets layout of ALL keyboard devices, the id you pass to command line is somehow ignored.

maartenmk 2010-11-18 15:53

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
Somehow, since installing v1.0 over 0.9, my Stowaway keyboard won't work anymore. It is still listed in the extkbd UI (I did not need to re-connect it), and stays 'blue' after connecting, but does not work at all anymore.

freemangordon 2010-11-18 19:00

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
OK, just to make things more clear - there is no need to run extkbd UI every time you connect keyboard, only for initial setup and if you need to change layout or setup new keyboard.

@maartenmk:
Sorry to hear that, actually v1.0.0 was my last try to use setxkbmap for setting layouts, obviously with negative result. Will you please upgrade to v 1.0.1 and test again (it does not use setxkbmap and hopefully will work). And I would suggest to reboot n900 (just in case) and re-pair keyboard.

number41 2010-11-18 20:51

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

Originally Posted by freemangordon (Post 876980)
If you have modified files in /usr/share/X11/xkb/ after installing extkbd, probably that is the reason why you have problems. What i can propose is to reinstall xkb-data-extkbd package and to setup keyboard from UI. If it still not work correctly after that please make a screenshot of extkbd UI and attach it here, so i will be able to recreate your problem.

Ok, I will overwrite the /usr/share/X11/xkb/symbols/nokia_vndr/su-8w file with the original one, and reinstall the package you mentioned. I will report the results later.

maartenmk 2010-11-18 22:03

Re: [ANNOUNCE] External Keyboard Support - extkbd
 
thanks freemangordon; v 1.0.1 does work, internal keyboard also still fully functional this time.
I did need to use the manual connection method again.
It also reconnects.
After I switched Bluetooth off and on it didn't react anymore at first, but it somehow recovered, after a minute or two. I'll see if that comes back and report.


All times are GMT. The time now is 04:12.

vBulletin® Version 3.8.8