maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 Bluetooth Keyboard + Mouse scripts (https://talk.maemo.org/showthread.php?t=58258)

droll 2010-09-27 12:59

Re: N900 Bluetooth Keyboard + Mouse scripts
 
this still conflicts with the sixaxis package? when i install this, my sixaxis doesn't work.

qole 2010-09-28 01:56

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Yes, loss of kinetic scrolling smoothness is a known side effect of the new evdev driver.

black_beard 2010-09-30 18:07

Re: N900 Bluetooth Keyboard + Mouse scripts
 
i have bluetooth mouse sony vgp-BMs55 and i am able to pair this bluetooth mice with n900 but for some reason i am not able to see the mouse cursor anywhere on screen.

I dont know how to enable it.

i am beginner at coding and making changes toany files on my N900


can you please explain me how do i enable my bluetooth mouse "sony vgpbms55" or if some1 has already done can anyone please provide me with the link.

Thanks and its great pleasure reading posts on this forum.
This is my first post .

kureyon 2010-09-30 18:44

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by black_beard (Post 830277)
i have bluetooth mouse sony vgp-BMs55 and i am able to pair this bluetooth mice with n900 but for some reason i am not able to see the mouse cursor anywhere on screen.

I'm sorry if this is asking the obvious, but have you installed the package "Bluetooth HID scripts"? All the gory details are at the start of this thread - have you read it?

WhiteWolf 2010-09-30 19:50

Re: N900 Bluetooth Keyboard + Mouse scripts
 
In version 0.9,to detect the external keyboard also changes settings for built-in keyboard on the N900.

Those who have keyboards in other languages suffer a serious problem. We left unconfigured physical keyboard.

Has anyone managed to solve the problem of choosing other languages on external keyboards?

kureyon 2010-09-30 21:52

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by WhiteWolf (Post 830378)
Version 0.9 has resulted in detecting the keyboard also changes settings for physical keyboard on the N900.

I thought it was something to do with this updated version - after using BT I'm unable to type numbers on the N900's keyboard, ie typing '1' gets me a 'q', '2' = 'w' etc. Have to reboot to restore keyboard.

guoyuucla 2010-10-03 04:14

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Hi, I just came to this forum and got my N900 one week ago. I tried to pair my Razer pro click bt mouse with N900 with no success. Might need some help getting the mouse working.

I installed the BT HID script. As I first tried to pair the mouse in GUI, it wouldn't pair because the PIN cannot be matched, I have tried some numbers like 0000,9999,1234,etc.

Then I tried to pair it using hcitool scan and dbus -send command, which worked with my BT keyboard. But I got the following error message for dbus -send,
Code:

Error org.freedesktop.DBus.Error.UnknownMethod: Method " Connect" with signature "" on interface " org.bluez.Input" doesn't exist
I have seen someone mentioned disabling authentication in /etc/bluetooth/main.conf earlier in this thread but didn't see any details. Could someone let me know how to do that or another way to make it work? Thanks.

qole 2010-10-04 06:18

Re: N900 Bluetooth Keyboard + Mouse scripts
 
WhiteWolf, kureyon: See if version 0.10 helps you. The bt-kbd-remap script first maps the external keyboard, then it remaps the internal keyboard to the default setup (using "setxkbmap -device $INTKBDID -model nokiarx51").

WhiteWolf 2010-10-04 06:45

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by qole (Post 832757)
WhiteWolf, kureyon: See if version 0.10 helps you. The bt-kbd-remap script first maps the external keyboard, then it remaps the internal keyboard to the default setup (using "setxkbmap -device $INTKBDID -model nokiarx51").

Thanks, I try and tell the results.

WhiteWolf 2010-10-04 08:55

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Tested.

I still have problems, when it detects the external keyboard change keyboard settings of the N900.

kureyon 2010-10-04 10:19

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by qole (Post 832757)
WhiteWolf, kureyon: See if version 0.10 helps you.

This updated version seems to have fixed it. Cheers :)

kureyon 2010-10-04 17:17

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Any progress on autostarting the hid watcher script? I tried using QBW to start it at startup, however that caused an endless reboot loop. Luckily I had Backupmenu installed and manage fix it without doing a reflash. I'm going to try and get QBW to start it whenever bluetooth is enabled.

doctor madness 2010-10-05 21:57

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Hi qole.

First of all, a big thank for your effort, and your package is very usefull. I can get an Apple Magic Mouse working and having a cursor !
I also connected successfully an Apple Wireless Keyboard (aluminium body) in QWERTY. But now, I'm trying to get AZERTY layout, so I edited ~/.btkeyboard, and used the following :
KBDRULES=base
KBDMODEL=pc105
KBDLAYOUT=fr

When I run bt-kbd-remap, I lost numbers and special keys on the BT keyboard, and I get QWERTY layout on the N900 integrated keyboard.
Last issue, before running bt-kbd-remap, I can have "Caps lock" led lighting, but with no effect.
Thank for any help for any of those issues.

qole 2010-10-06 01:37

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Ok so it looks like I need to modify the internal keyboard remap to go to the language of your choice...

doctor madness 2010-10-06 06:20

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Tell me if I can contribute or help you in any way to do this.

WhiteWolf 2010-10-06 15:05

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Does the following keyboard has HID profile?
Universal Foldable Bluetooth Keyboard for Cellphone / PDA / PC (1 * AAA)
http://www.dealextreme.com/details.dx/sku.34724

Who is the manufacturer?

Do you support Spanish? Ñ or support "us" international

splandorf 2010-10-06 20:16

Re: N900 Bluetooth Keyboard + Mouse scripts
 
It does. I bought this keyboard for use with my N900 after reading this thread. Once it is configured properly it works great, all special characters, number keys, etc. seem to function just fine.

It is the smallest/lightest folding bluetooth keyboard I have seen that is actually touch-typable. It is noticeably smaller and lighter than the Stowaway iGo.

You will need to relearn some letter placements and how to touch-type efficiently on the small layout, but that is the case with the Stowaway as well.

I think it's pretty great for $50 or so. Doesn't quite have the build quality of the Stowaway, but it's fine for my purposes.

(FWIW)

Sam


Quote:

Originally Posted by WhiteWolf (Post 834823)
Does the following keyboard has HID profile?
Universal Foldable Bluetooth Keyboard for Cellphone / PDA / PC (1 * AAA)
http://www.dealextreme.com/details.dx/sku.34724

Who is the manufacturer?

Do you support Spanish? Ñ or support "us" international


snakekontrol 2010-10-08 16:15

Re: N900 Bluetooth Keyboard + Mouse scripts
 
so no one has made it work with mighty mouse?

because I make all the steps correctly, the bluetooth symbol turns blue, I power off my mighty mouse, then run the BT HID watcher, it opens a black screen, then shuts down, then I turn on my mighty mouse, my N900 detects it, but I can't see the cursor, neither the movement, and syslogs shows no errors or no mouse detected :S

please help!!

Netweaver 2010-10-08 16:37

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by splandorf (Post 835055)
It does. I bought this keyboard for use with my N900 after reading this thread. Once it is configured properly it works great, all special characters, number keys, etc. seem to function just fine.

It is the smallest/lightest folding bluetooth keyboard I have seen that is actually touch-typable. It is noticeably smaller and lighter than the Stowaway iGo.

You will need to relearn some letter placements and how to touch-type efficiently on the small layout, but that is the case with the Stowaway as well.

I think it's pretty great for $50 or so. Doesn't quite have the build quality of the Stowaway, but it's fine for my purposes.

(FWIW)

Sam

I have the same but I lost my driver/manual CD. I don't even know how to put it in pairing mode. Idiot me :(

And because there is no manufacturer anywhere on the thing, I have no clue where to start looking for a copy.

Care to share how you got them talking together and configured with the correct layout ?
Thanks !

doctor madness 2010-10-09 10:56

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by snakekontrol (Post 836542)
so no one has made it work with mighty mouse?

because I make all the steps correctly, the bluetooth symbol turns blue, I power off my mighty mouse, then run the BT HID watcher, it opens a black screen, then shuts down, then I turn on my mighty mouse, my N900 detects it, but I can't see the cursor, neither the movement, and syslogs shows no errors or no mouse detected :S

please help!!

You have to start "mouse cursor" in the applications menu.

snakekontrol 2010-10-09 15:16

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by doctor madness (Post 837057)
You have to start "mouse cursor" in the applications menu.

When I do that, the mouse cursos appears, but when I move the mouse, the cursor doesn't move, I don't want to sound like a newbie, just tell me which logs do I have to look, because syslog doesn't show any error, just:


Oct 9 10:12:10 iSnake iap_conndlg 2.86+0m5[1523]: error loading pixbuf 'control_bluetooth_peripheral': Icon 'control_bluetooth_peripheral' not present in theme

when pairing


Oct 9 10:15:54 iSnake bluetoothd[1248]: link_key_request (sba=34:7E:39:42:A2:34, dba=00:23:6C:C0:FE:35)

when connecting via BT HID Connect

and nothing shows when openning BT HID Watcher, but when I connect again my mighty mouse, the exact above kernel message shows, any ideas?

