Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

REal-world interfacing the USB port with the pc

Posted on 2006-07-15
4
Medium Priority
?
174 Views
Last Modified: 2013-11-20
I would like to create a MFC program to find the address of a USB port. I want to send logic signals to the USB port and read logic signals from the USB port, I also want to know the pin diagram of a USB port, if possible. Thanks
0
Comment
Question by:Roderick2006
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 2000 total points
ID: 17113786
This is not task for MFC. USB ports can be accessed on kernel level, you need to write driver for this.
Work with USB port doesn't look like with COM or parallel port. USB device driver is written for specific device connected to USB port. User-mode program can talk with kernel-mode driver and not with USB port directly.

Additional information about USB:

http://www.lvr.com/usb.htm (mostrly for hardware and firmware developers)

http://www.osronline.com/  (for Windows drivers developers)

http://www.microsoft.com/whdc/driver/wdf/KMDF_pkg.mspx
Microsoft DDK and KMDF, contains number of USB sample device drivers.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question