[sane-devel] sane frontend questions
I recently got an epson scanner, and I'm trying to get a sane frontend to work with it. I'm running Mandrake 9.0, gcc3.2, and I've installed sane-backends-1.0.12 from the tarball. I had some trouble installing gtk, but I eventually was able to get it to install from the tar file. I've tried both sane-frontends-1.0.11 and iscan-1.5.2 and am getting stuck with both. Any help would be greatly appreciated. When I try to configure sane-frontends-1.0.11 I get the error WARNING: GTK-0.99.13 or newer is needed for compiling the GUI frontends. If you installed gtk as rpm make sure you also installed gtk-devel. ===> GUIs will be deactivated However, I know I have gtk+-2.2.4 because I compiled it from the tarball. When I try iscan-1.5.2, I get errors trying to make the frontends directory. My guess is that these errors have something to do with not finding the esmodule directory. An excerpt of the errors is below. /usr/local/src/iscan/iscan-1.5.2/frontend/pisa_esmod_tool.cc:45: undefined reference to `Focus::operator new(unsigned)' /usr/local/src/iscan/iscan-1.5.2/frontend/pisa_esmod_tool.cc:45: undefined reference to `Focus::Focus[in-charge](tagIMAGE_SETTING*, tagFILTER_SETTING*,unsigned char)' /usr/local/src/iscan/iscan-1.5.2/frontend/pisa_esmod_tool.cc:50: undefined reference to `Focus::ReviseUSM(tagUSM_INFO*)' Does anyone have any suggestions? If you need more information, let me know. Thanks, Andy
[sane-devel] HP Scanjet 3690 support
--- Henning Meier-Geinitz wrote: > > > If it is not yet upported is there anything I can > do > > to analize it and (with your help) create a > specific > > configuration for it? (please note that I'm not a > > C/C++ programmer) > > Have a look at this page: > http://www.sane-project.org/contrib.html > and report all the details you can find to us. > I just did it, following your suggestiojn. I was not able to findout the chipset... how can I do it without opening it? I can see a couple of chips from the glass: one of it has Elite MT written on it.. is it the right one? > Maybe it's possible to find out the chipset used > that way. > please give me other advices to identify the chipset. regards, Timur __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus
[sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try!
Hello. I just replaced the fork() calls by sanei_thread_*() calls for the sane-u= max=20 backend. I tested it wirk fork() and threads on linux. This version is in= the=20 sane cvs now. Please could some Mac OS-X and OS/2 users test this version! Best regards Oliver --=20 http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:oliver.ra...@rauch-domain.de
[sane-devel] Q: threads and pipes
On Monday 12 January 2004 20:00, Henning Meier-Geinitz wrote: > Hi, > > On Mon, Jan 12, 2004 at 07:42:42PM +0100, Oliver Rauch wrote: > > Does anyone know how pipes have to be handled with threads?! > > > > when fork() is used then I close the read end in the reader_process a= nd > > the write end in the main process. Should I also do this when working > > with threads or should I keep both ends opened ind both treads? > > I'm using code like this in mustek.c: > > if (sanei_thread_is_forked ()) > { > DBG (4, "reader_process: using fork ()\n"); > close (s->pipe); > s->pipe =3D -1; > } > else > { > DBG (4, "reader_process: using threads\n"); > } > > So I think you can't close the pipe in threads. > > Bye, > Henning I tried what happens when the pipe is closed when threads are used. It is better to keep the pipe opened :) Oliver --=20 http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:oliver.ra...@rauch-domain.de
[sane-devel] sanei_thread: pthread test on linux possible?
On Monday 12 January 2004 19:47, Henning Meier-Geinitz wrote: > Hi, > > On Mon, Jan 12, 2004 at 07:34:27PM +0100, Oliver Rauch wrote: > > In the umax backend (forked reader process) I used a > > signal handler that catches sigkill and calls > > sanei_scsi_req_flush_all(); > > when the reader_process is killed. I am not sure if this > > is necessary but I think I did not add this just because of fun. > > Any ideas? > > Try it and you may hang your SCSI system :-) > At least if you use multiple SCSI request at the same time a call to > sanei_scsi_req_flush_all() is necessary. Bu you can do that from the > main process, too. When I do not call sanei_scsi_req_flush_all(); when the reader process is killed then sanei_scsi crashes when the main process/thread tries to talk to the scanner the next time. When the process is killed because of sane_cancel or do_cancel is called there is no problem, I can call sanei_scsi_req_flush_all(); in do_cancel. The question is what happens when the SIGKILL was not generated in do_can= cel, e.g. because a user executed a kill command for the reader_process or bec= ause=20 of a malfunction. Oliver --=20 http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:oliver.ra...@rauch-domain.de
[sane-devel] Q: threads and pipes
Hi, On Mon, Jan 12, 2004 at 07:42:42PM +0100, Oliver Rauch wrote: > Does anyone know how pipes have to be handled with threads?! > > when fork() is used then I close the read end in the reader_process and the > write end in the main process. Should I also do this when working with > threads or should I keep both ends opened ind both treads? I'm using code like this in mustek.c: if (sanei_thread_is_forked ()) { DBG (4, "reader_process: using fork ()\n"); close (s->pipe); s->pipe = -1; } else { DBG (4, "reader_process: using threads\n"); } So I think you can't close the pipe in threads. Bye, Henning
[sane-devel] sanei_thread: pthread test on linux possible?
Hi, On Mon, Jan 12, 2004 at 07:34:27PM +0100, Oliver Rauch wrote: > In the umax backend (forked reader process) I used a > signal handler that catches sigkill and calls > sanei_scsi_req_flush_all(); > when the reader_process is killed. I am not sure if this > is necessary but I think I did not add this just because of fun. > Any ideas? Try it and you may hang your SCSI system :-) At least if you use multiple SCSI request at the same time a call to sanei_scsi_req_flush_all() is necessary. Bu you can do that from the main process, too. Bye, Henning
[sane-devel] Q: threads and pipes
Hello. Does anyone know how pipes have to be handled with threads?! when fork() is used then I close the read end in the reader_process and t= he write end in the main process. Should I also do this when working with threads or should I keep both ends opened ind both treads? Oliver --=20 http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:oliver.ra...@rauch-domain.de
[sane-devel] sanei_thread: pthread test on linux possible?
Hello Henning > ./configure --enable-fork-process=3Dno I already found it out :). In the umax backend (forked reader process) I used a signal handler that catches sigkill and calls=20 sanei_scsi_req_flush_all(); when the reader_process is killed. I am not sure if this is necessary but I think I did not add this just because of fun. Any ideas? Oliver --=20 http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:oliver.ra...@rauch-domain.de
[sane-devel] sanei_thread: pthread test on linux possible?
Hi, On Mon, Jan 12, 2004 at 06:49:12PM +0100, Oliver Rauch wrote: > I would like to do some tests with sanei_thread. > Is it possible to actiavte the pthread based code on linux? ./configure --enable-fork-process=no Bye, Henning
[sane-devel] vendor linux drivers for Epson scanners
Hi, On Mon, Jan 12, 2004 at 06:26:38PM +0100, Steffen Evers wrote: > So, maybe some of you would like to check this out: > http://www.epkowa.co.jp/english/linux_e/index.html That's the epkowa backend. Our lists already point to it, e.g. try searching for the Epson 1260: http://www.sane-project.org/cgi-bin/driver.pl?manu=epson&model=1260&bus=any > And they license it under LGPL and GPL ! Part of the code is governed by the "EPSON KOWA Public Licence" which isn't a free license. Ther is no source code for those libraries. Bye, Henning
[sane-devel] sanei_thread: pthread test on linux possible?
Hello. I would like to do some tests with sanei_thread. Is it possible to actiavte the pthread based code on linux? In aclocal.m4 it looks like it is only enabled for MacOS X: case "${host_os}" in darwin*) # currently only enabled on MacOS X use_pthread=3Dyes ;; *) use_pthread=3Dno Oliver --=20 http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:oliver.ra...@rauch-domain.de
[sane-devel] vendor linux drivers for Epson scanners
Hello! Maybe all of you know, but for me this is very new. I have called Epson and asked them about Linux support for the Stylus RX 500 and they told me that THEY provide Linux drivers for several printers and scanners, too. Unfortunately, currently not for the RX500. So, maybe some of you would like to check this out: http://www.epkowa.co.jp/english/linux_e/index.html And they license it under LGPL and GPL ! So, you could use it for SANE, can't you? Have fun! I will check the scanner drivers for the 2400 tonight... Bye, Steffen
[sane-devel] HP Scanjet 3690 support
Hi, On Mon, Jan 12, 2004 at 08:49:00AM -0800, Lone Directory wrote: > I'm new to Sane, so please forgive me if I'm asking > one of those anoying questions... There are no annoying questions. Well, there are, but this is not one of them :-) > I just received a HP > Scanjet 3690 scanner. It is a cheap but nice one: it > has also support for slides/films. > > My Suse 9.0 was not able to recognize my scanner and > in the sane supported devices I didn't find any > mention of it. I also googled a bit but I didn'd find > any notes on having my scanner working under linux... > is it possible to make it work? If so, can you give me > some advice? We don't have any information about this scanner, otherwise it would be listed in our lists. Maybe it's new or just nobody uses it :-) > If it is not yet upported is there anything I can do > to analize it and (with your help) create a specific > configuration for it? (please note that I'm not a > C/C++ programmer) Have a look at this page: http://www.sane-project.org/contrib.html and report all the details you can find to us. Maybe it's possible to find out the chipset used that way. If there is no backend yet for that chipset you'll have to acquire some C knowledge and write a backend (or hope that someone else does that). Bye, Henning
[sane-devel] Re: UMAX Astra 2200 SU via USB
Hi, what I've done: - get cvs version of backend - compiled it - copied manually the libsane-umax.so.1.0.13 to its destination - startet xsane - executed a final scan - verified, that the quality calibration is no available as an option what I've not done so far: - checked the scsi solution. I first have to find a combination of cables and adaptors to connect my 50 pin HD SCSI controller to the 25 pin sub-d scanner :-( rgds, Rainer > Hello, > > I just updated the umax backend (sane-umax) in the CVS. > Now it disables the quality calibration for the Astra 2200 SU via USB. > When the option is set then you can not do a final scan. > > Please can someone with an Astra 2200 SU > a) connected via USB test the new version and confirm that > a1) the scanner does a final scan > a2) there is no option quality-calibration any more > b) connected via SCSI confirm that nothing has changed. > > Oliver > > --=20 > http://www.xsane.org > http://www.mostang.com/sane > http://www.rauch-domain.de > mailto:oliver.ra...@rauch-domain.de
[sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try!
On Mon, 12 Jan 2004, Oliver Rauch wrote: > Hello. > > I just replaced the fork() calls by sanei_thread_*() calls for the sane-umax > backend. I tested it wirk fork() and threads on linux. This version is in the > sane cvs now. > > Please could some Mac OS-X and OS/2 users test this version! I would love to give this a shot... Anyone else who's built the OS-X version: do you have a step-by-step guide? I generally build stuff on my Mac from Fink, are all the dependencies in Fink (ie: libusb, etc?). Thanks, Charles > Best regards > Oliver > > -- > http://www.xsane.org > http://www.mostang.com/sane > http://www.rauch-domain.de > mailto:oliver.ra...@rauch-domain.de > > -- > 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] HP Scanjet 3670...
Hi, 1. Is there any usbsnoopy log published on-line in the Internet for the HP3670 and/or HP2400 models? 2. Preview scan will be enough for a initial analysis. Does the scanner work after the preview scan then using usbsnoopy? 3. You said you dont' receive anything in the log, but does the scanning software reveice any image? 4. Does the scanner head move? Thanks in advance. Adrian P.J. Mickael Profeta wrote: > Hi, > > sanjay.chigurup...@lntinfotech.com has a HP scanjet 2400 and it seems > to be the same driver. > After the mail of mancio_...@libero.it we just received, I think I am > the last one to try to write a driver for this scanner :( If I forget > someone just send an e-mail... > > Personnaly, I just defend my PhD and due to that I had no time to go > on with this driver, but now i will have much time and I am still very > interested to do it. > > I tried to ask HP for some technical doc but with no results... if you > want to try... > I tried to log the usb transaction under windows, bur unfortunately I > can only log the beginning of the transaction... I don't receive > anything in the log after the preview scan :( > > So as you can see we are at the very beginning of this job, but if you > are interested I will be very very happy to collaborate. > > Do not hesitate to e-mail me, and we can start a more robust project > to lead to this driver if you want... > > Sincerely > > Mike > > Christian Josefsson wrote: > >> Hi! >> >> I'm a Computer Science student, which has come to the point of writing >> my Master Thesis. Since I'm interested in systems programming and Linux >> and in the posession of a unsupported scanner, namely hp scanjet 3670, >> I've concidered writing a driver for that scanner as part of my Thesis >> (the thesis would also contain other investigations ...). >> But since there appears to be some activity going on in writing a driver >> for the scanjet 3670 I would like to hear, how far you have come, and >> if it would be feasible for one more person trying to write the >> driver... >> >> However in case the driver is already close to finished and/or there >> already are enough developers aiming at the same driver, I'd stop >> pursuing this >> idea and instead find myself another subject for my Thesis. >> >> Kind regards >> // Christian >
[sane-devel] problem connecting to saned over network
Hello, the problem with "Address already in use" is probably caused by an incorrect shell script. You cannot give option -d to saned in such a script but have to execute saned without parameters. On http://penguin-breeder.org/sane/saned/ an example is given. The other problem you've stated is that you cannot connect to saned when it is operated by xinetd. Do you mean that you cannot connect to it, not even with telnet, or that xsane (for example) doesn't list any scanner? I guess it's the later case. You're probably running saned as user "sane" from xinetd. Please make sure that user "sane" has appropriate access rights to your USB/SCSI/parport/whatever devices. regards -- jochen
[sane-devel] HP Scanjet 3670...
Hi, I tried contacting HP too. Had met Bdale garbee at Linux Bangalore meet. he said he would try to see if he could help. will send him one more e-mail and see if it works. also tried contacting one of the R &D people. Bdale said that some of the scanner chipsets are from 3rdparty and may have non-disclosure agreement. Regards, Sanjay Mickael Profeta To: Christian Josefsson Sent by: cc: Sane Developers sane-devel-admin@lists.alioth .debian.org Subject: Re: [sane-devel] HP Scanjet 3670... 11/01/2004 08:20 PM Hi, sanjay.chigurup...@lntinfotech.com has a HP scanjet 2400 and it seems to be the same driver. After the mail of mancio_...@libero.it we just received, I think I am the last one to try to write a driver for this scanner :( If I forget someone just send an e-mail... Personnaly, I just defend my PhD and due to that I had no time to go on with this driver, but now i will have much time and I am still very interested to do it. I tried to ask HP for some technical doc but with no results... if you want to try... I tried to log the usb transaction under windows, bur unfortunately I can only log the beginning of the transaction... I don't receive anything in the log after the preview scan :( So as you can see we are at the very beginning of this job, but if you are interested I will be very very happy to collaborate. Do not hesitate to e-mail me, and we can start a more robust project to lead to this driver if you want... Sincerely Mike Christian Josefsson wrote: > Hi! > > I'm a Computer Science student, which has come to the point of writing > my Master Thesis. Since I'm interested in systems programming and Linux > and in the posession of a unsupported scanner, namely hp scanjet 3670, > I've concidered writing a driver for that scanner as part of my Thesis > (the thesis would also contain other investigations ...). > But since there appears to be some activity going on in writing a driver > for the scanjet 3670 I would like to hear, how far you have come, and > if it would be feasible for one more person trying to write the driver... > > However in case the driver is already close to finished and/or there already > are enough developers aiming at the same driver, I'd stop pursuing this > idea and instead find myself another subject for my Thesis. > > Kind regards > // Christian -- 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] HP Scanjet 3690 support
Dear All, I'm new to Sane, so please forgive me if I'm asking one of those anoying questions... I just received a HP Scanjet 3690 scanner. It is a cheap but nice one: it has also support for slides/films. My Suse 9.0 was not able to recognize my scanner and in the sane supported devices I didn't find any mention of it. I also googled a bit but I didn'd find any notes on having my scanner working under linux... is it possible to make it work? If so, can you give me some advice? If it is not yet upported is there anything I can do to analize it and (with your help) create a specific configuration for it? (please note that I'm not a C/C++ programmer) thanks a lot & regards, Timur __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus
[sane-devel] problem connecting to saned over network
Trying to connect to saned from remote computer on local network. If I start saned manually with the debug option (-d128), I can connect fine via telnet and even use xsane. When I add the proper line to xinetd.conf, I can not connect. I've made the shell script to allow debug mode w/xinetd and output an error file. I have no lines that would block me in hosts.allow/hosts.deny (do they even have any effect when using xinetd?) and I'm not using tcp_wrapper. Not going through a firewall. CanoScan LiDE 30 Sane 1.0.13 (CVS) Suse 9 the telnet output from the client machine is Trying XXX.XXX.XXX.XXX... Connected to server.local. Escape character is '^]'. Connection closed by foreign host. output from error file is [saned] main: starting debug mode (level 128) [saned] main: trying to get port for service `sane' (getaddrinfo) [saned] main: [0] socket () using IPv6 [saned] main: [0] setsockopt () [saned] main: [0] bind () to port 6566 [saned] main: [0] bind failed: Address already in use [saned] main: [1] socket () using IPv4 [saned] main: [1] setsockopt () [saned] main: [1] bind () to port 6566 [saned] main: [1] bind failed: Address already in use [saned] main: couldn't bind an address. Exiting. - It's saying that the address is already in use, though when I run it manually (with xinetd shut off) it does not give this message. I'm a bit stumped. TIA