Export to GitHub

btstack - issue #54

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


Posted on Jul 14, 2010 by Happy Lion

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?

Comment #1

Posted on Jul 14, 2010 by Swift Ox

hi. can you describe "communication errors"? Connecting to the mouse after connecting to the mouse might be easier, but it is working for many. It works for me.

Comment #2

Posted on Aug 5, 2010 by Helpful Bear

Same problem. I'm using a Dell BT Mouse (works perfectly, by itself). With the BT keyboard stack and Apple BT Keyboard, one or the other drops connection.

Comment #3

Posted on Aug 6, 2010 by Happy Dog

I'm having a similar problem. I have both BT Stack Keyboard and BT Stack Mouse installed on my ipad 3.2.1 j/b. Mouse works fine, but BTStackKeyboard sees my Apple Wireless Keyboard, but can't pair with it.

When I tried to pair the apple wireless keyboard which I just bought with BTStack Keyboard, it wouldn't pair and on the ipad it says "Connection Failed! Please make sure that is is still discoverable." I know the Apple Wireless Keyboard is in pairing mode because it keeps flashing its green light three times, which I think is "pair mode."

Comment #4

Posted on Aug 15, 2010 by Happy Hippo

After installing btstack keyboard not only the keyboard but my previously flawless mouse do not work. I have tried every possible combination including completely uninstalling all the btstack components. Even if I reinstall only the btstack mouse. It no longer works. BTW this is on my iPad. I installed btstack mouse on my iPod for the first timeb as a check and it works as it should. The keyboard works on the iPad standard Bluetooth just fine.

Comment #5

Posted on Aug 15, 2010 by Swift Ox

BTstack Mouse & Keyboard work for me on my devices (iPhone 3G 3.1.2, iPad 3.2, iPhone 4 4.01). However, I got numerous reports that it doesn't work for others and so far have no idea on the nature of the problem or a solution.

I plan on a general re-write of both apps in Summer/Fall to combine them, I hope that this could also improve the situation.

Comment #6

Posted on Aug 15, 2010 by Happy Hippo

The keyboard demo app connects but the full app and now the mouse doesn't.

Comment #7

Posted on Aug 21, 2010 by Swift Ox

@papoolc, lmday: please try to delete the preferences files: /var/mobile/Library/Preferences/ch.ringwald.*

I just discovered that BTstack apps don't handle the case where you pair your device with another PC/Mac and then try to use it again on iPhone/iPod.

Comment #8

Posted on Aug 21, 2010 by Happy Hippo

I deleted the files per your instruction and at least now i have the mouse back. The keyboard will connect now, but when I press the home button it disconnects. I tried every combination of no mouse, mouse first, keyboard first, but it made no difference.

Half-way home ;-)

Comment #9

Posted on Aug 24, 2010 by Swift Ox

do you get the "ON" badge on both apps and do they stay on? if you're using Backgounder, please set BTstack Mouse & Keyboard to "native backgrounding"

Comment #10

Posted on Aug 24, 2010 by Happy Hippo

Eureka! after changing the Backgrounder preferences and deleting the ch.ringwald preference files everthing works great. Thanks for all your effort and support.

Larry Day

PS: no biggie, but FYI - the caps lock light on the Apple keyboard doesn't come on. hopefully just a line to add in your program. Easy for me to say; I haven't programed since my Amiga days.

Comment #11

Posted on Aug 25, 2010 by Swift Ox

fyi: I didn't implement CAPS-Lock as I never use it. And I got the first request maybe half a year after BTstack Keyboard was on sale. But I'll add it eventually.

Comment #12

Posted on Aug 25, 2010 by Happy Monkey

Comment deleted

Comment #13

Posted on Aug 25, 2010 by Happy Monkey

it still does not work for me - installed both mouse and keyboard stacks and try to connect. mouse works fine. the keyboard module finds the bt keyboard, when touching it to establish the connection the ipad asks for a pin to be entered on the keyboard. but before i can type any number it closes and says "Authentication Failed. Please try again and make sure that you enter the PIN correctly". No chance to get this connected. I deleted the file as mentioned above and also installed backgrounder (did not work without backgrounder too..). Any idea left..? thx

Comment #14

Posted on Aug 26, 2010 by Swift Ox

please attach /tmp/hci_dump.pklg after the connection failed.

Comment #15

Posted on Aug 30, 2010 by Quick Dog

@comment 7 regarding the preferences file:

