Go to Post The top 3 debates you don't want to bring up in a group of nerds: Mac vs PC vs Linux, Best Programming Language, and Best CAD Program. - EricH [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 06-04-2015, 16:24
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,988
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: USB ports going away during match

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!
Attached Thumbnails
Click image for larger version

Name:	usb.jpg
Views:	85
Size:	37.1 KB
ID:	18780  
Reply With Quote
  #2   Spotlight this post!  
Unread 06-04-2015, 16:41
kuraikou's Avatar
kuraikou kuraikou is offline
Registered User
AKA: Alex
FRC #4183 (Bit Buckets)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2013
Location: Tucson, Arizona
Posts: 73
kuraikou is an unknown quantity at this point
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.
__________________
2012 Utah regional Rookie All Star
2013 Phoenix regional Judges Award
2014 Hub City Quality Award
2014 Arizona Regional Excellence in Engineering Award
2015 Arizona East Regional Creativity Award
2015 Arizona East Regional winning alliance captain
Reply With Quote
  #3   Spotlight this post!  
Unread 06-04-2015, 16:44
evanperryg's Avatar
evanperryg evanperryg is offline
IT'S THE BUMP N' DUMP
AKA: Evan Grove
FRC #4536 (The Minutebots)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2011
Location: Minneapolis, MN
Posts: 656
evanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond repute
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.
__________________
FRCDesigns Contributor | "There is only one corner of the universe you can be certain of improving, and that's your own self." -Aldous Huxley
2012-2016 | FRC Team 2338: Gear it Forward
2013
Wisconsin Regional Winner 2014 Midwest Regional Finalist 2015 Midwest Regional Chairman's Award, Finalist, Archimedes Division Champion, IRI Semifinalist 2016 Midwest Regional Chairman's Award, Finalist, Archimedes Division Gracious Professionalism Award, R2OC Winner
2015 | FTC Team 10266: Mach Speed
2015
Highland Park Qualifier Winner, Motivate Award
2017-???? | FRC Team 4536: The Minutebots

Thanks to the alliances and friends I've made along the way: 33 74 107 111 167 171 234 548 1023 1089 1323 1625 1675 1732 1756 2064 2077 2122 2202 2358 2451 2512 2826 3936 3996 4039 4085 4241 5006 5401 5568 5847 5934
Reply With Quote
  #4   Spotlight this post!  
Unread 06-04-2015, 16:58
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-04-2015, 19:22
popnbrown's Avatar
popnbrown popnbrown is offline
FIRST 5125 HOTH Lead Mentor
AKA: Sravan S
FRC #5125 (Hawks on the Horizon)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Illinois
Posts: 367
popnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond repute
Re: USB ports going away during match

Quote:
Originally Posted by evanperryg View Post
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.
I believe they were having issues with their roboRIO and software on the robot itself. I don't think it was a driver station issue.
__________________
I am an employee of FIRST. However, the postings on this site are of my own perspective as a FIRST mentor and volunteer and do not necessarily reflect the views of FIRST.

FIRST Team 5125 Hawks on the Horizon Lead Mentor
FRC Team 4096 Ctrl-Z Former Mentor
FTC Team 5203 #19@! Former Mentor
FRC Team 1403 Cougar Robotics Alumni
Reply With Quote
  #6   Spotlight this post!  
Unread 06-04-2015, 19:48
orangemoore orangemoore is online now
Registered User
AKA: Roger Moore
FRC #3135 (Robotic Colonels)
Team Role: College Student
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Chicago
Posts: 2,308
orangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond repute
Re: USB ports going away during match

Quote:
Originally Posted by popnbrown View Post
I believe they were having issues with their roboRIO and software on the robot itself. I don't think it was a driver station issue.
It was some kind of RoboRio related issue. I don't believe it had to do directly with their driver station.
__________________
Stronghold


Student 2013-2016
3135 -- Robotic Colonels
3507 -- Robotheosis (FTC)
Reply With Quote
  #7   Spotlight this post!  
Unread 08-04-2015, 16:38
autox_vette autox_vette is offline
Registered User
FRC #2451 (PWNAGE)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2011
Location: Oswego, Il
Posts: 32
autox_vette is on a distinguished road
Re: USB ports going away during match

