Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2014 17:13:15 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
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>

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

[-- Attachment #1 --]

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: <Salix Corp.> at usbus7

Issuing the command usbconfig as shown below reveals

usbconfig -u 7 -a 6 dump_device_desc
ugen7.6: <USB Scanner 5MP Salix Corp.> 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  <Salix Corp.>
  iProduct = 0x0002  <USB Scanner 5MP>
  iSerialNumber = 0x0000  <no string>
  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

[-- Attachment #2 --]
-----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-----

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