maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Accessories (https://talk.maemo.org/forumdisplay.php?f=17)
-   -   Help with Bluetooth Keyboard (https://talk.maemo.org/showthread.php?t=3558)

rjungmann 2006-11-27 16:12

Help with Bluetooth Keyboard
 
Hi there... i just buy a ComOne Bluetooth Keyboard.

i tried to connect it to my 770 but i've got problem,
because it is not seen by the 770.

i tryed with the latest maemo-bt-plugin 0.6.0-1...
tryed with connect to first keyboard found or
trued to select keyboard from list in the settings,
but the app doesn't see any keyboard in the range...

i tryed to find it with my phone (SE W800i), and the
phone can detect a device named 'KEYBOARD', and
after typing the password (tryed with 0000), the
device was added to the phone prefs...

so, please, can anybody helps with this ?

here a pic of the keyboard :
http://www.nomatica.fr/zoompic.asp?t...em&code=116177

it is not the same brand name, but it is the same form factor
and perfect match with the lowest picture, and with the
picture illustrating the flipping outside device support...

thank you for helping.
i think this keayboard will help me with chat, or
mail, or other typing applications...

renaud

rjungmann 2006-11-27 17:04

using a little BT app with my phone i find this :
BT Address : 000A3A3293DF
Auth : False
Encrypted : False
Truster : True
Major Device : Uncategorized
Minor Device : Uncategorized (0)
Service Class :


With another app on my phone,
i try to discover services, it answer :
services unreachable...


and wth a third :
Device Address : 000A3A3292DF
Device Name : KEYBOARD
Device Manufacturer :


perhaps this helps...

penguinbait 2006-11-27 18:15

I do not read french
 
I looked but I can only find this keyboard at french website. I am not sure if this keyboard is HID compliant or will need kbbd. You can install kbbd for non HID compliant keyboards.

The freedom keyboard also needs kbbd

Check this out!!

http://fanoush.webpark.cz/maemo/

Good Luck!!!

rjungmann 2006-11-29 13:32

GRRRRRRRR !

hi penguinbait !

i just followed your link to fanoush...

i tryed the kbdd thing... and it doesn't work actually...

you certainly right about HID compliance, because i finded the FREECOM
bt keyboard (that is the same as mine from COMONE)
and it seem that the freecom keyboard has no HID compliance...
:(

so, i tryed the kbdd thing. because i've find the mac adress from my
keyboard, i set up the btkbd.conf file with the mac adress and with
the keyboard type 'freecom'

after that i tryed to connect to my keyboard...

it seems that the connection initiate, because my 770 give
me a pop up that tells me the connection be active,
then just some millisecond after, another popup that tells me
the connection has been released...

so... i think it work a bit, but not much to have a full connection
with the keyboard... is it a kbdd issue ?

i get this messages in xterm :
Using /kbdd/uinput.ko.2.6.16.27-omap1
/kbdd # BusyBox v1.01 (Debian 3:1.01-4.osso12) multi-call binary

Usage: renice priority pid [pid ...]



i must tell that the popup message appear because i've the bluetooth
plug-in installed. the hildon bar is blue when connection initiate, then
the popup with connection ending appear...


more ideas ?

fanoush 2006-11-29 14:39

there is no 'freecom' kbdd keyboard type, try 'freedom' :-)

rjungmann 2006-11-29 16:27

that's what i've typed in the btkbd.conf file...
i've mismatch type in the forum...

:/

also, the good mac adress is the second one...
so much type mismatch error...

i actually continue testing, but
it connect, and as fast disconnect...
(this is what i can see whan doing the kbdd thing with
the bluetooth plugin installed... i see the bluetooth logo turn blue,
a first popup saying : keyboard connected
and then the second popup, saying disconnected...

:(

ascherjim 2006-11-29 17:32

I have been using fanoush's kbdd application quite sucessfully with my freedom keyboard (although there are some minor quirks to the installation process). However, I earlier on uninstalled (deleted) the bluetooth plug-in before beginning with kbdd. You may wish to try the same.

rjungmann 2006-11-30 12:37

i tryed with and then without the bluetooth plugin installed.

is it possible that my ComOne is really different from the Freedom one ?

what are the quirks you meet when doing the kbdd thing ?


thanks for help.

fanoush 2006-11-30 13:22

try to reinsert batteries, next run of btkbd should popup dialog for pairing. If not, bt address is incorrect. can you paste here your complete btkbd.conf? from the 'renice' error line it looks like kbdd exits immediatelly so either bluetooth address or port number is incorrect. You can try to run kbdd directly (as root), first bind rfcomm port, then run kbdd
Code:

/home/user/kbdd # insmod uinput.ko.2.6.16.27-omap1
Using uinput.ko.2.6.16.27-omap1
/home/user/kbdd # rfcomm bind rfcomm8 xx:xx:xx:xx:xx:xx
/home/user/kbdd # ./kbdd  -t freedom -p /dev/rfcomm8

and paste here output

bad (but valid) keyboard type can cause strange output to appear when pressing keys but not kbdd termination

rjungmann 2006-12-11 19:46

hi there !
some time without news because of too much work...

here's the asked content of my btkbd.conf file :

BDADDR="00:0A:3A:32:92:DF"
KBTYPE=freedom
PORTNUM=2


now i will do the given commands and come back with the text output

rjungmann 2006-12-11 19:58

here's the result :


/kbdd # insmod uinput.ko.2.6.16.27-omap1
Using uinput.ko.2.6.16.27-omap1
/kbdd # rfcomm bind rfcomm8 00:0A:3A:32:92:DF
/kbdd # ./kbdd -t freedom -p /dev/rfcomm8
test


the last word "test" is what i typed on my keyboard !
it seems like i should do a keyboard map.

i see also my "processor charge" at max...

now, i think it's possible to do somethng with te keyboard
nd thsisnice::: i can type a lot of thing with it
(atually typing!)

so, many thanks for help

now, what can i do to eay bind the keyboardto the 770
and ho can i settup the keyoard map ?

thanks fanoush and everyody for heling me...

rjungmann 2006-12-11 20:07

after some test it seems like the keyboard is not sending keys very fast; there are sometime some letters missing and sometimes some letters appearing three or more times; also it s seems to work here when entering text when surfing (actuuually ding this), but not working in the text editor::: we are on theway !

rjungmann 2006-12-11 20:17

still trying...
i quit the xterm, and the load applet still show me a lot of process
same when switching off the keyboard...

after switching off and on the 770 still the same : the load applet show a lot f process...

does this be unbind ?

fanoush 2006-12-12 08:24

If the kbdd starting sequence you typed by hand works then try btkbd (you may change PORTNUM to 8 if you want it to be same), it should work too as it does the same thing.

As for keyboard lag this is solved in btkbd script by raising kbdd priority with renice command. Indeed when CPU is loaded keys may lag with kbdd running at normal priority and late key release event in such case may cause autorepeat to kick in. CPU load is not caused by kbdd however, maybe you have canola installed? type 'top' command in osso-xterm and see what takes the CPU.

Also there were some bluetooth improvements in latest firmware from november. For me it improved stability of keyboard connection. I had random disconnects with the release from july.

rjungmann 2006-12-12 18:00

HI there
finally i get it to work; i just used my previously prepared btkbd;conf with just another port ; i use now the port number 8

so, note that the freedom keyboard is the same than the comone;

the same but the layout


so please, now how can i do to configure a new map
if i can contribute to this in doing a map then i will be happy;


i still have the following problem /
i have sometimes key that are now sended and
sometimes sended three or more times;
the keybbboard is now working with all apps
ie the note pad;;;

thanks for help;;;

blackdragonzero 2007-09-21 10:21

Re: Help with Bluetooth Keyboard
 
I need a ****** proof step by step on how to install kbdd. I managed to get it extracted to MyDocs. I'm using an OMIZ bluetooth keyboard. please help me. I've been searching for a while.

todd 2007-09-22 13:45

Re: Help with Bluetooth Keyboard
 
Quote:

Originally Posted by blackdragonzero (Post 76848)
I need a ****** proof step by step on how to install kbdd. I managed to get it extracted to MyDocs. I'm using an OMIZ bluetooth keyboard. please help me. I've been searching for a while.

Same as me, just got my 800 this week and decided to get the OMIZ keyboard as it looked like a good price, after reading up I know why :o

If I have any joy i'll let you know.


All times are GMT. The time now is 00:24.

vBulletin® Version 3.8.8