From owner-freebsd-usb@FreeBSD.ORG Thu Jan 2 16:13:29 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A58CC8F for ; Thu, 2 Jan 2014 16:13:29 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 45A451778 for ; Thu, 2 Jan 2014 16:13:29 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) for freebsd-usb@freebsd.org with esmtp (envelope-from ) id <1Vyktc-0017RH-NE>; Thu, 02 Jan 2014 17:13:20 +0100 Received: from g226187143.adsl.alicedsl.de ([92.226.187.143] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.82) for freebsd-usb@freebsd.org with esmtpsa (envelope-from ) id <1Vyktc-000lZP-If>; Thu, 02 Jan 2014 17:13:20 +0100 Date: Thu, 2 Jan 2014 17:13:15 +0100 From: "O. Hartmann" To: freebsd-usb@freebsd.org Subject: Medion MD 86774 diaphragma/slide scanner: unknown to SANE, how to attach manually? Message-ID: <20140102171315.215e5fdc@thor.walstatt.dyndns.org> Organization: FU Berlin X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/NlnBw3jzBZ6ZCaOt9sC7Sh0"; protocol="application/pgp-signature" X-Originating-IP: 92.226.187.143 X-ZEDAT-Hint: A X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2014 16:13:29 -0000 --Sig_/NlnBw3jzBZ6ZCaOt9sC7Sh0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I got a simple USB slide film scanner (Medion MD 86774). This USB attached scanner is supposed to work in Linux with v4l, recognized as a camera device. I'm running 11.0-CURRENT #3 r260189: Thu Jan 2 13:20:15 CET 2014 amd64, having installed ports graphics/sane-backends, graphics/xsane. Attaching the scanner to the USB bus makes the kernel giving this report: ugen7.6: at usbus7 Issuing the command usbconfig as shown below reveals usbconfig -u 7 -a 6 dump_device_desc ugen7.6: at usbus7, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON (500mA) bLength =3D 0x0012=20 bDescriptorType =3D 0x0001=20 bcdUSB =3D 0x0200=20 bDeviceClass =3D 0x00ef=20 bDeviceSubClass =3D 0x0002=20 bDeviceProtocol =3D 0x0001=20 bMaxPacketSize0 =3D 0x0040=20 idVendor =3D 0x115b=20 idProduct =3D 0x3150=20 bcdDevice =3D 0x0028=20 iManufacturer =3D 0x0001 iProduct =3D 0x0002 iSerialNumber =3D 0x0000 bNumConfigurations =3D 0x0001 Well, I'd like to do some experiments and I do not know where to start. In /usr/local/etc/sane.d/ I created a new file called "medion.conf" containing=20 usb 0x115b 0x3150 to "fake" a supported device, but xsane doesn't recognize the device at all.=20 It may sound naiv, but can someone tell me how to use this scanner device as a v4l device as it is recognized in Ubuntu 13 (kernel 3.2)? Is there a "generic" way to provide essential informations to the SANE backend for a new device?=20 Please CC me. I'm not subscribing the list. Thanks in advance, Oliver --Sig_/NlnBw3jzBZ6ZCaOt9sC7Sh0 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJSxZAfAAoJEOgBcD7A/5N8z1wIAKlWVS8Suz7Msr9krpAGfE7E YnlPK3LTNvJ4uLNgTPJd07QAa/iKZ5T2OleBChJcr25mAHiw6MJdI8PP4U/Nr33T 9fbnnB/u6cPOwEFDuYHkfmIjMw6s55ip5nPHET7AKhgou5PYyVQUeDan7BW5qoWI l87Gl5jyBQe6PGevQ8dfCAuTFn59R80/IFhkmuAAOsCcAV/LZqMpBkml9Wx5UNG9 WY+kFP3JPqB7Otl1sDP4mzJRvrTasmMuA9eWvekOD1uP0GK8GM7hNL72uzt2gnQk mW8m1PPihyio3ZgzkdN2Ob1np6Rh++XbCgDnHSSX7MtBsc2y5600P0J43W/Etoc= =gNqD -----END PGP SIGNATURE----- --Sig_/NlnBw3jzBZ6ZCaOt9sC7Sh0--