you've posted that there are plans on rewriting both the mouse and keyboard app anytime soon, so I would suggest to implement either a logic that handles this case or a simple button inside the app "clear preferences" or something similar.

I assume you already added that to your ToDo, but I just ran into that problem, too, and thought it might be a good idea to share my thoughts on this ;)

Comment #16

Posted on Aug 30, 2010 by Swift Ox

@smashd I've fixed that in the latest update of BTstack GPS and I might even release an earlier update for mouse & keyboard just to get around that. (and also add a "connect to last used device"). we'll see. :)

Comment #17

Posted on Sep 7, 2010 by Quick Dog

@matthias.ringwald I've seen that post a little late, but this sounds very promising! Thanks!

Comment #18

Posted on Oct 13, 2010 by Happy Bear

Update: Not long ago, I got an iPad and bought the Apple BT keyboard with it, because text entry is one of the main applications for me. I read about the BTstack Mouse option and was so happy, but had to find out that it was an "either or" situation.

I quickly googled my way through the net to find this little page. With trepidation, I purchased BTstack keyboard and after a few trials and errors, here is the setting that works for me (I am using Backgrounder):

  • Add both Mouse and Keyboard to the exception list in Backgrounder
  • for the mouse, choose native, turn 'enable at launch' OFF (!), 'Stay enabled' ON
  • for Keyboard, choose native, turn 'enable at launch' ON (!), 'Stay enabled' ON

Apply the other options (badge icon etc) at your leisure.

With these settings, I connect the keyboard first, when I exit the app, it stays on in the background, and keyboard stays connected; then I connect the mouse (standard logitech BT mouse), and when I exit, although enable at launch is disabled, it stays on. I can use both at the same time!!

Hope this helps a few of you out there!

