From owner-freebsd-usb@FreeBSD.ORG Mon Jan 25 03:57:24 2010 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 293651065679 for ; Mon, 25 Jan 2010 03:57:24 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nskntmtas02p.mx.bigpond.com (nskntmtas02p.mx.bigpond.com [61.9.168.140]) by mx1.freebsd.org (Postfix) with ESMTP id A0A758FC1E for ; Mon, 25 Jan 2010 03:57:23 +0000 (UTC) Received: from nskntotgx03p.mx.bigpond.com ([124.188.161.100]) by nskntmtas02p.mx.bigpond.com with ESMTP id <20100125035722.ZOOM93.nskntmtas02p.mx.bigpond.com@nskntotgx03p.mx.bigpond.com>; Mon, 25 Jan 2010 03:57:22 +0000 Received: from duncan.reilly.home ([124.188.161.100]) by nskntotgx03p.mx.bigpond.com with ESMTP id <20100125035721.EIOR24930.nskntotgx03p.mx.bigpond.com@duncan.reilly.home>; Mon, 25 Jan 2010 03:57:21 +0000 Date: Mon, 25 Jan 2010 14:57:21 +1100 From: Andrew Reilly To: Warren Block Message-ID: <20100125035721.GA18157@duncan.reilly.home> References: <200909282240.53802.doconnor@gsoft.com.au> <200910291205.05757.hselasky@c2i.net> <200910292313.24636.doconnor@gsoft.com.au> <200910291347.10390.hselasky@c2i.net> <20100110184252.a2efd4cd.torfinn.ingolfsen@broadpark.no> <20100124031045.ad6515c9.torfinn.ingolfsen@broadpark.no> <20100124143139.99b7d102.torfinn.ingolfsen@broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Authentication-Info: Submitted using SMTP AUTH LOGIN at nskntotgx03p.mx.bigpond.com from [124.188.161.100] using ID areilly@bigpond.net.au at Mon, 25 Jan 2010 03:57:21 +0000 X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150205.4B5D16A2.0019,ss=1,fgs=0 X-SIH-MSG-ID: qhs0EdL3TAD0zmQs0WyzOwJxyArnqyN48Z4QX81loRIGTUDCp8DeQ9reLP1Ru9+4xDxJJhqGNGQnaa7mTY3Rs9mK Cc: freebsd-usb@freebsd.org Subject: Re: SANE vs USB scanner on 8.0 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, 25 Jan 2010 03:57:24 -0000 On Sun, Jan 24, 2010 at 09:32:43AM -0700, Warren Block wrote: > On Sun, 24 Jan 2010, Torfinn Ingolfsen wrote: > > > >This is already in snapscan.conf: > ># Agfa 1212U > >usb 0x06bd 0x0001 > >usb 0x06bd 0x2061 > > > >The last one is the id; why there are two lines I don't know. > > There are two versions of the Agfa 1212U. > > >>Just to add: due to the popularity of all-in-one inkjet/scanner/coffee > >>machine/clock radio units, flatbed scanners are getting really cheap at > >>thrift stores. I bought an HP 2300C for the princely sum of $2 last > >>week. It's not much of a scanner, but it works fine with FreeBSD and > >>doesn't need a firmware download. The Epsons are better (IMO), but not > >>as common. > > > >I agree; flatbed scanners are cheap. However; I have this unit already > >taking up some space here, > >it works with earlier versions of FreeBSD, so I would prefer that I could > >get it working > >with FreeBSD 8 as well. > > Understood. It looks like it's going to take some work on the backend > for that to happen. As Hans said, best to file a bug report at > http://www.sane-project.org/bugs.html. For what it's worth, I appear to be in exactly the same situation as Torfinn, with my snapscan-e20. I've now run the back-end with the SANE_DEBUG_SNAPSCAN env set to 255, and it is clear that it is running into the same device string parsing issue: [sanei_debug] Setting debug level of snapscan to 255. [snapscan] sane_snapscan_init [snapscan] sane_snapscan_init: Snapscan backend version 1.4.53 [snapscan] add_usb_device(libusb:/dev/usb:/dev/ugen0.3) [snapscan] add_usb_device: Detected (kind of) an USB device [snapscan] snapscani_usb_open(libusb:/dev/usb:/dev/ugen0.3) [snapscan] snapscani_mutex_open: could not parse device string: Invalid argument [snapscan] snapscani_usb_open: Can't get semaphore [snapscan] add_usb_device: error opening device libusb:/dev/usb:/dev/ugen0.3: Invalid argument [snapscan] sane_snapscan_get_devices (0x7fffffffcbe0, 0) [snapscan] sane_snapscan_exit I'll see if I can help with the bug reportage. I know scanners are inexpensive (this one was), but it used to work very nicely for my purposes, so I'd like to un-break the software, by preference. Cheers, -- Andrew