usbser.sys RTS problem

Discussion in 'Windows Vista Drivers' started by MarkBng, May 8, 2007.

  1. MarkBng

    MarkBng Guest

    Hello,

    At the moment we are developing an ARM7 board with a CDC USB implementation.
    Everything works fine in linux. The state of RTS and DTR is passed to the
    device. There is a problem with usbser.sys in Windows XP SP2 (). RTS is not
    set/reset when this line is changed by a windows application. The state of
    the RTS-line is only be passed to the device if the DTR level is changed.
    There is no problem if I just want to send the DTR to the device. Usbser.sys
    sends this to the device when the level has been changed.
    This is the bus hound log file of the USB transfers:
    Device Phase Data Description Cmd.Phase.Ofs(rep)
    ------ ----- ------------------------ ---------------- ------------------
    35.0 CTL 21 22 01 00 00 00 00 00 SET CTRL LINE ST 1.1.0

    35.0 CTL 21 22 00 00 00 00 00 00 SET CTRL LINE ST 2.1.0

    35.0 CTL 21 22 03 00 00 00 00 00 SET CTRL LINE ST 3.1.0

    35.0 CTL 21 22 02 00 00 00 00 00 SET CTRL LINE ST 4.1.0

    With the first line the DTR is set. Line2 clears the DTR. After Line2, I set
    the RTS line. Between Line2 and line3 should appear this line:
    35.0 CTL 21 22 02 00 00 00 00 00 SET CTRL LINE ST 3.1.0
    The new state of the RTS line is only passed when I set the DTR in line3. In
    line4, I reset DTR and the RTS line is still set.
    My question: How can I solve this problem? Does microsoft release a new
    version of usbser.sys or can I modify the driver (that is provided with
    WinDDK??)?

    Kind regards,
    Mark
     
    MarkBng, May 8, 2007
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.