[sane-devel] please help w/Epson 636U and Panther
Karl Heinz Kremer k...@khk.net wrote: Hi, I'm about to receive a Perfection 636S, which uses the same command set as the 636U. This means that I can (for the first time) actually debug this problem myself. I can assure you that this problem will be fixed in a few weeks. Very good news ! Happy hacking :) JB. -- Julien BLACHE http://www.jblache.org j...@jblache.org GPG KeyID 0xF5D65169
[sane-devel] [CanoScan5000f] Analyse of logs
Hello, I made some sniff of the Canoscan5000f as requested. Files may be found a= t : http://home.gna.org/canoscan5000f/sniff There is a very big amount of data included in these logs, and I am=20 tired of reading them :) So I have 2-3 questions : 1) There are a lot of paragraphs containing : : 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 0010: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 0020: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 0030: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 0040: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 0050: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f 0060: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 0070: 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f 0080: 80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f 0090: 90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f 00a0: a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af etc etc. Are these parts important ? They are very present in the file (80%) 2) Others seems to be more interesting : Urb 16 (C) ep=3D (write) 3 ms : 44 : 40 0c 88 00 00 00 01 00 But are rare. 3) Then comes another part, which seems to be the scanned data : Urb 463 (B) ep=3D81 (read) 21 ms : 93 12 87 12 ad 12 1b 13 de 12 77 12 be 0c a5 0b 0010: 3d 0d 5a 0f 3b 0d b4 0e 7e 0f ef 0c f1 0d c5 0f 0020: 82 0d 81 0e 44 0f 9e 0d 51 0e d1 0f aa 0d b3 0e 0030: 52 0f 99 0d 62 0e 7b 0f 43 0d a3 0e 30 0f 8d 0d 0040: a8 0e 56 0f ee 0c 7b 0e 4b 0f 5f 0d 71 0e 42 0f 0050: 3f 0d 62 0e 2c 0f 1f 0d 6f 0e 5a 0f 75 0d 01 0f My questions are : - for 1) May i remove that without losing informations ? - for 2) Are all these short orders all important ? And does (write)=20 mean data sent to scanner and (read) data recieved mean data read=20 =66rom scanner ? -for 3) If this is parf of scanning data, why do I find this type of =A7=20 later too ? Does it correspond to a flush from scanner after having=20 scanned a little part ? The picture used is a green 1cm2 paper... Greets, Thibault
[sane-devel] [CanoScan5000f] Analyse of logs
:-)) =20 It hurts badly when reading them on a 75Hz screen :)) : 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 0010: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f =20 Hmm, seems that these are some lookup-tables - IMHO could be ignored, as long, as your future driver will do the same... =20 Ok. It means that SANE will take care of that? (Sorry not very familiar=20 with SANE, and don't know what I have to do and what is already done.=20 But apparently with this wonderful SANE project I have just to give my=20 scanner's specifications (how the chipset works) isn't it ? 2) Others seems to be more interesting : Urb 16 (C) ep=3D (write) 3 ms : 44 : 40 0c 88 00 00 00 01 00 But are rare. =20 These are important - register I/O What's the chipset inside? looks like some genesys logic chipset! =20 Really ? sane-find-scanner -v -v doesn't find the chip's type, but if it=20 is close to it, I would be pleased to have informations about that :) You can look at http://home.gna.org/canoscan5000f/sniff/ for other=20 gzipped logs, i you want to verify that :) =20 - for 2) Are all these short orders all important ? And does (write) mean data sent to scanner and (read) data recieved mean data read from scanner ? =20 AFAIK - yes. Mostly something will be written to the scanner, to tell it= , that with the next read, data will be red. =20 AFAIK =3D ? (Sorry, I don't know enought english to know abbreviations=20 (You must certainly already got it :)) )) Ok for that. -for 3) If this is parf of scanning data, why do I find this type of =A7 later too ? Does it correspond to a flush from scanner after having scanned a little part ? =20 What do you mean? I guess, that there will be some kind of calibration, where you'll find image data too before scanning. =20 I was wondering if the image data could be sent in may times, or if as=20 you suggest there is some calibration : indeed the Windows driver says :=20 lamp adjusment, please wait or something like that in French :) Thank you very much, Thibault North
[sane-devel] [CanoScan5000f] Analyse of logs
I was wondering if the image data could be sent in may times, or if as you suggest there is some calibration : indeed the Windows driver says : lamp adjusment, please wait or something like that in French :) Unlikely, all things are possible but the windows driver will be reasonably efficient, and will not send the image more than it needs to. For a small image the calibration data may be larger than the image. You could try a larger scan - expect a very large log - and look for where the data is similar and where there is a large amount of new data. David
[sane-devel] (no subject)
Sorry Ronald, but I was out of town for some time. I'm trying to get a free domain for my dial-up, to be able to acces my computer from anywhere. I don't have a permanent internet connection :( and that's where all my relevant/contact info is stored. I apologize for the delay. I want to send a message to Tom Wang from Mustek to give you the sources for the driver. I will send him a message explaining the reasons. I will put you in CC:. I guess it would be a good idea if you'd send him a message in reply. I will send the message in about 4 hours as I have to get home to see what address was I using. It's not PGP, but I guess the man already forgot me :) Cosmin ___ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself http://uk.messenger.yahoo.com
[sane-devel] [CanoScan5000f] Analyse of logs
Hmm, seems that these are some lookup-tables - IMHO could be ignored, as long, as your future driver will do the same... Ok. It means that SANE will take care of that? (Sorry not very familiar with SANE, and don't know what I have to do and what is already done. But apparently with this wonderful SANE project I have just to give my scanner's specifications (how the chipset works) isn't it ? uh, no. he said you might be able to ignore it for NOW, but eventually, you will likely have to send these packets to the scanner too. you are writing a driver for a piece of hardware. YOU are SANE :) 2) Others seems to be more interesting : Urb 16 (C) ep= (write) 3 ms : 44 : 40 0c 88 00 00 00 01 00 But are rare. These are important - register I/O What's the chipset inside? looks like some genesys logic chipset! Really ? sane-find-scanner -v -v doesn't find the chip's type, but if it is close to it, I would be pleased to have informations about that :) You can look at http://home.gna.org/canoscan5000f/sniff/ for other gzipped logs, i you want to verify that :) open the scanner. look inside. post to this list the numbers and letters on any large chips inside. - for 2) Are all these short orders all important ? And does (write) mean data sent to scanner and (read) data recieved mean data read from scanner ? AFAIK - yes. Mostly something will be written to the scanner, to tell it, that with the next read, data will be red. AFAIK = ? (Sorry, I don't know enought english to know abbreviations (You must certainly already got it :)) )) Ok for that. as far as i know. -for 3) If this is parf of scanning data, why do I find this type of ยง later too ? Does it correspond to a flush from scanner after having scanned a little part ? What do you mean? I guess, that there will be some kind of calibration, where you'll find image data too before scanning. I was wondering if the image data could be sent in may times, or if as you suggest there is some calibration : indeed the Windows driver says : lamp adjusment, please wait or something like that in French :) the windows driver likely reads some calibration info from the scanner, then transmits one or more lookup tables to the scanner, (esp if it uses jpeg compression, turn that off in windows if you can), then it reads the image, perhaps a small piece at a time. allan Thank you very much, Thibault North -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org -- 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] [CanoScan5000f] Analyse of logs
On Thursday 08 July 2004 17:18, Thibault North wrote: :-)) It hurts badly when reading them on a 75Hz screen :)) : 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 0010: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f Hmm, seems that these are some lookup-tables - IMHO could be ignored, as long, as your future driver will do the same... Ok. It means that SANE will take care of that? (Sorry not very familiar with SANE, and don't know what I have to do and what is already done. But apparently with this wonderful SANE project I have just to give my scanner's specifications (how the chipset works) isn't it ? No, no it's not that easy, you have to take care of that of course, because you often need to load these values to internal scanner buffers. But the=20 register read/write stuff is more interesting, downloading some bytes to an internal buffer is not the thing... 2) Others seems to be more interesting : Urb 16 (C) ep=3D (write) 3 ms : 44 : 40 0c 88 00 00 00 01 00 But are rare. These are important - register I/O What's the chipset inside? looks like some genesys logic chipset! Really ? sane-find-scanner -v -v doesn't find the chip's type, but if it is close to it, I would be pleased to have informations about that :) You can look at http://home.gna.org/canoscan5000f/sniff/ for other gzipped logs, i you want to verify that :) Well I can do this, but I'm not expert on that. In the end it reminds me of the protocol of the Genesys Logic Parallel to USB bridge - see u12-io.c And some stuff found in the experimental genesys backend... Which version of sane-find-scanner did you use - the latest one also=20 checks for the 841, but it might not cover all incarnations. There is also a GL842 and a 843 available - see: http://www.genesyslogic.com/econtents/product01.asp?minicidx=3D3lastcidx= =3D18 - for 2) Are all these short orders all important ? And does (write) mean data sent to scanner and (read) data recieved mean data read from scanner ? AFAIK - yes. Mostly something will be written to the scanner, to tell it, that with the next read, data will be red. AFAIK =3D ? (Sorry, I don't know enought english to know abbreviations (You must certainly already got it :)) )) Ok for that. =46or such stuff have a look at: http://www.acronymfinder.com/ ;-) -for 3) If this is parf of scanning data, why do I find this type of =A7 later too ? Does it correspond to a flush from scanner after having scanned a little part ? What do you mean? I guess, that there will be some kind of calibration, where you'll find image data too before scanning. I was wondering if the image data could be sent in may times, or if as you suggest there is some calibration : indeed the Windows driver says : lamp adjusment, please wait or something like that in French :) Simply waiting until the lamp is stable... Anyway good luck Gerhard
[sane-devel] [CanoScan5000f] Analyse of logs
Ok but : - There are more thant 3 blocks which seems to be image data: 2 for calibration and 1 for the picture ? What is the format of the sent picture ? RAW ? it might be possible to find this no? To be able to determine what size if may have. For exemple : 100dpi, 1cm2 is about 39x39 pixels : this represents 1511 pixels. 8bits per pixel ? 16 ? (don't know..) if 8 : 4968 hex codes, true ? The scanner may scan more than asked for, and the front end will use what it needs. 39x39 may scan as 40x40 or 64x64 or . It is also possible that 100dpi scans as 150dpi. OK not that likely but be prepared for it. it is also possible that the scanner scans full-width of page, even when you ask for less. the way to tell is to take two dumps at two different widths, but leave all else the same. A colour scan is normally 24bits - 3 bytes per pixel. But again other values are possible. i would recommend comparing logs of a color scan and a black and white. i have seen really cheap scanner do all scans in jpeg color, and the lineart mode was simulated in the driver. allan - There is apparently a timeout when sniffing a big scan or a preview : my computer my be to slow :( (Athlon 600Mhz, 256RAM). The scan stops at that point :( Now I have to understand libusb in order to try and get an answer of the scanner from Linux... Thanks, Thibault -- 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] [CanoScan5000f] Analyse of logs
David Stevenson wrote: The scanner may scan more than asked for, and the front end will use what it needs. 39x39 may scan as 40x40 or 64x64 or . It is also possible that 100dpi scans as 150dpi. OK not that likely but be prepared for it. A colour scan is normally 24bits - 3 bytes per pixel. But again other values are possible. Ok or it may scan a whole line and then cut the requested area... Apparently, that scanner is able to do 48bits scans too. This should not change anything but the amount of data, isn't it ? Thibault
Fwd: [sane-devel] use of ICC profiles
This reply was meant to go to the list as well: Begin forwarded message: From: Karl Heinz Kremer k...@khk.net Date: July 7, 2004 8:41:12 PM EDT To: Peter Mark Guevarra pmsgueva...@yahoo.com Subject: Re: [sane-devel] use of ICC profiles Like so many great questions, your question can only be answered with depends :-) An ICC profile is a tool to color correct predictable color problems of a device. So, if your scanner always produces the same wrong color for the same input color, an ICC profile can help. For this to work, you need software that can create an ICC profile based on a reference image. What you usually do is scan e.g. an IT8 target (http://www.targets.coloraid.de/), then feed the scan plus a description of all the correct color values on the target to a profiler (e.g. http://www.scarse.org). This will then create a target for your scanner when it's used with exactly the same settings that were used to create this calibration scan. If your color casts are not predictable (e.g. they depend on how long the scanner's lamp has been on), an ICC profile will not help (you could e.g. create one for lamp was 5 minutes on, lamp was 10 minutes on, lamp was 15 minutes on, ... and use the appropriate profile, but this would be really stretching it). Karl Heinz On Jul 3, 2004, at 3:42 AM, Peter Mark Guevarra wrote: Hello, I'm quite confused with the use of the ICC profile. Is it really intended for the color correction of the image? For example, when you scan a yellow image and the output seems to be orange, can the ICC profile correct this one? Also, how can you post a reply in this forum so that it will fall under the same topic coz when I reply it always ends up being listed as if it is a new topic. Sorry about this =) Thanks, Peter - Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish.
[sane-devel] xscanimage font problem
It may also help if you run this command before you start xscanimage: export LANG=en_US.iso-8859-1 You need to run this in the same terminal in which you also start xscanimage. Karl Heinz On Jul 3, 2004, at 5:01 AM, Julien BLACHE wrote: Gene Stemple gen...@vtc.net wrote: Hi, bad news is that the dialog window opened by xscanimage is (mostly) unreadable. The button labels are all there but most of the characters are mangled so that I have to guess what they say from the few characters, and context, that are right. GTK 2.0 uses UTF8 all over the place; try installing some more fonts (specifically, xfonts-*-transcoded). What locale are you using, if any ? JB. -- Julien BLACHE http://www.jblache.org j...@jblache.org GPG KeyID 0xF5D65169 -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-requ...@lists.alioth.debian.org
[sane-devel] Plustek 9630P on RH9
Hello, I'm having problems using my 9630P scanner on RH9. Firstly, I've got the scanner connected to the PC with a parallel cable. I then downloaded sane-backends-1.0.14 and sane-frontends-1.0.12 and did ./configure, make and make install on both. No problems so far. My /etc/ld.so.conf has an entry /usr/local/lib/ and I did /sbin/ldconfig My /usr/local/etc/sane.d/ has an entry plustek_pp In /proc/sys/dev/parport/parport0/ if I do cat modes, I get PCSPP,TRISTATE,EPP My /usr/local/etc/sane.d/plustek_pp.conf has entries: [direct] device 0x378 option warmup-1 option lOffOnEnd -1 option lampOff -1 [direct] device parport0 When I do scanimage -L, I get No scanners were identified... If I set export SANE_DEBUG_DLL=255 and export SANE_DEBUG_BACKENDNAME=255, I get output including: [dll] add_backend: adding backend `plustek_pp' [dll] init: backend `plustek_pp' is version 1.0.0 [dll] load: searching backend `plustek' in `/usr/local/lib/sane' [dll] load: trying to load `/usr/local/lib/sane/libsane-plustek.so.1' [dll] load: dlopen()ing `/usr/local/lib/sane/libsane-plustek.so.1' [dll] sane_get_devices: found 0 devices Also, there's a printer installed on lp0 (daisy changed after the scanner). Why can't I find the scanner? Best regards, Stephen.