Re: ulpt can't attach Lexmark E120

From: George Mitchell <george+freebsd_at_m5p.com>
Date: Sun, 27 Jan 2013 13:15:35 -0500
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: <Lexmark International> at usbus0
 >> ulpt1: <Lexmark International Lexmark E120n, class 0/0, rev 2.00/1.00,
 >> 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_at_pi:/home/george # usbconfig
ugen0.1: <OTG Root HUB DWCOTG> at usbus0, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE
ugen0.2: <product 0x9512 vendor 0x0424> at usbus0, cfg=0 md=HOST 
spd=HIGH (480Mbps) pwr=SAVE
ugen0.3: <product 0xec00 vendor 0x0424> at usbus0, cfg=0 md=HOST 
spd=HIGH (480Mbps) pwr=ON
ugen0.4: <Lexmark E120n Lexmark International> 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


Received on Sun Jan 27 2013 - 17:15:46 UTC

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