[sane-devel] Changes in saned
On Thu, 10 Apr 2008 12:29:46 +0200, Julien BLACHE wrote: saned.c:2458: warning: implicit declaration of function `daemon' ... It's a BSD (4.4) function, I'll replace that with an equivalent code snippet shortly. Thanks! Now it compiles again. Franz
[sane-devel] a wish list for SANE improvements
Hi, - more well known-options I'd include more well-knonw sensor option like in fujitsu backend. +1 for the entire wishlist. ?tienne.
[sane-devel] Is it possible with sane? (newbie question) - Please help
Hi, I'm a ruby on rails developer, I have a requirement to integrate a scanner or any twain compliant device to my application. My environment is this, Language: Ruby Framework : Rails (Simply ROR) Develop envi OS: Win XP Server OS: Linux Production OS: Both Unix and Windows Is it feasible to carry out this with Sane? After exploring on Twain i found it is not possible as it is specific to Microsoft's products (Win XP and IE) Donno how to start and from where to start. It would be more helpful. If u could suggest me how to carry out this task. Thanks, Ratnavel -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20080411/762d49d8/attachment.htm
[sane-devel] a wish list for SANE improvements
On Thu, 10 Apr 2008 21:33:50 +0200 stef stef.dev at free.fr wrote: Hello, since the general mood is improving SANE without breaking everything, here's my wishlist: While I DO agree on the matter, I haven't noticed the general mood was that one, otherwise I wouldn't ever started SANE Evolution :-) Am I wrong? -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] a wish list for SANE improvements
Le Friday 11 April 2008 08:35:35 Alessandro Zummo, vous avez ?crit?: On Thu, 10 Apr 2008 21:33:50 +0200 stef stef.dev at free.fr wrote: Hello, since the general mood is improving SANE without breaking everything, here's my wishlist: While I DO agree on the matter, I haven't noticed the general mood was that one, otherwise I wouldn't ever started SANE Evolution :-) Am I wrong? -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it Hello, I get this impression from the few persons that expressed their opinions recently. However, some will only tolerate a SANE_FRAME_RGBI and SANE_FRAME_JPEG, others will accept more things. This is why I sent this wishlist. I suppose some items will be rejected, some will be accepted and that other usefull propositions will pop up. But you are right that only a few opinions were expressed, that nothing changed in years, and that things often get discussed endlessly. I'll be on vacation next week, but when I return, I intend providing some patches to help things moving on. Regards, Stef
[sane-devel] a wish list for SANE improvements
On Fri, 11 Apr 2008 11:19:10 +0200 stef stef.dev at free.fr wrote: I get this impression from the few persons that expressed their opinions recently. However, some will only tolerate a SANE_FRAME_RGBI and SANE_FRAME_JPEG, others will accept more things. This is why I sent this wishlist. I suppose some items will be rejected, some will be accepted and that other usefull propositions will pop up. But you are right that only a few opinions were expressed, that nothing changed in years, and that things often get discussed endlessly. I'll be on vacation next week, but when I return, I intend providing some patches to help things moving on. well, if you want to contribute to SANE Evolution I'd be happy to accept your patches. Some of the things on your wishlist already are in my roadmap. warming up has already been implemented. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] Changes in saned
Franz Bakan fbakan at gmx.net wrote: Hi, It's a BSD (4.4) function, I'll replace that with an equivalent code snippet shortly. Thanks! Now it compiles again. Good, thanks :) More changes to come tonight, though it's new, optional code. Stay tuned :-) Thanks, JB. -- Julien BLACHE http://www.jblache.org jb at jblache.org GPG KeyID 0xF5D65169
[sane-devel] Is it possible with sane? (newbie question) - Please help
SANE is written in C, and is compiled to a system-specific shared lib. Ask the RoR guys if they can load libsane. allan On 4/11/08, ratnavel ps ratnavelps at gmail.com wrote: Hi, I'm a ruby on rails developer, I have a requirement to integrate a scanner or any twain compliant device to my application. My environment is this, Language: Ruby Framework : Rails (Simply ROR) Develop envi OS: Win XP Server OS: Linux Production OS: Both Unix and Windows Is it feasible to carry out this with Sane? After exploring on Twain i found it is not possible as it is specific to Microsoft's products (Win XP and IE) Donno how to start and from where to start. It would be more helpful. If u could suggest me how to carry out this task. Thanks, Ratnavel -- 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] Re : LiDE 90 Half CCD
Hello, Guillaume Gastebois schrieb: Hello, I see in genesys_gl841.c line 2503 : /* gpio part. here: for canon lide 35 */ r = sanei_genesys_get_address (reg, 0x6c); if (half_ccd) r-value = ~0x80; else r-value |= 0x80; I modified this in : /* gpio part. here: for canon lide 35 */ if (dev-model-gpo_type == GPO_CANONLIDE35) { r = sanei_genesys_get_address (reg, 0x6c); if (half_ccd) r-value = ~0x80; else r-value |= 0x80; } /* gpio part. here: for canon lide 90 */ if (dev-model-gpo_type == GPO_CANONLIDE90) { r = sanei_genesys_get_address (reg, 0x6c); if (half_ccd) r-value |= 0x20; else r-value = ~0x20; } correct ? Does it mean that for LiDE 35 GPIO16 is half CCD IO ? Because in LiDE 90, I identify GPIO 14 for that. The GPIO16 is used as half CCD IO. Correct. Another thing : In windows snoop, only GPIO 14, 13, 12 and 11 changes state. Is it possible that scanner need different gpio state between calibration and scanning (and different calibration phases) ? Where to add gpio state change code in backend to change gpio between different phases ? There is no way to know what GPIO 11, 12, 13 do without some experiments (or tracing the wires on the pcb, which i advise against). For example, one GPIO could shut off the LED drivers(thus making black level calibration easier), another could be used to save power(as is GPIO 9 in Canon LiDE 35). Currently, i think the only possibly useful GPIOs for calibration and scanning are the half ccd and the black led selectors, of which the latter is not needed(At least my scanner does not need it, even when doing black-level calibration on a white target). I make test with 0x1a=0x24 and 0x16=02 (like windows snoops) making 0x6c varying : 0x6c | description ___|_ 12 | says Extremely low brightness detected.. 1a | says Extremely low brightness detected.. 0e | no home position detected 0a | says sometimes Extremely low brightness detected.. | or gives a black image 02 | black image 06 | no home position detected 16 | no home position detected 1e | no home position detected I think that GPIO11 is home switch and must be 0. After that I make test with 0x1a=0x00 and 0x16=20 (like sane yet) making 0x6c varying : 0x6c | description ___|_ 12 | image is half the width rest is black (half ccd problem ?) | result : http://ggastebois.free.fr/lide90_snoop/test_12.zip 1a | image like others since today (total width of page calibration problem) 0a | image with vertical lines (calibration big problem see 0x6c=0x02) 02 | like 0x6c=0x0a | result : http://ggastebois.free.fr/lide90_snoop/test_02.zip What to conclude about that ?Half CCD problem is strange ! It only remains only fuction of GPIO12 and GPIO13. Thank you. Regards Guillaume Regards, Pierre Regards Guillaume
[sane-devel] More saned stuff: mDNS DNS-SD feature for saned and net backend
Hi, For those here not following sane-commits, this just went in: Date: Friday, April 11, 2008 @ 17:18:19 Author: jblache Add mDNS DNS-SD support to saned and the net backend so they can announce and discover each other automatically. Optional at configure time, requires Avahi = 0.6.4. mDNS and DNS-SD stuff has been discussed a couple times here in the past years, but nothing really came out of that. So, last week I did the prerequisite work of turning saned into a full-fledged daemon and today I completed the Avahi bits for both saned and the net backend. You should consider all this stuff as experimental for now, with pretty much everything being subject to change :-) Now, for the details: - saned announces a service of type _sane-port._tcp - the TXT RR contains a single entry, which is protovers=...; it's the SANE network protocol version implemented by the server, in hexadecimal notation, without the leading 0x and without padding, 32bit value. - saned fires up a child process dedicated to maintaining this service announcement - the net backend fires up a thread dedicated to service discovery as one of the first things it does in sane_init(); by the time sane_get_devices() is run, hopefully some services have been discovered - any server discovered is added to the list, but is never removed from the list; the current design of the backend doesn't allow that in a safe way The Avahi support is non-invasive in terms of code and is disabled by default; if you want to enable it, make sure you have Avahi = 0.6.4 (the latest 0.6.22 version is recommended) and pass --enable-avahi at configure time. You also need to have the Avahi daemon up running on both the server and client machines, which in turn requires DBus. saned can only announce itself when run in standalone or in debug mode. Hopefully this works well enough that we'll see some deployments soon :) There may still be some rough edges, so if you spot one, just say so; patches welcome to fix any such problem :) I haven't registered the service type stuff with whoever is in charge of this; I won't do so until this becomes stable. Finally, there's more to come on the saned front, but the next big change will require some more time to develop... Have fun, JB. -- Julien BLACHE http://www.jblache.org jb at jblache.org GPG KeyID 0xF5D65169
[sane-devel] Is it possible with sane? (newbie question) - Please help
Hi Ratnavel, If you have reasonable familiarity with C programming then there are rather convenient ways to directly call into shared libs from ruby (via the dl module). Therefore it should be possible to interface to SANE backends direct from ruby. Probably easier to write a wrapper around an existing commandline SANE frontend such as scanimage though. SANE is primarily aimed at unix-like OSs, however you may be able to get it to work from Windows using a cygwin environment. cheers, Jon On Friday 11 April 2008, ratnavel ps wrote: Hi, I'm a ruby on rails developer, I have a requirement to integrate a scanner or any twain compliant device to my application. My environment is this, Language: Ruby Framework : Rails (Simply ROR) Develop envi OS: Win XP Server OS: Linux Production OS: Both Unix and Windows Is it feasible to carry out this with Sane? After exploring on Twain i found it is not possible as it is specific to Microsoft's products (Win XP and IE) Donno how to start and from where to start. It would be more helpful. If u could suggest me how to carry out this task. Thanks, Ratnavel -- == Jon Chambers = http://www.jon.demon.co.uk, 020 8575 7097, 07931 961669 =