From owner-freebsd-questions@FreeBSD.ORG Thu Jul 10 19:17:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D5586A2 for ; Thu, 10 Jul 2014 19:17:58 +0000 (UTC) Received: from lb1-smtp-cloud6.xs4all.net (lb1-smtp-cloud6.xs4all.net [194.109.24.24]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 268112AE1 for ; Thu, 10 Jul 2014 19:17:57 +0000 (UTC) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud6.xs4all.net with ESMTP id QjGj1o00u07iGuj01jGkGC; Thu, 10 Jul 2014 21:16:44 +0200 Received: by slackbox.erewhon.home (Postfix, from userid 1001) id 5A3B312364; Thu, 10 Jul 2014 21:16:43 +0200 (CEST) Date: Thu, 10 Jul 2014 21:16:43 +0200 From: Roland Smith To: Peter Ulrich Kruppa Subject: Re: Unsupported image scanner ... Message-ID: <20140710191643.GC55249@slackbox.erewhon.home> Mail-Followup-To: Peter Ulrich Kruppa , freebsd-questions@freebsd.org References: <53BED080.8050200@pukruppa.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bKyqfOwhbdpXa4YI" Content-Disposition: inline In-Reply-To: <53BED080.8050200@pukruppa.de> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 19:17:58 -0000 --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: at usbus5 >=20 >=20 > # usbconfig list > [...] > ugen5.2: 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--