On Friday 09 October 2009 13:05:42 Martin Knoblauch wrote: > ----- Original Message ---- > > > From: Laurent Pinchart <[email protected]> > > To: [email protected] > > Cc: Martin Knoblauch <[email protected]> > > Sent: Fri, October 9, 2009 12:59:58 AM > > Subject: Re: [Linux-uvc-devel] Reflecta RubyScan (ID 115b:3100 Salix > > Technology Co., Ltd.) > > > > Hi Martin, > > > > On Wednesday 07 October 2009 20:24:22 Martin Knoblauch wrote: > > > Hi, > > > > > > I have recently accquired a Reflecta RubyScan slide scanner. Works fine > > > "on the other OS". Does 1800 dpi, 2556x1704 pixels. > > > > > > Under Linux the results are not so good. "sane" does not like it at > > > all. "uvccapture-0.5" only works partially. It gives a lot of ioctl > > > errors and it works only with 1984x1328 pixels, which is 1400 dpi. > > > > From the attached lsusb output (thanks for the information btw) the > > scanner only supports 1984x1328. Could it be using software interpolation > > on the "other OS" ? > > Hi Laurent, > > you might be right and the sensor my actually be limited to 1984x1328. On > the other hand there already was a prior report of this device that shows > 2048x1536. Kind of strange. Maybe you are right about the software > interpolation. The advertisement is not very clear here. > > > > [r...@l6g0223j uvccapture-0.5]# ./uvccapture -v -v -x2556 -y1704 > > > Using videodevice: /dev/video0 > > > Saving images to: snap.jpg > > > Image size: 2556x1704 > > > Taking snapshot every 0 seconds > > > Taking images using mmap > > > format asked unavailable get width 1984 height 1328 > > > Resetting camera settings > > > ioctl querycontrol error 22 > > > ioctl querycontrol error 22 > > > ioctl querycontrol error 22 > > > Camera brightness level is 0 > > > ioctl querycontrol error 22 > > > Camera contrast level is -1 > > > ioctl querycontrol error 22 > > > Camera saturation level is -1 > > > ioctl querycontrol error 22 > > > Camera gain level is -1 > > > Grabbing frame > > > Saving image to: snap.jpg > > > > uvccapture tries to read (and possibly modify) the contrast, saturation > > and gain parameters. The scanner doesn't support those, so the ioctl > > fails. > > > > If you want more information about what the application does you could > > set the trace parameter when loading the uvcvideo driver. trace is a > > bitmask and the bit values are defined in uvcvideo.h. 15 is a good value > > to get verbose messages during initialisation and control/format-related > > calls from userspace without flooding the log with capture-related > > messages. > > > > > Any advice to get this to work "correctly"? I am running CentOs-5.3 > > > (Linux 2.6.18-164.el5) with current uvcvideo drivers. Please CC me, as > > > I am only reading the digest version of the mailing list. > > > > > > On hotplug, dmesg shows: > > > > > > usb 1-4: new high speed USB device using ehci_hcd and address 19 > > > usb 1-4: configuration #1 chosen from 1 choice > > > uvcvideo: Found UVC 1.00 device USB Scanner. (115b:3100) > > > input: USB Scanner. as /class/input/input14 > > > > Do you experience any problem beside the smaller resolution and the ioctl > > error messages ? > > I get some artifacts, that might be related to the resolution.
What kind, and how bad are they ? -- Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
