From owner-freebsd-usb@FreeBSD.ORG Mon Mar 9 11:31:27 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D737E1065670; Mon, 9 Mar 2009 11:31:27 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.tele2.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 0D3908FC0C; Mon, 9 Mar 2009 11:31:26 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=xll7L2ZOAAAA:8 a=6I5d2MoRAAAA:8 a=bIvioFqq1CmBcyQuUmcA:9 a=8NTCQHZ-tAjMfby6j9LLyoDreJcA:4 a=LY0hPdMaydYA:10 a=SV7veod9ZcQA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 463430230; Mon, 09 Mar 2009 12:31:25 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 9 Mar 2009 12:33:53 +0100 User-Agent: KMail/1.9.7 References: <20090308.130659.-1303465250.imp@bsdimp.com> <20090308.154353.-1350498283.imp@bsdimp.com> <20090308215604.GD30672@citylink.fud.org.nz> In-Reply-To: <20090308215604.GD30672@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903091233.55089.hselasky@c2i.net> Cc: usb@freebsd.org, Andrew Thompson Subject: Re: Latest kernel breaks scanner X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2009 11:31:28 -0000 On Sunday 08 March 2009, Andrew Thompson wrote: > On Sun, Mar 08, 2009 at 03:43:53PM -0600, M. Warner Losh wrote: > > In message: <20090308203157.GC30672@citylink.fud.org.nz> > > > > Andrew Thompson writes: > > : On Sun, Mar 08, 2009 at 01:06:59PM -0600, M. Warner Losh wrote: > > : > Sigh. Had a working system from Mar 4th. Upgraded now it doesn't > > : > work. Scanner not found by xsane. > > : > > : Are you sure its not this? > > : > > : 20090227: > > : The /dev handling for the new USB stack has changed, a > > : buildworld/installworld is required for libusb20. > > > > Yes. Been there, done that. Also have the libmap.conf changes in > > place for old binaries that had worked for months before that. xsane > > used to just work in this setup, but now fails. Looks like some kind > > of mismatch in the ABI: > > > > found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0 > > Not sure what would have caused that. Before you spend too much time on > this you may want to note that the integration patches for libusb into > the ports build will likely be committed tomorrow. This will bump the > port numbers so the affected ports rebuild, hopefully sane with DTRT > after that. > Maybe you need to chown or rm /dev/uscanner0 to enforce use of libusb backend? --HPS