From owner-freebsd-usb@FreeBSD.ORG Thu Jan 2 16:22:24 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 BB4B127B for ; Thu, 2 Jan 2014 16:22:24 +0000 (UTC) Received: from mta04.bitpro.no (mta04.bitpro.no [92.42.64.203]) by mx1.freebsd.org (Postfix) with ESMTP id 75C58186D for ; Thu, 2 Jan 2014 16:22:24 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta04.bitpro.no (Postfix) with ESMTPS id C6D33100595; Thu, 2 Jan 2014 17:22:21 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id CEEE68F7042; Thu, 2 Jan 2014 17:23:06 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o1j1J8TCumgO; Thu, 2 Jan 2014 17:23:06 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 0551F8F703B; Thu, 2 Jan 2014 17:23:05 +0100 (CET) Message-ID: <52C59284.4060609@bitfrost.no> Date: Thu, 02 Jan 2014 17:23:32 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "O. Hartmann" , freebsd-usb@freebsd.org Subject: Re: Medion MD 86774 diaphragma/slide scanner: unknown to SANE, how to attach manually? References: <20140102171315.215e5fdc@thor.walstatt.dyndns.org> In-Reply-To: <20140102171315.215e5fdc@thor.walstatt.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:22:24 -0000 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=0 md=HOST > spd=HIGH (480Mbps) pwr=ON (500mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x00ef > bDeviceSubClass = 0x0002 > bDeviceProtocol = 0x0001 > bMaxPacketSize0 = 0x0040 > idVendor = 0x115b > idProduct = 0x3150 > bcdDevice = 0x0028 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 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 > Hi, v4l devices are supported by /usr/ports/multimedia/webcamd. --HPS