Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,752 Members 39,653 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Bluetooth Issues After Stopping Sixaxis Controller

Tip us?
 
gregorcarbine
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Aug 2014
Default [Q] Bluetooth Issues After Stopping Sixaxis Controller

Hey all, so I recently spent some time learning up on these awesome forums, and at least for getting started I decided to just modify stock 2.2, I have just really wanted to be able to play games using my ps3 controller on my nook so I thought the easiest path was to root using the Universal Rev3, and the Unknown Apps, at least to get me started. I have a bluetooth keyboard I also use with this setup for school. Okay so that's the upfront details.

My issue is that, while my bluetooth is connecting fine with everything before I run sixaxis, and my controller works (yay, i got what i wanted!) while I'm running the program, it's when I stop sixaxis and it restores my bluetooth (or says it does... or gets stuck and never says it does) my bluetooth simply can't be switched back on until after I reboot... I've completely stopped and disabled and cleared the cache on the sixaxis app... and nothing, still won't turn back on. Now this is a cadillac issue, my controller works, my keyboard works, but I just have to reset. The problem is that I know it shouldn't be this way and if it has to be, I'll survive, but if not I'd love a way to make it work right, or at the very least see if there's an option to... "respring" (I know that's an iphone thing I just didn't know if there was a faster equivalent to a reboot without having to completely turn it off and back on)?

Anyone else had this problem? Any thoughts? Any options? Thanks for your time and information, have a great day!
 
sandsofmyst
Old
(Last edited by sandsofmyst; 31st August 2014 at 06:06 AM.)
#2  
Senior Member
Thanks Meter 72
Posts: 265
Join Date: Oct 2009
"t's when I stop sixaxis and it restores my bluetooth (or says it does... or gets stuck and never says it does) my bluetooth simply can't be switched back on until after I reboot..."

Obviously, its at the fault of the app, because otherwise (sixaxis not installed/used) bluetooth would function properly and no restart would be required.

Therefore, sixaxis is not ending support of the controller properly, re-enabling bluetooth support, or whatever its trying to do for the device, android version, or whatever its problem is in code.

Probably good to let the app's dev know about it and find out if they say anything.

Since root access is required, it definitely requires some deeper access to android (the deeper the more problems are likely to occur). Some code doesn't even work for all devices and they could have gone that route with their app knowingly - whether it was a necessary side effect due to the type of app they created or specifically because of a workaround of what google allows devs to do with android.

Either way it is often an app with problems as reviews show.
Moto G 4G | latest official rom 4.4.4NEW (Longest recorded uptime: 503 hours with 4.4.3)
Nook HD+ 32 | cm11 emmc official rom (331 hours is about the most I can get before forced reboot or other.)
The Following User Says Thank You to sandsofmyst For This Useful Post: [ Click to Expand ]
 
gregorcarbine
Old
(Last edited by gregorcarbine; 31st August 2014 at 06:01 PM.)
#3  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Aug 2014
Quote:
Originally Posted by sandsofmyst View Post
"t's when I stop sixaxis and it restores my bluetooth (or says it does... or gets stuck and never says it does) my bluetooth simply can't be switched back on until after I reboot..."

Obviously, its at the fault of the app, because otherwise (sixaxis not installed/used) bluetooth would function properly and no restart would be required.

Therefore, sixaxis is not ending support of the controller properly, re-enabling bluetooth support, or whatever its trying to do for the device, android version, or whatever its problem is in code.

Probably good to let the app's dev know about it and find out if they say anything.

Since root access is required, it definitely requires some deeper access to android (the deeper the more problems are likely to occur). Some code doesn't even work for all devices and they could have gone that route with their app knowingly - whether it was a necessary side effect due to the type of app they created or specifically because of a workaround of what google allows devs to do with android.

Either way it is often an app with problems as reviews show.
Hey thanks a ton for the information. I had started to suspect that but since I'm a noob here I thought it was best to ask. Will contact the developer. But hey for now if all I have to do is a reset after a gaming session to make all things right, it's not so bad. Thanks again!

EDIT: Okay, so after doing some fiddling with my own Nook HD+ it looks like the Nook itself has trouble shutting down bluetooth! When I go into my battery use bluetooth is staying on permanently after initially turning it on. The time continues to run no matter what I do or shutdown with Android Task Manger. And it appears I'm not the only one. http://bookclubs.barnesandnoble.com/...D/td-p/1462091

Also since mine is rooted and has unknown sources installed I felt like I needed a control group. So I borrowed my wifes Nook HD+ which is completely stock, no mods at all... and it does the exact same thing... This is mind boggling. Could a few people turn their bluetooth on long enough to register in their battery monitor, then turn it off, and tell me if their time is still running for the bluetooth? It would really help me identify whether this a software problem with Nook software, or it's a hardware issue that they had amongst several models and they shipped with bad parts, etc. Thanks!
 
sandsofmyst
Old
(Last edited by sandsofmyst; 4th September 2014 at 02:00 AM.)
#4  
Senior Member
Thanks Meter 72
Posts: 265
Join Date: Oct 2009
Quote:
Originally Posted by gregorcarbine View Post
Could a few people turn their bluetooth on long enough to register in their battery monitor, then turn it off, and tell me if their time is still running for the bluetooth? It would really help me identify whether this a software problem with Nook software, or it's a hardware issue that they had amongst several models and they shipped with bad parts, etc. Thanks!
It could also be this or similar: https://code.google.com/p/android/is...etail?id=69135
Quote, "Problem: When turning off the Jawbone, it causes the Bluetooth(BT) to misbehave and not turn off nor function."

...Though that's for android 4.4.2 and nook 2.2 is android 2.2... wow that's old... that could of course be it as well - if the problem is with android, it could have been fixed in a later android version.


In the end, it doesn't appear to have to do with the device itself, but perhaps with that android version's bluetooth package or an installed app. And which android version (if any) would work for you idk. I remember people saying cm and sixaxis didn't work with bluetooth on the nook in the past, so if that's still the case, don't know that either.

I'm not sure how far back many apps are going today with android versions but something like: https://play.google.com/store/apps/d...oconnect&hl=en
could possibly do something(?). But, I'm just reaching there for anything in the you never know category.

But hopefully that gives a better picture as to what it could be. Sorry, I can't give an actual [working] solution, though for all I know I gave a path to the only solution.
Moto G 4G | latest official rom 4.4.4NEW (Longest recorded uptime: 503 hours with 4.4.3)
Nook HD+ 32 | cm11 emmc official rom (331 hours is about the most I can get before forced reboot or other.)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes