Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   USB ports going away during match (http://www.chiefdelphi.com/forums/showthread.php?t=136418)

MrForbes 06-04-2015 15:01

USB ports going away during match
 
We had an interesting issue this weekend with our driver controls dropping out. Things had been working well previously, we attended the San Antonio regional and had only one instance that I can remember of the controllers (Logitech Gamepads) not working, we unplugged them and plugged them back in and they were fine. But this weekend at Arizona, they started acting up Friday afternoon, where they would appear to be connected, then just after the match started one or both would "go away". Sometimes they came back with a USB Rescan, other times they needed to both be unplugged and reconnected.

The problem got worse late Saturday, in our final few matches we had to Rescan several times during the match to keep driving.

There was one code change before the issue started Friday, we added a vi module to make one of the buttons act as a toggle.

Each gamepad is connected to a "real" USB port on the DS laptop, there is no external hub. The laptop is on it's 3rd year, and has been working well.

kiettyyyy 06-04-2015 15:14

Re: USB ports going away during match
 
This has happened to our team multiple times. Twice at AZ East this year. Numerous times in previous years.

We were fortunate enough not to have this happen to us at San Diego last week. However, I was volunteering as a CSA at the event and fixed a number of teams during matches.

It seems to manifest itself during the autonomous to teleoperated control transition.

marshall 06-04-2015 15:16

Re: USB ports going away during match
 
Quote:

Originally Posted by MrForbes (Post 1466645)
We had an interesting issue this weekend with our driver controls dropping out. Things had been working well previously, we attended the San Antonio regional and had only one instance that I can remember of the controllers (Logitech Gamepads) not working, we unplugged them and plugged them back in and they were fine. But this weekend at Arizona, they started acting up Friday afternoon, where they would appear to be connected, then just after the match started one or both would "go away". Sometimes they came back with a USB Rescan, other times they needed to both be unplugged and reconnected.

The problem got worse late Saturday, in our final few matches we had to Rescan several times during the match to keep driving.

There was one code change before the issue started Friday, we added a vi module to make one of the buttons act as a toggle.

Each gamepad is connected to a "real" USB port on the DS laptop, there is no external hub. The laptop is on it's 3rd year, and has been working well.

We have seen a similar issue. Every time it has happened to us it has been because of a fault in the cable for the Logitech gamepad controllers. We do our best to have the students treat them with a bit of respect but they just get beat up.

angelah 06-04-2015 15:21

Re: USB ports going away during match
 
That's how we spent last year. This year we switched to joysticks because of that problem. A more extreme solution, but it worked for us. :D

BitTwiddler 06-04-2015 15:22

Re: USB ports going away during match
 
Not sure if it makes a difference but we use two Logitech controllers, one for the driver and one for the operator. As far as I know, they both drop out at the same time.

Boltman 06-04-2015 15:26

Re: USB ports going away during match
 
We fixed our usb issues in Ventura with simple "Power Option" setting changes on the windows laptop there are main ones and ones specific to USB ports in the advanced area.

marshall 06-04-2015 15:26

Re: USB ports going away during match
 
Quote:

Originally Posted by BitTwiddler (Post 1466672)
Not sure if it makes a difference but we use two Logitech controllers, one for the driver and one for the operator. As far as I know, they both drop out at the same time.

That's interesting and useful info. If that is the case then that to me points to either a software fault or a more upstream hardware fault like the USB controller within the laptop.

As I said though, we've seen it happen to us and it is typically one controller that drops and it is because of a faulty cable. I've been able to repair a handful of the controllers but it is typically more cost effective to recycle it and then buy a new one.

kiettyyyy 06-04-2015 16:12

Re: USB ports going away during match
 
Most of the fixes that I've done for teams was to change the power settings for the USB port.

To clarify, the issue is not isolated to gamepad controllers of a specific brand. This can happen to ANY joystick device.

MrForbes 06-04-2015 16:24

Re: USB ports going away during match
 
1 Attachment(s)
Actually one of the controllers was dropping, and the other stayed "lit up" on the DS display. And we changed the dropping controller with another one during one of the last matches, and the problem persisted, with no apparent change.

We can look at power settings, but I'm a bit confused why something like that would make the USB port come and go several times during a match, while the control is being used continuously? Although I do understand that Windows works in strange and mysterious ways.

I wonder if this is the advanced setting? btw this is on my desktop, which also runs Windows 7. I could probably end global climate change by leaving the setting as is, rather than allowing the pesky USB hub to run all the time!

kuraikou 06-04-2015 16:41

Re: USB ports going away during match
 
We were having the same issue at AZ East but we fixed the issue by triple checking the connection before every match and being ready to replug and rescan at the beginning of each match. Our issue was caused by bad USB ports and cables on our ps4 controllers, so we got new cables and that helped significantly.

evanperryg 06-04-2015 16:44

Re: USB ports going away during match
 
Correct me if I am wrong, but I believe 2451 may have been having a similar problem at Midwest, that caused them to withdraw from alliance selections.

Jared 06-04-2015 16:58

Re: USB ports going away during match
 
Here's a few ideas:

-Turn off the power save setting. This has caused similar problems for some teams in the past

-Uninstall and reinstall the USB driver

-Make sure that there is no other USB device that could be shorting the USB 5V supply.

-Make sure the contacts on the USB connectors are not corroded or dirty

-Make sure the USB cable fits snugly. If it doesn't, you can try gently crushing the joystick connector so that it has a better fit.

-Make sure the laptop is plugged in when you're driving.

-Make sure the laptop battery is healthy. Bad batteries can cause really weird things to happen.

-Uninstall/Reinstall the USB driver

-Disable your wireless adapter and bluetooth (if you have it). Sometimes the bluetooth adapter connects to an internal usb port, and may be causing issues.

kiettyyyy 06-04-2015 16:59

Re: USB ports going away during match
 
Quote:

Originally Posted by MrForbes (Post 1466717)
Actually one of the controllers was dropping, and the other stayed "lit up" on the DS display. And we changed the dropping controller with another one during one of the last matches, and the problem persisted, with no apparent change.

We can look at power settings, but I'm a bit confused why something like that would make the USB port come and go several times during a match, while the control is being used continuously? Although I do understand that Windows works in strange and mysterious ways.

I wonder if this is the advanced setting? btw this is on my desktop, which also runs Windows 7. I could probably end global climate change by leaving the setting as is, rather than allowing the pesky USB hub to run all the time!

Jim, this is the setting that you'd be looking for.

MrForbes 06-04-2015 17:05

Re: USB ports going away during match
 
Thanks for all the suggestions, everyone!

We have several things to check. We have not been plugging in the DS laptop charger during matches, it's been running on battery all the time.

I don't have the laptop here, hopefully it made it home on the bus Saturday night, and I can check it in an hour or so when I drop off the robot at school.

Alan Anderson 06-04-2015 19:16

Re: USB ports going away during match
 
Quote:

Originally Posted by MrForbes (Post 1466754)
We have not been plugging in the DS laptop charger during matches, it's been running on battery all the time.

Failing to take advantage of the provided power at the field is not a good idea. It's too easy for Windows to kick in power-saving features if you're not plugged in. And if you do successfully disable them all, you're going to run down the battery much faster than "normal".


All times are GMT -5. The time now is 22:44.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi