mckold / btstack

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

BTstack Keyboard for ATV: Stuck on 'Connecting' while trying to pair keyboard #225

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Upgrade ATV2 to iOS 4.4.4 - Jailbreak with Seas0nPass
2. Install BTStack for ATV 1.0.0-4 through NitoTV
3. Go to Custom Settings->BTStack, keyaboard appears in list, try to pair.

What is the expected output? What do you see instead?
I am using a no-brand Bluetooth keyboard. The keyboard was paired easily and 
worked fine in iOS 4.2.1 so I know it worked before. Now, when I try to start 
the pairing process it goes into 'Connecting' screen and sits there forever. 
Also, I can back out to BTLoader it works fine, but when I back out again to 
Frontrow, FrontRow crashes and reboots.

What version of the product are you using? On what operating system?
BTstack Keyboard for ATV 1.0.0-4
iOS 4.4.4

Please provide any additional information below.
I tried the same with another BT keyboard, an HP Touchpad keyboard trying to 
see if the problem is with the keyboard but the same thing happened: Stuck on 
'Connecting' screen.

Original issue reported on code.google.com by ina...@gmail.com on 3 Jan 2012 at 7:10

GoogleCodeExporter commented 8 years ago
Me and a other Firecore users having the exactly same problem. Any suggestions 
for a workaround or any work on it in progress. Thanks for a short comment from 
the developer. 

btw: happy new year 

Original comment by jod...@gmail.com on 3 Jan 2012 at 7:25

GoogleCodeExporter commented 8 years ago
hi. please upload/attach /tmp/hci_dump.pklg after this happened.

Original comment by matthias.ringwald@gmail.com on 3 Jan 2012 at 12:07

GoogleCodeExporter commented 8 years ago
Hi Mathias I am having the same problem. BtStack finds my Keyboard but when I 
select it it stucks on "Connecting" ... here's my file ... if U need other just 
ask, thanks!! 

Original comment by ciava...@gmail.com on 3 Jan 2012 at 12:45

Attachments:

GoogleCodeExporter commented 8 years ago
ciavani: in that log, the inquiry is stopped, but then nothing happens. let's 
see if the log by others look the same. (no idea yet, why that would happen)

Original comment by matthias.ringwald@gmail.com on 3 Jan 2012 at 12:50

GoogleCodeExporter commented 8 years ago
:-) Thanks!! If U want I can delete the log and try to connect again.. Maybe I 
stopped the inquiry after waiting some times. I can do tests if U wish.

Original comment by ciava...@gmail.com on 3 Jan 2012 at 1:04

GoogleCodeExporter commented 8 years ago
the main observation is that there's no "open a connection to keyboard" event 
in there. (you can open that with PacketLogger on Mac, or Wireshark on any OS)

Original comment by matthias.ringwald@gmail.com on 3 Jan 2012 at 1:07

GoogleCodeExporter commented 8 years ago
I tested the keyboard on a 5.0.1 iPhone 4 and on a MacBook Pro running Lion 
10.7.2 and It works. 
On Atv Screen I see

Bluetooth SA-803 Keyboard
Address: 00:1b:b8:40:67:da
Device Type: HID Device

Then it stucks in the "Connecting" black screen. Here is A NEW LOG FILE

Original comment by ciava...@gmail.com on 3 Jan 2012 at 1:44

Attachments:

GoogleCodeExporter commented 8 years ago
rii remote keybord...

help me

BTStack don't work 4.4.4
connecting.....wait wait.... rii remote ??

Original comment by enderal...@gmail.com on 3 Jan 2012 at 3:14

GoogleCodeExporter commented 8 years ago
Same here, BTStack won't work with 4.4.4

Thanks!!!

Original comment by swaroo...@gmail.com on 3 Jan 2012 at 3:59

Attachments:

GoogleCodeExporter commented 8 years ago
Same here just upgraded my ATV2 to the 4.4.4 version with Seas0nPass and 
installed BTStack via nitoTV but my BT Keyboard dose not connect anymore,

When I go to BTstack setting it finds my keyboard "Logitech diNovo Edge" but 
does not connect ,even I does not ask for code "000" !

Original comment by aras...@gmail.com on 3 Jan 2012 at 6:01

