Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2010 14:57:21 +1100
From:      Andrew Reilly <areilly@bigpond.net.au>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: SANE vs USB scanner on 8.0
Message-ID:  <20100125035721.GA18157@duncan.reilly.home>
In-Reply-To: <alpine.BSF.2.00.1001240918070.19728@wonkity.com>
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> <alpine.BSF.2.00.1001231952522.16761@wonkity.com> <20100124143139.99b7d102.torfinn.ingolfsen@broadpark.no> <alpine.BSF.2.00.1001240918070.19728@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100125035721.GA18157>