ftctechnh / ftc_app

FTC Android Studio project to create FTC Robot Controller app.
761 stars 3.16k forks source link

Gamepad Disconnection with DS 3.5 #486

Open WardBenjamin opened 6 years ago

WardBenjamin commented 6 years ago

We're having exactly the same issue as https://ftcforum.usfirst.org/forum/ftc-technology/59140-ftc-app-3-5-build-and-logitech-controller-behaviour

Our controllers will only rarely connect to the DS. This was not happening pre-3.5. We've tried 3 different DS phones, 3 OTG adapters, and 4 gamepads. All gamepads are switched to the correct mode and we attempt to connect with Start+A or Start+B. RC SDK version does not make a difference. This occurs on ZTE Speeds, Galaxy S5s (Verizon), and an unapproved phone.

Downgrading to DS 3.4 fixes the issue.

We have confirmed that the cable, gamepad, and phone are all working (the gamepad is usable to scroll through icons on the home screen).

WardBenjamin commented 6 years ago

LED was lit on our USB hub. We stopped using the USB hub after the first few tries to remove a variable. Restarting the phone(s) did not fix the issue. This occurs on all of our phones that we have tested. We are using Logitech controllers.

qwertychouskie commented 6 years ago

Maybe try completely uninstalling the DS app, then reinstalling from the Play Store (or Yalp Store).

WardBenjamin commented 6 years ago

Completely reinstalling does not fix the problem.

gearsincorg commented 6 years ago

I've been using 3.5 since it's release with ZTEs and Moto G2 & 4 without any more than the occasional failure to connect, and this is usually due to the controllers being plugged in when the phones are powered up.

Just this weekend, our drive team had a drive practice (using ZTE's) and ran 15 matches in a row with no issues.

Not saying you aren't having an issue, it's just that my experience says it's not a 3.5 issue.

Phil Malone GEARS Inc.

phil.malone@mr-phil.com Office: 301.387.2331 Mobile: 301.501.7424

On Sun, Dec 17, 2017 at 11:21 PM, Benjamin Ward notifications@github.com wrote:

Completely reinstalling does not fix the problem.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ftctechnh/ftc_app/issues/486#issuecomment-352322448, or mute the thread https://github.com/notifications/unsubscribe-auth/AOOAFe3bay1it5_0Z1xMlkKWtbl5Wm2gks5tBegvgaJpZM4RE4m9 .

WardBenjamin commented 6 years ago

It doesn't seem to be happening to most teams, but I have a hard time believing that the issue is not with 3.5 since the gamepads are definitely connected to the phones (as they can be used on the home screen), and downgrading to 3.4 fixes the connection problem. With those circumstances, I don't see how it can be anything else than the DS app.

Any other suggested fixes? Obviously we can't run a mismatched DS/RC SDK version in competition.

gearsincorg commented 6 years ago

You have presented many different hardware combinations, so it's hard to address the specific problem.

Can you humor me with "one" specific combination of hardware that causes the problem.

Can we focus on a ZTE speed phone, with a standard Logitech F310 gamepad with NO hub connected, and just using a simple USBA(F)- MicroUSB(M) cable. Ensure that the DS app is Rev 3.5.

Assuming that you startup the phone from a power down (with the Gamepads disconnected at the Micro USB plug) 1) Power on the phone. 2) Start the DS app, verify that on the settings page, a Logitech F310 Gamepad is selected. 3) Plug in the Gamepad. 4) Press Start +A

Nothing?

Phil Malone GEARS Inc.

phil.malone@mr-phil.com Office: 301.387.2331 Mobile: 301.501.7424

On Tue, Dec 19, 2017 at 2:35 PM, Benjamin Ward notifications@github.com wrote:

It doesn't seem to be happening to most teams, but I have a hard time believing that the issue is not with 3.5 since the gamepads are definitely connected to the phones (as they can be used on the home screen), and downgrading to 3.4 fixes the connection problem. With those circumstances, I don't see how it can be anything else than the DS app.

Any other suggested fixes? Obviously we can't run a mismatched DS/RC SDK version in competition.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ftctechnh/ftc_app/issues/486#issuecomment-352863442, or mute the thread https://github.com/notifications/unsubscribe-auth/AOOAFeclEHY86A908QE-BCDWG6imYtGdks5tCA_2gaJpZM4RE4m9 .