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

Original comment by r...@goaslind.com on 8 Aug 2011 at 3:28

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

Original comment by gcsimpso...@gmail.com on 8 Aug 2011 at 9:56

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

Original comment by gcsimpso...@gmail.com on 8 Aug 2011 at 10:06

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

Original comment by r...@goaslind.com on 8 Aug 2011 at 11:16

GoogleCodeExporter commented 8 years ago
Come on, matthias.ringwald, let us hear from you.

Original comment by gcsimpso...@gmail.com on 8 Aug 2011 at 11:59

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

Original comment by matthias.ringwald@gmail.com on 9 Aug 2011 at 8:18

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

Original comment by gcsimpso...@gmail.com on 13 Aug 2011 at 2:01

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

Original comment by r...@goaslind.com on 13 Aug 2011 at 2:28

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

Original comment by gcsimpso...@gmail.com on 13 Aug 2011 at 4:11

GoogleCodeExporter commented 8 years ago
same problem here. Can any project member list their keyboard/mouse combination 
which work.

Original comment by txu...@gmail.com on 16 Aug 2011 at 2:25

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

Original comment by kiseong....@gmail.com on 18 Aug 2011 at 7:04

GoogleCodeExporter commented 8 years ago
kissing

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

Original comment by gcsimpso...@gmail.com on 18 Aug 2011 at 11:03

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

Original comment by gcsimpso...@gmail.com on 19 Aug 2011 at 12:43

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

Original comment by lisdavi...@gmail.com on 19 Aug 2011 at 12:50

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

Original comment by gcsimpso...@gmail.com on 19 Aug 2011 at 2:36

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

Original comment by r...@goaslind.com on 19 Aug 2011 at 5:17

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

Original comment by rwsmith1...@gmail.com on 19 Aug 2011 at 5:38

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

Original comment by rwsmith1...@gmail.com on 19 Aug 2011 at 8:39

GoogleCodeExporter commented 8 years ago
REMOVE ME

Original comment by adams...@gmail.com on 19 Aug 2011 at 9:00

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

Original comment by r...@goaslind.com on 20 Aug 2011 at 4:36

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

Original comment by gcsimpso...@gmail.com on 20 Aug 2011 at 12:49

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

Original comment by matthias.ringwald@gmail.com on 20 Aug 2011 at 5:24

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

Original comment by gcsimpso...@gmail.com on 20 Aug 2011 at 6:45

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

Original comment by matthias.ringwald@gmail.com on 20 Aug 2011 at 7:50

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

Original comment by gcsimpso...@gmail.com on 21 Aug 2011 at 7:21

Attachments:

GoogleCodeExporter commented 8 years ago
both mine will connect just it doesnt hide the kayboard.

Original comment by byron_ap...@hotmail.com on 23 Aug 2011 at 9:56

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

Original comment by matthias.ringwald@gmail.com on 23 Aug 2011 at 8:35

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

Original comment by gcsimpso...@gmail.com on 24 Aug 2011 at 4:33

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

Original comment by gcsimpso...@gmail.com on 24 Aug 2011 at 11:22

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

Original comment by doug.par...@gmail.com on 27 Aug 2011 at 5:24

Attachments:

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

Original comment by matthias.ringwald@gmail.com on 27 Aug 2011 at 5:03

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

Original comment by abor...@gmail.com on 28 Aug 2011 at 8:06

GoogleCodeExporter commented 8 years ago
I'd be happy to test a release candidate if it fixes the mouse + keyboard issue.

Original comment by gsingle....@gmail.com on 28 Aug 2011 at 12:51

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

Original comment by matthias.ringwald@gmail.com on 28 Aug 2011 at 12:58

GoogleCodeExporter commented 8 years ago
Hi, can you add support to chinese keyboards? 
thanks.

Original comment by M.Overm...@gmail.com on 29 Aug 2011 at 5:24

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

Original comment by xJIGxxS...@gmail.com on 29 Aug 2011 at 4:41

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

Original comment by matthias.ringwald@gmail.com on 29 Aug 2011 at 5:44

GoogleCodeExporter commented 8 years ago
Attached is a screen shot of my installation result and the log file..same ole 
same ole.  

Original comment by gcsimpso...@gmail.com on 29 Aug 2011 at 9:31

Attachments:

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

Original comment by xJIGxxS...@gmail.com on 29 Aug 2011 at 9:59

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

Original comment by gcsimpso...@gmail.com on 29 Aug 2011 at 11:18

Attachments:

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

Original comment by gcsimpso...@gmail.com on 30 Aug 2011 at 3:18

GoogleCodeExporter commented 8 years ago
how do i delet ch.ringwald preferences someone help me

Original comment by robert11...@gmail.com on 1 Sep 2011 at 12:15

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

Original comment by matthias.ringwald@gmail.com on 4 Sep 2011 at 9:01

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

Original comment by martin.h...@gmail.com on 12 Sep 2011 at 4:26

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

Original comment by martin.h...@gmail.com on 12 Sep 2011 at 6:33

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

Original comment by martin.h...@gmail.com on 13 Sep 2011 at 1:58

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

Original comment by robor...@gmail.com on 14 Sep 2011 at 4:51