jimmyliu86 / 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
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.

Original comment by matthias.ringwald@gmail.com on 14 Jul 2010 at 9:20

GoogleCodeExporter commented 8 years ago
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.

Original comment by adams...@gmail.com on 5 Aug 2010 at 9:22

GoogleCodeExporter commented 8 years ago
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." 

Original comment by papo...@gmail.com on 6 Aug 2010 at 3:40

GoogleCodeExporter commented 8 years ago
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.

Original comment by lmda...@gmail.com on 15 Aug 2010 at 12:56

GoogleCodeExporter commented 8 years ago
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.

Original comment by matthias.ringwald@gmail.com on 15 Aug 2010 at 12:38

GoogleCodeExporter commented 8 years ago
The keyboard demo app connects but the full app and now the mouse doesn't.

Original comment by lmda...@gmail.com on 15 Aug 2010 at 2:13

GoogleCodeExporter commented 8 years ago
@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.

Original comment by matthias.ringwald@gmail.com on 21 Aug 2010 at 10:05

GoogleCodeExporter commented 8 years ago
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 ;-)  

Original comment by lmda...@gmail.com on 21 Aug 2010 at 3:31

GoogleCodeExporter commented 8 years ago
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"

Original comment by matthias.ringwald@gmail.com on 24 Aug 2010 at 8:46

GoogleCodeExporter commented 8 years ago
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.

Original comment by lmda...@gmail.com on 24 Aug 2010 at 3:54

GoogleCodeExporter commented 8 years ago
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.

Original comment by matthias.ringwald@gmail.com on 25 Aug 2010 at 7:34

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
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

Original comment by a.ollend...@vivanco.de on 25 Aug 2010 at 6:40

GoogleCodeExporter commented 8 years ago
please attach /tmp/hci_dump.pklg after the connection failed.

Original comment by matthias.ringwald@gmail.com on 26 Aug 2010 at 7:01

GoogleCodeExporter commented 8 years ago
@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 ;)

Original comment by Sma...@gmail.com on 30 Aug 2010 at 6:19

GoogleCodeExporter commented 8 years ago
@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. :)

Original comment by matthias.ringwald@gmail.com on 30 Aug 2010 at 1:45

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

Original comment by Sma...@gmail.com on 7 Sep 2010 at 2:01

GoogleCodeExporter commented 8 years ago
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 <enter favorite flavor> frosting!

Again, many thanks
Chris

Original comment by Zao2050 on 13 Oct 2010 at 12:25

GoogleCodeExporter commented 8 years ago
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?

Original comment by Zao2050 on 13 Oct 2010 at 12:30

GoogleCodeExporter commented 8 years ago
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 ?

Original comment by FAKILLUD...@gmail.com on 25 Nov 2010 at 12:40

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
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!

Original comment by voz.a...@gmail.com on 4 Jan 2011 at 5:04

GoogleCodeExporter commented 8 years ago
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! 

Original comment by Geppi...@gmail.com on 6 Jan 2011 at 7:50

GoogleCodeExporter commented 8 years ago
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.

Original comment by matthias.ringwald@gmail.com on 7 Jan 2011 at 5:38

GoogleCodeExporter commented 8 years ago
Sounds fair. Thanks for all your hard work.
Jim

Original comment by adams...@gmail.com on 7 Jan 2011 at 9:49

GoogleCodeExporter commented 8 years ago
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!!! 

Original comment by voz.a...@gmail.com on 10 Jan 2011 at 11:12

GoogleCodeExporter commented 8 years ago
@voz.alex LOL, maybe I should change my profession and become a broker, too. :)

Original comment by matthias.ringwald@gmail.com on 11 Jan 2011 at 8:18

GoogleCodeExporter commented 8 years ago
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!

Original comment by djmex...@gmail.com on 10 Feb 2011 at 9:33

GoogleCodeExporter commented 8 years ago
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

Original comment by CplBarr...@gmail.com on 12 Feb 2011 at 1:36

GoogleCodeExporter commented 8 years ago
Bought the bt keyboard but when i install it it says that the host cant be found

Original comment by carlsson...@gmail.com on 22 Feb 2011 at 9:11

GoogleCodeExporter commented 8 years ago
@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. 

Original comment by matthias.ringwald@gmail.com on 23 Feb 2011 at 6:58

GoogleCodeExporter commented 8 years ago
@carlsson... please describe what you tried, what happened, and what you 
expected to happen. 

Original comment by matthias.ringwald@gmail.com on 23 Feb 2011 at 6:59

GoogleCodeExporter commented 8 years ago
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

Original comment by jerry.g....@gmail.com on 25 Feb 2011 at 3:17

GoogleCodeExporter commented 8 years ago
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

Original comment by grant.ma...@gmail.com on 22 May 2011 at 9:50

GoogleCodeExporter commented 8 years ago
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

Original comment by j...@jallenphoto.net on 6 Jul 2011 at 5:02

GoogleCodeExporter commented 8 years ago

Original comment by matthias.ringwald@gmail.com on 9 Jul 2011 at 10:08

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

Original comment by matthias.ringwald@gmail.com on 9 Jul 2011 at 10:09

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

Original comment by matthias.ringwald@gmail.com on 9 Jul 2011 at 10:12

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

Original comment by matthias.ringwald@gmail.com on 9 Jul 2011 at 10:30

GoogleCodeExporter commented 8 years ago
I cant get the primary button to click on anything once I'm inside an app...  

Original comment by demnk...@gmail.com on 14 Jul 2011 at 8:03

GoogleCodeExporter commented 8 years ago
demnk... see http://code.google.com/p/btstack/issues/detail?id=54

Original comment by matthias.ringwald@gmail.com on 14 Jul 2011 at 8:05

GoogleCodeExporter commented 8 years ago
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. 

Original comment by demnk...@gmail.com on 14 Jul 2011 at 8:11

GoogleCodeExporter commented 8 years ago
sorry, cannot help if you don't READ my reply.

Original comment by matthias.ringwald@gmail.com on 14 Jul 2011 at 8:20

GoogleCodeExporter commented 8 years ago
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..  

Original comment by demnk...@gmail.com on 14 Jul 2011 at 8:27

GoogleCodeExporter commented 8 years ago
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.

Original comment by matthias.ringwald@gmail.com on 14 Jul 2011 at 8:34

GoogleCodeExporter commented 8 years ago
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!

Original comment by demnk...@gmail.com on 14 Jul 2011 at 8:42

GoogleCodeExporter commented 8 years ago
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.

Original comment by matthias.ringwald@gmail.com on 14 Jul 2011 at 8:46

GoogleCodeExporter commented 8 years ago
I read somewhere Einstein could barely tie his shoes or fix his hair bc it was 
too simple

Original comment by demnk...@gmail.com on 14 Jul 2011 at 8:49

GoogleCodeExporter commented 8 years ago
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.

Original comment by vaguerant on 21 Jul 2011 at 5:53

Attachments:

GoogleCodeExporter commented 8 years ago
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.

Original comment by gcsimpso...@gmail.com on 8 Aug 2011 at 12:36