[8-STABLE] USB printer disconnecting when trying to print

Warren Block wblock at wonkity.com
Fri May 21 16:12:55 UTC 2010


On Fri, 21 May 2010, Thomas Gellekum wrote:

> my new machine doesn't have a physical connector for a parallel printer
> anymore, so I'm now connecting my Brother HL-1250 through the USB port.
> The printer is recognized when it powers up:
>
> ugen0.4: <vendor 0x04f9> at usbus0
> ulpt0: <vendor 0x04f9 product 0x0007, class 0/0, rev 1.00/1.00, addr 4> on usbus0
> ulpt0: using bi-directional mode
>
> and it starts warming up when I try to print, but no page is coming out.
> After setting hw.usb.debug.ulpt=1, hw.usb.debug.ugen=1, I do a
>
> echo "hallo" > /dev/ulpt0
>
> and get lots of lines starting with the same usbd_transfer_submit shown
> below (are these actually related to the printer? I'm guessing they are
> mouse events):

openprinting.org says that printer does support plain text, so the first 
thing to try would be using the unlpt0 device.

-Warren Block * Rapid City, South Dakota USA


More information about the freebsd-stable mailing list