473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

(USB) Win sends request for unknown descriptor when trying to enumerate my CDC class device

I am programming the firmware for Communication Device Class -device,
(to emulate a rs232 connection). When it's in the enumerating process,
windows send a GET_DESCRIPTOR request, with 0x0600 in the wValue field
- which is (as far as i can tell) a reserved request.

I am looking at other software that's supposed to do the same job, and
they do not support this request - so there's a good chance something
else is wrong with my driver.

Windows asks for this:
GET_DESCRIPTOR: STRING_DESCRIPTOR: LANG_ID
GET_DESCRIPTOR: STRING_DESCRIPTOR: SERIL_NB
GET_DESCRIPTOR: CONFIGURATION_DESCRIPTOR

then...
GET_DESCRIPTOR: RESERVED_DESCRIPTOR_TYPE (0x0600)

and I don't know what to do.. :-(
I have compared my configuration descriptor to one i found in a the
source for a similar project, and it looks good. The enumeration
continues and ends up in STATUS_NOT_SUPPORTED. It may be that the
request I'm referring to isn't important ant that theres some other
reason for the failure, but I haven't got enough experience with usb
to spot it yet. Another thing I find strange is that windows never
(unless i'm blid) asks for my DEVICE_DESCRIPTOR. weird.

Any help would be greatly appreciated!
I used USBTrace (< 30s installation) to dump the enumeration process,
i can post/send the trance in either USBTrace or html format to anyone
who is willing to look at it. (sources as well)
http://www.sysnucleus.com/USBTrace_B..._Installer.exe
Great tool btw!

- I'll actually post it online somewhere when i get home, my proxy at
work wont let me do anything ;)

Jul 27 '07 #1
1 2170
In article <11**********************@w3g2000hsg.googlegroups. com>,
vishnu <ia*********@gmail.comwrote:
>I am programming the firmware for Communication Device Class -device,
(to emulate a rs232 connection). When it's in the enumerating process,
windows send a GET_DESCRIPTOR request, with 0x0600 in the wValue field
- which is (as far as i can tell) a reserved request.
I can't seem to find even a little crumb of your question that is C
related. I would suggest that you should be asking in a Windows
programming newsgroup. (I would suggest that when you repost, you
make it clearer what assistance you were hoping for from other
people. You have stated that certain things have happened to you,
but I couldn't find a question buried in there.)
--
Is there any thing whereof it may be said, See, this is new? It hath
been already of old time, which was before us. -- Ecclesiastes
Jul 27 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: CMiYC | last post by:
I'm attempting to open an USB HID device using createfile from kernel32. The open attempt always fails. This is the call I'm using: CreateFile(HidName$, &HC0000000, 3, 0, 3, 0 ,0) HidName$...
7
by: sanjana | last post by:
hi i wanna detect if a anything is connected to the usb port I am using system.management class for tht purpose this is my code class usbdetect { public static void Main() {
0
by: rs | last post by:
Hi guys, I am trying to read from a USB keyboard using vb.net and HID classes. the USB keyboard is not my primary keyboard. I have a ps2 keyboard connected and is detected in device manager as...
2
by: rs | last post by:
Hi guys, I am trying to read from a USB keyboard using vb.net and HID classes. the USB keyboard is not my primary keyboard. I have a ps2 keyboard connected and is detected in device manager as...
6
by: Don | last post by:
Environment: VB6 under W98 I have a USB hardware device I wish to program directly. The original software installed a low level driver and the hardware is both registered and operational. Now...
0
by: Chris Herring | last post by:
I am writing a WinForms app that will integrate a handheld voting device system into the app. The handhelds communicate to the PC via a USB connection. The USB device has no manufacturer driver,...
8
by: Chad | last post by:
To anyone who is smarter than I am when it comes to WMI: Here is what I am trying to do: 1) Detect a USB pen drive when it is inserted 2) Retrieve the drive letter of the pen drive 3) Check...
0
by: zhensoftware | last post by:
USB storage devices have gained popularity. It can be host to viruses, Trojans, hacker toolkits, worms or other forms of malicious programs. For example, when you plug your USB disk into a computer...
4
by: JDS | last post by:
I have an application that interfaces with a USB device using the .Net serial port. The code works fine, displaying live data on the screen; that is until the USB lead is pulled out from the PC...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.