Earl31 / btstack

Automatically exported from code.google.com/p/btstack
0 stars 0 forks source link

BTstack Keyboard (Apple BT Keyboard) and BTstack Mouse (Apple Magic Mouse) together #54

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install BTStack Mouse by itself = Mouse works fine.
2. Install BTStack Keyboard by itself = Keyboard works fine. 
3. Install BOTH BTStack Mouse + Keyboard = one or the other will work but
not both at the same time. Get communication errors when attempting to use 
both. 

What version of the product are you using? On what operating system?

iPad 3.2 J/B

Please provide any additional information below.

Is this a supported config? Both the BTStack Keyboard + Mouse working at the 
same time? I cannot get it to work. Tried uninstalling everything, 
reinstalling, etc. etc. Any suggestions?

Original issue reported on code.google.com by mattj...@gmail.com on 14 Jul 2010 at 7:39

GoogleCodeExporter commented 8 years ago
Followup...  Now I am not able to connect the keyboard.  I put it and the mouse 
in discover mode, launch the Keyboard app, and I see BT devices but when I 
click "Dell BT Keyboard" I do not get prompted to enter a code and the KB 
doesn't connect.

Original comment by robor...@gmail.com on 14 Sep 2011 at 5:03

GoogleCodeExporter commented 8 years ago
Followup again...  After some trial and error I'm able to consistently get the 
devices connected together.  I must do the KB first and I must wait until the 
mouse is not connected (no red On notifier on the icon).  

Why does the BTStack service turn off (time out?) when the BT devices go into 
power save mode?  Is there a way to keep it enabled so when the keyboard and/or 
mouse are turned back on they will auto connect (without having to rediscover)?

Original comment by robor...@gmail.com on 15 Sep 2011 at 8:42

GoogleCodeExporter commented 8 years ago
Tried all suggestions to no avail.

Original comment by Eoni...@gmail.com on 17 Oct 2011 at 6:58

GoogleCodeExporter commented 8 years ago
took a vacation from this thread, gave up the mouse, thought I'd come back and 
find you all had solved the problem.  Where'd you all go?

Original comment by gcsimpso...@gmail.com on 29 Oct 2011 at 9:28

GoogleCodeExporter commented 8 years ago
Dear Mattias,

Thank you for such a good project.
Im very exited to connect my magic mouse and kyboard
To my white ipad 2 (4.3.3) vzn JB with Jbkme 
I have download both applications from cydia
Btstack mause and demo keyboard.
However i cant get them to work both mouse and kyboard
When i try to open mouse or kyboard apps
It says activating Btstac...  And never connects
Looks like the mouse its not dicovered of curse its on and on appear mode
I also chek on setings and the bluethoot says unavailable
I have to resset the ipad to connect my key board
Would you please tel me what to do 
I also try the bacrounder app and sett it as it says on top
But still no luck 

Plrase let me know

Thank you

Ed

Original comment by corte...@gmail.com on 12 Nov 2011 at 5:39

GoogleCodeExporter commented 8 years ago
1. Do a hard reboot (not the swipe bar) on the iPad 2. (press and hold the Home 
button and Power button simultaneously until the device powers down and the 
Apple icon appears). This takes about 10 to 15 seconds to restart, and another 
45 to 60 seconds to completely power up.
2. When the iPad finishes starting up, turn on the mouse and the keyboard and 
make them both recognizable.
3. Start the BT Stack Keyboard application and select the keyboard from the 
list. After it connects, press the home button to minimize the app.
5.  Start the BT Stack Mouse application and select the mouse from the list. 
After it connects, press the Home button to minimize the app.
This is the sequence that got my Magic Mouse and Apple Keyboard to work with 
the iPad 2. I hope this works for you.)

Original comment by gcsimpso...@gmail.com on 12 Nov 2011 at 4:03

GoogleCodeExporter commented 8 years ago
I removed paragraph 4, which was not needed.  I don't know if Backgrounder is 
needed, but i have it on my jail broken iPad2

Original comment by gcsimpso...@gmail.com on 12 Nov 2011 at 4:11

