Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to plug/unplug USB serial port problematically?

How to plug/unplug USB serial port problematically?

Scheduled Pinned Locked Moved C / C++ / MFC
helphardwaretutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pallaka
    wrote on last edited by
    #1

    How to plug/unplug USB serial port problematically? I am facing some strange issue with my USB serial port. I want to unplug and plug the USB Serial port Programitically, as i need to refresh the connection between system and hardware connected.Kindly help....... Thank in advance for the great programmers

    R 1 Reply Last reply
    0
    • P pallaka

      How to plug/unplug USB serial port problematically? I am facing some strange issue with my USB serial port. I want to unplug and plug the USB Serial port Programitically, as i need to refresh the connection between system and hardware connected.Kindly help....... Thank in advance for the great programmers

      R Offline
      R Offline
      Roger Stoltz
      wrote on last edited by
      #2

      pallaka wrote:

      I want to unplug and plug the USB Serial port Programitically, as i need to refresh the connection between system and hardware connected.

      You cannot do that from user mode. You must ask the driver for that functionality if it supports it at all, which I doubt when it comes to serial port drivers for USB.

      pallaka wrote:

      I am facing some strange issue with my USB serial port.

      Perhaps you can elaborate on what the "strange issue" is all about. It's quite possible that there is another solution than resetting the port/device. What have you done so far and what problems are you facing that you want to solve by resetting the port?

      "It's supposed to be hard, otherwise anybody could do it!" - selfquote
      "High speed never compensates for wrong direction!" - unknown

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups