problem with usb printer

Andrew Thompson thompsa at FreeBSD.org
Sat Mar 14 20:36:47 PDT 2009


On Sun, Mar 15, 2009 at 02:55:04AM +0100, Alexander Best wrote:
> i recompiled my kernel with the p4-files, but still nothing get's printed.
> 
> this is what i get when attaching the device:
> 
> ugen0.3: <Samsung Electronics Co., Ltd.> at usbus0
> ulpt_probe:472:
> ulpt_attach:498: sc=0xc5a4c900
> ulpt0: <Samsung Electronics Co., Ltd. Samsung ML-1510_700, class 0/0, rev
> 1.10/1.00, addr 3> on usbus0
> ulpt_attach:538: setting alternate config number: 0
> ulpt0: using bi-directional mode
> 
> and this when i try to print something:
> 
> ulpt_reset:164:
> ulpt_write_callback:203: state=0x0
> ulpt_write_callback:203: state=0x1
> ulpt_write_callback:203: state=0x1
> 
> i also enabled debugging output in the cups config file, but that didn't
> reveal any errors.
> 
> right now i'm trying to build a kernel with the old usb stack to see if the
> problem get's solved. if the problem then still exists cups must be causing
> the problems. unfortunately building the kernel with the old usb stack fails:
> 
> /usr/src/sys/legacy/dev/usb/ehci.c:84:27: error: dev/usb/usbdi.h: No such file
> or directory

You need to add

 makeoptions	WITH_LEGACY

to your kernel config so it can find the old usb headers.

Andrew


More information about the freebsd-usb mailing list