Solved

REal-world interfacing the USB port with the pc

Posted on 2006-07-15
4
169 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
4 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

728 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now