GoogleCodeExporter commented 8 years ago
All of you having problems with BtStack, please UPLOAD this file 
/tmp/hci_dump.pklg as STAFF can check what's going wrong. 
To get that file you can use FTP CLIENT such as FILEZILLA and enter HOST: (your 
Atv Ip) Username: root and PASSWORD: alpine. Then go in that folder 
/private/var/tmp/ and get the file hci_dump.pklg .... and finally ATTACH here 
in this thread! 

Original comment by ciava...@gmail.com on 3 Jan 2012 at 7:18

GoogleCodeExporter commented 8 years ago
rii mini keyboard..

Original comment by enderal...@gmail.com on 3 Jan 2012 at 7:26

Attachments:

GoogleCodeExporter commented 8 years ago
Rii Mini Keyboard here too!

Original comment by thatbi...@gmail.com on 4 Jan 2012 at 12:57

Attachments:

GoogleCodeExporter commented 8 years ago
Attached is my hci_dump.pklg file

Original comment by ina...@gmail.com on 4 Jan 2012 at 7:20

Attachments:

GoogleCodeExporter commented 8 years ago
finds device (apple bt keyboard) but is stuck in "connecting" screen. (keyboard 
signals still open for discovery with blinking green light)

Original comment by orte...@gmail.com on 4 Jan 2012 at 8:13

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

I just upgrade my ATV2 to the 4.4.4 version with Seas0nPass and installed 
BTStack via nitoTV but my BT Keyboard dose not connect anymore,

When I go to BTstack setting it finds my keyboard "Apple Wireless" but does not 
connect ,even I does not ask for code "000" !

I wonder if this is a known bug and already has work around.

Thanks .

Original comment by briocos...@gmail.com on 4 Jan 2012 at 3:58

GoogleCodeExporter commented 8 years ago
Is there progress?  update????

Original comment by enderal...@gmail.com on 5 Jan 2012 at 8:08

GoogleCodeExporter commented 8 years ago
I guess there is work in progress, Matthias already relplied on this topic. We 
have to be patient, it's open source & not expensive licence stuff ;-).

Original comment by jod...@gmail.com on 5 Jan 2012 at 11:08

GoogleCodeExporter commented 8 years ago
ok.thnks Matthies.... wait btstack update...

Original comment by enderal...@gmail.com on 5 Jan 2012 at 1:36

GoogleCodeExporter commented 8 years ago
hi man rii keyboard work fine 

Original comment by musaki...@gmail.com on 5 Jan 2012 at 1:59

GoogleCodeExporter commented 8 years ago
Updated to 4.4.4 and installed BTStack via nitoTV and when I try to connect my 
Apple BT keyboard it restarts lowtide after searching for a few seconds it 
seems.

Original comment by ffou...@paratus.ca on 5 Jan 2012 at 11:55

Attachments:

GoogleCodeExporter commented 8 years ago
Actually I successfully connected eventually. Not sure what I did differently.

Original comment by ffou...@paratus.ca on 6 Jan 2012 at 12:06

GoogleCodeExporter commented 8 years ago
Updated to Apple TV 4.4.4, installed BTStack via NitoTV. Trying to pair my 
Think Outside Stowaway Universal Bluetooth Keyboard.

BTStack detects:

Think Outside Keyboard
Address: 00:16:38:ec:20:6d
Device Type: HID Device

See attached hci_dump.pklg

Original comment by m...@fishbonenetworks.com on 6 Jan 2012 at 5:02

Attachments:

GoogleCodeExporter commented 8 years ago
Same issue here. The screen is stuck on Enter "0000" pairing code. I'm using a 
Logitech iPad case keyboard. Awaiting update on BTStack.

Original comment by doug.fin...@gmail.com on 6 Jan 2012 at 1:50

GoogleCodeExporter commented 8 years ago
Hi there, now My Bt Keyboard IS WORKING FINE ...

What I did? Just restored FRESH from iTunes to the 4.4.4 firmware, and NOT JUST 
UPDATED with Seas0nPass. Then ... i Jailbroke as usual, installed and updated 
NitoTv, Installed btstack, just run an apt-get update and upgrade all, then my 
Keyboard was pairing. Asked for 000 typed and worked.

I think the key is in restoring 4.4.4 from iTunes BEFORE using Seas0nPass. Just 
Try !!

Original comment by ciava...@gmail.com on 6 Jan 2012 at 4:39

GoogleCodeExporter commented 8 years ago
Ok, I just had ONE TIME Luck  ... the Keyboard is not pairing anymore I just 
DID NOTHING to make it not worinkg anymore .... trying some resets and reboot 
.... I don't know what is