Okay, now to my wishlist (if you'll indulge me, Matthias):

first off, kudos and many thanks, it is really great to be able to use both mouse and keyboard on an iPad!!!

I would appreciate, as you have announced, to have both in one application; although both works for me now, one button for both is a little more elegant, a little more "Apple." So, if you're still up to that, I am looking forward to it.

I would very much appreciate to see the Caps lock LED. If it is not too much trouble, I think a few of us would appreciate it greatly.

Now to the things that I found very useful when connecting the keyboard with Apple's built-in BT:

You can use F1 and F2 to decrease and increase screen brightness, which is a HUGE plus for me. You can use F7 through F12 for various sound options, next/previous song, play/pause, in- or decrease audio, mute... all really great options. Is there ANY way to implement these keys with the original functions? In the short time I have been using the keyboard, I have grown accustomed to these keys, and I am sure there are more users that have used it or would use it if they knew it was possible.

As I said, I'm grateful as it is, because the basic functions I use both keyboard and mouse for on the iPad (writing) do work like a charm. The wishlist would just top off an already great thing with frosting!

Again, many thanks Chris

Comment #19

Posted on Oct 13, 2010 by Happy Bear

PS: About the mouse: I know this is not Apple, and I do NOT know how difficult it is, but is there a possibility to allow for scrolling with the mouse wheel?

Comment #20

Posted on Nov 25, 2010 by Happy Ox

hey gus i use IOS 4.2.1 on my ipad and i cant use my mouse ;[ i dont use backgrounder i have few things installed i got btstack mouse but it doesnt work i receive every time connection failed...... i also deleted file that uu tell me but still same problem i cant connect my mouse any idea how to fix it ?

Comment #21

Posted on Nov 25, 2010 by Happy Ox

Comment deleted

Comment #22

Posted on Jan 4, 2011 by Swift Panda

I installed both the apps, (including the btstack which i purchased) i deleted the file you said to delete, it worked for like 2 minutes then the keyboard drops off. It's very frustrating!

Comment #23

Posted on Jan 6, 2011 by Helpful Horse

Hi, I have both apps and it works fine withe my ipnone 4! I use a Think Outside Stonway Travel Mouse and it disconects after a few minutes as the mouse goes in Batterysafemode! Is this the same with all bluetooth mouses? It's nervy to copple the mouse again when it's in standbymode!

Comment #24

Posted on Jan 7, 2011 by Swift Ox

hi guys. sorry for the state of combined use of BTstack Mouse and Keyboard.

Most mice go into full sleep mode and disconnect. That's no problem with a full Bluetooth HID daemon, but fails with BTstack Mouse. I've started to work on such a Bluetooth HID daemon and released a version for the Apple TV in December. I'm going to extend that one and will replace both BTstack Mouse & Keyboard with a better one. No ETA yet, but purchases for BTstack Keyboard will be valid/transferred for the new BTstack Keyboard or HID package.

Comment #25

Posted on Jan 7, 2011 by Helpful Bear

Sounds fair. Thanks for all your hard work. Jim

Comment #26

Posted on Jan 10, 2011 by Swift Panda

Thank you, i appreciate the hard work, i will follow up on this thread as i am part of a virtual migration team for a major brokerage house and our entire team uses ipads to connect to our virtual machines, having a mouse and keyboard at the same time will make working at the beach much easier!!!

Comment #27

Posted on Jan 11, 2011 by Swift Ox

@voz.alex LOL, maybe I should change my profession and become a broker, too. :)

Comment #28

Posted on Feb 10, 2011 by Helpful Panda

Great work! I'm using the btstack mouse. Im using the magic mouse and would like to use the scroll function instead of holding the left button and dragging the mouse up or down. But then again that could be an addition to activator, I dunno. Also I've noticed that the selection point on the arrow is not the typic tip of the arrow but instead the middle of it. Not really a problem but something that pol probably aren't use to. Can't wait for the bt mouse and keyboard to be used together!

Comment #29

Posted on Feb 12, 2011 by Helpful Lion

mouse works but when i attempt to pay for the btstacks keyboard i get this I also called amazon and they didnt know what to do!? Greetings from Amazon Payments,

We're sorry, but your Feb 11, 2011 payment to SaurikIT, LLC for $5.00 has failed. Details of this transaction are below:

Payment details:

Transaction ID: 15OBMJJZI13XXXXXXXXXXXXXXXXXXXXXXXXXXXX

Comment #30

Posted on Feb 22, 2011 by Happy Cat

Bought the bt keyboard but when i install it it says that the host cant be found

Comment #31

Posted on Feb 23, 2011 by Swift Ox

@CplBar... I have no control over the payment process which is handled by SaurikIT. Often, purchase errors result from a missing or not verified bank account or credit card.

Comment #32

Posted on Feb 23, 2011 by Swift Ox

@carlsson... please describe what you tried, what happened, and what you expected to happen.

Comment #33

Posted on Feb 25, 2011 by Happy Ox

I just bought the BTStack Keyboard and found one problem. When I press the up/down/left/right arrows, they instantly cause the Pages application to exit - without saving the texts. This is a serious problem as I use the arrow keys a lot, in combo with shift and command and option keys to select and move the cursor quickly when word processing. Also there is danger that I just accidentally hit the arrow key and lose all my work? I use OS4.2.1 Any ideas/workaround? tx

Comment #34

Posted on May 22, 2011 by Happy Kangaroo

I've been experiencing the same issue as noted above. Mouse on its own works perfectly. Keyboard on it's own works perfectly. But cannot get them working together. I purchase the keyboard app as I thought it might have just been the demo was causing the issue. Tried all combinations to no avail. When the second device connects the first drops off.

Apple wireless keyboard Microsoft 5000 mouse iPad 1 iOS 4.3.3

Very much interested in any developments and in particular the "one app for both" that has been mentioned above. While having a mouse on the iPad is critical for me, it's a very nice to have when you are working on windows boxes remotely.

Cheers Maree

Comment #35

Posted on Jul 6, 2011 by Grumpy Ox

Same problem here, Microsoft Presenter 8000 works fine on its own with both apps installed but only the mouse connected, and a Targus AKB32US keyboard works fine the same way.

If I connect the keyboard first, then they mouse just spins on "Connecting" and will not connect. If I connect the mouse first then the keyboard shows up with the standard bluetooth logo and not the keyboard logo and will not connect. I JUST spent $5 on this and it doesn't work :(

iPad 2 4.3.3

Comment #36

Posted on Jul 9, 2011 by Swift Ox

(No comment was entered for this change.)

Comment #37

Posted on Jul 9, 2011 by Swift Ox

Issue 65 has been merged into this issue.

Comment #38

Posted on Jul 9, 2011 by Swift Ox

Issue 178 has been merged into this issue.

Comment #39

Posted on Jul 9, 2011 by Swift Ox

Issue 90 has been merged into this issue.

Comment #40

Posted on Jul 14, 2011 by Happy Hippo

I cant get the primary button to click on anything once I'm inside an app...

Comment #41

Posted on Jul 14, 2011 by Swift Ox

demnk... see http://code.google.com/p/btstack/issues/detail?id=54

Comment #42

Posted on Jul 14, 2011 by Happy Hippo

On the home a screen everything works fine.. I can drag, click, the left button works great! But nice I get into any app like mail or safari or anything else I have no left click functionalities. I am on an iPad. It works on my iPhone 4 but not my iPad 2.

Comment #43

Posted on Jul 14, 2011 by Swift Ox

sorry, cannot help if you don't READ my reply.

Comment #44

Posted on Jul 14, 2011 by Happy Hippo

When I click on the link you posted above it just takes me to the top of this page.. Is there something I'm missing? I've read every comment on this page and I haven't seen anything about only the left button not working.. Right click still works..

Comment #45

Posted on Jul 14, 2011 by Swift Ox

Ouch. Sorry, that was my bad then. There's a general problem with mouse in 4.3.3 - http://code.google.com/p/btstack/issues/detail?id=114 - rotating iPad by 180 degrees helps a bit.

Comment #46

Posted on Jul 14, 2011 by Happy Hippo

I wasn't trying to be a d-bag I truly thought I wasn't understanding lol.. So I turned my iPad to the side and now it works... Wow...I feel even stupider now... I've been uninstalling re installing, deleting preferences, etc for like an hour now and all I had to do was turn it to the side... Fml. And thanks for the great work!

Comment #47

Posted on Jul 14, 2011 by Swift Ox

well, I neither saw the problem (didn't had 4.3.3, only 4.3.1) and also didn't realize that the bug depends on the orientation.

Comment #48

Posted on Jul 14, 2011 by Happy Hippo

I read somewhere Einstein could barely tie his shoes or fix his hair bc it was too simple

Comment #49

Posted on Jul 21, 2011 by Swift Horse

Same problem as way back in comment 13 here, to an extent--I'd still have a problem even if it did work. I have an iControlPad, a gamepad with the ability to masquerade as a keyboard, which my 3G doesn't support anyway. When asked for a PIN, the message disappears before I ever get a chance to "type" anything, replaced by "Authentication failed".

Of course, there aren't enough keys on the pad to fill in the PIN anyway. But right now I can't even get to that problem. Attached is my /tmp/hci_dump.pklg

If it helps, I'm using the demo version at the moment.

Attachments

Comment #50

Posted on Aug 8, 2011 by Swift Panda

For those who still cannot get the keyboard and mouse to work simultaneously on iPad, using BKstack, here's what worked for me.

After working for hours trying to make both work together on my iPad 2, with only occasional success, I finally read comment 18 above . I realized I didn't have Backgrounder, so I installed it just so I could follow the comment 18 directions ￿EXACTLY. It ￿￿WORKED.

If you disconnect either mouse or keyboard, you may have to disconnect the other, and then make sure both are completely closed out and disconnect the BKstack bluetooth and then reconnect keyboard and then mouse in that order as instructed.

Comment #51

Posted on Aug 8, 2011 by Happy Rabbit

Comment 18 and comment 50 worked perfectly on my iPad 2 with 4.3.3. Thank you for sharing. The availability of a mouse should be native Apple!

Comment #52

Posted on Aug 8, 2011 by Swift Panda

Well, it looks like i spoke too soon in my comment 50. After disconnecting for the night last night, with that good "problem solved" feeling, I followed the same procedure today when I got home from work and and the mouse just sits there "connecting" but never does connect. Checked the backgrounder settings and followed the same order, to no avail. restarted 4.3.3 twice, and followed the procedures outlined in 18, just as i did last night, but..no go on the mouse. Tested the mouse by itself and it connected fine, just won't connect if the keyboard is already connected. I'm at a total loss. Hope comment 51 doesn't run across the same problem.

Anybody out there have any ideas.

Comment #53

Posted on Aug 8, 2011 by Swift Panda

we all need to hear from the BKstack developer. the only reason i paid $4.00 for the BKstack keyboard was that it was needed to run with BKstack mouse. If they aren't going to work together, then there should be a warning on the BKstack keyboard.

Comment #54

Posted on Aug 8, 2011 by Happy Rabbit

Unfortuately I'm Comment 51 and I now have the same problem. Worked great last night and today the mouse will not connect. Developer please help!! Why will it only work once? Hope we all hear something soon.

Comment #55

Posted on Aug 8, 2011 by Swift Panda

Come on, matthias.ringwald, let us hear from you.

Comment #56

Posted on Aug 9, 2011 by Swift Ox

hi. I've got reports on that problem before/since a while. So far, I wasn't able to reproduce it with my devices.

Can those of you which get a generic Bluetooth icon instead of a Mouse/Keyboard symbol please post the file /tmp/hci_dump.pklg from your device. You can use iFile to send the file to yourself or use Cyberduck or scp to copy it to your computer. Thanks!

Comment #57

Posted on Aug 10, 2011 by Swift Panda

Comment deleted

Comment #58

Posted on Aug 10, 2011 by Swift Panda

Comment deleted

Attachments

Comment #59

Posted on Aug 13, 2011 by Swift Panda

I have a mouse and keyboard symbol and if I have the file you are looking for I can't find it.

Hey, comment 54,did you ever find success.

Comment #60

Posted on Aug 13, 2011 by Happy Rabbit

Unfortunately not working yet. I feel a little ripped off for buying the tweak and not have it work. I tried getting the apple dock keyboard (non-bluetooth) but hate it so then ordered a dock extender but when I plug it in it says "your iPad dies not support this product". I'm Stuck! I hope this gets remedied QUICKLY!

Comment #61

Posted on Aug 13, 2011 by Swift Panda

I have a feeling we are not the only ones who feel a little ripped off by this keyboard + mouse language..Not only the cost of the program, but also the cost of the mouse I wouldn't have bought had I known the ad was untrue. If it were my program I'd be changing the ad language and working real hard to fix the program.

Comment #62

Posted on Aug 16, 2011 by Massive Elephant

same problem here. Can any project member list their keyboard/mouse combination which work.

Comment #63

Posted on Aug 18, 2011 by Grumpy Wombat

here is what i found

run btstack keyboard then, make keyboard discoverable then, make mouse discoverable then, connect keyboard then, run btstack mouse biola!

if you want to reconnect, make sure reboot ipad and follow the direction above.

hopely this helps you all who are suffering

Comment #64

Posted on Aug 18, 2011 by Swift Panda

kissing

Thanks for the effort, but . . . nope. Hope yours keeps working, though.

Comment #65

Posted on Aug 19, 2011 by Swift Panda

Sorry, Kiseong. That was my iPad speller. Trying a version of swype on here and it has a long way to go.

Comment #66

Posted on Aug 19, 2011 by Quick Giraffe

I had this error but eventually got my bluetooth keyboard and bluetooth mouse working. -4th gen iPod Touch on iOS 4.3.3 w/ Redsn0w.

Install both apps (I would suggest rebooting the device once, not respring, just to make sure the apps completely install and load properly). Then start up keyboard app. Put both the keyboard AND mouse in discovery mode. Connect to the keyboard. Then start up mouse app. Connect to the mouse. (Pretty much the same steps as Comment 63)

Below is some info on the problem for anyone interested in solving this bug, this is what happens when I tried a different way to connect: What I've noticed is that if I didn't put both device in discovery mode at the same time, and started with the keyboard or mouse and their respective apps separately (like start keyboard app, make keyboard discoverable, connect keyboard, then start mouse app, make mouse discoverable, then try connecting mouse), it just doesn't work because in that example, the mouse won't connect AND sometimes I just get a bluetooth pic and not a mouse pic as if to say it can't recognize/find the profiles that it needs to load because it isn't exactly sure what the device is or whatever, plus I try clicking the mouse to connect but nothing happens except saying connecting (like forever).

Comment #67

Posted on Aug 19, 2011 by Swift Panda

Well . . . I am truly amazed. Comment 64 had it right to start with. I just followed comment 66, which is virtually identical, and it worked. For those of you having trouble, the only thing I did differently was the manner in which I rebooted. Formerly I was holding the home and sleep buttons and sliding the arrow to the right when it came up. This time I held the two buttons for ten seconds until the apple came up and then just let go and waited patiently for the thing to restart. Then followed 66's instructions. Now here I am using mouse and keyboard together. I suppose the trick is in the manner of the reboot. Obviously sliding the arrow is not a true reboot.

Thanks for your help, 63 and 66.

Final question: I'm using an apple magic mouse and it's not scrolling at all. Any of you using a logitech mouse and is it scrolling?

Thanks

Comment #68

Posted on Aug 19, 2011 by Happy Rabbit

Finally - thanks 63, 66, and 67! I'm using the mouse and key board right now. This setup process worked great and I just had to do the reboot (not slide to power off) and it worked once again. Thanks for all the input.

Comment #69

Posted on Aug 19, 2011 by Quick Horse

just tried the process detailed by comment 66 with my apple bluetooth keyboard and targus touch mouse on my ipad2 iOS 4.3.3. easy start up and fast connection of both devices with no false starts. now let's see if they both hold the connection. btw: i am running insomnia.

Comment #70

Posted on Aug 19, 2011 by Quick Horse

Back again. 14 hours later--targus mouse will not stay connected. Changed to Logitech MX9000. This mouse will stay connected and will restart easily after reboot. But the Apple BT Keyboard will not stay connected and fails to restart easily often showing the Bluetooth symbol instead of the keyboard icon. Forced to go back to the IOS bluetooth stack. And yes, feeling a bit ripped off. But when it works, it's a great combo to have!

Comment #71

Posted on Aug 19, 2011 by Helpful Bear

REMOVE ME

Comment #72

Posted on Aug 20, 2011 by Happy Rabbit

24 hours later and I am still able to use both the keyboard and mouse together on the ipad 2. I had to do another hard reboot (holding down home + sleep button for 10 seconds) but both items connected smoothly. I did try to connect without a hard reboot but it did not work. Finally we have a solution! Thanks and let's all hope the developer c￿an make this fix soon so we don't have to reboot every time.

Sent from my iPad

Comment #73

Posted on Aug 20, 2011 by Swift Panda

I echo comment 72. It seems that the process we have to follow to make it work would be the key to the fix for the developer. . . especially the fact that it takes a full boot in order clear something out of memory that is preventing it from working. But, then, I'm not a developer . . . what do I know.

Comment #74

Posted on Aug 20, 2011 by Swift Ox

Hi all. I have the newer Apple Bluetoth, a Think Outside Stowaway and the Celluon BT-800 keyboard, but only the Apple MagicMouse. All of them work for me.

From my understanding, a respring + waiting 30 seconds resets the Bluetooth on iOS completely. I don't see why a reboot (soft or hard) would make any difference. Maybe the Bluetooth mouse or keyboard behaves differently, after a certain time.

Could I get more packet logs for failed connection attempts please? It's the file /tmp/hci_dump.pklg on the iOS device. It can be fetched with scp, iFile, or any other tool which lets you access files on your device.

Thanks!

Comment #75

Posted on Aug 20, 2011 by Swift Panda

Comment deleted

Comment #76

Posted on Aug 20, 2011 by Swift Panda

I'll make it not connect and send you the log file, but not sure how to do it on ipad. Obviously nothing like windows. I click attach a file and then the "choose file" is grayed out. Tell me how to attach the file.

Comment #77

Posted on Aug 20, 2011 by Swift Ox

well, you cannot do it with MobileSafari on the iPad. One way is to install iFile from Cydia (shareware is fine). Then in iFile, navigate to /tmp there and send it to yourself by mail. You need to use the "Edit" button to select the file, before you can send it. Then, on your normal computer, you can attach it here.

Comment #78

Posted on Aug 21, 2011 by Swift Panda

Here's the log file you asked for.

Just so you'll know what it may contain. I had both working last night..disconnected and turned all off. Used just the keyboard this morning, as I knew the mouse was a waste of time. This afternoon, did a home-off button-slider power-down just to restart (not a hard restart which would have made them both work) then:

started up keyboard proram made keyboard recognizeable made mouse recognizeable connected to keyboard started mouse program clicked "connect"

and mouse just sat there not connecting (as it always does without the hold-the-buttons-ten-seconds-restart)...copied the log file and have attached it.

Attachments

Comment #79

Posted on Aug 23, 2011 by Swift Horse

both mine will connect just it doesnt hide the kayboard.

Comment #80

Posted on Aug 23, 2011 by Swift Ox

@gcsimpso... thanks for the log file. The low-level L2CAP connection establishment stops in the middle without any reason. That would be a bug in the general BTstack, and not in the Mouse or the Keyboard driver app.

All: Could I please get more log files as epxlained in comments 74 & 77? A few of them could help me figuring out what's going wrong.

Comment #81

Posted on Aug 24, 2011 by Swift Panda

Now this is really strange. I have totally disconnected the mouse and keyboard, i.e. turned off the bluetooth, shut down both keyboard and mouse programs with the double click on the bottom button, went to settings and checked that bstack had "none" and went through the process twice to reconnect them both and it worked twice. 5'lll get you 10, though that it won't work in the morning. We'll see.

Comment #82

Posted on Aug 24, 2011 by Swift Panda

I'm not the only one who has found overnight to make a difference. The only difference between last night's two successful reconnects and this morning's failure to reconnect was the amount of time that the ipad "slept" between the last disconnect and the next attempt to reconnect. Go figure, programmers.

Comment #83

Posted on Aug 27, 2011 by Swift Dog

Sometimes it works... mostly it doesn't. Tried some of the suggestions here, too. Attached a log in hopes you can figure this out, Matthias. Good luck!!

Attachments

Comment #84

Posted on Aug 27, 2011 by Swift Ox

@doug: thanks for the log! it shows the same bug as the one by @gcsimpso.. I don't understand why this happens, but I've recently rewritten large parts of BTstack and will either release a general update soon or can provide a release candidate for testing here.

Comment #85

Posted on Aug 28, 2011 by Grumpy Kangaroo

I'm glad to see that there is hope for progress on this issue! I would be happy to serve as a guinea pig for any pre-release version of the update; and look forward to an update that solves this particular problem for all.

iPad 2, 4.3.3, Apple BT Keyboard and Mighty Mouse

Comment #86

Posted on Aug 28, 2011 by Happy Camel

I'd be happy to test a release candidate if it fixes the mouse + keyboard issue.

Comment #87

Posted on Aug 28, 2011 by Swift Ox

Thanks for volunteering, but no need to speak up. I'll post here when I have something to try. In the meantime, I'd be happy to get 2-3 more hci_dump.pklg files from failed connections. :)

Comment #88

Posted on Aug 29, 2011 by Helpful Bear

Hi, can you add support to chinese keyboards? thanks.

Comment #89

Posted on Aug 29, 2011 by Grumpy Elephant

Sorry i know you have solved all this before in your comments above but just wanted a few forward answers. Before i go and buy your apps which i would really want to have all this functions.

Will you ever combin both BTstack keyboard + BTstack mouse? Can you enable the multi touch on Magic Mouse to work with ipad such as scroll? Can you add keyboard key config. and to mouse also ?

Comment #90

Posted on Aug 29, 2011 by Swift Ox

@doug, @gcsimpso.. please install this version of BTstack: http://dl.dropbox.com/u/5138628/BTstack-0.4-1471.deb - and try again. Again, if anything is suspicious, please upload hci_dump.pklg files.

To reduced spam: * I don't know if I will add a layout for language X, but I plan to add minimal support for configurable keyboard layouts, e.g. with a .plist file * I plan to create "BTstack Keyboard++" for mouse + keyboard - and also combined devices. No ETA. * Multi touch support for Magic Mouse is more than a flag. I can imagine basic scrolling.

Comment #91

Posted on Aug 29, 2011 by Swift Panda

Attached is a screen shot of my installation result and the log file..same ole same ole.

Attachments

Comment #92

Posted on Aug 29, 2011 by Grumpy Elephant

Hmmmm so if i buy BTstack Keyboard now when you release BTstack Keyboard++ will that be a upgrade or will i have to buy a different one?

Comment #93

Posted on Aug 29, 2011 by Swift Panda

attached is another log file following reset and mouse operating and it won't recognize the keyboard. Whereas, when the keyboard is working, it recognizes the mouse, and goes to "connecting", when the mouse is already connected, itshows the keyboard, but never goes to "connecting"

Attachments

Comment #94

Posted on Aug 30, 2011 by Swift Panda

sine running the new program, i now cannot run mouse and keyboard simultaneously, even following the comment 66 procedure.

Comment #95

Posted on Sep 1, 2011 by Swift Dog

how do i delet ch.ringwald preferences someone help me

Comment #96

Posted on Sep 4, 2011 by Swift Ox

@gcsimpso.. thanks for the new upload. exactly the same error. I'll investigate that more. There needs to be a reason why BTstack doesn't send the L2CAP Configure Response after receiving the Connection Response..

Comment #97

Posted on Sep 12, 2011 by Grumpy Dog

Getting the Apple Magic Mouse and the Apple Keyboard to work together on the iPad 2 has been a lesson in frustration. I followed the instructions that many people have posted on this page, but unfortunately, I haven’t been able to get the mouse and keyword to work simultaneously with the iPad 2.

Here is how I was able to get my Apple Magic Mouse and Apple Wireless Keyboard to work with the iPad 2. Hopefully the sequence that works for me will work for others too.

  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 keyboard.
  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.
  4. Turn on the Apple Magic Mouse.
  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.

Comment #98

Posted on Sep 12, 2011 by Grumpy Dog

I forgot to mention in my previous post, I have installed Backgrounder (per Comment 18's instructions). I'm not sure if it was necessary, but the process of getting the Magic Mouse and Apple wireless keyboard to wotk with the iPad 2 works for me.

Comment #99

Posted on Sep 13, 2011 by Grumpy Dog

Well, I take it back. Doing a hard reboot and then following the actions mentioned in my post above doesn't work all the time. These two apps could be awesome if they worked consistently. The fact is they don't work together and that's what makes these two apps the most frustrating apps for the iPad.

Comment #100

Posted on Sep 14, 2011 by Grumpy Giraffe

I purchased the BTstack Keyboard app in Cydia last night. I already had BTstack Mouse installed and the mouse was working. When I installed BTStack Keyboard both mouse and keyboard were working. However, after they both timed out they would not auto reconnect.

After much trial and error getting both connected together I tried having both KB and mouse in discovery mode and doing the KB first. I was able to get both connected but as soon as one of the devices "sleeps" it will not reconnect. At that point, a reboot or respring + wait is needed before I can reconnect them (using the same procedure).

Notes: iPad2 v4.3.3 and I am using Backrounder with #18's settings. My devices are a Dell KB/mouse combo.

Comment #101

Posted on Sep 14, 2011 by Grumpy Giraffe

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.

Comment #102

Posted on Sep 15, 2011 by Grumpy Giraffe

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)?

Comment #103

Posted on Oct 17, 2011 by Swift Rabbit

Tried all suggestions to no avail.

Comment #104

Posted on Oct 29, 2011 by Swift Panda

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?

Comment #105

Posted on Nov 12, 2011 by Helpful Dog

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

Comment #106

Posted on Nov 12, 2011 by Swift Panda
  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.
  4.  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.)

