Re: USBView doesn't show Configuration Descriptor

From: Michael Reim (nospam.reim_at_REMOVENOSPAMANDCAPShelmut-fischer.denospam)
Date: 09/28/04


Date: Tue, 28 Sep 2004 10:57:20 +0200

Hello Bill

The same platform (XP SP1)
- usbser.sys 4.10.0.2223 working but closing slowly.
- usbser.sys 5.1.2600.2180 not opening port.

Do you know what changed between the two versions?
I suppose 5.1... doesn't like something in my device descriptors,
which 4.10... didn't care about.

--
Michael Reim
reim AT helmut-fischer DOT de
"Bill McKenzie" <bill.mckenzie@nospam.conexant.com> schrieb im Newsbeitrag
news:uHO8vBTpEHA.1272@TK2MSFTNGP09.phx.gbl...
> Ah, I didn't realize you weren't using your own driver.  Hmmmm....  Could
it
> be a USB 1.1 versus USB 2.0 problem?  Or is the platform and all staying
the
> same and you just changed that one driver usbser.sys?
>
> --
> Bill McKenzie
> Software Engineer - Prism 802.11 Wireless Solutions
> Conexant Systems, Inc.
>
>
> "Michael Reim" <nospam.reim@REMOVENOSPAMANDCAPShelmut-fischer.denospam>
> wrote in message news:eMMTFaSpEHA.644@tk2msftngp13.phx.gbl...
> > Hello Bill
> >
> > Yes, it's an USB-Serial device.
> > I try to open it with hyperterminal and with my own app. No difference.
> > I don't know what "symbolic link" means, but I can see the port COM9,
> > I only can't open it.
> > The same device was working with usbser.sys 4.10.0.2223, except closing
> > the port took several minutes.
> > Now I'm using the version 5.1.2600.2180 and can't even
> > open the port (similarly with 5.1.2600.0).
> >
> > --
> > Michael Reim
> > reim AT helmut-fischer DOT de
> >
> >
> >
> > "Bill McKenzie" <bill.mckenzie@nospam.conexant.com> schrieb im
Newsbeitrag
> > news:uZwFnGLpEHA.2948@TK2MSFTNGP11.phx.gbl...
> > > Wait a second, COM9?  This is a USB-Serial device?  How are you trying
> to
> > > open COM9?  You very likely need to create a symbolic link from your
> > driver
> > > for this to work as you expect, are you doing this?
> > >
> > > I don't know why USBView isn't working right though.
> > >
> > > --
> > > Bill McKenzie
> > > Software Engineer - Prism 802.11 Wireless Solutions
> > > Conexant Systems, Inc.
> > >
> > >
> > > "Michael Reim"
<nospam.reim@REMOVENOSPAMANDCAPShelmut-fischer.denospam>
> > > wrote in message news:eBjRV3FpEHA.3564@tk2msftngp13.phx.gbl...
> > > > Hello Bill
> > > >
> > > > GetLastError gives 31 = ERROR_GEN_FAILURE
> > > >
> > > > I can see my device in Device Manager, it claims to be COM9 and
shows
> no
> > > > errors.
> > > > But it's not possible to open COM9. This was the reason for me to
use
> > > > usbview.
> > > >
> > > > --
> > > > Michael Reim
> > > > reim AT helmut-fischer DOT de
> > > >
> > > >
> > > > "Bill McKenzie" <bill.mckenzie@nospam.conexant.com> schrieb im
> > Newsbeitrag
> > > > news:OaQoYZFpEHA.3592@TK2MSFTNGP14.phx.gbl...
> > > > > After the DeviceIoControl fails did you try a GetLastError() to
get
> > the
> > > > > failure code?
> > > > >
> > > > > Does the device enumerate correctly under Windows?
> > > > >
> > > > > --
> > > > > Bill McKenzie
> > > > > Software Engineer - Prism 802.11 Wireless Solutions
> > > > > Conexant Systems, Inc.
> > > > >
> > > > >
> > > > > "Michael Reim"
> > <nospam.reim@REMOVENOSPAMANDCAPShelmut-fischer.denospam>
> > > > > wrote in message news:uGBvfHFpEHA.2588@TK2MSFTNGP12.phx.gbl...
> > > > > > Yes, I did.
> > > > > >
> > > > > > And I can confirm this by displaying another device in usbview.
> > > > > >
> > > > > > --
> > > > > > Michael Reim
> > > > > > reim AT helmut-fischer DOT de
> > > > > >
> > > > > > "Bill McKenzie" <bill.mckenzie@nospam.conexant.com> schrieb im
> > > > Newsbeitrag
> > > > > > news:#nMbkymoEHA.1992@TK2MSFTNGP09.phx.gbl...
> > > > > > > Did you go to the USBView 'Options' menu and select 'Config
> > > > Descriptors'
> > > > > > and
> > > > > > > then refresh (F5)?
> > > > > > >
> > > > > > > --
> > > > > > > Bill McKenzie
> > > > > > > Software Engineer - Prism 802.11 Wireless Solutions
> > > > > > > Conexant Systems, Inc.
> > > > > > >
> > > > > > >
> > > > > > > "Michael Reim"
> > > > <nospam.reim@REMOVENOSPAMANDCAPShelmut-fischer.denospam>
> > > > > > > wrote in message news:exTA69joEHA.3172@TK2MSFTNGP10.phx.gbl...
> > > > > > > > Hello
> > > > > > > >
> > > > > > > > Why doesn't usbview.exe show the Configuration Descriptor
nor
> > > > > > > > the Interface Descriptors of my device?
> > > > > > > >
> > > > > > > > With a USB sniffer I can see that all of the descriptors are
> > > > > > > > sent correctly.
> > > > > > > > With a debug version of usbview I found that it fails in the
> > > > > > > > function GetConfigDescriptor at the second DeviceIoControl
> line:
> > > > > > > >
> > > > > > > >     configDescReq->SetupPacket.wValue =
> > > > > > (USB_CONFIGURATION_DESCRIPTOR_TYPE
> > > > > > > > << 8)
> > > > > > > >                                         | DescriptorIndex;
> > > > > > > >
> > > > > > > >     configDescReq->SetupPacket.wLength = (USHORT)(nBytes -
> > > > > > > > sizeof(USB_DESCRIPTOR_REQUEST));
> > > > > > > >
> > > > > > > >     // Now issue the get descriptor request.
> > > > > > > >     //
> > > > > > > >     success = DeviceIoControl(hHubDevice,
> > > > > > > >
> > > > > > > IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION,
> > > > > > > >                               configDescReq,
> > > > > > > >                               nBytes,
> > > > > > > >                               configDescReq,
> > > > > > > >                               nBytes,
> > > > > > > >                               &nBytesReturned,
> > > > > > > >                               NULL);
> > > > > > > >
> > > > > > > > success is 0 which means failed.
> > > > > > > > The values of wValue (512), wLength (67) and nBytes (79) are
> > > > correct.
> > > > > > > >
> > > > > > > > Does anybody know why this doesn't work?
> > > > > > > >
> > > > > > > > My system is XP SP1, usbser.sys, custom USB device
(CDC/ACM).
> > > > > > > >
> > > > > > > > TIA
> > > > > > > > --
> > > > > > > > Michael Reim
> > > > > > > > reim AT helmut-fischer DOT de
> > > > > > > >


