[sane-devel] Can't get Canon MP360 working
Hi Martin, Your scanner seems to use the same command set as MP700/MP730 but there are still some differences, e.g. the command sequence for reading image data, the length of the interrupt packet (16 instead of 8 bytes) etc. You can derive your code from pixma_mp730.c in the pixma backend. (Please download the backend from http://home.arcor.de/wittawat/pixma. I haven't updated CVS yet.) Add your scanner to the device list at the end of pixma_mp730.c: DEVICE("Canon PIXMA MP360", 0x263c, 1200, 636, 877, 0), The backend should detect your scanner now. You may try scanning a _small_ area but don't expect that it'll work. Unfortunately, the source code is not documented. If you have any questions, just ask! :-) Regards, Wittawat On Tuesday 22 August 2006 18:29, Martin Owens wrote: > Thanks for your help. > > I don't really have a space to put them online, but the bz2 is only 4kb so > I've attached it. > > Best Regards, Martin Owens > > On 8/22/06, Wittawat Yamwong wrote: > > [...] > > What have you done so far? Have you already captured some USB traffics? > > If so, > > can you upload the log files somewhere in the internet? I could try to > > modify > > the pixma backend so that you need to add only protocol specific codes > > and don't need to worry about SANE API for the present. -- Wittawat Yamwong Hannover, Germany
[sane-devel] Re: Best Scanner for Sane
In response to the question of what I'm planning to scan,, it's mostly going to be text for OCR, but there will probably be a photo or 2 from time to time. So I'm trying to figure out the best scanner to do that with using sane. Thanks, Terrence
[sane-devel] Dell 1815dn
Hi, I discovered today that a binary SANE (and CUPS) driver for Linux is provided for Dell 1815dn multifunction printer/scanner/copier. Since it is provided by the manufacturer I presume that it supports the full set of functionality but I don't have one of these devices so I can't confirm for definite. cheers, Jon == Jon Chambers = http://www.jon.demon.co.uk, 020 8575 7097, 07931 961669 =
[sane-devel] Problem with sane plustek_pp
Hi, From the sane-backend 1.0.17 version to 1.0.18, I have a small problem with my scanner plustek p12. Although it scans images correctly, the carriage of the scanner does not return, after scan or pre-scan. This is truth as for slackware 10.2, updated from current, as for Fedora Core 5. Doing the downgrade for the version 1.0.16, the scanner comes back to works correctly. Someone has a solution for that? -- []s, Flavio J. M. Lopes flavi...@wnetrj.com.br
[sane-devel] Best scanners to use with SANE?
uhm, you left out something really important? what are you scanning :) allan On Tue, 22 Aug 2006 terren...@ak.net wrote: > Does anyone have any suggestions on the best scanner for working with > Sane? I'm thinking I'll probably get a scanner in October specifically based > on what works with SANE, instead of what I did last year, getting the scanner > and then realizing too late that it wouldn't work. I'm looking for something > that will be the least time-consuming to get working as I want to be able to > spend the time scanning, not fighting with my scanner. I'm running SANE on > an e-machines 433MHZ PC with Oralux, a Knoppix-based operating system without > X11. Any advice on this would be greatly appreciated. > > Thanks, > Terrence > > -- "so don't tell us it can't be done, putting down what you don't know. money isn't our god, integrity will free our souls" - Max Cavalera
[sane-devel] Image Compression doesn't support in SANE protocal
On Tue, 22 Aug 2006, Ren? Rebe wrote: > > On Aug 22, 2006, at 2:51 PM, m. allan noah wrote: > >> now that many low-end scanners support jpeg natively (some ONLY do jpeg!) i >> expect we will see more need for this. > > Oh! > >> as a short term fix, rather than adding a new sane_frame type, the backend >> can extract the compressed data, convert to raw bitmap. then frontend can >> convert to any compressed format it wants. this is not as efficient as >> keeping the compressed version the entire way through, but it works now. >> >> dell networked scanner backend works this way. > > Well that stinks as you lose a lot of detail with the lossy jpeg > decompression. even worse, if you are running the thing over the net backend, you convert to huge bitmap just before you transfer it over the network! > > Maybe let's add the JPEG frame type rather soon (even in SANE 1) and let's > add an IR (infra red) frame specification on the way as good film scanner > deliver for dust and the-like removal. agreed. though i would think we would need to make a well-known option like 'compression' or 'format' that such backends would have to implement, with the default being 'bitmap'. these backends would then 'unjpeg' the files before passing to frontend, and existing frontends will continue to work. then the user must manually set the option to something other than 'bitmap', if he knows his frontend supports this. SANE2 could require that the frontend support jpeg, and that could become the default for the 'format' option. allan > > Yours, > -- "so don't tell us it can't be done, putting down what you don't know. money isn't our god, integrity will free our souls" - Max Cavalera From terren...@ak.net Tue Aug 22 17:57:51 2006 From: terren...@ak.net (terren...@ak.net) Date: Tue Aug 22 17:59:19 2006 Subject: [sane-devel] Best scanners to use with SANE? Message-ID: Does anyone have any suggestions on the best scanner for working with Sane? I'm thinking I'll probably get a scanner in October specifically based on what works with SANE, instead of what I did last year, getting the scanner and then realizing too late that it wouldn't work. I'm looking for something that will be the least time-consuming to get working as I want to be able to spend the time scanning, not fighting with my scanner. I'm running SANE on an e-machines 433MHZ PC with Oralux, a Knoppix-based operating system without X11. Any advice on this would be greatly appreciated. Thanks, Terrence
[sane-devel] Can't get Canon MP360 working
Skipped content of type multipart/alternative-- next part -- A non-text attachment was scrubbed... Name: logs.tar.bz2 Type: application/x-bzip2 Size: 4405 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060822/d44960ea/logs.tar.bin From an...@pfeiffer.edu Tue Aug 22 17:22:26 2006 From: an...@pfeiffer.edu (m. allan noah) Date: Tue Aug 22 17:23:05 2006 Subject: [sane-devel] Error when reading from Fujitsu fi-5120c In-Reply-To: References: Message-ID: power cycle the scanner, and run this command as root: SANE_DEBUG_FUJITSU=15 scanimage --help 2>5120.log then lets see the 5120.log file. allan On Mon, 21 Aug 2006, Matthew wrote: > I'm using Ubuntu 6.06 with all the latest updates and Sane backend 1.0.18 > compiled from source along with Xsane .0991. > > When I try to scan using scanimage or xsane either as root or as normal user > I get the following error. > > "Error during read: Error during device I/O." > > I've read just about every instruction on setting up Sane and so far I can't > get it to work. I did get it to work once, but then it stopped. I believe I > manually changed the usb permissions. I've tried to figure out the hotplug > stuff, but so far I've failed at everything. > > Can anybody tell me what I'm doing wrong or not doing? > > > -- "so don't tell us it can't be done, putting down what you don't know. money isn't our god, integrity will free our souls" - Max Cavalera
[sane-devel] Can't get Canon MP360 working
On Monday 21 August 2006 23:23, Martin Owens wrote: > I've being looking at getting this scanner working for over a week. various > tutorials and guides for making the driver. but I'm floundering. > > does anybody have some time to guide me through the process perhaps in irc? I cannot help you in IRC but I'm interested in your driver. If the protocol is similar enough, perhaps you can reuse the code of the pixma backend. What have you done so far? Have you already captured some USB traffics? If so, can you upload the log files somewhere in the internet? I could try to modify the pixma backend so that you need to add only protocol specific codes and don't need to worry about SANE API for the present. Regards -- Wittawat Yamwong Hannover, Germany
[sane-devel] Error when reading from Fujitsu fi-5120c
I'm using Ubuntu 6.06 with all the latest updates and Sane backend 1.0.18 compiled from source along with Xsane .0991. When I try to scan using scanimage or xsane either as root or as normal user I get the following error. "Error during read: Error during device I/O." I've read just about every instruction on setting up Sane and so far I can't get it to work. I did get it to work once, but then it stopped. I believe I manually changed the usb permissions. I've tried to figure out the hotplug stuff, but so far I've failed at everything. Can anybody tell me what I'm doing wrong or not doing?
Re: (ÈðÐÇÌáʾ-´ËÓʼþ¿ÉÄÜÊÇÀ¬»øÓʼþ)Re: [sane-devel] Image Compression doesn't support in SANE protocal
Yes, xsane can save file in a compressed format. But before that we must decompress the data from scanner and then transfer it to xsane and then xsane compress the image So we can't use the compressed data from scanner directly, then the scanner's speed is slow down. - Original Message - From: "Ren? Rebe" To: "zf" Cc: "OrgSane-Devel@Lists. Alioth. Debian." Sent: Tuesday, August 22, 2006 5:19 PM Subject: (-)Re: [sane-devel] Image Compression doesn't support in SANE protocal > On Aug 22, 2006, at 8:10 AM, zf wrote: > >> I found no image compression support is added in SANE. When >> scanning with high resolutions such 600 x 600 dpi and uses color >> scan, the result image will be very large! >> So many scanners support compress transfer:scanner compress the >> image data and transfer compressed data to driver. In SANE the >> images transfered between backend and frontend are strict limited.I >> think it' better if SANE add some file transfer type like TWAIN. > > Most scanners do not support compression anyway. Such features are > only found in 5000 EUR and above devices. If you just want to save > files in a compressed format just use a decent application such as > xsane and not the example programs such as xscanimage ,-) > > Yours, > From an...@pfeiffer.edu Tue Aug 22 12:51:32 2006 From: an...@pfeiffer.edu (m. allan noah) Date: Tue Aug 22 12:52:33 2006 Subject: [sane-devel] Image Compression doesn't support in SANE protocal In-Reply-To: <016601c6c5cf$1447a6a0$4300a...@vp.com> References: <00df01c6c5b1$a6d22130$4300a...@vp.com> <016601c6c5cf$1447a6a0$4300a...@vp.com> Message-ID: now that many low-end scanners support jpeg natively (some ONLY do jpeg!) i expect we will see more need for this. as a short term fix, rather than adding a new sane_frame type, the backend can extract the compressed data, convert to raw bitmap. then frontend can convert to any compressed format it wants. this is not as efficient as keeping the compressed version the entire way through, but it works now. dell networked scanner backend works this way. allan On Tue, 22 Aug 2006, zf wrote: >Yes, xsane can save file in a compressed format. But before that we must > decompress the data from scanner and then transfer it to xsane and then xsane > compress the image So we can't use the compressed data from scanner > directly, then the scanner's speed is slow down. > > - Original Message - > From: "Ren? Rebe" > To: "zf" > Cc: "OrgSane-Devel@Lists. Alioth. Debian." > > Sent: Tuesday, August 22, 2006 5:19 PM > Subject: (-)Re: [sane-devel] Image Compression > doesn't support in SANE protocal > > >> On Aug 22, 2006, at 8:10 AM, zf wrote: >> >>> I found no image compression support is added in SANE. When >>> scanning with high resolutions such 600 x 600 dpi and uses color >>> scan, the result image will be very large! >>> So many scanners support compress transfer:scanner compress the >>> image data and transfer compressed data to driver. In SANE the >>> images transfered between backend and frontend are strict limited.I >>> think it' better if SANE add some file transfer type like TWAIN. >> >> Most scanners do not support compression anyway. Such features are >> only found in 5000 EUR and above devices. If you just want to save >> files in a compressed format just use a decent application such as >> xsane and not the example programs such as xscanimage ,-) >> >> Yours, >> -- "so don't tell us it can't be done, putting down what you don't know. money isn't our god, integrity will free our souls" - Max Cavalera From r...@exactcode.de Tue Aug 22 12:56:17 2006 From: r...@exactcode.de (=?ISO-8859-1?Q?Ren=E9_Rebe?=) Date: Tue Aug 22 12:57:50 2006 Subject: [sane-devel] Image Compression doesn't support in SANE protocal In-Reply-To: References: <00df01c6c5b1$a6d22130$4300a...@vp.com> <016601c6c5cf$1447a6a0$4300a...@vp.com> Message-ID: <7cbc1e6c-1e62-4faa-a01e-afae88a8c...@exactcode.de> On Aug 22, 2006, at 2:51 PM, m. allan noah wrote: > now that many low-end scanners support jpeg natively (some ONLY do > jpeg!) i expect we will see more need for this. Oh! > as a short term fix, rather than adding a new sane_frame type, the > backend can extract the compressed data, convert to raw bitmap. > then frontend can convert to any compressed format it wants. this > is not as efficient as keeping the compressed version the entire > way through, but it works now. > > dell networked scanner backend works this way. Well that stinks as you lose a lot of detail with the lossy jpeg decompression. Maybe let's add the JPEG frame type rather soon (even in SANE 1) and let's add an IR (infra red) frame specification on the way as good film scanner deliver for dust and the-like removal. Yours,
[sane-devel] Image Compression doesn't support in SANE protocal
I found no image compression support is added in SANE. When scanning with high resolutions such 600 x 600 dpi and uses color scan, the result image will be very large! So many scanners support compress transfer:scanner compress the image data and transfer compressed data to driver. In SANE the images transfered between backend and frontend are strict limited.I think it' better if SANE add some file transfer type like TWAIN. -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060822/074cc0df/attachment.htm From r...@exactcode.de Tue Aug 22 09:19:43 2006 From: r...@exactcode.de (=?ISO-8859-1?Q?Ren=E9_Rebe?=) Date: Tue Aug 22 09:20:44 2006 Subject: [sane-devel] Image Compression doesn't support in SANE protocal In-Reply-To: <00df01c6c5b1$a6d22130$4300a...@vp.com> References: <00df01c6c5b1$a6d22130$4300a...@vp.com> Message-ID: On Aug 22, 2006, at 8:10 AM, zf wrote: > I found no image compression support is added in SANE. When > scanning with high resolutions such 600 x 600 dpi and uses color > scan, the result image will be very large! > So many scanners support compress transfer:scanner compress the > image data and transfer compressed data to driver. In SANE the > images transfered between backend and frontend are strict limited.I > think it' better if SANE add some file transfer type like TWAIN. Most scanners do not support compression anyway. Such features are only found in 5000 EUR and above devices. If you just want to save files in a compressed format just use a decent application such as xsane and not the example programs such as xscanimage ,-) Yours,
[sane-devel] sane_control_option() confusion
> It is the n that I am confused about. Specifically, what does n = 0 mean? 0 is the index of the "option count" option. -- Verso l'Alto !