From owner-freebsd-stable@FreeBSD.ORG Sun Feb 26 01:45:07 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7123C16A420 for ; Sun, 26 Feb 2006 01:45:07 +0000 (GMT) (envelope-from hk@alogis.com) Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D424C43D48 for ; Sun, 26 Feb 2006 01:45:06 +0000 (GMT) (envelope-from hk@alogis.com) Received: from alogis.com (localhost [127.0.0.1]) by alogis.com (8.13.1/8.13.1) with ESMTP id k1Q1j4AB071042; Sun, 26 Feb 2006 02:45:04 +0100 (CET) (envelope-from hk@alogis.com) Received: (from hk@localhost) by alogis.com (8.13.1/8.13.1/Submit) id k1Q1j4SH071041; Sun, 26 Feb 2006 02:45:04 +0100 (CET) (envelope-from hk) Date: Sun, 26 Feb 2006 02:45:04 +0100 From: Holger Kipp To: Ian Dowse Message-ID: <20060226014504.GA70714@intserv.int1.b.intern> References: <20060226003321.GA69571@intserv.int1.b.intern> <200602260040.aa33776@nowhere.iedowse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200602260040.aa33776@nowhere.iedowse.com> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org Subject: Re: usb/scanimage broken on 6.1-PRERELEASE [solved] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2006 01:45:07 -0000 On Sun, Feb 26, 2006 at 12:40:53AM +0000, Ian Dowse wrote: > In message <20060226003321.GA69571@intserv.int1.b.intern>, Holger Kipp writes: > >Problem still exists with the latest 6.1-PRERELEASE - build > >just finished (FreeBSD 6.1-PRERELEASE #11: Sun Feb 26 00:56:42 CET 2006). > > > >scanimage will remain in state uscnrb. > > > > One change that went in since Feb 13th was removing code that clears > USB endpoint stalls every time a pipe is opened. It's possible that > this is causing problems with the USB "data toggle" value not being > set correctly, since a side-effect of clearing stalls is to reset > the device's idea of the correct toggle value. > > You could try the following patch on the off-chance that it helps - > unfortunately I haven't found any devices that exibit this problem > yet, so I can't tell if this patch actually does what it should. Hello Ian, thank you for the very quick response, and yes, after applying your patches, scanning is up and running again like it used to be! I can only test the Epson Perfection 1260 (plustek) and an 8-in-1 card reader, but so far have not noticed any ill side effects. Best regards, Holger