Re: The behaviour of usbser.sys



On Jul 1, 9:14 pm, Julian Zhang <daemon...@xxxxxxxxxxx> wrote:

chris.aselt...@xxxxxxxxx wrote:

You didn't post your exact SERIAL_STATE message, but I doubt it
matters.

Thank you for your answer.

My SERIAL_STATE is as follows:

bTxCarrier 1
bRxCarrier 1
(All other bits are set to zero.)

I suspect bRxCarrier (which is equivalent to DC signal of RS-232)
should not be 1.

That still isn't a SERIAL_STATE message. SERIAL_STATE is ten bytes in
length. Can you post all ten bytes?

If you are literally sending all zeroes except those two bits, that's
wrong.

If you can't open the port, I suspect you are not really handling the
CDC endpoint 0 zero requests correctly, as closing and opening the
port alone won't affect the bulk/interrupt behavior.

What's the function of zero-length requests? Where does related
specification located in the CDC spec. ?

Sorry, that's a typo. ("Endpoint 0 zero requests" -- should just have
said "endpoint zero requests" or "endpoint 0 requests".)

Meaning, SET_CONTROL_LINE_STATE, GET_LINE_CODING, SET_LINE_CODING, and
SET_BREAK (or whatever). I think you mentioned you already support
these.

I would take an analyzer trace to see what's going on with the bus
when you open the port. If you are opening the device in
Hyperterminal, you're going to see a steady stream of the above
requests as the application configures baud rate, etc.

If you are just STALLing these requests, or otherwise not handling
them correctly, you will see bad app behavior when you open the port.

.



Relevant Pages

  • Re: Web Chaining - Ausgehender Port für SSL
    ... den isa, weil du ihre browserkonfigurationen angepasst hast. ... somit schickt dein isa die requests an den squid und bittet jenen ... auseinandernimmt und je nach Aufbau an den entsprechenden Port ... Also bekommt der upstream-Proxy das nur auf die entsprechenden Ports ...
    (microsoft.public.de.german.isaserver)
  • Re: ARP question
    ... UDP port 1026, ... As far as I know ARP requests are only made in LANs and it's impossible ... I got 1871 ARP requests, 1870 were from the Cable company, and one was ...
    (Fedora)
  • Host configuration problem?
    ... I have recently set up a server running FreeBSD 6 to host a test web ... memory usage, CPU never dips below 80%ish idle and memory stays pretty ... Apache 2.2.0.6 that serves static content and forwards dynamic requests ... should be established on the same localhost port. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: PPC MSMQ Help!
    ... I believe that Active Sync is the culprit here in blocking requests. ... Here is a snippet about how to allow AS to forward port requests. ... connections being generated from your desktop machine itself, ...
    (microsoft.public.pocketpc.developer)
  • Re: Web Chaining - Ausgehender Port für SSL
    ... isa, weil du ihre browserkonfigurationen angepasst hast. ... somit schickt dein isa die requests an den squid und bittet jenen wiederum ... dass der ISA auf Port 80 ein HTTP-Connect an den Squid stellt.. ... Also bekommt der upstream-Proxy das nur auf die entsprechenden Ports ...
    (microsoft.public.de.german.isaserver)