Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2009 20:36:41 -0700
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Alexander Best <alexbestms@math.uni-muenster.de>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: problem with usb printer
Message-ID:  <20090315033641.GD24680@citylink.fud.org.nz>
In-Reply-To: <permail-200903150155041e86ffa8000021b1-a_best01@message-id.uni-muenster.de>
References:  <200903150210.58509.hselasky@c2i.net> <permail-200903150155041e86ffa8000021b1-a_best01@message-id.uni-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090315033641.GD24680>