Go Back   maemo.org - Talk > Devices > Accessories
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #311  
Old 2010-07-29, 21:42
olighak olighak is offline
 
Join Date: Sep 2009
Location: North Carolina (Formerly Denmark and Iceland)
Posts: 519
Thanks!: 183
Thanked 366 Times in 191 Posts
Default Re: how to get bluetooth pc105 keyboards to work with N900

Quote:
Originally Posted by filologen View Post
qobi,
I cannot thank you enough for this!

Since I have the Nokia su-8w, all I had to do was:

$ cp -i /usr/share/X11/xkb-chinook/geometry/pc /usr/share/X11/xkb/geometry/.

Now I can get my Danish keyboard to work by doing:

$ setxkbmap -device 4 -I -I/usr/share/X11/xkb-chinook -rules base -model nokiasu8w -layout dk

This is FANTASTIC Thank you _so_ much!
Will this use the su-8w profile from /usr/share/X11/xkb/symbols/nokia_vnrd/

what happens to the danish characters ø å and æ, which are on the up and left arrows?

Where do they end up?

on the su-8w I get left when I push left arrow and up when I push left arrow, instead of expected nordic characters.

Last edited by olighak; 2010-07-29 at 22:37.
Reply With Quote
  #312  
Old 2010-08-07, 00:24
marathondon marathondon is offline
 
Join Date: Apr 2010
Location: Santa Rosa
Posts: 12
Thanks!: 0
Thanked 1 Time in 1 Post
Default Re: how to get bluetooth pc105 keyboards to work with N900

I have been following the instructions throughout this post in an attempt to pair my n900 with my bluetooth stowaway keyboard. I was at the final stage where you run setxkbmap and got the following errors. Can someone review my screenshot and tell me what I may have done wrong? I don't understand the errors.

Thank you
Attached Images
 
Reply With Quote
  #313  
Old 2010-08-08, 18:41
kureyon kureyon is offline
 
Join Date: Jun 2010
Location: Low Earth Orbit
Posts: 992
Thanks!: 484
Thanked 738 Times in 374 Posts
Default Re: how to get bluetooth pc105 keyboards to work with N900

Quote:
Originally Posted by clasificado View Post
i have problems with the second dbus-send command. it keeps telling me --Error org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with signature "" on interface "org.Bluez.Input" doesn't exist--
I had the same problem, after googling around found a post on the gentoo forums which says that the bluetooth device id needs to be in UPPERcase. So now I can connect, but I'm still having trouble with the layout, letters work but numbers and most other keys don't.
Reply With Quote
  #314  
Old 2010-08-08, 19:00
kureyon kureyon is offline
 
Join Date: Jun 2010
Location: Low Earth Orbit
Posts: 992
Thanks!: 484
Thanked 738 Times in 374 Posts
Default Re: how to get bluetooth pc105 keyboards to work with N900

Quote:
Originally Posted by marathondon View Post
I was at the final stage where you run setxkbmap and got the following errors.
You've done the pairing but most likely your keyboard has not connected, yet. You need to do steps 2-5 from this post correctly.
Reply With Quote
  #315  
Old 2010-08-13, 14:20
VulcanRidr VulcanRidr is offline
 
Join Date: Jan 2009
Location: Virginia, USA
Posts: 471
Thanks!: 162
Thanked 136 Times in 72 Posts
Default Re: How to get the bluetooth keyboard to fully work with N900

Hi JoHnY,

I've been trying to get my Stowaway Shasta working with my new N900. I am having the following problems:

[QUOTE=JoHnY;517684]2. Issue the following command:
Code:
dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.DefaultAdapter
You'll get a response like: object path "/org/bluez/11984/hci0"
Quote:

Mine came up with /org/bluez/916/hci0. So far, so good.

