From owner-freebsd-current@FreeBSD.ORG Sun Mar 22 16:29:24 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D43041065670 for ; Sun, 22 Mar 2009 16:29:24 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 604B68FC27 for ; Sun, 22 Mar 2009 16:29:23 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id n2MFt1Vs063720 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 22 Mar 2009 16:55:01 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by cicely5.cicely.de (8.14.2/8.14.2) with ESMTP id n2MFswQp041098 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 22 Mar 2009 16:54:58 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id n2MFswUi007509; Sun, 22 Mar 2009 16:54:58 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id n2MFsv5F007508; Sun, 22 Mar 2009 16:54:57 +0100 (CET) (envelope-from ticso) Date: Sun, 22 Mar 2009 16:54:57 +0100 From: Bernd Walter To: debardeleben@aol.com Message-ID: <20090322155457.GB88917@cicely7.cicely.de> References: <8CB78F29832919B-1574-3D1E@WEBMAIL-MY24.sysops.aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8CB78F29832919B-1574-3D1E@WEBMAIL-MY24.sysops.aol.com> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spamd.cicely.de Cc: freebsd-current@freebsd.org, freebsd@cfdhome.com Subject: Re: Suggested fix for USB printer (ulpt.c) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2009 16:29:25 -0000 Interesting - I have problems with ulpt as well: ulpt0: on usbus2 ulpt0: using bi-directional mode ulpt1: on usbus1 ulpt1: using bi-directional mode ulpt1: out of paper ulpt2: on usbus1 ulpt2: using bi-directional mode ulpt2: out of paper ulpt0 prints and the others are just plugged in cables. But none of them is listed with usbconfig: [80]cicely13# usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.2: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen3.2: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen2.2: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen1.3: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.4: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen3.3: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen3.4: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen3.6: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.7: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen3.8: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.5: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON With the prolific connected usbconfig even takes a few seconds, while it is fast otherwise. On Sun, Mar 22, 2009 at 06:46:30AM -0400, debardeleben@aol.com wrote: > I finally got fed up enough with not being able to print with -CURRENT, > and found a fix that make ulpt work for me with my epson stylus photo 835. > > I am using cups, and I have always needed to use the non-reset device, > even with the old USB stack. Hopefully a committer can pick this up and > include an appropriate version of this fix to the source tree. In the mean > time, if you are having trouble with a usb printer with -CURRENT, you > may want to try this patch. > > I am attaching a patch file (referenced at /usr/src/sys/dev/usb/serial > from my system. The change is to initialize sc_fflags to 0 when > attaching the device. This is allowing open to stop returning EBUSY. > > Now on to finding out why using my newly accessible firewire disks > resulted in filesystem corruption on all of my filesystems. I suspect > some missing lock. Its very annoying, and I lost a lot of important > files. (I will be doing a full backup of all of my disks before > connecting my firewire disks back up). > > -Charles > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.