ulpt can't attach Lexmark E120

George Mitchell george+freebsd at m5p.com
Sun Jan 27 18:15:46 UTC 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ulpt.usbdump.xz
Type: application/octet-stream
Size: 5788 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130127/dd2a6b26/attachment.obj>


More information about the freebsd-current mailing list