Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: How can we check existence of a USB device  (Read 97855 times)

0 Members and 1 Guest are viewing this topic.

Gujarish

    Topic Starter


    Rookie

    • Experience: Beginner
    • OS: Windows 8
    How can we check existence of a USB device
    « on: July 05, 2019, 04:44:07 AM »
    Hello everyone,,,
    My PC has a USB port connecting to an HID machine. After restarting several times, the HID will disappear and can't be shown in Device Manager. What I want to do is to write a program to restart the PC, check existence of that HID and show the restarting count in case of HID disappearing.
    My question is how I can check existence of an HID in Visual C++....

    Salmon Trout

    • Guest
    Re: How can we check existence of a USB device
    « Reply #1 on: July 05, 2019, 07:42:49 AM »
    What is an HID?

    patio

    • Moderator


    • Genius
    • Maud' Dib
    • Thanked: 1769
      • Yes
    • Experience: Beginner
    • OS: Windows 7
    Re: How can we check existence of a USB device
    « Reply #2 on: July 05, 2019, 08:59:06 AM »
    Human Interface Device...thank Bill Gates for the terminology...
    " Anyone who goes to a psychiatrist should have his head examined. "

    Salmon Trout

    • Guest
    Re: How can we check existence of a USB device
    « Reply #3 on: July 05, 2019, 09:25:27 AM »
    What, keyboard, mouse, trackball, touchpad, etc?

    patio

    • Moderator


    • Genius
    • Maud' Dib
    • Thanked: 1769
      • Yes
    • Experience: Beginner
    • OS: Windows 7
    Re: How can we check existence of a USB device
    « Reply #4 on: July 05, 2019, 07:06:49 PM »
    They all qualify...thats why inventing that term is dumber than a sack of hammers...
    " Anyone who goes to a psychiatrist should have his head examined. "

    Lisa_maree



      Mentor
    • My first real computer
    • Thanked: 161
      • Yes
    • Experience: Expert
    • OS: Windows 10
    Re: How can we check existence of a USB device
    « Reply #5 on: July 05, 2019, 08:21:49 PM »
    Microsoft supplies a program called USBview to diagnose this type of problem might be worth a look.

    https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/usbview

    Or another option is https://www.nirsoft.net/utils/usb_devices_view.html

    Both programs will give information of what is causing the device not to load.
    You have not lived today until you have done something for someone who can never repay you.”
    ― John Bunyan