Original comment by ciava...@gmail.com on 6 Jan 2012 at 5:03

GoogleCodeExporter commented 8 years ago
May be there is some cache or log to delete? I had btstack working after a 
complete reset.. So I ask u matthias, what log and other files are updated 
every time we start btstack? As my Atv2 tries to connect even if keyboard is 
turned off, if I choose It from the bt menu (yes, device name remains on screen 
even if device is actually unavailable). Due to this, I am afraid that every 
time bt tries to pair with a "ghost device" and NOT really with the keyboard 
... This would explain why after a fresh restart it worked ... As the found 
device is the FIRST device found by btstack, and isn't yet a "ghost device". 
Any idea from our logs? Want my last log? (if u can see also the successful 
connection before the failed last ones)

Original comment by ciava...@gmail.com on 6 Jan 2012 at 5:46

GoogleCodeExporter commented 8 years ago
I didnt upgrade to 4.4.4, i did my ATV Flash/Jailbreak 2 days ago.

My Logitech Denovo Edge worked once but not after the next boot.

The first time it asked me to put in 0000 and the second time it didnt and 
theres now connection!  I cant find any dump file in the private/var/tmp dir 
but I figured id say meee tooo:)

Original comment by patrickb...@googlemail.com on 7 Jan 2012 at 7:41

GoogleCodeExporter commented 8 years ago
@patrick. /tmp/ is cleaned after reboot.
could others repeat this: reboot and try to use BTstack and report if there's a 
/tmp/hci_dump.pklg?

all: I on't use an ATV2 and didn't follow up there. On iOS, the latest Corona 
Jailbreak causes launchctl to fail. Could you try to install "Corona 5.0.1 
Untether"? It fixed BTstack on my iPod touch 4G.

Original comment by matthias.ringwald@gmail.com on 7 Jan 2012 at 7:47

GoogleCodeExporter commented 8 years ago
My hci_dump.pklg was growing with each reboot and pairing attempt so I deleted 
it, rebooted and uploaded the file (Comment #13).

People have since suggested that the Rii Mini Keyboard works. Mine does not, 
despite repeated attempts.

Original comment by thatbi...@gmail.com on 7 Jan 2012 at 10:26

GoogleCodeExporter commented 8 years ago
on iOs keyboard is working fine ... I had the keyboard working JUST ONE TIME on 
my A-TV after a fresh restore and jailbreak, then nothing! I don't know if the 
problem is on btstack or into apple 4.4.4. What can be changed from the first 
time and now? Why it worked ONCE? What could be changed into firmware? 

I tried lowtide and restart but NOT WORKED. I tried to remove and re-install 
Btstack but NOT WORKED. Just ONCE first time ...

Original comment by ciava...@gmail.com on 7 Jan 2012 at 11:23

GoogleCodeExporter commented 8 years ago
Regular user in 4.2.xx (2 keyboards, and mouse)
Now moved to 5.0.1  and -like issue 225- discovery=OK, however can not connect
Same symptoms as other users, and small hci_dump.pklg (enclosed)

Both rii and WKB-1500 mini keyboard react the same.

Also note that my apple 'magic mouse' (still) connects fine in iOs5.0.1 using 
BTstack mouse.

There is certainly an update needed !

Oh.... and there's also still the issue of BTstack interfering (competing for 
attention ?) with the wireless (g/n) network. Any progress on that one ?

Gr,
Gerard

Original comment by gdraa...@gmail.com on 8 Jan 2012 at 3:53

Attachments:

GoogleCodeExporter commented 8 years ago
Forgot to mention that this 'connect' problem occurs both on iPad1 and on ATV2 !

Original comment by gdraa...@gmail.com on 8 Jan 2012 at 3:54

GoogleCodeExporter commented 8 years ago
OK, got a reproducable way to get at least the keyboard working on iPad....
Hopefully something similar can be done with ATV2 (same 5.0.1 OS, ver 4.4.4 
ATV2 sw)
Switch off bluetooth in general settings
Reset iPad
First, put keyboard in 'pairing'
Then start Keyboard/BTStack keyboard

This way it prompted me for the code, and the keyboard works now.

...I think difference is that it sees&tries to pair at first instance now
...For my iPad I went further...
Then put mouse in discovery mode
Then start BTstack mouse

-- Now mouse and keyboard both work