Relevant Pages

  • Re: USBView doesnt show Configuration Descriptor
    ... I didn't realize you weren't using your own driver. ... be a USB 1.1 versus USB 2.0 problem? ... "Michael Reim" ... > "Bill McKenzie" schrieb im Newsbeitrag ...
    (microsoft.public.development.device.drivers)
  • Re: Switching between 2 versions of platform
    ... "Michael Reim" ... I need to produce 2 versions of my platform. ... supported locales, add/remove asian fonts and IMEs, which is very ... Michael DOT Reim AT helmut-fischer DOT de ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USBView doesnt show Configuration Descriptor
    ... After the DeviceIoControl fails did you try a GetLastErrorto get the ... "Michael Reim" ... > "Bill McKenzie" schrieb im Newsbeitrag ... >>> the Interface Descriptors of my device? ...
    (microsoft.public.development.device.drivers)
  • Re: USBView doesnt show Configuration Descriptor
    ... The driver is loading correct. ... There is no error shown in device manager. ... "Bill McKenzie" schrieb im Newsbeitrag ... >> Michael Reim ...
    (microsoft.public.development.device.drivers)
  • Re: Problem with Property Sheet
    ... what platform are you running on? ... "Michael Reim" ... > "Dean Ramsier" schrieb im Newsbeitrag ... >> is XIP from flash. ...
    (microsoft.public.windowsce.platbuilder)