[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] 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?
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
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?
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
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] 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] 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 3690 support
--- Henning Meier-Geinitz henn...@meier-geinitz.de 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