From owner-freebsd-current@FreeBSD.ORG Sun Jan 27 18:14:35 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E5DE8F19 for ; Sun, 27 Jan 2013 18:14:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id 835DAEF4 for ; Sun, 27 Jan 2013 18:14:34 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 372808687; Sun, 27 Jan 2013 19:14:33 +0100 From: Hans Petter Selasky To: George Mitchell Subject: Re: ulpt can't attach Lexmark E120 Date: Sun, 27 Jan 2013 19:15:47 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <5105527F.3010708@m5p.com> <201301271733.14312.hselasky@c2i.net> <51056CAC.9070105@m5p.com> In-Reply-To: <51056CAC.9070105@m5p.com> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2013 18:14:36 -0000 On Sunday 27 January 2013 19:06:36 George Mitchell wrote: > On 01/27/13 11:33, Hans Petter Selasky wrote: > > On Sunday 27 January 2013 17:14:55 George Mitchell wrote: > >> System: Raspberry Pi > >> uname: r245840M (Alie Tan's image from 25 January) > >> > >> By comparison, this Lexmark E120 printer attaches and prints with no > >> difficulty on FreeBSD-9.1-RELEASE, but on CURRENT, it says: > >> > >> ugen0.5: at usbus0 > >> ulpt1: >> addr 5> on usbus0 > >> device_attach: ulpt1 attach returned 12 > >> > >> Also, an HP CM1015 attaches without a problem. What should I try next? > > > > Also try to set: > > > > sysctl hw.usb.ulpt.debug=15 > > It's a non-debug build of ulpt, so that doesn't exist: > sysctl: unknown oid 'hw.usb.ulpt.debug': No such file or directory > > > before attaching. > > > > Also try to attach one printer alone. > > > > --HPS > > After unplugging the HP: > > root@pi:/home/george # usbconfig > ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE > ugen0.2: at usbus0, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=SAVE > ugen0.3: at usbus0, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON > ugen0.4: at usbus0, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON > > I attached the usbdump output, though there seem to be quite a few > packets not connected with ulpt burying the interesting packets in > the noise. -- George Hi, I don't see any errors in the usbdump trace you sent. So we can at least rule that out. Hint: You can filter traffic using the -f option for usbdump. What does: usbconfig dump_device_desc dump_curr_config_desc output? Can you also get same output from working system? --HPS