4. Enter this command: hcitool scan (be sure that your bluetooth keyboard did not fall into sleep mode in the meantime and that it's still sending out information about its presence - usually indicated by blinking blue light)
After some time, you should be able to see the MAC address of your keyboard (if you don't have 10 other people having the same bluetooth keyboard in a close distance to you, you should be able to identify yours by the name)
5. Send this command:
Code:
dbus-send --system --print-reply --dest=org.bluez  /org/bluez/11984/hci0/dev_00_07_61_75_xx_xx org.bluez.Input.Connect
BUT you need to replace /org/bluez/11984/hci0 by whatever response you got in step 2 (actually the number should be only thing that will be different) and replace 00_07_61_75_xx_xx by the mac address of your keyboard from step 4 (replacing all colons by underscores)
So I enter (as root):
Code:
# dbus-send --system --print-reply --dest=org.bluez  /org/bluez/11984/hci0/dev_00_0F_6F_00_9B_DA org.bluez.Input.Connect
And the system responds with:
Code:
Error org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with signature "" on interface "org.bluez.Input" doesn't exist
Any idea what's going on here? I'd really like to get this thing working. Has anyone gotten this error? I searched the forum for org.freedesktop.DBus.Error.UnknownMethod and came up empty.

Any help would be appreciated.
--vr
Reply With Quote
  #316  
Old 2010-08-13, 15:59
kureyon kureyon is offline
 
Join Date: Jun 2010
Location: Low Earth Orbit
Posts: 992
Thanks!: 484
Thanked 738 Times in 374 Posts
Default Re: How to get the bluetooth keyboard to fully work with N900

Quote:
Originally Posted by VulcanRidr View Post
So I enter (as root):
Code:
# dbus-send --system --print-reply --dest=org.bluez  /org/bluez/11984/hci0/dev_00_0F_6F_00_9B_DA org.bluez.Input.Connect
The bit highlighted in red is most likely different for your case, you should use whatever is returned by:
Code:
dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.DefaultAdapter
Reply With Quote
  #317  
Old 2010-08-13, 17:57
VulcanRidr VulcanRidr is offline
 
Join Date: Jan 2009
Location: Virginia, USA
Posts: 471
Thanks!: 162
Thanked 136 Times in 72 Posts
Default Re: How to get the bluetooth keyboard to fully work with N900

Quote:
Originally Posted by kureyon View Post
The bit highlighted in red is most likely different for your case, you should use whatever is returned by:
Code:
dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.DefaultAdapter
I did change that to 916, I just missed it in the cut and paste from your previous code block. Sorry. The command I sent was:

Code:
# dbus-send --system --print-reply --dest=org.bluez  /org/bluez/916/hci0/dev_00_0F_6F_00_9B_DA org.bluez.Input.Connect
Reply With Quote
  #318  
Old 2010-08-20, 19:37
Skyscraper Skyscraper is offline
 
Join Date: Jan 2010
Posts: 6
Thanks!: 1
Thanked 2 Times in 1 Post
Default Re: how to get bluetooth pc105 keyboards to work with N900

Hello!

I've got my "Logitech Cordless MediaBoard Pro" successfully connected via dbus-send - and the Touchpad works very well.
But the rest...
Normal keys are okay (lowercase) - but i cant type uppercase, numbers, special keys. Left Arrow is "." and Up Arrow is "ä" and "," is "ü" and "." is "ö"
With F7 and F8 I can set Volume Down/Up - With F4 I get the "App-Menu".
But whats up with the Numbers, Caps etc.?

I've tried the following:
Code:
 $ hildon-im-xkbtool --list
ID 0, Name: "Virtual core pointer"
ID 1, Name: "Virtual core keyboard"
ID 2, Name: "TSC2005 touchscreen"
ID 3, Name: "omap_twl4030keypad"
ID 4, Name: "Logitech Cordless MediaBoard Pro(TM)"
Code:
$ setxkbmap -device 4 -I -I/usr/share/X11/xkb-chinook -rules base -model pc105 -layout de -v 10
Setting verbose level to 10
locale is C
Warning! Multiple definitions of rules file
         Using command line, ignoring X server
Warning! Multiple definitions of keyboard model
         Using command line, ignoring X server
Warning! Multiple definitions of keyboard layout
         Using command line, ignoring X server
Applied rules from base:
model:      pc105
layout:     de
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwertz)
types:      complete
compat:     complete
symbols:    pc+de
geometry:   pc(pc105)
Error loading new keyboard description
With "-layout us" there's no error message, but it changes NOTHING.
Any help?

Thank you!

Skyscraper
PS: Sorry for very bad english
Reply With Quote
  #319  
Old 2010-08-22, 14:33
jakoleh jakoleh is offline
 
Join Date: Oct 2009
Location: Oulu, Finland
Posts: 49
Thanks!: 11
Thanked 23 Times in 15 Posts
Default Re: how to get bluetooth pc105 keyboards to work with N900

I have created first version of the Bluetooth keyboard layout selector application (BlueKlase), as request in http://wiki.maemo.org/Fremantle_Blue...out#Next_steps.
This is precessor of the python script I wrote earlier.

!!!! This is first version so install this with your own risk. !!!

Installation instructions:
1) install attached deb file. It will install following files:
/etc/event.d/bluetooth-keyboard
/usr/bin/BlueKlase
2) Get your keyboard id using instruction from http://wiki.maemo.org/Fremantle_Blue..._Automatically
2) Edit attached settings.txt file and put your keyboard id there.
3) Copy file to /home/user/.config/BlueKlase/ folder.
4) rename it to settings.conf
5) Restart your phone

BlueKlase should start automatically and the system should work.

Future development:
- Optify
- Create control panel widget to be able to add new keyboards more easily. This will also create the settings.conf file and starts the BlueKlase after exit. No more reboot needed.
- Put application to Extras-devel, create bug reporting (if this is really needed)
- Disable virtual keyboard when hw keyboard is attached and enable it again after keyboard is disconnected (if it was enabled anyway).
Attached Files
File Type: deb blueklase_0.1-1_armel.deb (16.9 KB, 207 views)
File Type: txt settings.txt (105 Bytes, 235 views)
Reply With Quote
The Following 2 Users Say Thank You to jakoleh For This Useful Post:
  #320  
Old 2010-08-24, 13:21
Joschi Joschi is offline
 
Join Date: Jun 2007
Location: south germany
Posts: 29
Thanks!: 1
Thanked 27 Times in 5 Posts
Default Re: how to get bluetooth pc105 keyboards to work with N900

Hi all,

works for me with "Freedom Universal Keyboard"

Thx
__________________
---
Joschi
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:57.