Re: ulpt can't attach Lexmark E120

From: George Mitchell <george+freebsd_at_m5p.com>
Date: Thu, 22 Aug 2013 20:29:25 -0400
On 08/22/13 07:34, Hans Petter Selasky wrote:
> On 08/22/13 13:24, George Mitchell wrote:
>> As I was saying a few minutes ago ...
>>
>> On 01/27/13 17:32, George Mitchell wrote:
>>> On 01/27/13 14:07, Hans Petter Selasky wrote:
>>>> [...]  I need output when hw.usb.ulpt.debug=15 to say exactly.
>>>> Could you
>>>> ask the provider of the binaries to compile having USB_DEBUG set, also
>>>> for the
>>>> modules.
>>>>
>>>> --HPS
>>>>
>>>
>>> I'm working on getting a debug build ...  Thanks for your help so far.
>>> I notice that there seem to be only trivial differences between the 9.1
>>> release ulpt and the 10.0 current ulpt driver.              -- George
>>
>> (This is on a Raspberry Pi.)  It took me a bit longer than anticipated,
>> but here is the output, from an image built over last weekend:
>
> Hi,
>
> Could you run:
>
> usbdump -i usbusX -f Y -s 65536
>
> To get a dump of the USB activity when you plug the device? The message
> in question is not important, and might be changed to not cancel the
> ulpt attach routine.
>
> --HPS
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

Here's the result:

root_at_pi:/ # usbdump -i usbus0 -f 4 -s 65536
00:26:01.592494 usbus0.4 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=0
00:26:01.593117 usbus0.4 
DONE-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0
00:26:01.593209 usbus0.4 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0
00:26:01.594146 usbus0.4 
DONE-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0
00:26:01.611621 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
00:26:01.614223 usbus0.4 
DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0,ERR=0
00:26:01.614730 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
00:26:01.617595 usbus0.4 
DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=20,IVAL=0,ERR=0
00:26:01.617758 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
00:26:01.620216 usbus0.4 
DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0
00:26:01.620313 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
00:26:01.622219 usbus0.4 
DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0
00:26:01.622326 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
00:26:01.624208 usbus0.4 
DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0
00:26:01.624305 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
00:26:01.631722 usbus0.4 
DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=16,IVAL=0,ERR=0
00:26:01.631925 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
00:26:01.634217 usbus0.4 
DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0
00:26:01.634315 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
00:26:01.637220 usbus0.4 
DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=44,IVAL=0,ERR=0
00:26:01.637334 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
00:26:01.639214 usbus0.4 
DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0
00:26:01.639312 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
00:26:01.641585 usbus0.4 
DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=28,IVAL=0,ERR=0
00:26:01.641769 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
00:26:01.644209 usbus0.4 
DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=12,IVAL=0,ERR=0
00:26:01.644316 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
00:26:01.651213 usbus0.4 
DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=32,IVAL=0,ERR=0
00:26:01.651316 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0
00:26:01.653219 usbus0.4 
DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0
00:26:01.653321 usbus0.4 SUBM-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=8,IVAL=0
00:26:01.654584 usbus0.4 
DONE-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0

(at which point if I type control-c to stop usbdump, the system gets a
fatal kernel mode translation fault, but that's another story.)  Hope
this helps.                                              -- George
Received on Thu Aug 22 2013 - 22:29:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:40 UTC