From owner-freebsd-usb@FreeBSD.ORG Fri Jan 3 08:03:59 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 E3D2B275 for ; Fri, 3 Jan 2014 08:03:58 +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 9CA811398 for ; Fri, 3 Jan 2014 08:03:58 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1VyzjZ-000CKK-0J>; Fri, 03 Jan 2014 09:03:57 +0100 Received: from f052132228.adsl.alicedsl.de ([78.52.132.228] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1VyzjY-001b7J-Rg>; Fri, 03 Jan 2014 09:03:56 +0100 Date: Fri, 3 Jan 2014 09:03:56 +0100 From: "O. Hartmann" To: Hans Petter Selasky Subject: Re: Medion MD 86774 diaphragma/slide scanner: unknown to SANE, how to attach manually? Message-ID: <20140103090356.3a650e8f@thor.walstatt.dyndns.org> In-Reply-To: <52C59284.4060609@bitfrost.no> References: <20140102171315.215e5fdc@thor.walstatt.dyndns.org> <52C59284.4060609@bitfrost.no> 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_/chtRyH5dmGCC3om+eW3cjVY"; protocol="application/pgp-signature" X-Originating-IP: 78.52.132.228 X-ZEDAT-Hint: A Cc: freebsd-usb@freebsd.org 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: Fri, 03 Jan 2014 08:03:59 -0000 --Sig_/chtRyH5dmGCC3om+eW3cjVY Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 02 Jan 2014 17:23:32 +0100 Hans Petter Selasky wrote: > On 01/02/14 17:13, O. Hartmann wrote: > > > > 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 > > bDescriptorType =3D 0x0001 > > bcdUSB =3D 0x0200 > > bDeviceClass =3D 0x00ef > > bDeviceSubClass =3D 0x0002 > > bDeviceProtocol =3D 0x0001 > > bMaxPacketSize0 =3D 0x0040 > > idVendor =3D 0x115b > > idProduct =3D 0x3150 > > bcdDevice =3D 0x0028 > > 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 > > > > usb 0x115b 0x3150 > > > > to "fake" a supported device, but xsane doesn't recognize the > > device at all. > > > > 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? > > > > Please CC me. I'm not subscribing the list. > > > > > > Thanks in advance, > > Oliver > > >=20 > Hi, >=20 > v4l devices are supported by /usr/ports/multimedia/webcamd. >=20 > --HPS The device gets recognized as /dev/video0 so far (using module cuse4bsd/webcamd). Trying the suggested test from SANE via issuing "scanimage -L" does not reveal the mutual video device as described like "v4l:/dev/video0". The scanner is seen on a Linux Ubuntu box as such a device, but I had no further chance for testing, whether the scanner works on that particular system. webcamd obviously recognises the scanning device as a video device. But how can I introduce the device to SANE or even GIMP?=20 Are there further patches for the device driver necessary? --Sig_/chtRyH5dmGCC3om+eW3cjVY Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJSxm7sAAoJEOgBcD7A/5N8whAH+gJhmGgGN8TaRxh5sYHy7O3Q nJTzeej/oJ0eQ0kTol7xvS9o6dfVHTuWuW4OzCyRa/iNQ2qqDOjuz711kFJHOWMH wTWYwxuR5ywM00kFmvmCzhBsW7MNmtKrqkxjpIJREpTyx5xJMO7XSWLZgjwMuk4T iqCWzO6jH9eEoXLUK/ixTMJS5umsQqH9QbABoumqFDExMIMAWXraZmrd1GPcIbRj 7kJRQsVIOX4x6A24v276nVoTPd8bEWWeVAv5eOJp7mqp/eobvSdcjtM+ksefWkL3 mFyBPb/ajuLDyFSMrNlw/xYIAnlp3QgOEZ9TOAFk7ZuAdZnU0Ht5qlaDY0DpT5E= =nSF0 -----END PGP SIGNATURE----- --Sig_/chtRyH5dmGCC3om+eW3cjVY--