Re: MAX3421E: device giving NAKs forever?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 11, 2014 at 12:43 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> On Tue, 11 Mar 2014, David Mosberger wrote:
>
>> So I hooked up a Seleae Logic and I still can't find anything obvious
>> that's wrong.  I attached the decoded USB trace for the last WRITE10
>> request that's ends up with "infinite" NAKs.
>>
>> After receiving 8 contiguous NAKs, my driver prints some kernel
>> messages and a command log trace, so that's why after the 8th NAK you
>> see nothing more going on.  In reality, the OUT commands keep getting
>> NAKd after the kernel messages are printed.
>>
>> From what I can see, usb-storage sends a valid WRITE10 command
>> indicating that it will write 61440 bytes.
>
> Actually it says that it will write 122880 bytes.

Ah, OK.

>>  After ~147x 64-byte writes
>> (~9408 bytes) the NAKs start.  Previous WRITE10s with same length work
>> fine.
>>
>> Anybody sees anything wrong in this trace?
>
> It looks like the host controller is behaving correctly, which means
> the fault is in the device.  Have you tried plugging this device into a
> regular Linux PC and running the same test?

Yup, works fine at least at least at hispeed.  I suppose I should try
the "enable UHCI only" trick to see if I can test the device at
full-speed on my computer.

  --david

> Alan Stern
>



-- 
eGauge Systems LLC, http://egauge.net/, 1.877-EGAUGE1, fax 720.545.9768
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux