Re: Device enumeration fails

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



After getting ahold of a USB protocol analyzer, I think I got this one
figured out. The device I was trying to enumerate was not responding as
expected when sending a descriptor request in certain situations. When
asking for a descriptor that was an even multiple of the max packet size on
the control endpoint, the device did not want to ACK in the handshake phase.
Instead the host would keep sending and OUT and zero length data packet, but
the device would continually respond with NAK.
I changed the host controller driver to ask for more than the total size of
the descriptor (ie ask for 33 bytes instead of 32) when it was an even
multiple and set the USB_SHORT_TRANSFER_OK flag in the IssueTransfer call in
GetDescriptor. When I did this, the device would return whatever data it had
(32 bytes for the config descriptor), then would issue a zero length data
packet to indicate the data stage was done. When the host sent the
handshake, the device now responded correctly with an ACK. After this
change, the device enumerated and the driver was loaded correctly.
.



Relevant Pages

  • Re: DNS NAT Problem
    ... When responding to posts, please "Reply to Group" via your newsreader so ... Because of physical location and network structure it is ... folder) is not a valid host name", click OK to create the record anyway). ...
    (microsoft.public.windows.server.dns)
  • Re: SMTP Errors - Black Hole Router
    ... The people here on this forum suggested all kinds of things that we could be doing wrong with Exchange and our mail setup, ... Instead of responding back that the packet needs to be broken up into smaller fragments, the transmission times out and the packet gets dropped. ... other symptoms that had occurred before the implementation of the Exchange server is that we at first were only using the SBS as a DHCP server and gateway. ... When clients on the network tried to send mail through Outlook and the ISP's SMTP server, we had similar problems where mail was not going out due to the router dropping large packets and not responding back with the appropriate response. ...
    (microsoft.public.windows.server.sbs)
  • Re: recursive DNS servers DDoS as a growing DDoS problem
    ... The amplification isn't in the number of hosts responding, but in packet size. ... RRset in the wild (or one that will come with large authority and/or ...
    (Bugtraq)
  • Re: SMTP Timeout
    ... through turning on SMTP logging in order to see the actual data. ... If their not responding after my data; I don't know if there is a setting to ... >> Anyone seen an SMTP server simply stop responding during a session with ... The host never sends any data. ...
    (microsoft.public.exchange2000.protocols)
  • Re: Nmap progress
    ... But with UDP and TCP-SYN scanning, ... > since they are not stateful they don't show up when using netstat. ... > particular host is REALLY slow at responding to UDP or TCP/SYN ...
    (comp.security.unix)