Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2009 14:25:53 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: SANE vs USB scanner on 8.0
Message-ID:  <200910291426.06538.doconnor@gsoft.com.au>
In-Reply-To: <200909302341.40232.doconnor@gsoft.com.au>
References:  <200909282240.53802.doconnor@gsoft.com.au> <200909281536.38747.hselasky@c2i.net> <200909302341.40232.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart4109177.tmPggfqQuW
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wed, 30 Sep 2009, Daniel O'Connor wrote:
> On Mon, 28 Sep 2009, Hans Petter Selasky wrote:
> > -       if (sscanf(dev, "libusb:%d:%d", &busnum, &devnum) !=3D 2)
> > +       if ((sscanf(dev, "libusb:%d:%d", &busnum, &devnum) !=3D 2) &&
> > +           (sscanf(dev, "libusb:/dev/usb:ugen%d.%d", &busnum,
> > &devnum) !=3D 2)) {
> >             DBG (DL_MAJOR_ERROR, "%s: could not parse device
> > string: %s\n", me, strerror(errno));
> >             return 0;
> >
> > If it works, get the patch sent to the sane developers.
>
> Unfortunately no (I reworked it to match the path it uses) and now it
> segfaults. I rebuilt sane with debugging (is there some way to make
> libtool not strip on install? It's so tedious manually editing
> makefiles to remove -s..) as well as libusb.

Have you had a chance to look at this? :)

Thanks.

PS I'm not subscribed to usb@ so perhaps I missed a reply.

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart4109177.tmPggfqQuW
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iD8DBQBK6RJW5ZPcIHs/zowRAgX3AJ4teM+XjL3+BUHSFu1SR1ZZrS5J5gCfT7qD
hcrHy9+cnMA+SncGm9ismu4=
=KQqn
-----END PGP SIGNATURE-----

--nextPart4109177.tmPggfqQuW--



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