Reply
Thread Tools
Posts: 145 | Thanked: 88 times | Joined on Nov 2009 @ Copenhagen
#21
Originally Posted by jjrv View Post
The N900 appears to come with a separate layout for the SU-8W in /usr/share/X11/xkb/symbols/nokia_vndr but doesn't use it automatically after enabling the Bluetooth HID. By default it's using the N900 internal keyboard's layout. The Fn key on the SU-8W is not working which suggests it doesn't make the keyboard actually send keypresses of the number keys for example, but the driver has to interpret Fn+Q as 1.
Could a temporary hack be to edit the /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 file and add the info from the SU-8W file under a keyboard layout not used and then just switch to this layout when the su-8w keyboard is connected?

If I have time tonight, I think I'll try this.
 
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#22
Originally Posted by filologen View Post
Could a temporary hack be to edit the /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 file and add the info from the SU-8W file under a keyboard layout not used and then just switch to this layout when the su-8w keyboard is connected?

If I have time tonight, I think I'll try this.
No need to mess with these files, you can use a command line tool to assign the different available layouts - hildon-im-xkbtool
__________________
Valério Valério
www.valeriovalerio.org
 

The Following 4 Users Say Thank You to VDVsx For This Useful Post:
Posts: 145 | Thanked: 88 times | Joined on Nov 2009 @ Copenhagen
#23
Thanks a lot VDVsx for saving me quite some work. I will try this when I get home later today...
 
Posts: 145 | Thanked: 88 times | Joined on Nov 2009 @ Copenhagen
#24
VDVsx, do you know how to use hildon-im-xkbtool (which options the command takes)? It give me no help when I typed "hildon-im-xkbtool -h"
 
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#25
Originally Posted by filologen View Post
VDVsx, do you know how to use hildon-im-xkbtool (which options the command takes)? It give me no help when I typed "hildon-im-xkbtool -h"
Code:
Nokia-N900-42-11:~# hildon-im-xkbtool --help
Usage:
  hildon-im-xkbtool [OPTION...] - Hildon IM XKB configurator

Help Options:
  -?, --help                  Show help options

Application Options:
  -g, --get-conf              Show the currently stored configuration
  -s, --set-conf              Apply the currently stored configuration
  -l, --layout=LAYOUT         Set the keyboard layout
  -m, --model=MODEL           Set the keyboard model
  -i, --interval=INTERVAL     Set the key repeat interval
  -d, --delay=DELAY           Set the key repeat delay
  --id=ID                     Apply to the keyboard with ID
  --name=NAME                 Apply to the keyboard with NAME
  --list                      List available keyboards
__________________
Valério Valério
www.valeriovalerio.org
 

The Following 2 Users Say Thank You to VDVsx For This Useful Post:
Posts: 145 | Thanked: 88 times | Joined on Nov 2009 @ Copenhagen
#26
Thanks again! I have now tried to set the layout, but cannot seem to get it to work. I have e.g. tried to write

Code:
hildon-im-xkbtool -s -l no -m nokiasuw8 -i 50 -d 600 --id=4
and I get the following feedback:

Code:
Applying keymap to Virtual core Keyboard 
Applying keymap to omap_tw14030keypad
Applying keymap to Nokia SU-8W
Applying keymap to Nokia SU-8W
Setting rate for Nokia SU-8W
Set rate for device Nokia SU-8W
But when I thereafter do a

Code:
hildon-im-xkbtool -g
I get the same feedback as before I tried changing the layout, namely

Code:
External keyboard:
Model: nokiasu8w
Layout: US
Delay: 600
Interval: 50
Not only does the configuration not work, it doesn't even give me the US layout. Instead I get the layout used on the hardware keyboard of the n900 (e.g. German og my own modified Danish depending on what I set the hardware keyboard to).

Any help would be much appreciated!
 
Posts: 145 | Thanked: 88 times | Joined on Nov 2009 @ Copenhagen
#27
Has no one been able to make the su-8w work with the n900?
 
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#28
Originally Posted by filologen View Post
Has no one been able to make the su-8w work with the n900?
Don't have one, but for what I've seen it should work. What's the problem ?
__________________
Valério Valério
www.valeriovalerio.org
 
Posts: 145 | Thanked: 88 times | Joined on Nov 2009 @ Copenhagen
#29
The problem is that no matter what I have tried (I am surely doing something wrong!) I cannot get the correct layout on the su-8w. I only get the same layout as on the hardware keyboard on the n900, which obviously isn't very useful on the external keyboard.
 
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#30
Originally Posted by filologen View Post
The problem is that no matter what I have tried (I am surely doing something wrong!) I cannot get the correct layout on the su-8w. I only get the same layout as on the hardware keyboard on the n900, which obviously isn't very useful on the external keyboard.
That's strange but can be another bug .

Please try this command in the X terminal and paste the output here: hildon-im-xkbtool -g
__________________
Valério Valério
www.valeriovalerio.org
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:02.