Comment #107

Posted on Nov 12, 2011 by Swift Panda

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

Comment #108

Posted on Nov 17, 2011 by Happy Cat

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.

Comment #109

Posted on Nov 17, 2011 by Happy Cat

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!!

Comment #110

Posted on Nov 17, 2011 by Swift Panda

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.

Comment #111

Posted on Nov 17, 2011 by Swift Panda

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

Comment #112

Posted on Nov 26, 2011 by Swift Panda

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.

Comment #113

Posted on Dec 5, 2011 by Swift Bird

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 =.=!

Comment #114

Posted on Dec 5, 2011 by Swift Bird

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 =.=!

Comment #115

Posted on Dec 24, 2011 by Helpful Panda

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.

Comment #116

Posted on Dec 27, 2011 by Swift Ox

@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.

Comment #117

Posted on Dec 27, 2011 by Swift Ox

Issue 214 has been merged into this issue.

Comment #118

Posted on Dec 28, 2011 by Happy Rabbit

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.

Comment #119

Posted on Jan 24, 2012 by Massive Wombat

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

Comment #120

Posted on Jan 24, 2012 by Happy Bird

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.

Comment #121

Posted on Feb 5, 2012 by Swift Ox

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

Comment #122

Posted on Feb 6, 2012 by Helpful Panda

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!

Comment #123

Posted on Feb 6, 2012 by Helpful Panda

... followup: I apologize for the typo. My iOS is 5.0.1, not 5.1.

Comment #124

Posted on Feb 15, 2012 by Grumpy Panda

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

Comment #125

Posted on Mar 1, 2012 by Helpful Camel

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!

Comment #126

Posted on Mar 2, 2012 by Massive Wombat

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.

Comment #127

Posted on Mar 7, 2012 by Happy Wombat

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 !

Comment #128

Posted on Mar 10, 2012 by Quick Giraffe

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.

Comment #129

Posted on Mar 11, 2012 by Happy Bird

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!

Comment #130

Posted on Mar 26, 2012 by Happy Wombat

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.

Comment #131

Posted on Apr 21, 2012 by Swift Ox

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.

Comment #132

Posted on May 8, 2012 by Happy Wombat

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 !

Comment #133

Posted on May 14, 2012 by Happy Giraffe

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!

Comment #134

Posted on May 26, 2012 by Massive Wombat

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

Status: Fixed

Labels:
Type-Defect Priority-Medium