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. USB driver

USB driver

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingregexquestionannouncement
4 Posts 3 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.
  • S Offline
    S Offline
    SJolly
    wrote on last edited by
    #1

    Hi all, I am trying to write a driver for a USB device. I have taken the following steps: > Built checked version of BulkUSB from DDK samples. > Adapted the .inf file provided with the sample so that the vendor and product id match those of the device I'm writing the driver for. > Installed the driver using the wizzard - this seems to work fine and the device is reported as working properly. However, no debug messages come out of the system, no matter what I do with the device (unplug/insert/attempt to connect etc). Can anyone see anything I may have missed? Thanks in advance, Simon

    A B 2 Replies Last reply
    0
    • S SJolly

      Hi all, I am trying to write a driver for a USB device. I have taken the following steps: > Built checked version of BulkUSB from DDK samples. > Adapted the .inf file provided with the sample so that the vendor and product id match those of the device I'm writing the driver for. > Installed the driver using the wizzard - this seems to work fine and the device is reported as working properly. However, no debug messages come out of the system, no matter what I do with the device (unplug/insert/attempt to connect etc). Can anyone see anything I may have missed? Thanks in advance, Simon

      A Offline
      A Offline
      Alexander M
      wrote on last edited by
      #2

      What about checking if the drivers was loaded? Don't try it, just do it! ;-)

      S 1 Reply Last reply
      0
      • A Alexander M

        What about checking if the drivers was loaded? Don't try it, just do it! ;-)

        S Offline
        S Offline
        SJolly
        wrote on last edited by
        #3

        How do I do that?

        1 Reply Last reply
        0
        • S SJolly

          Hi all, I am trying to write a driver for a USB device. I have taken the following steps: > Built checked version of BulkUSB from DDK samples. > Adapted the .inf file provided with the sample so that the vendor and product id match those of the device I'm writing the driver for. > Installed the driver using the wizzard - this seems to work fine and the device is reported as working properly. However, no debug messages come out of the system, no matter what I do with the device (unplug/insert/attempt to connect etc). Can anyone see anything I may have missed? Thanks in advance, Simon

          B Offline
          B Offline
          Branislav
          wrote on last edited by
          #4

          Where did you expect to receive debugger message? You have to have some debugging monitor. I used MONITOR (Vireo Software) before 5 years which displays of debug output from device drivers, and provides driver loading/unloading facilities for Windows 95, 98, and NT. On Windows NT, a supporting kernel mode driver (DBGMSG.SYS) captures debug output sent to DbgPrint. Now, I think you can find something similar on www.osr.com or through a seek on internet.

          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