Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2013 20:29:25 -0400
From:      George Mitchell <george+freebsd@m5p.com>
To:        freebsd-current@freebsd.org, freebsd-arm@freebsd.org, Hans Petter Selasky <hps@bitfrost.no>
Subject:   Re: ulpt can't attach Lexmark E120
Message-ID:  <5216ACE5.7000500@m5p.com>
In-Reply-To: <5215F743.8060403@bitfrost.no>
References:  <5105527F.3010708@m5p.com> <201301271915.47712.hselasky@c2i.net> <510570C1.1060607@m5p.com> <201301272007.30682.hselasky@c2i.net> <5105AB16.2000607@m5p.com> <5215F4DF.6000305@m5p.com> <5215F743.8060403@bitfrost.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

Here's the result:

root@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5216ACE5.7000500>