GoogleCodeExporter commented 8 years ago
I have problem starting BTStack Keyobard and Mouse simultaneously  = Started 
with BTStack Keyboard first.  Keyboard works fine.  Then, started BTStack 
mouse.  I am able to discover the mouse but the mouse keeps connecting and 
never be connected.  Can't work simultaneously.

Anyone please help.

Original comment by kinggor...@gmail.com on 17 Nov 2011 at 3:51

GoogleCodeExporter commented 8 years ago
I have HP touchpad wireless bluetooth keyboard and Lenovo bluetooth mouse 
N6901A. 
Ipad2 with 4.3.3 jailbreak. 
btstack mouse - paid $5 for the lastest version.
They work simultaneously on my friends Ipad 1st Gen with 4.3.2 jailbreak and 
btstack mouse, keyboard.  
I have tried to reboot ipad2(hold exit and power button at the same time).  It 
only worked on the first time. 
The other day, I reboot the ipad2 completely and it doesn't work again.  It was 
so annoying.
Please advise and help.  Thanks a million!!

Original comment by kinggor...@gmail.com on 17 Nov 2011 at 3:52

GoogleCodeExporter commented 8 years ago
If you've followed my comment 106 exactly and if it doesn't work, then it may 
be that you need backgrounder, which is the only thing left that might differ, 
in order to make it work.

Original comment by gcsimpso...@gmail.com on 17 Nov 2011 at 4:18

GoogleCodeExporter commented 8 years ago
judging from what i'm reading on comment 108, you're not following comment 106 
exactly.  Any little difference can prevent it working.

Original comment by gcsimpso...@gmail.com on 17 Nov 2011 at 4:22

GoogleCodeExporter commented 8 years ago
Strangest thing.  After being required for months to start keyboard first, 
followed by mouse second, exactly as outlined above, last night I allowed cydia 
to upgrade my bstack... it quit working....back to square one.  so i thought, 
why not try to start the mouse first and see what happens.  strangely enough, 
it worked.  who knows what will happen tomorrow when i try again.

Original comment by gcsimpso...@gmail.com on 26 Nov 2011 at 5:50

GoogleCodeExporter commented 8 years ago
anybody here? i've just follow comment 66 and both keyboard and mouse worked 
stimulately for the first time. I'm afraid it won't work tomorrow =.=!

Original comment by sihie...@gmail.com on 5 Dec 2011 at 6:58

GoogleCodeExporter commented 8 years ago
anybody here? i've just follow comment 66 and both keyboard and mouse worked 
stimulately for the first time. I'm afraid it won't work tomorrow =.=!

Original comment by sihie...@gmail.com on 5 Dec 2011 at 6:58

GoogleCodeExporter commented 8 years ago
Hey everyone,

I also struggled connecting both keyboard and mouse at the same time using 
BTStack and I have found a RELIABLE and working solution.

My Setup:
ipad 2 ios 4.3.3
Apple Wireless Keyboard and Azio Bluetooth Keyboard
Microsoft Bluetooth Notebook 5000 mouse
BTStack Keyboard 1.0-25570 (as of Dec 2011)
BTStack Mouse 1.0-25562 (as of Dec 2011)

Here is the deal:
1) Reboot
2) Connect your KB only using standard Apple Bluetooth and run Safari
 (this somehow seems to turn on the "No virtual keyboard" mode more often)
3) Turn off Apple Bluetooth
4) Turn off keyboard (KB)
5) Turn on KB and make KB discoverable
6) Go to "Keyboard" app, wait till your keyboard shows up, but DO NOT 
CONNE￿￿￿￿￿CT to keyboard yet.
    Also make sure it shows up as "black keyboard" icon, not a blue bluetooth icon. Otherwise, you are screwed.
  Once again, DO NOT CONNE￿￿￿￿￿CT the keyboard yet.
7) Turn on your mouse and make it discoverable.
8) Go to "Mouse" app, wait till your mouse shows up and CONNE￿￿￿￿￿CT. 
It should connect ok, since it is the first one to be connected.
9) Go back to "Keyboard" now and connect the keyboard. 
  Since the KB was already discovered as connectable keyboard, you'll be able to connect to it. (As long as it is still in discoverable mode, so steps 7,8,9 should be done rather quickly).
10) Voila!

Works for me every single time and is pretty fast!

I suspect the bug arises because both "Mouse" and "Keyboard" take the BTStack 
for themselves too much preventing crucial steps to be completed by the other 
application. So we have to keep switching between the two to make sure they are 
both past crucial steps of connection.

One concern that I have is that after some period of time (an hour or so) 
either mouse or keyboard seem to disconnect on their own and it is not because 
of sleep. They may disconnect right in the middle of typing a sentence or 
something. Would be greatful if developers would look into this issue. I'll try 
to use Backgrounder to see if it solves the problem.

Original comment by akh...@gmail.com on 24 Dec 2011 at 6:18

GoogleCodeExporter commented 8 years ago
@akh heads up. the clue in your description is starting BTstack Keyboard, 
waiting until the keyboard is discover, then backgrounding it and connecting 
the mouse. Onlyafter that you connect the keyboard (all other steps are not 
crucial).

What happens for the second device (for some people), is that the Class of 
Device is reported incorrectly (I don't know WHY that happens). By doing both 
inquiries before connecting, this is avoided.

Original comment by matthias.ringwald@gmail.com on 27 Dec 2011 at 7:12

GoogleCodeExporter commented 8 years ago
Issue 214 has been merged into this issue.

Original comment by matthias.ringwald@gmail.com on 27 Dec 2011 at 7:28

GoogleCodeExporter commented 8 years ago
I raised issue 214, which has been merged into this issue. By following the 
steps described in comment 116 I can now successfully connect my apple keyboard 
and mighty mouse to my ipad. The trick is to be quick.

Original comment by Captain....@gmail.com on 28 Dec 2011 at 12:00

GoogleCodeExporter commented 8 years ago
I can verify what works consistently for me on ipad2/ios 5.01 with apple 2 
battery keyboard and magic mouse.

1. if BTStack is running from before... switch to 'none' or 'iOS' (I tried many 
times with the same steps below without this stop start it doesn't seem to work)
2. if BT Keyboard and Mouse apps were running before kill them
3.  turn off keyboard/mouse (this also seems critical, I can go through all the 
steps below but without the keyboard on/off in particular... it doesn't work)
4.  turn on BTStack and then turn on KB
5. open BT keyboard and see it recognize the keyboard... as someone said you 
need this to be the black keyboard icon not the generic bluetooth icon (I think 
if you are seeing generic bluetooth icon you should probably restart and/or 
wipe the preferences stated above and make sure everything is off, killed and 
start over)
6. don't connect the keyboard... press home button QUICKLY and turn on mouse 
and QUICKLY open BT Mouse
7. go ahead and connect to mouse... as soon as you see the red disconnect 
button QUICKLY home button switch to BT Keyboard
8. connect to keyboard now

- I would love to see the Keyboard / Mouse functionality combined and made 
available as an update for those of us who paid for keyboard already who are 
feeling a little frustrated trying to make it all work

- It would also be nice if it 'just worked' like the regular iOS BT where if I 
have BT on and turn on my KB it connects, done

Original comment by kur...@gmail.com on 24 Jan 2012 at 5:02

GoogleCodeExporter commented 8 years ago
It works this way.^^

Just got the kb and mouse today

But would like one program that works with both devices. And working functions 
keys on the kb.

Original comment by mikkel...@hotmail.com on 24 Jan 2012 at 10:00

GoogleCodeExporter commented 8 years ago
Hi all. I've just found the bug in the discovery of BTstack Keyboard. In the 
current version, BTstack Keyboard will fail to detect a Bluetooth keyboard as a 
keyboard if anything did enable " Inquiry mode with RSSI". However, most other 
BTstack-based packages incl. BTstack Mouse enables this mode and doesn't 
disable it. (There's no problem with this mode by itself, it's just the handler 
in BTstack Keyboard that doesn't handle results with RSSI values properly).

For now, you have to connect the keyboard first, and then the mouse. This works 
for me without any extra help.

I've started to give BTstack Keyboard a needed overhaul, fixing stuff and 
adding small features as I get along. I plan to release a first update until 
the end of this month, with more improvements coming later. Sorry for the 
trouble.

Mathias

Original comment by matthias.ringwald@gmail.com on 5 Feb 2012 at 7:26

GoogleCodeExporter commented 8 years ago
Hi Matthias,

Cool. Thanks for the great work! Looking forward to the new version of BTStack 
Keyboard.

While you are looking at it: a few more comments.

1) My solution at Comment 115 works perfectly for me. However, if I follow your 
advice and indeed connect KB first, then BTstack Mouse won't discover the 
mouse. 

I should discover the KB first, then discover the mouse, then connect the mouse 
and only then can I connect the KB. Nothing else works.
This might be related to the bug that you found.

My Setup:
ipad 2 ios 5.1 (updated recently)
Apple Wireless Keyboard and Azio Bluetooth Keyboard
Microsoft Bluetooth Notebook 5000 mouse
BTStack Keyboard 1.0-25570 (as of Dec 2011)
BTStack Mouse 1.0-25562 (as of Dec 2011)

2) After some time both mouse and KB get disconnected. They don't reconnect 
automatically and the only option to revive them is to switch everything off 
(include BTStack itself) and then start it all from scratch. The bug is the 
same both for iOs 4.3.3 and 5.1. 

Do you feel it is connected to this bug as well? or is it a sleep mode thing?
Is there any way to send "keep-alives" so that they don't go to sleep.
(Acknowledging that this would cause batteries to drain very fast, it might be 
just an option that is disabled by default)

These disconnects are really annoying!

Original comment by akh...@gmail.com on 6 Feb 2012 at 7:19

GoogleCodeExporter commented 8 years ago
... followup: I apologize for the typo. My iOS is 5.0.1, not 5.1.

Original comment by akh...@gmail.com on 6 Feb 2012 at 7:22

GoogleCodeExporter commented 8 years ago
Hello Mathias,

I am working with a Jail Broke Ipad 2 (5.0.1)  I have install the BTstack mouse 
and paid for the BTstack keyboard. Everything works together BUT the keyboard 
(Belkin keyboard Folio) I cant the the CAPS to work or the Shift key to work. 
Is there anything I can do that might can fix or map that problem?

Thanks 
Mr King 

Original comment by bigblk0...@gmail.com on 15 Feb 2012 at 9:28

GoogleCodeExporter commented 8 years ago
Any update on the new version of BTKeyboard please? I purchased from the Cydia 
store, but it is so fussy to setup with BTMouse that I can only really use one 
or the other. It would be great just to include BTMouse in with BTKeyboard and 
have them both managed from one app... Thanks!

Original comment by hughes.j...@gmail.com on 1 Mar 2012 at 5:01

GoogleCodeExporter commented 8 years ago
I don't know what the developer's plans are. 

I would be curious to see what others think but if you get it working for a bit 
with mouse/trackpad is it worth it?

I found that because so much of the ipad interface is not designed for mouse 
interaction... seemed clumsy.

Personally I think having the keyboard alone with a stink'n rt/lft arrow is 
enough to change how things work that I will probably just give up and live 
without btstack and just use the regular ios bluetooth stack.  That's just me.

Original comment by kur...@gmail.com on 2 Mar 2012 at 1:09

GoogleCodeExporter commented 8 years ago
Just want to know how is the actual state for magic mouse + apple wireless 
keyboard ? I want to buy a keyboard but i'm afraid because all related problems 
mentioned here. Its not fair sell "btstack keyboard", if it doenst works 
combined with "btstack mouse". To use only keyboard, its better (and free) to 
attach with native IOS bluetooth driver.  

Please, for the ones who succesfully connected both with btstack, how many time 
consumes to do the trick (I saw instructions here, don't need to be mentioned 
again) to make them connect ? Tha trick is stable, or lose the connection 
eventually ? Sorry for bad english, it's not my native language. Thanks for all 
!

Original comment by mail....@gmail.com on 7 Mar 2012 at 2:58

GoogleCodeExporter commented 8 years ago
Interesting that we're now almost at mid-March but there appears to be no 
satisfactory solution to the simultaneous use problem yet! I don't think the 
issue is entirely in Matthia's hands either; bluetooth has always and will 
always be a slightly 'dodgy' protocol no matter where you look. Apple's 
implentation isn't immune to this as anyone who has struggled with certain 
devices can attest. In the end, it's really up to Apple to solve it by 
accepting the point and click principle that they originally championed and 
give us the ability to use a mouse or other pointing device should we wish. 
It's only their ridiculously purist attitude to what they think we should be 
doing with their devices that prevents them supporting mice in iOS. I've typed 
this on a cheap but perfectly satisfactory BT keyboard but using the iOS stack, 
which supports it fully.  And an iStick is a good substitute for a finger; 
mouse support will just have to wait.

Original comment by minty.mi...@gmail.com on 10 Mar 2012 at 9:40

GoogleCodeExporter commented 8 years ago
i had also been struggling a bit, but i think i have found a solution, at least 
for myself:

info:

ipad2 wifi
ios5.0.1(9a405)
jb using absinthe
cydia 1.1.4
BTstack Keyboard ver1.0-25570
BTstack Mouse ver1.0-25562
Backgrounder ver1.1.0-1
Apple magic mouse
Apple wireless keyboard

here's what i did:

1. reboot by holding 'home' and 'power button' until apple logo come out, then 
release both buttons

2. launch Backgrounder: add 'keyboard' and 'mouse' to 'overrides'. in 
'overrides' set as follows:
          for 'keyboard' settings, backgrounding method to 'FORCED', enable at launch to 'ON', stay enable to 'ON'
          for 'mouse' settings, backgrounding method to 'FORCED', enable at launch to 'OFF', stay enable to 'ON'
    This is different from comment 18 above,

3. reboot, same as 1.

4. check Backgrounder, make sure settings are still there (i'm getting paranoid)

5. go to 'settings' make sure extensions 'BTstack' set to 'None'

6. double-click 'home button', kill all running apps (i don't remember if i 
killed 'backgrounder' but i don't want to touch it
    now that it is working...

7. make sure mouse and keyboard are not connected to any devices

8. run 'Keyboard'

9. put mouse and keyboard into discovery mode.

10. wait until after the devices have been found, with the correct mouse and 
keyboard logos before u 
      hit the 'home button' and run 'Mouse'

11. the mouse and keyboard with the correct logos should be there or show up 
quickly,
      connect to mouse.

12. quickly hit 'home button' and run 'keyboard' again.
      the devices with the correct logos should still be there,
      and quickly connect to the keyboard

DONE!

i don't know if  the quickness is necessary, but it couldn't hurt. also if the 
generic bluetooth logo shows up on the keyboard or mouse, u are screwed... 
start over is my advice...

good luck, y'all!

Original comment by airal...@gmail.com on 11 Mar 2012 at 4:20

GoogleCodeExporter commented 8 years ago
I did the process, but in the end I found it useless. Mainly because the 
keyboard driver is very very primitive, just accepting single keys. No accents, 
no combinations, even the basics keys for shortcuts doesn't works.
Five dollars, It's almost equal to Infinity Blade price. LOL.

Original comment by mail....@gmail.com on 26 Mar 2012 at 9:02

GoogleCodeExporter commented 8 years ago
Hi. Please try the 1.5 updates of BTstack Mouse and Keyboard, they should work 
together (again) now.

Both also have a "Last Used Device" for quick connection.  Finally, please 
start using http://btstack.uservoice.com for issues with my BTstack-based 
products on iOS.

Original comment by matthias.ringwald@gmail.com on 21 Apr 2012 at 7:41

GoogleCodeExporter commented 8 years ago
Finally ! I can confirm keyboard and mouse working togheter in a simple way 
with no complications. Accents and combinations working great. Despite some 
bugs like blackscreen when exit app with gesture, it's great now.
Thanks !

Original comment by mail....@gmail.com on 8 May 2012 at 2:06

GoogleCodeExporter commented 8 years ago
Heya Matthias, any updates on when the combined mouse+keyboard app will come 
out and how much it will cost?  It would be cool for us iMac owners to have 
some basic magic mouse functionality for scrolling, switching between 
applications, etc. 

Keep up the good work!

Original comment by aris.pal...@gmail.com on 14 May 2012 at 1:05

GoogleCodeExporter commented 8 years ago
Hi.
How I can change keyboard language when using by stack with a Bluetooth 
keyboard?
I have not access to iPad's native keyboard to change language,how it appears?

Thank you

Original comment by nospip...@gmail.com on 26 May 2012 at 7:15