From owner-freebsd-current@FreeBSD.ORG Fri Nov 7 11:01:26 2008 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 5C4031065670 for ; Fri, 7 Nov 2008 11:01:26 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id A13348FC1E for ; Fri, 7 Nov 2008 11:01:25 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 07 Nov 2008 10:34:43 -0000 Received: from 85-127-86-44.dynamic.xdsl-line.inode.at (EHLO taxman.pepperland) [85.127.86.44] by mail.gmx.net (mp017) with SMTP; 07 Nov 2008 11:34:43 +0100 X-Authenticated: #16703784 X-Provags-ID: V01U2FsdGVkX19c/a9TvpJcKXPm0SvgX8kxfLH4nI3K1aszbdeXcn BimE4verKsbrxX From: Stefan Ehmann To: freebsd-current@freebsd.org Date: Fri, 7 Nov 2008 11:34:42 +0100 User-Agent: KMail/1.10.1 (FreeBSD/7.1-PRERELEASE; KDE/4.1.2; i386; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811071134.42761.shoesoft@gmx.net> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.65 Subject: usb2: scanner no longer working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2008 11:01:26 -0000 I recompiled sane-backends and linked it against libusb20. The include path needed to be fixed. scanimage -L doesn't detect any scanners. sane-find-scanner correctly detects it on first run: found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan], chip=GL842) at libusb:/dev/usb:/dev/ugen3.2 on subsequent runs no scanners are found dmesg only says ugen3.2: at usbus3 no ugen detached message even if I unplug the scanner I tried some of the debugging sysctls but I couldn't spot anything useful. ugen seems to work in general as I could access my camera with libgphoto2. Will provide more info as needed. -- Stefan