maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [ANNOUNCE] btinput (https://talk.maemo.org/showthread.php?t=82081)

elemental 2012-02-03 12:14

[ANNOUNCE] btinput
 
A little time ago I proposed sashz from forum.meego.com to publish his app in the Ovi Store. He said he don't know how to do that and allowed me to take care of it (I merged two packages, rewritten tha app to be entirely in Qt, if you want source just say it).

So here it is, the app which simplifies connecting a bluetooth keyboard to N9.

http://store.ovi.com/content/251514

derliebewolf 2012-02-03 12:42

Re: [ANNOUNCE] btinput
 
great! does it work with any bluetooth keyboard?

elemental 2012-02-03 12:47

Re: [ANNOUNCE] btinput
 
Quote:

Originally Posted by derliebewolf (Post 1159931)
great! does it work with any bluetooth keyboard?

It should work with any HID keyboard, I don't know if there exists any non-HID bluetooth keyboards

elemental 2012-02-03 13:12

Re: [ANNOUNCE] btinput
 
It also should work with iControlPad. iControlPad has an ability to act as a bluetooth keyboard. If someone has it and could test it, I would be grateful. It would be a nice addition to EmuMaster.

youmeego 2012-02-03 13:27

Re: [ANNOUNCE] btinput
 
any plan to work with bluetooth mouse?

elemental 2012-02-03 13:34

Re: [ANNOUNCE] btinput
 
Quote:

Originally Posted by youmeego (Post 1159944)
any plan to work with bluetooth mouse?

I have tried. You can connect bluetooth mouse now already with this app, a cursor will be not visible, but mouse "works". But I highly do not recommend it. I don't know why but the system cannot handle this, strange freezes, crashes, very strange.

don_falcone 2012-02-03 14:23

Re: [ANNOUNCE] btinput
 
Quote:

Originally Posted by elemental (Post 1159932)
It should work with any HID keyboard, I don't know if there exists any non-HID bluetooth keyboards

Yes, some used SPP. Check 'kbdd' package description in Maemo extras-devel for a list of those.

amandalam 2012-02-03 18:18

Re: [ANNOUNCE] btinput
 
Wow! This IS a FIVE STAR APP! Thanks soooo much for making this so easy to use!!

It works with my Neos BluSlim BTK-1 Bluetooth keyboard, as well as my N810 with BlueMaemo. It doesn't work with N900 with BlueMameo, though.

Keep up the good work!! :D

tigas 2012-02-04 01:02

Re: [ANNOUNCE] btinput
 
Doesn't work with the Sony PS3 Wireless Keypad (model CECHZK1GB). After putting it in pair mode, btinput sucessfully pairs with it, the BT icon on the status bar turns blue, the dropdown shows "Wireless Keypad connected, but as soon as I try to write something (tested on Ovi Store search bar, Notes and Terminal) the connection closes (leds blink on keypad signalling "connection lost", BT icon on the status bar turns white again), but btinput still shows a green dot on the Wireless Keypad.

Do you need a log of the error? How do I capture one?

elemental 2012-02-04 13:21

Re: [ANNOUNCE] btinput
 
As far as I know PS3 Kaypad has different protocol, at least different pairing procedure. I will check it.

tigas 2012-02-04 23:22

Re: [ANNOUNCE] btinput
 
Don't worry TOO much, PS3 keypad is missing Ctrl, so it's kind of useless as a replacement keyboard. If you say the pairing is different (could it be because it's a mouse as well?), that's OK, it was just the only thing I had for testing. I have a proper BT Keyboard on order: http://usb.brando.com/mini-bluetooth...4c036d015.html.

tigas 2012-02-09 17:19

Re: [ANNOUNCE] btinput
 
So, I got that keyboard (Model WKB-1500, FFC ID: GM8WKB1500) and I'm having some bugs:

Keyboard must be in Pair mode to connect ALWAYS, because of this, I believe it goes into a disconnect/reconnect loop sometimes (a message saying "BT Keyboard want to reconnect Yes/No" appears but the keyboard never reconnects - and btinput still shows a green dot next to it.) Most other Bluetooth input devices I have ever used (mice, keyboards) seem to do a "quick reconnect" after pairing for the first time.

Also, what keyboard layout are you using? It seems USA. Is there any way you can recognize the layout, or provide a setting for it? Maybe something based on this, defining a keyboard layout for specific Bluetooth ID? This keyboard is UK layout (maybe because I bought it from Amazon UK, now that I think of it...).

purrcatian 2012-03-07 09:18

Re: [ANNOUNCE] btinput
 
This worked great the first time I used it. Just about all of the keys worked as expected. However, I have been unable to get it to work again. My bluetooth is on, and btinput can find the keyboard, but typing on the keyboard does not result in character input and it then disconnects shortly there after.

Any suggestions?

Thanks,
Ian

klinglerware 2012-03-25 17:10

Re: [ANNOUNCE] btinput
 
Quote:

Originally Posted by elemental (Post 1159939)
It also should work with iControlPad. iControlPad has an ability to act as a bluetooth keyboard. If someone has it and could test it, I would be grateful. It would be a nice addition to EmuMaster.

I can confirm that the iControlPad works. Setting the iControlPad to HID keyboard mode, I was able to pair it with the N9 via btinput, use the keyboard mapper function in EmuMaster to map the iControl Pad buttons, and then play NES games flawlessly. I have not tested the other emulators, however.

michaelmhk 2012-05-05 15:12

Re: [ANNOUNCE] btinput
 
I have 3 Bluetooth keyboard, all of them can only input a-z, special character either wrong mapping or nothing inputted. Anyone can help?

hw9xx 2012-05-05 15:56

Re: [ANNOUNCE] btinput
 
Quote:

Originally Posted by michaelmhk (Post 1202243)
I have 3 Bluetooth keyboard, all of them can only input a-z, special character either wrong mapping or nothing inputted. Anyone can help?

Here is how to set a different keyboard layout:

Go to the store and install "nano" editor.
Enable developer mode
open Terminal
devel-su (password: rootme)
nano /etc/X11/xorg.conf.d/nokia.conf

In that file look for this section (i may have omitted some "):

Code:

# Allow configuration of external keyboards.
Section InputClass
            Identifier          external-keyboard
            MatchIsKeyboard    on
            Option              Ignore              off
EndSection

Here you have to add another line before "Endsection":

Code:

            Option              "XkbLayout"      "de"
"de" is for german keyboard layout. Replace it with the value you need.

Save the file and restart your N9


I really wish someone would enhance btinput with an option to set the layout from the UI. The above procedure looks simple but it's a bad idea to have n00bs to root stuff. Also things like nano are not exactly home territory for gui-users.

michaelmhk 2012-05-05 18:58

Re: [ANNOUNCE] btinput
 
Quote:

Originally Posted by hw9xx (Post 1202255)
Here is how to set a different keyboard layout:

Go to the store and install "nano" editor.
Enable developer mode
open Terminal
devel-su (password: rootme)
nano /etc/X11/xorg.conf.d/nokia.conf

In that file look for this section (i may have omitted some "):

Code:

# Allow configuration of external keyboards.
Section InputClass
            Identifier          external-keyboard
            MatchIsKeyboard    on
            Option              Ignore              off
EndSection

Here you have to add another line before "Endsection":

Code:

            Option              "XkbLayout"      "de"
"de" is for german keyboard layout. Replace it with the value you need.

Save the file and restart your N9


I really wish someone would enhance btinput with an option to set the layout from the UI. The above procedure looks simple but it's a bad idea to have n00bs to root stuff. Also things like nano are not exactly home territory for gui-users.

Thanks for suggestion, but all of my keyboard are either international us or us layout and after I add the line below:
Code:

            Option              "XkbLayout"      "us"
Still have the same result. To be more precise, the problem is I can't input number keys, special character map different among different keyboard. All the a-z key are correctly mapped among all my keyboard.
One more thing, one of my keyboard is combination of mouse and keyboard, after connected the touch control goes weird.

Update:
I just found after I input below code in the terminal
Code:

setxkbmap -layout us
Number keys work, all special character are mapped correctly.
And sometime after connect the keyboard, the phone give 1 second of my battery indicator become zero and next second prompt changing/Charge Complete(I am charging my phone), it seems ui related service is restarted. Another feature request is enable the cursor, mouse seems work with btinput.

Kabouik 2012-06-28 12:46

Re: [ANNOUNCE] btinput
 
I just edited the /etc/X11/xorg.cong.f/nokia.conf to add the following line:

Code:

Option          "XkbLayout"          "fr"
I saved and then rebooted the phone, and now I'm in a reboot loop. It worked very well before that, and was rebooted recently without any issue. Any idea on what to do? Am I the first to have the issue because of adding an external keyboard layout to this file? Is reflashing the only solution? :/

thedead1440 2012-06-28 13:04

Re: [ANNOUNCE] btinput
 
no need to reflash; you can fix malf state: http://wiki.meego.com/N950/Fixing_MALF_state

follow till step 7. edit the file you had changed and remove the line you added to it. unmount the rootfs drive and reboot the phone. your problem will be solved...

N.B. a linux live cd or installation will be required before you can proceed.

Kabouik 2012-06-28 16:54

Re: [ANNOUNCE] btinput
 
Thank you for your reply. I'll try that as soon as possible. The links are for N950, and I know it does not use exactly the same Meego than the N9. Can I use the same files anyway?

And why the hell editing the nokia.conf drove me in that reboot loop? I mean, the line I added is right, no?

thedead1440 2012-06-28 17:03

Re: [ANNOUNCE] btinput
 
its the same files...

i'm not really sure about the config as i've never used these files and app...sry bout that...

Kabouik 2012-06-28 23:14

Re: [ANNOUNCE] btinput
 
My N9 is not detected when I plug it with the USB cable, so no way to use the flasher. The N9 keeps rebooting when I plug it and force it to turn on with a long press on the power button. If I don't do anything, it will just stay off. In both cases, maemoflasher will not find any suitable device to flash. The USB icon only appears for about one second, but no device detected. After a while and several reboot, I get this warning message stating that too many reboots have occurred, and that the phone should be updated with Nokia Software Updater, or sent to the Nokia Care. (Software problem (xsession/mthemedaemon): too many reboots).

I'm starting to worry now. I'll start to freak out in approximately four minutes.


[Edit] Got it working, and solved the reboot loop by restoring the .conf file. Yeepee. Shame on me, I wrote "optiom" and not "option". Many thanks for your help and for showing me this How-to. :)

However, the procedure here made a "Warranty void" error appear when I boot the phone. First of all, I am really surprised that I "definitely" voided my warranty? I mean, there was not any disclaimer on the howto... I had two years of warranty remaining. :/ Any way to revert things back now that I fixed the .conf file? I'd like to make the warning disappear too.

rainisto 2012-06-29 10:25

Re: [ANNOUNCE] btinput
 
you can get rid of warranty void warning screen by doing full reflash of the device.

Kabouik 2012-06-29 12:27

Re: [ANNOUNCE] btinput
 
Apparently Thedead1440 told me that I am in open mode now (I still see some Aegis messages in Terminal mode, but perhaps they are more permissive now; didn't spend time investigating that). So I guess I'll stay in open mode for the moment. :)

Good to know however that a full reflash to default will make the warning to disappear, thanks.

By the way, I re-edited the /etc/X11.conf.d/nokia.conf to add a "Option XkbLayout fr" line, then used "setxkbmap -layout fr" in terminal, both as user and as root, and my keyboard keeps acting as a QWERTY one, even after reboot. Any idea, do I miss something? :/

Blimer 2012-10-21 18:01

Re: [ANNOUNCE] btinput
 
i have a bt keyboard. I connect via btinput. I try to write sth for exaply on sms. I tap on bt keyboard but nothing happend. Why?? Help me pls


All times are GMT. The time now is 04:15.

vBulletin® Version 3.8.8