Noted also.... 
In Setting->General Bluetooth is reported as 'unavailable' (See 
extensions->BTstack)
The 'on screen keyboard' is still popping up, while BT keyboard input is 
accepted
(so... some way the iOS is not told there's an external keyboard available)
and (at least in the case of WKB-1500 , which is actually a multifunct HID ) a 
number of the keyboard modifiers are not taken into consideration. (The iPad BT 
stack does a better job for the special- and multimedia keys on an iPad)

Hoping an update covers the shortcomings in current BTstack here,
Gerard

Original comment by gdraa...@gmail.com on 8 Jan 2012 at 6:04

GoogleCodeExporter commented 8 years ago
@Gerard: please don't highjack this thread. although both use BTstack, the 
problem on ATV doesn't seem to be related to the iPhone/iPad version.

Original comment by matthias.ringwald@gmail.com on 8 Jan 2012 at 6:08

GoogleCodeExporter commented 8 years ago

Original comment by matthias.ringwald@gmail.com on 8 Jan 2012 at 6:09

GoogleCodeExporter commented 8 years ago
Yes, my keyboard works fine with ios5.0.1 and Android but no with 4.4.4atv even 
if it worked once ... :/

Original comment by ciava...@gmail.com on 8 Jan 2012 at 6:16

GoogleCodeExporter commented 8 years ago
Just to know ... is there a chance that we'll see an update or .... we've got 
to forget about it?

Original comment by ciava...@gmail.com on 9 Jan 2012 at 9:18

GoogleCodeExporter commented 8 years ago
@mattias sorry for 'hijack'. I thought it was same BTstack code, same iOS, same 
error/behaviour.
Seems it is 'solvable' on iPad by activating first afer a reboot,...... 
but on ATV2 my problem remains: Still Connecting..... and then silence....
I'll just have to wait until a Cydia update is shown to be available.
Gr,
Gerard.

Original comment by gdraa...@gmail.com on 9 Jan 2012 at 11:20

GoogleCodeExporter commented 8 years ago
Note: On actual report and comment 39 (Ciava...)
The ATV2 latest is actual iOS 5.0.1  (see extra press on General/Info screen, 
build 9A406a)
The -software- specific for ATV2 is v4.4.4, but iOS (base) is the same.
OS version and software version for its function should not be confused/mixed

Original comment by gdraa...@gmail.com on 9 Jan 2012 at 11:29

GoogleCodeExporter commented 8 years ago
@Comment 42. Yes, I know, that's why I wanted to notice that on Iphone last 
Firm WORKS and aTv2 last Firm does not work!

Original comment by ciava...@gmail.com on 10 Jan 2012 at 7:48

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
wait btstack update...

Original comment by enderal...@gmail.com on 13 Jan 2012 at 9:28

GoogleCodeExporter commented 8 years ago
By launching "keyboardd" in a shell I get this error message:

AppleTV:~ root# keyboardd
launch_msg("CheckIn") IPC failure: 57BTdaemon started - stdout
BTdaemon started - stderr
Starting BTstack
BTstack working

then it waits and waits ....

Original comment by ciava...@gmail.com on 13 Jan 2012 at 1:22

GoogleCodeExporter commented 8 years ago
@ciavanni: keyboardd should be started by launchd. can you check with "ps" if 
it is running after a reboot at all?

Original comment by matthias.ringwald@gmail.com on 13 Jan 2012 at 1:31

GoogleCodeExporter commented 8 years ago
Hi Matthias ...
I just rebooted Atv2 and this is my terminal:

MacBook-Pro-di-Giovanni:~ ciavanni$ ssh root@192.168.1.150
root@192.168.1.150's password: 
AppleTV:~ root# ps
  PID TTY           TIME CMD
  206 ttys000    0:00.03 -sh
  213 ttys000    0:00.00 ps
AppleTV:~ root# 

Maybe I did not understand what u asked for!

Original comment by ciava...@gmail.com on 13 Jan 2012 at 1:43

GoogleCodeExporter commented 8 years ago
@ciavanni: ah sorry. can you do a "ls ax" please?

Original comment by matthias.ringwald@gmail.com on 13 Jan 2012 at 1:49

GoogleCodeExporter commented 8 years ago
Of course I can! Thanks!

AppleTV:~ root# ls ax
ls: cannot access ax: No such file or directory
AppleTV:~ root# 

(Atv2 is on the main screen after a reboot, BtStack is downloaded but is not 
activated through "Custom Settings")

Original comment by ciava...@gmail.com on 13 Jan 2012 at 1:54