edit: if I execute dmesg, the only relevant message is: Bluetooth: HIDP (Human Interface Emulator) ver 1.2

dddwilliams 2010-10-09 15:31

Re: N900 Bluetooth Keyboard + Mouse scripts
 
2 Attachment(s)
Hi, i have just got the N900 and would also like to get a Bluetooth Keyboard i bought working with it. This is the keyboard i purchased:

http://cgi.ebay.com.au/Mini-Bluetoot...item335df5bbdf

It has great build quality and is the size of the actual N900 itself, the phone can pair with it but i cannot get it to work, i am guessing it's a layout issue, i have tried loads of things suggested here but nothing works although i gather this keyboard is very diff to some of the others tried by members in this thread. If i press any key on it the Bluetooth symbol on my phone lights up blue so it is clearly connected. Interestingly enough it came with an installation CD for different devices, i have attached one, named Android.apk, is it possible to install this on the N900? And also a detailed picture of the keyboard itself so you can see the layout. Any help on this one will be much appreciated, i don't know much at all about Linux based systems so it has been interesting to learn.

Regards
David

kureyon 2010-10-09 18:56

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by snakekontrol (Post 837181)
any ideas?

You have populated the file .bt-hid-devices right?

kureyon 2010-10-09 19:15

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by dddwilliams (Post 837187)
i have attached one, named Android.apk, is it possible to install this on the N900?

Install, maybe. Will it work?, definitely not.

Quote:

Any help on this one will be much appreciated, i don't know much at all about Linux based systems so it has been interesting to learn.
Really there is no substitute for reading through this thread from top to bottom.

Basic outline:
  • install this package
  • do the initial pairing
  • figure out your keyboard layout and get it to work: how to get bluetooth pc105 keyboards to work with N900
  • make the appropriate entries in .btkeyboard and .bt-hid-devices
  • switch off your keyboard
  • run the BT HID Watcher app
  • turn on your keyboard (on mine I seem to have to press a key on it for it to auto re-pair to N900), when BT icon on N900 turns blue, you may have to press a key (any key) on the internal keyboard otherwise the the non-alphanumeric keys on your BT keyboard might not work (NB I have to do this for my keyboard Neos Bluslim, YMMV)

snakekontrol 2010-10-09 19:17

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by kureyon (Post 837281)
You have populated the file .bt-hid-devices right?

yes, in /home/user/.bt-hid-devices it says:

Code:

dev_00_23_6C_C0_FE_35
which I think is the mighty mouse mac address, right?

kureyon 2010-10-09 19:36

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by snakekontrol (Post 837292)
which I think is the mighty mouse mac address, right?

Heh, no idea. On my logitech mouse the address is printed on the bottom.

Anyway, with BT on, and BT HID Watcher running, when you switch on the mouse and it auto connects, the Watcher script should print out a message saying "XXXX mouse connected", do you see this?

snakekontrol 2010-10-10 06:52

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by kureyon (Post 837303)
Heh, no idea. On my logitech mouse the address is printed on the bottom.

Anyway, with BT on, and BT HID Watcher running, when you switch on the mouse and it auto connects, the Watcher script should print out a message saying "XXXX mouse connected", do you see this?

no, I don't see that, and yes, that's the mac address of my mighty mouse

dddwilliams 2010-10-10 10:09

Re: N900 Bluetooth Keyboard + Mouse scripts
 
I have gone through this thread and many others, tried many things, seem to have a problem with the Bluetooth HID Scripts part, it won't let me install it, when i try install it it crashes phone. And i noticed some people had this issues with the sixasis software but i do not have that installed. This is confusing the hell out of me, so i can't install this package, it pairs no problem, bluetooth icon highlights blue then goes white after a few seconds, press any key on the keyboard and it will do this. Figure out your keyboard layout? What do you mean how do i do that?

maartenmk 2010-10-10 10:57

Re: N900 Bluetooth Keyboard + Mouse scripts
 
I got my Igo stowaway to work, but number keys only by using qobi's original command ($ setxkbmap -device 4 -I -I/usr/share/X11/xkb-chinook -rules base -model pc105 -layout us).
Using the watcher script, some of the keys do get special functions, but they don't make much sense.
.bt-hid-devices and .btkeyboard read:

Code:

dev_00_03_C9_3D_A6_A3
Code:

# Config file for remapping the external keyboard
KBDRULES=base
KBDMODEL=pc105
KBDLAYOUT=us

which are both correct, as far as I can tell. Can anyone shed some light?

snakekontrol 2010-10-11 15:37

Re: N900 Bluetooth Keyboard + Mouse scripts
 
