maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Accessories (https://talk.maemo.org/forumdisplay.php?f=17)
-   -   Does N900 support Nokia's SU-8W Bluetooth Keyboard ? (https://talk.maemo.org/showthread.php?t=33397)

filologen 2009-12-07 10:56

Re: Does N900 support Nokia's SU-8W Bluetooth Keyboard ?
 
Quote:

Originally Posted by jjrv (Post 359698)
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 2009-12-07 13:44

Re: Does N900 support Nokia's SU-8W Bluetooth Keyboard ?
 
Quote:

Originally Posted by filologen (Post 414211)
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

filologen 2009-12-07 14:43

Re: Does N900 support Nokia's SU-8W Bluetooth Keyboard ?
 
Thanks a lot VDVsx for saving me quite some work. I will try this when I get home later today...

filologen 2009-12-07 15:02

Re: Does N900 support Nokia's SU-8W Bluetooth Keyboard ?
 
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 2009-12-07 15:23

Re: Does N900 support Nokia's SU-8W Bluetooth Keyboard ?
 
Quote:

Originally Posted by filologen (Post 414624)
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


filologen 2009-12-07 19:09

Re: Does N900 support Nokia's SU-8W Bluetooth Keyboard ?
 
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!

filologen 2009-12-17 13:03

Re: Does N900 support Nokia's SU-8W Bluetooth Keyboard ?
 
Has no one been able to make the su-8w work with the n900?

VDVsx 2009-12-17 15:38

Re: Does N900 support Nokia's SU-8W Bluetooth Keyboard ?
 
Quote:

Originally Posted by filologen (Post 431816)
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 ?

filologen 2009-12-17 21:01

Re: Does N900 support Nokia's SU-8W Bluetooth Keyboard ?
 
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 2009-12-17 23:13

Re: Does N900 support Nokia's SU-8W Bluetooth Keyboard ?
 
Quote:

Originally Posted by filologen (Post 432445)
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


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

vBulletin® Version 3.8.8