Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2014 21:16:43 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Peter Ulrich Kruppa <ulrich@pukruppa.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Unsupported image scanner ...
Message-ID:  <20140710191643.GC55249@slackbox.erewhon.home>
In-Reply-To: <53BED080.8050200@pukruppa.de>
References:  <53BED080.8050200@pukruppa.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--bKyqfOwhbdpXa4YI
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 10, 2014 at 07:42:24PM +0200, Peter Ulrich Kruppa wrote:
> Hi,
>=20
> I have got an unsupported USB image scanner (EPSON PERFECTION V300
> PHOTO) attached to my FreeBSD 10.0-STABLE amd64 .
> Though I would like to have some fun with it ... This is how far I got:
>=20
> # dmesg
> [...]
> ugen5.2: <EPSON> at usbus5
>=20
>=20
> # usbconfig list
> [...]
> ugen5.2: <EPSON Scanner EPSON> at usbus5, cfg=3D0 md=3DHOST spd=3DHIGH
> (480Mbps) pwr=3DON (2mA)
>=20
> # sane-find-scanner -q
> found USB scanner (vendor=3D0x04b8 [EPSON], product=3D0x0131 [EPSON
> Scanner]) at libusb:/dev/usb:/dev/ugen5.2
>=20
> but:
>=20
> # scanimage -L
>=20
> No scanners were identified. If you were expecting something different,
> check that the scanner is plugged in, turned on and detected by the
> sane-find-scanner tool (if appropriate). Please read the documentation
> which came with this software (README, FAQ, manpages).
>=20
>=20
> So I typed a line into /usr/local/etc/sane.d/epson2.conf :
> 	usb 0x04b8 0x0131
>=20
> The result for scanimage -L remains the same as above. I wouldn't
> exactly expect my scanner to work, but at least it could identify
> itself. Perhaps there is a problem with file and device permissions?

Try using the =E2=80=9Cepson=E2=80=9D backend instead of =E2=80=9Cepson2=E2=
=80=9D; put the line
=E2=80=9Cusb 0x04b8 0x0131=E2=80=9D in /usr/local/etc/sane.d/epson.conf.

Regarding permissions, on my system I created a group named "usb" of which =
I'm
a member. To give me access to USB devices, I put the following in
/etc/devfs.rules;

    [myrules=3D10]
    add path 'da*' mode 0660 group usb
    add path 'msdosfs/*' mode 0660 group usb
    add path 'usb/*' mode 0660 group usb
    add path 'ugen*' mode 0660 group usb

This ruleset is activated in /etc/rc.conf;

   devfs_system_ruleset=3D"myrules"


Hope this helps,

Roland
--=20
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)

--bKyqfOwhbdpXa4YI
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJTvuabAAoJEED21dyjijPgo98P/REkaqPpBFLCnsg7Ss9xt+Ob
6FtK8jJTVHSTcLDURhB0LGy0NMo6KIwu4waP4VibV9vIcBC4vzhzpFay+uXoShKL
QucLYmB9xrwG0AC5ykQ0zxLyhpRB3/u+Q+MzDKEvANsedcc8F187SRRhWj7o3KXE
yYPdj+JdFkszbpEMVm+T3Tq/5ZFlYt/JZn93hzyTALT85dbyM+RCfPqXiY8npxqv
eLDbK5kiJERQwG59ph/ZqT4aBBmWCytTHrP7hXIxXFlyuypiKFKloAMPAYNk3iyX
cvzW4KB/qcEg+yhjH/ESjWOJqQEW65/6GzsMTvu3EVUxopBOhATQ1nvx6z56j7Ld
6C2HyIxEd3fT801bleUnmGt3jI5n7ee9YJa6GPapyZkRybsbgPio2AE9xw90T1Q6
OvMWJ2TpWVPfc+QVSbFVG92c78fepZXEZ/OFEtwgGc8gSFntsZsi3YZvYYfpCBz6
vbcUmAI7GHFaR1c/xcsrVCXX9YnRePBWQCZTbiZP3zr24PUK8ZVuTsZbvlFDQuKM
OwsygHyzRCGPEIgOL1cSkieuzxYdJkfKYF8UmzG7jS6sr6Sj0zA65De+55pz4/qC
WxRBvs2sjt7mPJXzqQLMHgmAElXBGkGTb+eKw9/y32CA28U9BSK6LEyTTYHW7r7S
Whg0MEklRkWhPcieQDir
=Vntw
-----END PGP SIGNATURE-----

--bKyqfOwhbdpXa4YI--



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