[sane-devel] Logitech C310
Hi, I bought a Logitech C310 webcam. According to the box, it supports 5 megapixel photos and 720p video. Is it possible to take high-resolution photos from it using SANE? I think it must have a separate interface for that, not through v4l. Also, I have SANE 1.0.21, and xsane finds the camera's v4l interface (Noname UVC Camera (046d virtual device [v4l:/dev/video0]) but scanning fails with the message Failed to start scanner: Invalid argument. The camera is working well in mplayer. Thanks Adrian -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20101112/323b733c/attachment.htm
[sane-devel] Logitech C310
Probably better to ask the v4l guys if they know about getting the high-res images. Sane's v4l support is pretty weak. allan On Fri, Nov 12, 2010 at 12:33 PM, Adrian Sandor aditsu at yahoo.com wrote: Hi, I bought a Logitech C310 webcam. According to the box, it supports 5 megapixel photos and 720p video. Is it possible to take high-resolution photos from it using SANE? I think it must have a separate interface for that, not through v4l. Also, I have SANE 1.0.21, and xsane finds the camera's v4l interface (Noname UVC Camera (046d virtual device [v4l:/dev/video0]) but scanning fails with the message Failed to start scanner: Invalid argument. The camera is working well in mplayer. Thanks Adrian -- sane-devel mailing list: sane-devel at lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin
[sane-devel] Possible bug in canon backend or scanimage
Le Wednesday 10 November 2010 09:55:10, vous avez ?crit : Dear Stef, I did not manage to compile SANE with the internal getopt_long. At least with my distribution (Ubuntu 10.10) SANE was always built with the glibc getopt_long and disregarding the definitions in the config.h. However I modified the fetch_options function (scanimage.c:859) by adding a line if(opt-name == NULL) continue; at 895. After this modification scanimage works as expected, namely it recognizes all options! May be this is a bug in the glibc implementation of getopt_long (it stops once it reaches NULL option). But I would suggest to modify the scanimage.c. Nice debugging. It looks to me it may be a canon backend bug. From reading the code it appears that all options including groups options are set up to SANE_CAP_SOFT_SELECT and SANE_CAP_SOFT_DETECT. While some groups have their cap value correctly set to 0 later, this is not the case for OPT_CALIBRATION_GROUP. The cap should be set to 0 before testing if it is inactive (this is done for other group options). Without that the group is 'settable' with a null name, which causes your problem. OPT_EJECT_GROUP has the same issue. Please find attached the usb log file of the canoscan 8400F. I am not sure if it is complete (the log was recorded while scanner reset and preview, but during the preview I notice that number of recorded packets was not changing). Please let me know if you need more information/tests. My scripts are tuned for this usb snoop program http://www.pcausa.com/Utilities/UsbSnoop/ , so I cannot parse the log you sent. The canoscan 3200F I will try during the Christmas holidays. Best regards, Myroslav Regards, Stef
[sane-devel] Hello, and HP C3180 drivers
Thanks Alan Johannes, I didn't know about HPLIP, and didn't realise that it is included with my Ubuntu distro! Scanning seems to work fine, both with the Simple Scan frontend and x-sane (not installed by default). Seems that's the end of my driver writing project then ;-) Never mind, I have an old Primax Colorado scanner kicking around somewhere, so maybe I'll have a play with that. On 11 November 2010 14:19, Johannes Meixner jsmeix at suse.de wrote: Hello, On Nov 10 18:59 Robert Charlesworth wrote (shortened): I have an old HP C3180 all-in-one Printer Scanner Copier, which no longer prints, but I still want to retain as a scanner. The SANE database online lists it as 'unsupported' It seems what the SANE database online shows at http://www.sane-project.org/cgi-bin/driver.pl?manu=model=3180bus=anyv=p= is a contradiction in itself: It lists the HP Photosmart C3180 as explicitly unsupported by SANE (actually the device is listed for the unsupported backend) but also as good supported by the external backend hpaio which is provided by HP's HPLIP software, see http://hplipopensource.com/hplip-web/models/photosmart/photosmart_c3100_series.html I think that devices which are supported by an external backend should not be listed for the unsupported backend in SANE. I think the unsupported backend in SANE is only for devices which are known to be neither supported by a built-in backend in SANE nor by an external backend for SANE. At least this is how I understand the Comment for the unsupported backend in SANE: -- Backend: unsupported ... Comment: The devices mentioned here are not supported by any SANE backend. However, there may be links to information about them or stand-alone programs. -- For me any SANE backend means both built-in backends in SANE and external backends for SANE. In contrast a real built-in backend in SANE like hp might list the HP Photosmart C3180 with status unsupported in compliance to what a particular backend's status unsupported for a particular device means: --- Legend: ... Status: ... unsupported means the device is not supported at least by this backend. It may be supported by other backends, however. --- Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex -- Robert -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20101112/4d42f4d5/attachment.htm