My sister needed a mouse, so I gave to her my mighty mouse, bought a magic mouse, it worked great with this app!

Also, I had an apple wireless keyboard, and I couldn't get bt-dbus-connect to work, so I examined the script, and saw that it searches for device names with "mouse" or "keyboard" in it, and my keyboard was named ikey, so I changed that to iKeyboard, and worked flawlessly.

I'm now searching for how to configure the keymap, but I'm going to read this thread, because I remember that it has been addressed, thanks!

kureyon 2010-10-11 18:21

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by maartenmk (Post 837614)
Code:

KBDMODEL=pc105
which are both correct, as far as I can tell. Can anyone shed some light?

Have you tried any of the others? I had to go through each of them until I found that pc101 works - ie makes all the non-alphanumeric keys work.

WhiteWolf 2010-10-11 18:34

Re: N900 Bluetooth Keyboard + Mouse scripts
 
The latest version of HID script does not work well with the N900 integrated keypad.

How I can return to the previous version?

qole 2010-10-12 02:53

Re: N900 Bluetooth Keyboard + Mouse scripts
 
I have updated to 0.11, with another attempt to configure the internal keyboard. I hope that it helps WhiteWolf...

I have split out the evdev mouse driver into its own package and made the scripts depend on it; this should be the last version that reboots your phone.

EDIT: and as vengeance, it makes you reboot twice!

doctor madness 2010-10-12 10:24

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Is there any chance that version 0.11 solves my issue ?
http://talk.maemo.org/showthread.php...220#post834220

In anyway, thank you

maartenmk 2010-10-12 12:11

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by kureyon (Post 838603)
Have you tried any of the others? I had to go through each of them until I found that pc101 works - ie makes all the non-alphanumeric keys work.

I tried pc101, with the same result. Thing is, the command of qobi also specifies pc105, and that does work, so I don't think that is it. But thanks nontheless.

By the way, the script only seems to work (partially) the first time I connect after pairing. Or maybe I am doing something wrong....

WhiteWolf 2010-10-13 08:25

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by qole (Post 838906)
I have updated to 0.11, with another attempt to configure the internal keyboard. I hope that it helps WhiteWolf...

I have split out the evdev mouse driver into its own package and made the scripts depend on it; this should be the last version that reboots your phone.

EDIT: and as vengeance, it makes you reboot twice!

The first ... Thanks for your work.

The changes do not work for me completely. The external keyboard works but the N900 integrated keypad on the language keeps changing. Mine is Spanish, has the character "ñ" and then connect the keyboard with HID BT keyboard WATCHER N900 replaced the key with the character "ñ" by the character "."

In addition to the numbers keys stop working.

snakekontrol 2010-10-13 18:23

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by WhiteWolf (Post 839895)
The first ... Thanks for your work.

The changes do not work for me completely. The external keyboard works but the N900 integrated keypad on the language keeps changing. Mine is Spanish, has the character "ñ" and then connect the keyboard with HID BT keyboard WATCHER N900 replaced the key with the character "ñ" by the character "."

In addition to the numbers keys stop working.

Do you have an n900 with spanish keyboard? where did you buy it?

kureyon 2010-10-13 18:32

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Let's try again:

Quote:

Originally Posted by maartenmk (Post 837614)
I got my Igo stowaway to work, but number keys only by using qobi's original command ($ setxkbmap -device 4 -I -I/usr/share/X11/xkb-chinook -rules base -model pc105 -layout us).

It's not clear what is working/not working. If your keyboard is not fully functioning (ie all the keys does what they are supposed to) then you need to try each of:

pc101, pc102, pc104, (pc105) to see which works fully (preferably) or which gives the greatest number of functioning keys (consolation prize). When you have the above sussed out then you edit .btkeyboard and can use the Watcher script. If the above setxkbmap isn't able to configure your keyboard correctly then neither would the Watcher script.

WhiteWolf 2010-10-13 19:29

Re: N900 Bluetooth Keyboard + Mouse scripts
 
Quote:

Originally Posted by snakekontrol (Post 840281)
Do you have an n900 with spanish keyboard? where did you buy it?

The N900 I bought in Spain.

Nokia has an online store for Spain too.

http://www.nokia.es/productos/movile...teclado-qwerty

qole 2010-10-13 23:41

Re: N900 Bluetooth Keyboard + Mouse scripts
 
WhiteWolf: we need to diagnose a bit more. Your internal keyboard numbers aren't working, that means your internal keyboard is probably not being configured at all (the script must fail).

Please do not start the watcher, connect your BT keyboard, and then, from the terminal, run the following:

Code:

bt-kbd-remap
Please post the output from this script.


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

vBulletin® Version 3.8.8