We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Resetting a USB port via software.

Options
tomstickland
tomstickland Posts: 19,538 Forumite
10,000 Posts Combo Breaker
We have a problem at work where noise/static on a USB line causes it to disconnect every now and again. The software we've developed just opens up a dialogue box and tells the user to unplug the item and plug it back in. It's a bit of a faff though and I'd like to replace it with an automatic reconnect.

One guy spent some time searching round the net for a solution and couldn't find anything. However, the other day, someone told me that you can get windows to reset the USB connections.

So the question is, does anyone know how to get windows to reset the USB connections?
Happy chappy
«1

Comments

  • MoneyTown
    MoneyTown Posts: 99 Forumite
    Not sure how to do this in software but have you tried shielding the USB device and its cable from interference ?
  • tomstickland
    tomstickland Posts: 19,538 Forumite
    10,000 Posts Combo Breaker
    Yes, we've done a fair bit of work with anti-static spray and using cables with the inductor chokes on them.

    I've been told that a possible problem is that we have motor control cards on the PCI slots and these are known to generate noise.
    Happy chappy
  • MoneyTown
    MoneyTown Posts: 99 Forumite
    I guess you could use a different set of USB inputs as a test.

    Something like: http://www.ebuyer.com/product/108594

    To back up that idea I've just seen this discussion:
    http://line6.com/support/entry.jspa?externalID=4282
  • Belnahua
    Belnahua Posts: 1,493 Forumite
    Cashback Cashier
    Is it possible to put a powered USB hub in between the devices and use 2 shorter cables?
    A friend is someone who understands your past, believes in your future, and accepts you just the way you are.
  • mdbarber
    mdbarber Posts: 1,116 Forumite
    don't see any reason why it can't be done, pretty sure that's what happens during the PnP routine anyway, have a look at the rundll options available especially for printing what type of device are you using on the line?
    click here to achieve nothing!
  • CHR15
    CHR15 Posts: 5,193 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    Just thinking aloud but how about removing the usb from Device manager and doing a Scan for hardware changes?
  • tomstickland
    tomstickland Posts: 19,538 Forumite
    10,000 Posts Combo Breaker
    A PCI USB card looks like it's worth a try. I'll see if there are any spare PCI slots.

    I'd still like to dig down to what I could do in software. When the computer switches on it must scan the USB ports for devices via some software.
    rundll
    So I'll do around and see what this might give.
    how about removing the usb from Device manager and doing a Scan for hardware changes?
    Can you expand on this a bit?
    Happy chappy
  • CHR15
    CHR15 Posts: 5,193 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    Not sure if it would work, never tried, but go in Device Manager

    Expand USB Controllers

    Right click on the USB hub/controller

    Chose Uninstall

    Then Right click again and chose "Scan for hardware changes"

    Only a couple of mouse clicks

    It may well immediately find it.
  • buglawton
    buglawton Posts: 9,246 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    Scan for hardware changes (without de- or re-installing anything) has worked for me in the past
  • mdbarber
    mdbarber Posts: 1,116 Forumite
    Tom can you expand on the hardware involved because it's funny but i may have had a similar issue recently.
    I have a hauppauge tv card in my htpc and occasionally the remote control is crashing out, the software i am using (media portal) of which there are 2 versions so i am now trying the second and the fault is minimised.
    In this instance the remote is connected/controlled via a usb chip on the tv card and it actually has a small utility to "restart" the remote, presumably sending a reset signal to the cards own usb controller
    The last time this occurred i used the utility but it had no effect, only thing that worked was a total power down, i have been thru many options of OS vs driver packages but as this machine is in everyday use and the fault occurs intermittently it is a slow process to track it down.
    click here to achieve nothing!
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 350.8K Banking & Borrowing
  • 253.1K Reduce Debt & Boost Income
  • 453.5K Spending & Discounts
  • 243.8K Work, Benefits & Business
  • 598.7K Mortgages, Homes & Bills
  • 176.8K Life & Family
  • 257.1K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.