Quote:
Originally Posted by evanperryg View Post
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.
The stimulus of the problem WAS the joysticks (I'm not sure if one failed, or if it just got unplugged moving the drivers station around), but the real problem was a programming issue which caused the application to die immediately upon entering teleop. The thrash to find the problem then introduced other issues which clouded the issue and sent everyone down wrong paths (multiple times).

Kenton Cabiness (Aka. Mr. C)

Last edited by autox_vette : 08-04-2015 at 16:40.
Reply With Quote
  #8   Spotlight this post!  
Unread 09-04-2015, 01:26
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 243
BitTwiddler is on a distinguished road
Re: USB ports going away during match

We found another interesting "feature" of Windows called "USB Selective Suspend" that allows Windows to power down an individual USB port. We disabled that potential troublemaker. Google it to find out more.
Reply With Quote
  #9   Spotlight this post!  
Unread 06-04-2015, 16:59
kiettyyyy's Avatar
kiettyyyy kiettyyyy is offline
Registered User
FRC #1538 (The Holy Cows)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: San Diego, CA
Posts: 181
kiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond repute
Send a message via AIM to kiettyyyy
Re: USB ports going away during match

Quote:
Originally Posted by MrForbes View Post
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.
__________________
-Kiet Chau

2004-2008 - Software Developer/Driver on Team #968
2008-2011 - Software Developer/Coach/Mentor/"Engineer" on Team #968
2011-Present - Mentor & Engineer on Team #1538
www.team1538.com
Reply With Quote
  #10   Spotlight this post!  
Unread 06-04-2015, 17:05
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,988
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
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.
Reply With Quote
  #11   Spotlight this post!  
Unread 06-04-2015, 19:16
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: USB ports going away during match

Quote:
Originally Posted by MrForbes View Post
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".
Reply With Quote
  #12   Spotlight this post!  
Unread 07-04-2015, 10:10
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: USB ports going away during match

Quote:
Originally Posted by MrForbes View Post
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.
Hi Jim,
Here is something that most likely was not the cause of the issues you were experiencing, but definitely should be considered when you are taking steps to make your DS 's performance stable and reliable.
As an FTAA twice this year, I saw several teams have issues if they had not "Locked" the location of their controllers in the DS software. When not locked, the controllers can show up in different order and locations in the DS. When your controls "go away" it is likely they will not return to where you want them if they are not locked. A locked device will always show up in the same position, regardless of which USB port it is plugged into, nor what order the device(s) are detected, as long as you are not using two identical devices.

Here are the details of the locking process from this document.

Quote:
Re-Arranging and Locking Devices
The 2015 Driver Station has the capability of "locking" a USB device into a specific slot. This is done automatically if the device is dragged to a new position and can also be triggered by double clicking on the device. "Locked" devices will show up with an underline under the device. A locked device will reserve it's slot even when the device is not connected to the computer (shown as grayed out and underlined). Devices can be unlocked (and unconnected devices removed) by double clicking on the entry.

Note: If you have two or more of the same device, they should maintain their position as long as all devices remain plugged into the computer in the same ports they were locked in. If you switch the ports of two identical devices the lock should follow the port, not the device. If you re-arrange the ports (take one device and plug it into a new port instead of swapping) the behavior is not determinate (the devices may swap slots). If you unplug one or more of the set of devices, the positions of the others may move, they should return to the proper locked slots when all devices are reconnected.

Example: The image above (see attachment) shows 4 devices:

A Locked "Logitech Attack 3" joystick. This device will stay in this position unless dragged somewhere else or unlocked
An unlocked "Logitech Extreme 3D" joystick
An unlocked "Gamepad F310 (Controller)" which is a Logitech F310 gamepad
A Locked, but disconnected "MadCatz GamePad (Controller)" which is a MadCatz Xbox 360 Controller
In this example, unplugging the Logitech Extreme 3D joystick will result in the F310 Gamepad moving up to slot 1. Plugging in the MadCatz Gamepad (even if the devices in Slots 1 and 2 are removed and those slots are empty) will result in it occupying Slot 3.
Attached Thumbnails
Click image for larger version

Name:	DC USB.jpg
Views:	20
Size:	46.6 KB
ID:	18785  
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #13   Spotlight this post!  
Unread 07-04-2015, 10:31
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,988
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: USB ports going away during match

Thanks, I think the devices were locked, because when the controller dropped out, it was still shown in the #1 slot in gray.
Reply With Quote
  #14   Spotlight this post!  
Unread 07-04-2015, 11:22
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: USB ports going away during match

Quote:
Originally Posted by MrForbes View Post
Thanks, I think the devices were locked, because when the controller dropped out, it was still shown in the #1 slot in gray.
Excellent!
That confirms two things at least.
1) It was locked.
2) Winders no longer saw the device.

Now, what the root cause of it going away is still the main focus.
All the advice here should get you to a solid answer. From the timing of when and how the failures occurred, it doesn't sound like a physical problem like a flakey connection or wiring. At least not to me
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #15   Spotlight this post!  
Unread 06-04-2015, 20:47
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: USB ports going away during match

Quote:
Originally Posted by MrForbes View Post
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.
Some laptops also have "sleep and charge" ports, which stay powered even when the computer sleeps (and I've seen some teams' DS laptops go to sleep during a match). One joystick being plugged into one of these ports and the other not could cause this when one controller stays powered when the computer sleeps.

Again, a closer examination of the laptop's power settings should help.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:21.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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