From jim.george@blueyonder.co.uk Sun Jan 4 20:14:22 2004 From: jim.george@blueyonder.co.uk (Jim George) Date: Sun, 4 Jan 2004 20:14:22 -0000 Subject: Fw: [sane-devel] mustek_pp trouble Message-ID: <000401c3d2ff$5857d330$0400a8c0@jav.co.uk> This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C3D2FF.57805EF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: [sane-devel] mustek_pp trouble ----- Original Message -----=20 From: jim.george@blueyonder.co.uk=20 To: jochen@penguin-breeder.org=20 Cc: jim.george@blueyonder.co.uk ; sane-devel@lists.alioth.debian.org=20 Sent: Friday, January 02, 2004 8:25 PM Subject: Re: [sane-devel] mustek_pp trouble > Hi, > > Jim George wrote: >> [sanei_pa4s2] sanei_pa4s2_open: could not find scanner >> [sanei_pa4s2] sanei_pa4s2_open: reported ASIC id 0xb5 > this looks like the backend couldn't find your scanner (0xa5 would = =3Dave > been a valid ID for example) > >> [sanei_pa4s2] sanei_pa4s2_enable: called for fd 0 with value =3D >> [sanei_pa4s2] sanei_pa4s2_enable: disable port 'parport0' > here the port is released again (at least it should be) > > can you actually scan with SANE and your scanner? This looks all = =3Dery > strange to me... > > regards > -- jochen Jochen, yes I have been able to scan but after an apparently sucessful scan = =3Dhe parallel port locks up (such that I can neither scan again nor print = =3Dgain until I have rebooted). I have sent logs up previously that Henning took a look at before suggesting that you or Eddy might be able to help. Eddy has asked =3De = to install gdb (if I have the room on my very small system) and run it = =3Dgain and send the output up. I'll do this some time over the weekend =3DI've literally just got back off holiday though so it'll take a couple of = =3Days to get myself settled). Thanks for your interest. Jim ) ------=_NextPart_000_0001_01C3D2FF.57805EF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: [sane-devel] mustek_pp trouble
 
----- Original Message -----=20
From: jim.george@blueyonder.co.uk
To: jochen@penguin-breeder.org=
Cc: jim.george@blueyonder.co.uk ; sane-devel@lists.aliot= h.debian.org=20
Sent: Friday, January 02, 2004 8:25 PM
Subject: Re: [sane-devel] mustek_pp trouble

> Hi,
>
> Jim George wrote:
>> = [sanei_pa4s2] sanei_pa4s2_open: could not find scanner
>> = [sanei_pa4s2]=20 sanei_pa4s2_open: reported ASIC id 0xb5
> this looks like the = backend=20 couldn't find your scanner (0xa5 would =3Dave
> been a valid ID = for=20 example)
>
>> [sanei_pa4s2] sanei_pa4s2_enable: called = for fd 0=20 with value =3D
>> [sanei_pa4s2] sanei_pa4s2_enable: disable = port=20 'parport0'
> here the port is released again (at least it should=20 be)
>
> can you actually scan with SANE and your scanner? = This looks=20 all =3Dery
> strange to me...
>
> regards
> --=20 jochen
Jochen,

yes I have been able to scan but after an = apparently=20 sucessful scan =3Dhe
parallel port locks up (such that I can neither = scan again=20 nor print =3Dgain
until I have rebooted).

I have sent logs up = previously=20 that Henning took a look at before
suggesting that you or Eddy might = be able=20 to help.  Eddy has asked =3De to
install gdb (if I have the room = on my=20 very small system) and run it =3Dgain
and send the output up.  = I'll do=20 this some time over the weekend =3DI've
literally just got back off = holiday=20 though so it'll take a couple of =3Days
to get myself = settled).

Thanks=20 for your interest.

Jim





) = ------=_NextPart_000_0001_01C3D2FF.57805EF0-- From gerhard@gjaeger.de Fri Jan 2 12:37:06 2004 From: gerhard@gjaeger.de (Jaeger, Gerhard) Date: Fri, 2 Jan 2004 13:37:06 +0100 Subject: [sane-devel] strange thread code? In-Reply-To: References: Message-ID: <200401021337.06363.gerhard@gjaeger.de> Hi, On Mittwoch, 31. Dezember 2003 18:10, m. allan noah wrote: > i am converting the fujitsu backend to use sanei_thread instead of fork. okay - good ;-) > > in reading the threading code, i found something that i dont understand, > and was hoping someone who knows a bit more could explain it to me: let's try. > in the function sanei_thread_waitpid(), the #ifdef PTHREAD section always > returns pid (around line 354). but farther down, in the #else section, the > return val from the waitpid() call is returned (which is the pid on > success, but 0 or -1 otherwise) > > so if you are calling sanei_thread_waitpid() and there is an error, you > might, or might not, get a negative return value? The idea is, that sanei_thread_waitpid should be some replacement for waitpid, and if this waitpid fails, you should get back exactly the code it delivers... Only the case ECHILD is handled different (guess it was because of some internals in the plustek backend ;-) ) In case of the pthread_join stuff, there's no proper replacement for waitpid, and that's why this part always returns the pid (maybe this can also be done better, but currently I don't see any problems there) So you can use sanei_thread_waitpid the same way you have used it in your backend... > am i not reading this code correctly? no, you're reading it correctly... Hope this helps a bit, Gerhard From karsten.festag@gmx.de Sat Jan 3 20:52:24 2004 From: karsten.festag@gmx.de (Karsten Festag) Date: Sat, 3 Jan 2004 21:52:24 +0100 Subject: [sane-devel] problems with microtek X6 scanner in TMA mode In-Reply-To: <200312212000.41268.joheid@ttiger.in-berlin.de> References: <200312152206.08204.joheid@ttiger.in-berlin.de> <200312201723.10871.karsten.festag@gmx.de> <200312212000.41268.joheid@ttiger.in-berlin.de> Message-ID: <200401032027.15111.karsten.festag@gmx.de> Hi Joachim, I hope I found the bug. It is in the function 'attach'. There are several calls like status = scsi_read_attributes(&md->info[MD_SOURCE_ADF], md->name, MD_SOURCE_ADF); They all must have the first parameter &md->info[0] so that they look like: status = scsi_read_attributes(&md->info[0], md->name, MD_SOURCE_ADF); Are you able to check if this is the solution to the problem by recompiling SANE with this modification? (The best thing is to use the source rpm provided by SUSE and modify them.) Karsten On Sunday 21 December 2003 20:00, you wrote: > Am Samstag, 20. Dezember 2003 17:23 schrieben Sie: > > Hi Joachim, > > > > thanks for the logfiles, it looks like the backend uses the wrong > > values, I'll have to check this. > > > > Do you remember which SANE version the TMA used to work with > > before? > > Hi Karsten, > I'm not 100% shure, but I think that it worked up to at least SuSE > 7.3. > I'n the beginning (around 1998/99) there were some problems with the > microtek firmware (at least V 1.6 was required) but then everything > worked o.k. > Yours From henning@meier-geinitz.de Mon Jan 5 18:44:29 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 5 Jan 2004 19:44:29 +0100 Subject: [sane-devel] Cannot connect to saned In-Reply-To: <1072726235.11758.13.camel@hauke.coltzimski> References: <1072715179.8227.14.camel@hauke.coltzimski> <20031229164525.GD1280@meier-geinitz.de> <1072726235.11758.13.camel@hauke.coltzimski> Message-ID: <20040105184429.GF1651@meier-geinitz.de> Hi, On Mon, Dec 29, 2003 at 08:31:07PM +0100, Hauke Coltzau wrote: > > > On the other hand, the sane server itself seems to be fine, > > > since I can run scanimage -L on localhost and telnet to > > > port 6566 from both localhost and remote. > > > > So it doesn't look like a saned problem on first sight. What happens > > when you do: > > scanimage -d net:192.168.0.1 -T > > The client says that it is out of memory. It shouldn't be since > there's lots of free mem available. The same thing happens, if > I try scanimage -d net:192.168.0.1 -t on the server. > Can it be a bug? Yes. Probably in the backend on the server. Please show us the exact error message. You may also get some debug messages like this: SANE_DEBUG_NET=255 scanimage -d net:192.168.0.1 -T > > Does scanning work? I.e. id you start saned in debug mode on the > > server, does "scanimage -d net:192.168.0.1 >image.pnm" on the client > > scan something? If not, what's the error message? > > As above, out of memory. Nothing more, nothing in /var/log/messages Nothing? At least when running in (x)inetd mode, daned does print some messages into syslog. In debug mode, it prints the messages to stderr. Bye, Henning From henning@meier-geinitz.de Mon Jan 5 18:50:47 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 5 Jan 2004 19:50:47 +0100 Subject: [sane-devel] Visioneer OneTouch Pro 8820 USB In-Reply-To: <3FF119FB.7030909@vonostingroup.com> References: <3FF119FB.7030909@vonostingroup.com> Message-ID: <20040105185047.GG1651@meier-geinitz.de> Hi, On Tue, Dec 30, 2003 at 01:23:55AM -0500, Frank Laszlo wrote: > I have the above scanner, And I wondered if it was supported by sane? > (or anything in linux) > > I believe this model is discontinued, though im not 100% sure. please > let me know of any effort for a driver to be developed. Thanks At least our lists don't know anything about that scanner which is usually bad. If nobody cries out loudly I'll add this scanner to the "unsupported" list. Bye, Henning From henning@meier-geinitz.de Mon Jan 5 18:54:44 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 5 Jan 2004 19:54:44 +0100 Subject: [sane-devel] Umax 2200 smearing/dangerous options In-Reply-To: <20031231140600.F744@green.nat.fasttrackmonkey.com> References: <20031231140600.F744@green.nat.fasttrackmonkey.com> Message-ID: <20040105185444.GH1651@meier-geinitz.de> Hi, On Wed, Dec 31, 2003 at 02:16:40PM -0500, Charles Sprickman wrote: > Also, is there a wiki-type thing somewhere where people can share > information about their particular models? It seems that I stumbled all > over things that just aren't documented on the site, but are common > knowledge once you're on the list for a while (ie: don't use the OS > driver, use libusb, scanner won't work w/o quality control disabled, etc.) As far as I know there is no wiki. This is information that should really be added to the backend's manpage. In case of options that should be disabled: ideally, the backend should do that automatically. I suggest to add a (wishlist) bug for that backend on our bug-tracking system. Bye, Henning From edg1@tiscali.be Sat Jan 3 20:06:48 2004 From: edg1@tiscali.be (edg1@tiscali.be) Date: Sat, 3 Jan 2004 21:06:48 +0100 Subject: [sane-devel] mustek_pp trouble (was: saned doesn't release the parallel port when finished) In-Reply-To: <20040103193953.GB4122@reddot.erps-kwerps.be>; from edg1@tiscali.be on za, jan 03, 2004 at 20:39:53 +0100 References: <4240.192.168.0.4.1072433618.squirrel@tassi.local> <20031226093600.GJ1498@meier-geinitz.de> <4549.192.168.0.4.1072448029.squirrel@tassi.local> <20031226131822.GK1498@meier-geinitz.de> <1177.192.168.0.4.1072455738.squirrel@tassi.local> <20031226153605.GL1498@meier-geinitz.de> <20031226230048.GA3250@reddot.erps-kwerps.be> <3613.192.168.0.4.1073080152.squirrel@tassi.local> <20040103193953.GB4122@reddot.erps-kwerps.be> Message-ID: <20040103200648.GC4768@reddot.erps-kwerps.be> On 02-01-04 22:49:12 Jim George wrote: > I tried that but got the following before I'd had a chance to run > scanimage. > > Have a lot of fun... > tassi:~ # SANE_DEBUG_MUSTEK_PP=255 gdb saned > ... > (gdb) r -d128 > Starting program: /usr/sbin/saned -d128 > [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. > > Program exited with code 01. > (gdb) > > Any ideas as to how I can progress this? Sorry, I forgot to mention that you first have to stop xinetd: /etc/rc.d/init.d/xinetd stop Best regards, Eddy From jim.george@blueyonder.co.uk Mon Jan 5 21:46:39 2004 From: jim.george@blueyonder.co.uk (Jim George) Date: Mon, 5 Jan 2004 21:46:39 -0000 (GMT) Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port Message-ID: <1687.192.168.0.4.1073339199.squirrel@tassi.local> Eddy and Joachen, when I tried to run saned under gdb I got the following output. Doesn't look good does it? Can you tell me what I should do now? SANE_DEBUG_MUSTEK_PP=255 gdb GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux". (gdb) exec-file /usr/sbin/saned (gdb) r -d128 Starting program: /usr/sbin/saned -d128 [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. Program exited with code 01. (gdb) TIA, Jim From jb@jblache.org Mon Jan 5 20:50:31 2004 From: jb@jblache.org (Julien BLACHE) Date: Mon, 05 Jan 2004 21:50:31 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <1687.192.168.0.4.1073339199.squirrel@tassi.local> (Jim George's message of "Mon, 5 Jan 2004 21:46:39 -0000 (GMT)") References: <1687.192.168.0.4.1073339199.squirrel@tassi.local> Message-ID: <87r7ye3yso.fsf@frigate.technologeek.org> "Jim George" wrote: Hi, > [saned] main: [0] bind failed: Address already in use > [saned] main: [1] bind failed: Address already in use > [saned] main: couldn't bind an address. Exiting. > > Program exited with code 01. I guess you have (x)inetd configured to listen on port 6566 ... ? JB. -- Julien BLACHE GPG KeyID 0xF5D65169 From gerhard@gjaeger.de Mon Jan 5 21:07:59 2004 From: gerhard@gjaeger.de (Jaeger, Gerhard) Date: Mon, 5 Jan 2004 22:07:59 +0100 Subject: [sane-devel] Plustek OpticPro U12 (product-id:0x0001) Message-ID: <200401052207.59219.gerhard@gjaeger.de> Hi list, finally we now have a backend called U12 which should support the following scanner: Plustek OpticPro U12 Plustek OpticPro UT12 Plustek OpticPro 1212U (all having the product-ID 0x0001) also the Genius ColorPage Vivid III V2 USB should work (Plustek vendor & product id) and Genius HR6 USB V1 (vendor-ID: 0x0458, product-ID: 0x2004) should work. The backend currently is in alpha state, which means, that only color scanning will work and we have some other problems, which require sometimes a restart of the backend - I hope to improve this ASAP. As I have only a U12 as test-device, the others are not tested... To test it with your device, you have to download the latest CVS-version of SANE and to activate the u12 backend... Have fun, Gerhard From henning@meier-geinitz.de Mon Jan 5 21:43:08 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 5 Jan 2004 22:43:08 +0100 Subject: [sane-devel] Plustek OpticPro U12 (product-id:0x0001) In-Reply-To: <200401052207.59219.gerhard@gjaeger.de> References: <200401052207.59219.gerhard@gjaeger.de> Message-ID: <20040105214308.GJ1651@meier-geinitz.de> Hi, On Mon, Jan 05, 2004 at 10:07:59PM +0100, Jaeger, Gerhard wrote: > finally we now have a backend called U12 which should support the following > scanner: > Genius ColorPage Vivid III V2 USB should work (Plustek vendor & product id) > Genius HR6 USB V1 (vendor-ID: 0x0458, product-ID: 0x2004) should work. I don't have any of these scanners but the " Genius Colorpage Vivid III V2 USB" was reported to me as supported by the gt68xx backend. According to that report the scanner has the same ids as the Genius Colorpage Vivid 3x. The ids are reported to be 0x0458/0x2011. Two scanners with the same name? The "Genius Colorpage Vivid III" (without the "V2") is however reported to have these ids: 0x07b3 0x0001 (see unsupported.desc). So I guess that one IS supported by your backend. Good work! Don't forget to update sane.man :-) Bye, Henning From henning@meier-geinitz.de Mon Jan 5 21:58:37 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 5 Jan 2004 22:58:37 +0100 Subject: [sane-devel] Umax 2200 smearing/dangerous options In-Reply-To: <20031231140600.F744@green.nat.fasttrackmonkey.com> References: <20031231140600.F744@green.nat.fasttrackmonkey.com> Message-ID: <20040105215837.GL1651@meier-geinitz.de> Hi, On Wed, Dec 31, 2003 at 02:16:40PM -0500, Charles Sprickman wrote: > This will hopefully be the last time I bother the list. My Umax 2200 is > now basically working, but the scans look pretty bad. They have what I > could best describe as "banding" or "smearing". An example from a 300dpi > scan is here (white areas on the left are the scanner lid and show the > pattern rather well - looks like the output of a really bad inkjet > printer): > > http://home.manymonkeys.com/out.png (approx. 1MB png) On first sight I would have said: the image is ok. When I looked with gimp and it's magnifying option I found two effects: a) There is a small line distance correction error. That means that the colors are not exactly centered vertically. You can see that effect best at the top edge of the photo. There is a blue/brown stripe. Possible causes: Bug in the backend or scanner firmware. Or low quality scanner. b) High noise. The colors of two adjacent pixels should be (mostly) the same in the white area. Possible causes: Low quality sensor. Defective or old lamp. Bug in the backend or firmware (calibration). I guess the horizontal lines that look like an old inkjet print are cause by problem a). As I don't own such a scanner I have no clue how to solve it (if possible), however. Bye, Henning From benedict.prescott@virgin.net Mon Jan 5 23:15:01 2004 From: benedict.prescott@virgin.net (Ben Prescott) Date: Mon, 5 Jan 2004 23:15:01 +0000 Subject: [sane-devel] Trust Imagery 9600 Message-ID: <20040105231501.35fe567c.benedict.prescott@virgin.net> This is a multi-part message in MIME format. --Multipart_Mon__5_Jan_2004_23:15:01_+0000_084156f8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit I'm having problems getting this working. I've searched the archive and there's nothing in there apart from the announcement when the teco3 backend was released. I also note that the man pages states that it is untested. I would hypothesise that they've littered the output from /inquiry/ with some extra spaces, which is why its failing. FCC ID is, BTW, 'E8OVM3552' The final test I did is as follows: # export SANE_DEBUG_TECO3=128 # scanimage -d teco3:/dev/sg3 The output is attached in a plain text file; my email client is wrapping it and making a mess. The error returned from all the front ends is 'invalid argument', as in: scanimage: open of device teco3:/dev/sg3 failed: Invalid argument I'm guessing the key lines in the debug are as follows: [teco3] device is "Aashima " "IMAGERY 9600SP " "1.07" "TECO VM6552" [teco3] teco_identify_scanner: exit, device not supported [teco3] ERROR: attach_scanner: scanner-identification failed Some background ... I stripped out the backend config file (I'm running Suse 8.2; YAST has filled it with other stuffas well) as per the man page's statement about what it should contain, but I would guess that is irrelevant given the way I ran it. # cat /etc/sane.d/teco3.conf /dev/sg3 Versions: scanimage --version scanimage (sane-backends) 1.0.11; backend version 1.0.11 /usr/lib/sane/libsane-teco3.so.1.0.11 The SCSI adapter is an on-board Adaptec aic7895. Also on the same bus are: Vendor: COMPAQ Model: ST32171W Rev: 0682 Type: Direct-Access ANSI SCSI revision: 02 blk: queue c1b67c18, I/O limit 4095Mb (mask 0xffffffff) Vendor: SCANNER Model: Rev: 2.00 Type: Scanner ANSI SCSI revision: 01 blk: queue c1b67618, I/O limit 4095Mb (mask 0xffffffff) Vendor: PLEXTOR Model: CD-ROM PX-40TS Rev: 1.00 Type: CD-ROM ANSI SCSI revision: 02 blk: queue c1b67218, I/O limit 4095Mb (mask 0xffffffff) The Trust unit registers as follows: Vendor: Aashima Model: IMAGERY 9600SP Rev: 1.07 Type: Scanner ANSI SCSI revision: 02 blk: queue c1b33a18, I/O limit 4095Mb (mask 0xffffffff) And the following is generated by the host adapter driver for this device: <4>(scsi0:A:5:0): refuses synchronous negotiation. Using asynchronous All other devices work correctly. The main reason why the other scanner is there (Mustek A3 SP, works a treat in Linux, blue screens NT - thankyou very much for SANE!!) is to do with the combination of cables and terminators I've got. Thankyou in advance for your help. If I/we can get it working, I'm happy to put the thing through a test cycle so it can acquire 'tested' status. Assuming anyone cares, of course! regards, Ben --Multipart_Mon__5_Jan_2004_23:15:01_+0000_084156f8 Content-Type: application/octet-stream; name="imagery.txt" Content-Disposition: attachment; filename="imagery.txt" Content-Transfer-Encoding: base64 W3RlY28zXSBzYW5lX2luaXQKW3RlY28zXSBUaGlzIGlzIHNhbmUtdGVjbzMgdmVyc2lvbiAxLjAt MQpbdGVjbzNdIChDKSAyMDAyIGJ5IEZyYW5rIFphZ28KW3RlY28zXSBhdHRhY2hfc2Nhbm5lcjog L2Rldi9zZzMKW3RlY28zXSB0ZWNvX2luaXQ6IGVudGVyClt0ZWNvM10gdGVjb19pbml0OiBleGl0 Clt0ZWNvM10gYXR0YWNoX3NjYW5uZXI6IG9wZW5pbmcgL2Rldi9zZzMKW3RlY28zXSB0ZWNvX2lk ZW50aWZ5X3NjYW5uZXI6IGVudGVyClt0ZWNvM10gaW5xdWlyeQpbdGVjbzNdIDAwMDogMDYgMDAg MDIgMDIgNDMgMDAgMDAgMTAgNDEgNjEgNzMgNjggNjkgNmQgNjEgMjAgICAgLi4uLkMuLi5BYXNo aW1hIApbdGVjbzNdIDAxNjogNDkgNGQgNDEgNDcgNDUgNTIgNTkgMjAgMzkgMzYgMzAgMzAgNTMg NTAgMjAgMjAgICAgSU1BR0VSWSA5NjAwU1AgIApbdGVjbzNdIDAzMjogMzEgMmUgMzAgMzcgMzEg MmUgMzAgMzcgMDMgMDIgNTQgNDUgNDMgNGYgMjAgNTYgICAgMS4wNzEuMDcuLlRFQ08gVgpbdGVj bzNdIDA0ODogNGQgMzYgMzUgMzUgMzIgMjAgMDAgMDEgMDIgNTggMDAgMDEgMDQgYjAgMTMgZWMg ICAgTTY1NTIgLi4uWC4uLi4uLgpbdGVjbzNdIDA2NDogMWUgNzggMDIgNTggMDAgMDAgMDAgMDEg ICAgLnguWC4uLi4KW3RlY28zXSBkZXZpY2UgaXMgIkFhc2hpbWEgIiAiSU1BR0VSWSA5NjAwU1Ag ICIgIjEuMDciICJURUNPIFZNNjU1MiIKW3RlY28zXSB0ZWNvX2lkZW50aWZ5X3NjYW5uZXI6IGV4 aXQsIGRldmljZSBub3Qgc3VwcG9ydGVkClt0ZWNvM10gRVJST1I6IGF0dGFjaF9zY2FubmVyOiBz Y2FubmVyLWlkZW50aWZpY2F0aW9uIGZhaWxlZApbdGVjbzNdIHRlY29fZnJlZTogZW50ZXIKW3Rl Y28zXSB0ZWNvX2Nsb3NlOiBlbnRlcgpbdGVjbzNdIHRlY29fY2xvc2U6IGV4aXQKW3RlY28zXSB0 ZWNvX2ZyZWU6IGV4aXQKW3RlY28zXSBzYW5lX2luaXQ6IGxlYXZlClt0ZWNvM10gc2FuZV9vcGVu OiBlbnRlcgpbdGVjbzNdIHNhbmVfb3BlbjogZGV2aWNlbmFtZT0vZGV2L3NnMwpbdGVjbzNdIGF0 dGFjaF9zY2FubmVyOiAvZGV2L3NnMwpbdGVjbzNdIHRlY29faW5pdDogZW50ZXIKW3RlY28zXSB0 ZWNvX2luaXQ6IGV4aXQKW3RlY28zXSBhdHRhY2hfc2Nhbm5lcjogb3BlbmluZyAvZGV2L3NnMwpb dGVjbzNdIHRlY29faWRlbnRpZnlfc2Nhbm5lcjogZW50ZXIKW3RlY28zXSBpbnF1aXJ5Clt0ZWNv M10gMDAwOiAwNiAwMCAwMiAwMiA0MyAwMCAwMCAxMCA0MSA2MSA3MyA2OCA2OSA2ZCA2MSAyMCAg ICAuLi4uQy4uLkFhc2hpbWEgClt0ZWNvM10gMDE2OiA0OSA0ZCA0MSA0NyA0NSA1MiA1OSAyMCAz OSAzNiAzMCAzMCA1MyA1MCAyMCAyMCAgICBJTUFHRVJZIDk2MDBTUCAgClt0ZWNvM10gMDMyOiAz MSAyZSAzMCAzNyAzMSAyZSAzMCAzNyAwMyAwMiA1NCA0NSA0MyA0ZiAyMCA1NiAgICAxLjA3MS4w Ny4uVEVDTyBWClt0ZWNvM10gMDQ4OiA0ZCAzNiAzNSAzNSAzMiAyMCAwMCAwMSAwMiA1OCAwMCAw MSAwNCBiMCAxMyBlYyAgICBNNjU1MiAuLi5YLi4uLi4uClt0ZWNvM10gMDY0OiAxZSA3OCAwMiA1 OCAwMCAwMCAwMCAwMSAgICAueC5YLi4uLgpbdGVjbzNdIGRldmljZSBpcyAiQWFzaGltYSAiICJJ TUFHRVJZIDk2MDBTUCAgIiAiMS4wNyIgIlRFQ08gVk02NTUyIgpbdGVjbzNdIHRlY29faWRlbnRp Znlfc2Nhbm5lcjogZXhpdCwgZGV2aWNlIG5vdCBzdXBwb3J0ZWQKW3RlY28zXSBFUlJPUjogYXR0 YWNoX3NjYW5uZXI6IHNjYW5uZXItaWRlbnRpZmljYXRpb24gZmFpbGVkClt0ZWNvM10gdGVjb19m cmVlOiBlbnRlcgpbdGVjbzNdIHRlY29fY2xvc2U6IGVudGVyClt0ZWNvM10gdGVjb19jbG9zZTog ZXhpdApbdGVjbzNdIHRlY29fZnJlZTogZXhpdApzY2FuaW1hZ2U6IG9wZW4gb2YgZGV2aWNlIHRl Y28zOi9kZXYvc2czIGZhaWxlZDogSW52YWxpZCBhcmd1bWVudApbdGVjbzNdIHNhbmVfZXhpdDog ZW50ZXIKW3RlY28zXSBzYW5lX2V4aXQ6IGV4aXQK --Multipart_Mon__5_Jan_2004_23:15:01_+0000_084156f8-- From ecr959@yahoo.com Tue Jan 6 00:56:23 2004 From: ecr959@yahoo.com (Eddie Colon) Date: Mon, 5 Jan 2004 16:56:23 -0800 (PST) Subject: [sane-devel] 4600 scanner info Message-ID: <20040106005623.14529.qmail@web41408.mail.yahoo.com> I just sent you a message with some info on this model. I'm sorry that I used my other email, please accept my info, I really am a new member of your DEV list, but I registered with this email, not my othere one. Eddie ===== Eddie Colon Bayamon, PR 00959 "The best things in life are not things" __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From gerhard@gjaeger.de Tue Jan 6 09:39:13 2004 From: gerhard@gjaeger.de (Jaeger, Gerhard) Date: Tue, 6 Jan 2004 10:39:13 +0100 Subject: [sane-devel] Plustek OpticPro U12 (product-id:0x0001) In-Reply-To: <20040105214308.GJ1651@meier-geinitz.de> References: <200401052207.59219.gerhard@gjaeger.de> <20040105214308.GJ1651@meier-geinitz.de> Message-ID: <200401061039.14088.gerhard@gjaeger.de> Moin, On Montag, 5. Januar 2004 22:43, Henning Meier-Geinitz wrote: [SNIPSNAP] > I don't have any of these scanners but the " Genius Colorpage Vivid > III V2 USB" was reported to me as supported by the gt68xx backend. > According to that report the scanner has the same ids as the Genius > Colorpage Vivid 3x. The ids are reported to be 0x0458/0x2011. Two scanners > with the same name? > > The "Genius Colorpage Vivid III" (without the "V2") is however > reported to have these ids: 0x07b3 0x0001 (see unsupported.desc). So I > guess that one IS supported by your backend. Okay, no problem! I only searched through some older mails here on the plustek list and that's why I decided to use Vivid III V2... But you're right, the 0x07b3 0x0001 is the correct one (obviously, because of the Plustek vendor ID ;-) > Good work! > > Don't forget to update sane.man :-) Hmmmmpf, I think this already happens :-)))))))))))) Ciao, Gerhard BTW.: Any progress on the GL646 stuff?? From jochen@penguin-breeder.org Tue Jan 6 10:54:50 2004 From: jochen@penguin-breeder.org (Jochen Eisinger) Date: Tue, 06 Jan 2004 11:54:50 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <1687.192.168.0.4.1073339199.squirrel@tassi.local> References: <1687.192.168.0.4.1073339199.squirrel@tassi.local> Message-ID: <3FFA93FA.80103@penguin-breeder.org> Hello, I've thought long about your problem but I still don't get how your parport can be locked that badly. What kernel version are you using? What Linux distribution? Could you please send the output of (after rebooting - that is in a state where the scan will work?) SANE_DEBUG_SANEI_PA4S2=6 scanimage --test regards -- jochen From eddiecr@caribe.net Tue Jan 6 00:40:30 2004 From: eddiecr@caribe.net (Eddie Colon) Date: Mon, 05 Jan 2004 19:40:30 -0500 Subject: [sane-devel] here is info for the HP scanjet 4600 scanner Message-ID: <1073349630.2585.17.camel@localhost.localdomain> Hello everybody, Happy New Year to all. this is my first contribution to this forum. I just bought an HP scanjet 4600 scanner, it has USB connection. I really like it, want to use it on my Mandrake PC, here is the "cat /proc/bus/usb/devices " printout. I hope this helps create a driver for it. [root@localhost /]# cat /proc/bus/usb/devices T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.04 S: Manufacturer=Linux 2.4.22-10mdk ehci_hcd S: Product=VIA Technologies, Inc. USB 2.0 S: SerialNumber=00:10.3 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms T: Bus=04 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=03f0 ProdID=3005 Rev= 1.00 S: Manufacturer=Hewlett-Packard. S: Product=hp scanjet S: SerialNumber=CN3B4B502993 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=500us T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=e400 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=e800 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ec00 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms [root@localhost /]# -- Eddie Colon Bayamon, Puerto Rico "The best things in life are not things." From anoah@pfeiffer.edu Tue Jan 6 15:15:12 2004 From: anoah@pfeiffer.edu (m. allan noah) Date: Tue, 6 Jan 2004 10:15:12 -0500 (EST) Subject: [sane-devel] strange thread code? In-Reply-To: <200401021337.06363.gerhard@gjaeger.de> Message-ID: On Fri, 2 Jan 2004, Jaeger, Gerhard wrote: > Hi, > > On Mittwoch, 31. Dezember 2003 18:10, m. allan noah wrote: > > i am converting the fujitsu backend to use sanei_thread instead of fork. > > okay - good ;-) > > > > > in reading the threading code, i found something that i dont understand, > > and was hoping someone who knows a bit more could explain it to me: > > let's try. > > > in the function sanei_thread_waitpid(), the #ifdef PTHREAD section always > > returns pid (around line 354). but farther down, in the #else section, the > > return val from the waitpid() call is returned (which is the pid on > > success, but 0 or -1 otherwise) > > > > so if you are calling sanei_thread_waitpid() and there is an error, you > > might, or might not, get a negative return value? > > The idea is, that sanei_thread_waitpid should be some replacement for waitpid, > and if this waitpid fails, you should get back exactly the code it delivers... > Only the case ECHILD is handled different (guess it was because of some > internals in the plustek backend ;-) ) ok, i understand this, sanei_thread_waitpid should mimic waitpid() functionality.... > In case of the pthread_join stuff, there's no proper replacement for waitpid, > and that's why this part always returns the pid (maybe this can also be > done better, but currently I don't see any problems there) > ok, so sanei_thread_waitpid does not mimic waitpid, in the case of threading? > So you can use sanei_thread_waitpid the same way you have used it in > your backend... unless threading is used, cause i cant use the return val in that case, instead i must use the status pointer? seems like this abstraction layer is not quite abstracted enough... > > > am i not reading this code correctly? > > no, you're reading it correctly... > > Hope this helps a bit, > Gerhard > > thanks for the tips, thought i was missing something... allan -- "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 henning@meier-geinitz.de Tue Jan 6 17:46:49 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Tue, 6 Jan 2004 18:46:49 +0100 Subject: [sane-devel] here is info for the HP scanjet 4600 scanner In-Reply-To: <1073349630.2585.17.camel@localhost.localdomain> References: <1073349630.2585.17.camel@localhost.localdomain> Message-ID: <20040106174649.GE1515@meier-geinitz.de> Hi, On Mon, Jan 05, 2004 at 07:40:30PM -0500, Eddie Colon wrote: > Happy New Year to all. this is my first contribution to this > forum. I just bought an HP scanjet 4600 scanner, it has USB > connection. I really like it, want to use it on my Mandrake PC, here > is the "cat /proc/bus/usb/devices " printout. I hope this helps > create a driver for it. Thanks. I'll add that scanner to our list. However, that won't help much until someone (you?) starts to write a driver :-) Can you really see the image while it's scanned? The description of that scanner looks a bit strange. Bye, Henning From joheid@ttiger.in-berlin.de Tue Jan 6 21:20:45 2004 From: joheid@ttiger.in-berlin.de (joachim heidemeier) Date: Tue, 6 Jan 2004 22:20:45 +0100 Subject: [sane-devel] problems with microtek X6 scanner in TMA mode In-Reply-To: <200401032027.15111.karsten.festag@gmx.de> References: <200312152206.08204.joheid@ttiger.in-berlin.de> <200312212000.41268.joheid@ttiger.in-berlin.de> <200401032027.15111.karsten.festag@gmx.de> Message-ID: <200401062220.45298.joheid@ttiger.in-berlin.de> Am Samstag, 3. Januar 2004 21:52 schrieb Karsten Festag: > Hi Joachim, > > I hope I found the bug. It is in the function 'attach'. There are > several calls like > > status = scsi_read_attributes(&md->info[MD_SOURCE_ADF], md->name, > MD_SOURCE_ADF); > > They all must have the first parameter &md->info[0] so that they > look like: > > status = scsi_read_attributes(&md->info[0], md->name, > MD_SOURCE_ADF); > > Are you able to check if this is the solution to the problem by > recompiling SANE with this modification? (The best thing is to use > the source rpm provided by SUSE and modify them.) > > Karsten > > On Sunday 21 December 2003 20:00, you wrote: > > Am Samstag, 20. Dezember 2003 17:23 schrieben Sie: > > > Hi Joachim, > > > > > > thanks for the logfiles, it looks like the backend uses the > > > wrong values, I'll have to check this. > > > > > > Do you remember which SANE version the TMA used to work with > > > before? > > > > Hi Karsten, > > I'm not 100% shure, but I think that it worked up to at least > > SuSE 7.3. > > I'n the beginning (around 1998/99) there were some problems with > > the microtek firmware (at least V 1.6 was required) but then > > everything worked o.k. > > Yours Hi Karsten, I checked your patches and everything is o.k. :-). Yours -- Dr. J. Heidemeier Email: joheid@ttiger.in-berlin.de From jochen@penguin-breeder.org Tue Jan 6 22:21:27 2004 From: jochen@penguin-breeder.org (Jochen Eisinger) Date: Tue, 06 Jan 2004 23:21:27 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <1687.192.168.0.4.1073339199.squirrel@tassi.local> References: <1687.192.168.0.4.1073339199.squirrel@tassi.local> Message-ID: <3FFB34E7.3080107@penguin-breeder.org> Hello, another idea. May it be, that there are any saned or scanimage running after the first scan attempt? regards -- jochen Jim George wrote: > Eddy and Joachen, > > when I tried to run saned under gdb I got the following output. Doesn't > look good does it? Can you tell me what I should do now? > > SANE_DEBUG_MUSTEK_PP=255 gdb > GNU gdb 5.2.1 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are welcome to change it and/or distribute copies of it under certain > conditions. Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. This GDB was configured as "i586-suse-linux". > (gdb) exec-file /usr/sbin/saned > (gdb) r -d128 > Starting program: /usr/sbin/saned -d128 > [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. > > Program exited with code 01. > (gdb) > > > TIA, > > Jim > > > > From olaf@epkowa.co.jp Wed Jan 7 00:25:20 2004 From: olaf@epkowa.co.jp (Olaf Meeuwissen) Date: Wed, 07 Jan 2004 09:25:20 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <20031231100823.GI1003@meier-geinitz.de> (Henning Meier-Geinitz's message of "Wed, 31 Dec 2003 11:08:23 +0100") References: <1072823795.721.38.camel@invigiator.invigiator.com> <2EF6A039-3B1F-11D8-B259-000A957E40E8@khk.net> <1072829396.721.49.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> Message-ID: <878ykkehan.fsf@zen.epkowa.co.jp> Henning Meier-Geinitz writes: > Hi, > > On Wed, Dec 31, 2003 at 09:09:56AM +0900, Julian Gough wrote: >> Under windows it is reported as an Epson Perfection 1270, and seems to >> work, but the software is in Japanese. >> >> I can see that the 1250 and 1260 use the plustek driver. I've configured >> /etc/sane.d/plustek.conf as follows: >> [usb] 0x04B8 0x0120 >> device auto >> >> but still I get nothing detected. I can see no way to try to *force* the >> plustek driver to be used so that I can see if it works. > > You may also try the snapscan backend. At least the 1670 is supported > by that backend. Maybe these scanners are similar? But you will need > the latest development version of SANE. Maybe the manintainer of the > snapscan backend has heard baout that scanner: Oliver Schwartz > Sorry for the late follow-up. I've checked around a little bit and found some tidbits of information that seems to indicate that the GT-7400U is the little sister of the GT-8400U. There is a reasonable chance that this scanner works with the snapscan backend. You will probably have to muck around a bit to get it to load the right firmware file and copy that file from the Windoze software. No guarantees though ;-) -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From kent-cdr@greendot.com.ph Wed Jan 7 00:45:17 2004 From: kent-cdr@greendot.com.ph (kent E.) Date: Wed, 07 Jan 2004 08:45:17 +0800 Subject: [sane-devel] using saned Message-ID: <1073436317.916.4.camel@leprechaun.cdr.com> does any have any docs on how to setup a network scanner using saned, i am following the one in http://www.penguin-breeder.org/sane/saned/ but still i am confused, i am using rh9 and my 3-in-1 model is hp1100a any ideas? TIA Kent From vhodge@sympatico.ca Wed Jan 7 03:32:12 2004 From: vhodge@sympatico.ca (vhodge@sympatico.ca) Date: Tue, 6 Jan 2004 22:32:12 -0500 Subject: [sane-devel] Mustek 1200USB scanner (VID 055F PID 0003) Message-ID: <20040107033212.WHRT23150.tomts13-srv.bellnexxia.net@[67.68.54.6]> January 6, 2004 Hi, I've just bought this unboxed, at least I already had a power brick, now I'm looking to program it. I turn to Linux, which leads me to this SANE forum, and the statement that this scanner is unsupported but "programming information is available". Do I have to sign anything? Background: I'm building USB drivers under DOS as a hobby, have written UHCI mouse, drawing tablet drivers. My only product will be a confirmation that the information was found to be correct. Victor Hodge From edg1@tiscali.be Wed Jan 7 08:50:02 2004 From: edg1@tiscali.be (edg1@tiscali.be) Date: Wed, 7 Jan 2004 09:50:02 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <3FFB34E7.3080107@penguin-breeder.org> Message-ID: <3FFB29D700000243@ocpmta2.freegates.net> Hi, as I said before (but I don't know whether it came through because of the mail hickups), the problem in gdb is almost certainly caused by xinetd that is still running and listening to port 6566. xinetd has to be stopped first before running saned in gdb: /etc/rc.d/init.d/xinetd stop After that, it should be possible to get a stack trace of the point where saned hangs. Eddy Jochen Eisinger wrote: > Hello, > > another idea. May it be, that there are any saned or scanimage running > after the first scan attempt? > > regards > -- jochen > > Jim George wrote: > > Eddy and Joachen, > > > > when I tried to run saned under gdb I got the following output. Does > >'t > > look good does it? Can you tell me what I should do now? > > > > SANE_DEBUG_MUSTEK_PP=255 gdb > > GNU gdb 5.2.1 > > Copyright 2002 Free Software Foundation, Inc. > > GDB is free software, covered by the GNU General Public License, and you > > are wel > >ome to change it and/or distribute copies of it under certain > > conditions. Type "show copying" to see the conditions. > > There is absolutely no warranty for GDB. Type "show warranty" for > > details. This GDB was configured as "i586-suse-linux". > > ( > >db) exec-file /usr/sbin/saned > > (gdb) r -d128 > > Starting program: /usr/sbin/saned -d128 > > [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. > > > > Program exited with code 01. > > (gdb) > > > > > > TIA, > > > > Jim --------------------------------------------------------------- Tiscali ADSL: 12 maanden aan 29,50 €/maand! Snel Internet, en voor iedereen. http://reg.tiscali.be/default.asp?lg=nl From jim.george@blueyonder.co.uk Wed Jan 7 10:20:39 2004 From: jim.george@blueyonder.co.uk (Jim George) Date: Wed, 7 Jan 2004 10:20:39 -0000 (GMT) Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <3FFB29D700000243@ocpmta2.freegates.net> References: <3FFB34E7.3080107@penguin-breeder.org> <3FFB29D700000243@ocpmta2.freegates.net> Message-ID: <1856.192.168.0.4.1073470839.squirrel@tassi.local> ------=_20040107102039_63664 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit > Hi, > > as I said before (but I don't know whether it came through because of > the mail hickups), the problem in gdb is almost certainly caused by > xinetd that is still running and listening to port 6566. xinetd has to > be stopped first before running saned in gdb: > > /etc/rc.d/init.d/xinetd stop > > After that, it should be possible to get a stack trace of the point > where saned hangs. > > Eddy > Eddy, I have now run saned through gdb and done two scans. The first appeared to complete successfully so I ran the second but the client timed out and eventually saned quit (as you will see from the attached). Thanks for your continued help, Jim ------=_20040107102039_63664 Content-Type: application/x-zip-compressed; name="ZOC0401.zip" Content-Disposition: attachment; filename="ZOC0401.zip" Content-Transfer-Encoding: base64 UEsDBBQAAAAIAHtJJzAXiR5QHy0AALt+BwALAAAAWk9DMDQwMS5MT0ftnW9z48axr18fV/k7TPm8 2N26XpkA/0rnOhXHdlK558RxZeNXqZQMkZDEmCIVktLu3hf3s9+ZIQFyhYF6hljuAuBzqnISanu6 McAzPY0fwOab73768fKHH//wy58u//LLm7//+N+XP//8bdzvq5vJ1Zdf/OmnX8z/UP2z+Cz68ovv F/fvl9Ob27WKO51Y/XGZpurN4nr9Nlmm6o+Lh/kkWU8X86/Vn+fjMz36hz+o6UpdG7PV1uxrNV48 pst0oq7eq/VtqkyIP6XzdJnM1M8PV7PpWP3PdJzOV9o0mU/U+8WD0uO+/OJtOhsv7lK1XqjxbTK/ SdV0bSy+WSzVZLpaL6dXD+tUu7+fpiu1uDb/rI8oXapxulwn07n+p/lkag5wpQ/u7+/vU/XV6nbx 1gx5P53ffGVcr/SxmsP60PZWH7GZSnK1Wsx0lNl7NV8oPZ9lMl+/V9f6EPRkz5Ta85r961f2nyep PoTZxpl2ZE7N22RlwlxPbx7M+dCfvpr2R4PXq4dV+no2nT+8+0qbv9Tn/5VK36Xj19fTWaq+eVgt v1ldTeffrJJ5OskMlur1JIpHX37xZp0s13o26n65uFkmdxdPR2SG/7Cf/qnu9Km5UKts2CS9erhR d4tJql7O0sd0prT1q6fm66U5Y+aE3aRrdb9Yru0sV+nyUV889asxfqFe6n9MJpPldH69KLj4R+ef morxb3r8y1fqYWX8/fnnx4HTLl0b08W9sXUZ6NlNjBt9QPZgBv2B09FMg5LOXU4i59H0nHbPHk3k eTSZ3bXmIp1cqO/0iUpXmrHZMk0m75UGVoPwdNjbZGovkznbGp71cjEz/z1PxwbWnfXmUr/87o+v dYz0/n+ZM/tKL8XFnf2n11eJnut8slLRWecs6iobczd8fJuOf7u8XazWFwZd7d0QOren5PVdcn9v Pm4O2D0oGY/NZPQiX6Z3C70uN3++uLjW/3cRnet8Mhjp0D338L1BZt3NF2v1558u/+evf/35D999 /9/681J/HuR/cDuZLcY6qZj/PU/uUg1tslpNfUxfrl6pl/Zc/fDTm1fbgWfWpo7D90/WZJGu5i/W 6jZ51ElXe7OXySSXZxws7tO5gWqTjZTJMzptpOvxN+bfV2fpvx+mj+6he0P04prrcb/+5wt/U7UX QOn0aXKjNZikq7HO6DqTm2xsTovN6eaDHaLe3k7Ht2ZnCIj2H/+hV+SVTe6r6cTuQl/Z0Mksna+/ +lpNz9KznWdlrcP8Lx9WZqmk88XDza1dpclstnhrzu5ydfsyeqUH3t3pbWt1FuA49Iya8+U/psTS SYW1OzN/Os7R7/wf6fT8fbO5611gnRO1C6o21ibnqETZ7UIZq83i2nD4tdJpMCTkNlEagnXa+lmt Hq7megtRL7//8w9/M7nNVk16u7hN1pa7+3R5N10bjjSBehPYrN2QkG90WafXkNmMV2d2W907ijvN qFkG6Xw8W6x0FL3VXC3NhrA2kzNVl9IlzMNsEjTL2dvkvT5t2vHqPh1Pr6cbz/oET81edXdvw0/M org7Fvx/3+YHc6H0jrke3xqCtzvIONGF1UqXlnoLfUyPdAircTJ/PZ5NNV9nK12vThZm4z67ni7v ArzsNsjIf9TeoG/i85JxG/jU2+n6Vl3pE2KA/FbtDf1abbBM13fJ6jf9b/H5s1v8jalyzWU1O5Z2 tuVsz2VPvdQcbAN/eJB75dN0Pi04ff5fzer41026WN6kv3+usNCVsBl2udS5PjVHvl9Ebf/4jPWN Rmf7QUVbu+mlrZP/qd6k672yeVMw63xhllj62+X9vTlGfTulC/l/5H/bVGev889fK31HtNIpQOmT Er9OZve3yZm6epjO7GLZLOZNnfahm20RZ6qs/7PQl2aufpyaylXf8/zvf9k/nKXbP/z+5u7dmT7/ v/vQw3i6ukzW62R8e7FNF+ov9l9fR/oW73t9Ne0/2itRMixZ6Vu2zrukX5zizsb+9+Y8bW4Qfv0g zIsXea18nyzNf3fUS33f8Gju3qYrY6Qe9fyj1xN7hvWEf5zoGvkHff+o7y6vXx3lYsfP2G1J1Eet YV88LM2c8tm/2OP36Skxu+qF+mX17MkInfuTSzNZPm7j6G1jtkm5H55d9xh9Y/Nwf2E+Zodmipdx UphJNmB8faPLBLN76TJ1cX+ZTP6ljb4tcb9JWRfm/mm9uXu8V6vfpvdK118PttrqdsuG7gW6evtt FA+PcsUHR/F6nFTUb5jXpwthe/d6mV3WzX+rrt6tzQ1MMjabNGfO/8wNP82Za+TRRL16HU6/Xocz qNfh1IydUb0O57ypGfI4u2uTsnmTzgDH2qRj3auH7aOcS6NDXGwfZNjSX98ad63jSbJOPkw3ef1v Rl6ofkdN7qfPmtzqux5r+Gj/R1ffo2iL7H8Xh+p/SdeXm5sKI1iv8ttm85eivbW+n17aO4MLczib IK9/t71Z6LyLHWE2dxiX4/HkQr0xdxbjxcNcH+5gqF6+68aOW6X9EeZeZDsgitX0LrlJr96vzZyi TtzpPz94c+tjfVyojjIDt766rtOxfljOL28Xd/ZsmA/mbJjP/6XmC4PBhdUaPE5L/4Oz0hk15KwA CZAcAsleEjIPxR8sIeNkNr1aJttHoGBVGSvH/FqGlc8WbHZKI7QXnq4XRu3kQDtm80KEEcSf06Un i+0ubXl2/H0bxhzO337+Pt/r9U3A9eSI1cneObU3Ijf6yt8ny+QuXafLlREVze3HKrVy4vav5qnp LFXmuA1OLuySyaV5UHE5W7y9tEK5vqWZp6/Xi9f6vzwHTPxN8Y1vfOMb3/jGN77xjW984xvf+MY3 vvGNb3zjG9/4xje+8Y1vfOMb3/jGN77xjW984xvfl3dpsnpYppeTdJa810bmv1yvCPra8Ubmh6ct eTe9m/5ffd7ez5O76fhyadpb7Xoy+Z2QKu9ihp07/e8qe9VfOIn7Q88DLlEceoU6vUqXqLd/iXpd x1vV5AV84xvfH21PLUn694u36VIH2e6eUTzM/sN5xTe+8f3Zc5Ia9FR03jH/4bziG9/4/vw56byv ov7I/Ifzim9847seOakXm/9wXvGNb3zXJyf1uXfDN77xXYOcNDwnJ+Eb3/iuT04aDclJ+MY3vuuT k86j8px0TB/pu/vFKlXrqWkZGA0rRFdDpfojpQaDoo/5YnmXzIwTO3h1of5i3ye03QmnN7f6MNbL 9C5dAZUXVIv1Ynl5vVi+TZaTC/V7+0Mi9k3Bzruoe+YYsH17MzvNF+pvOpo5+yag6qjXyvzw5jyd ud/pPOJU/I/sE7+5F3Bkn1gD/tiXP6rt5Y9qe/mj9lz+uLaXP67t5Y/bc/m7tb383dpe/m57Ln+v tpe/V9vL32vP5e/X9vL3a3v5++25/IPaXv5BbS//oD2Xf1jbyz+s7eUftufyj2p7+Ue1vfyj9lz+ 89pe/vPaXv7z9lz+qL6yX1Rf3S9qk/BXY+WvxtJfi7S/qL7iX1Rf9S9qkfwX1Vf/i+orAEYtUgCj +kqAUX01wKhFImBUXxUwqq8MGLVIB4zqKwRG9VUCoxZJgVF9tcCovmJg1CI1MKqvHBjVVw+MWiQI RvVVBKP6SoJRizTBuL6aYFxfTTBukSYY11cTjOurCcZteh+wxi8E1viNwBZpgnF9NcG4vppg3CJN MK6vJhjXVxOMW6QJxvXVBOP6aoJxizTBuL6aYFxfTTBukSYY11cTjOurCcYt0gTj+mqCcX01wbhF mmBcX00wrq8mGLdIE+zWVxPs1lcT7LZIE+zWVxPs1lcT7LZIE+zWVxPs1lcT7LZIE+zW+HvCNf6i cLM1we8e02VyM3X9TlnR+AfnUTzX+kVPgc4vn3VV0/ml2pE1/YWP2l5+Or98gstP55dqR9b0kq6+ FV19C7r2XH46v1Q7soZffjq/VDuyhl9+Or9UO7KGX346v1Q7soZffjq/VDuyhl9+Or9UO7Kmyz50 fql6aE0ngM4vVQ+t6QTQ+aXqoTWdADq/VD20phNA55eqh9Z0Auj8UvXQmk4AnV+qHlrTCaDzS9VD azoBdH6pemhNJ4DOL1UPrenvAtH5peqhNZ0AOr9UPbSmE0Dnl6qH1nQC6PxS9dCaTgCdX6oeWtMJ oPNL1UNrOgF0fql6aE0ngM4vVQ+t6QTQ+aXqoTWdADq/VD20pn9BjM4vVQ+t6QTQ+aXqoTWdADq/ VD20phNA55eqh9Y8Ao7S+WWsP14tk/V0MS858swivVDadzKdm/O5+m16v1LrhVosp/qQ1O/vkndL 4y8eOHC8WzymmzNwof6yeDQO7CdjrbTl/cpxAlbp+lKfoMvHZPagY9tz1df7+O+U/Ys+b52R42gX 8+vpzeV4rE/yG32Qarx4mK8v1GCoXr7rxq+eH2GmtR0QxWp6l9ykV+/XZl5RJ+70nx+cTP6l/9H6 0FdVmYFbX8Ip6b0b9FX8rqOidyEnj1NnTl2n/Mx97NMQdsr0vyu7JLqdjnDu9oeeOyZSZhuHXphO r9KV6e1fmV7Xkd2fprnuLssN/+AgdbJ8vFytk6X2N0kfp+NUmZz6XmkPajXWmdqZ7swoY/dhfq9+ NE23P+YG1lTfhxAJW7AFW7AFW7AFW7DVeLZWyTyd/FN/ujRF9YVaL9+bq6jv380oNYpGI1var9T1 cnG3qbzT5YcxjI8tBb3O+WBrb/7gCGDd7pk9cVt+PG+X03WqelGnsx2p/zaeTdP52jHs7XJRbsx6 Yj2Rq2ELtmALtmDrc9kLtVevE1Z72UHXD7OZunq4vk6XanG958MRT4gilmKd89i/FPMzrlh+Zsbm U9mED5xt5D9XpymJhETCJgVbsAVbbWVL3M2HJarPXqCGi0msJ9YTuRq2YAu2YKsubIlKS1hhYgcV lJbMhyOeEEVWWkYBdYqfcUWlJc5imI9lM86NAucb97xn6zQllZBK2KZgC7ZgC7ZgC7aOy5ZYWw56 IbVla14iYz2xnsjVsAVbsAVbsPUZ2RIV0LASzQ4qKKCZD0c8IYqsgA5G/hWbn3FFBbSbveVlPpbN ODcKnG934D1bpymphFTCNgVbsAVbsAVbH9O3WEf1S4qevRhtVPtYT6wncjVswRZswdanZUuUt8Jq EjuoIG9lPhzxhCiyvNX3F3w8jat28siUOvOxdMaHynkBYp7LtC6pRDznvZI3IEvOOV94IX2yNcMW bMEWbMEWbMEWbMEWbMEWbMHW52ZLlNnC9A47qCCzZT4c8YQosszW8/9mqadxRZmt7yP49A+Uewb+ Yo/TlFTSgFQiAhmfZgdntmbWU3t8wxZswRZswRZsHVQH9jphdaAdVLg3y3w44glR5Huzrn+HZU/j ivdm+beIzMeyGQ8OnO/Qf7ZOU1IJqYRtCrZgC7ZgK/gaiaVC1PpW1awn1hO5GrZgC7ZqbS8qG2F7 tR1UUDYyH454QhRZ2YgDtm4/44rKRt4h+rliJTcKnO/I/xm705RUQiphm4It2IIt2PIqgUZR5zQ7 7LKeWE/katiCLdg6BbZEKSSsDrCDClJI5sMRT4giSyGdkDauXsYVpZD8Z8mfK4TOD+zrkZdP8myd pqQSUgnbFGzBFmzB1vHZkmqLTlkhsBcDmYX1xHoiV8MWbMEWbFX2LRQl3fOwosQOeqL57Hw44glR pBpFjwz4MRs/44qaz+5pmflcNuXSZ2rSjKMAkcttSzohnbBVwRZswRZswRZswRZswRZswdYnYkt8 FFL29ZC9QA1/FMJ6OnQ9iZJVGDx2UEGyynyUsVQeRZasAr7D5GlcVbKKfJZP6bfWRckq4CtqbltS KNsz2zNswRZswdbxr79Yn5c1ptuL1MZXlVhPrCdyNWzBFmzBFmy1nS1RagurA+2ggtSW+XDEE6LI UltAI2RP46pSW97C2nwum3Lpz6qIUltAn2u3LemEdMJWBVuwBVuw1Wy2RBmv7Lf/9iKdjozHemI9 kathC7Zg66D9tHsetp/aQQU5JPPhiCdEkeWQgN/s9TSuKofkv7b8XEURHfqbzFHATzK7bUknpBO2 KtiCLdiCreNff1Gy6JV8b34vEm8esZ5YT+Rq2IIt2IKtE2RLVKrCyig7qKBUZT4c8YQoslLV8+9y 5GlcVanq+/Ty3lmFKlW5qOehVDltSSekE7Yq2IIt2IKtlrAlymHdknpjLxJyGOuJ9USuhi3Ygi3Y gq2Pei1FqS2sRLODClJb5sMRT4giS23dkA7qXsZVpbaBVwf1wYHiYjTw1xbdtqQT0glbFWzBFmzB 1lHKplEnLnnney9Qw5Ut1hPriVwNW7AFW7B1JHtRngmrM+yggjyT+XDEE6LI8kwc0i3cy7iqPDP0 6hY+PLDQikb+dZbblnRCOmGrgi3Ygi3YOjG2RF2pE1Ts0POI9USuhi3Ygi3Ygi3Y+jxsiTJeWFln BxVkvMyHI54QRZbxopBO5F7GVWW83Nx8LptyqVNRxjsP6ETutCWdkE7YqmALtmALtmCrjWwJNd3w vExW3At0Ym/BsZ5YT+Rq2IIt2IKtOlx/SZsbhRUxdtBTbS734YgnRJG1uYCaxtO4ojYX50HM57Ip 76wCZxx3/N8pdNuSTkgnbFWwBVuwBVuNZkuUoEat77h/qvJidxR2be2gQmWe+Si71OVRxMp8lJfN HpW5n3HVyjx/NP8c3Tur0Mo88m/G4rYlhbI9sz3DFmzBFmx5lrjD1nfRZT2xnsjVsAVbsAVbsAVb sAVbsAVbJ86W+Igg7N7YDio8Ish8OOIJUeRHBEN/xdzTuOojgrwJl/lcNuWdVegjgtj/mYjblnRC OmGrgi3Ygi3Y+kRsic8gBq3vd856Yj2Rq2ELtmCrLWyJ8knYtm4HFeSTzIcjnhBFlk8G/l8F8jSu Kp90fQqbnVWofNLzL2vctqQT0glbFWzBFmzB1omxJco4PdqLs55YT+Rq2IIt2IKt2rAlSlVhpYsd VJCqMh+OeEIUWarqB7TQ9jOuKlXlczGfy6YcHzrjOGDCblvSCemErQq2YAu2YKuerIiKUtmTrr1A DVeUWE+sJ3I1bMEWbMFWE9kStaWwIsYOKmhLmQ9HPCGKrC0FvBXkaVxVW8pf6TKfy6YcH/riVxzw 3pfblnRCOmGrgi3Ygq3PaC/KJ2Xfs94L1MYXclhPrCdyNWzBFmzBFmz5nENRxQmrpeyggoqT+XDE E6LIKk5AaxxP46oqTt7XyHwum3J8aPejOKD5kdu2qelELPvLfoHBfZ1O4akpKZTtme0ZtmALtmAL tmALtmALtmALtoLsRZko7N7bDirIRJkPRzwhiiwTBfzIoqdxVZko/4VM87lsyvGhv6MZB/yMptuW dEI6YauCLdiCLdg6MbbEZy0dWleznlhP5GrYgi3YOtE6oDsKqwPsoILuk/lwxBOiyLpPJ6TXtZdx Vd3HqxKKDy2EugF1kNuWdEI6YauCLdiCLdg6RbZE9WcUVvI0Qf1hPbGeyNWwBVuwBVs1spcUqGFY LWIHPVWgch+OeEIUUY8Znge0sPYzrqhAdTs+Lax3VqEzjgIm7LQlnZBO2KpgC7ZgC7ZOjC1RexqW iER7kXjziPXEeiJXwxZswRZsPTmHoqQUVmLYQQVJKfPhiCdEkSWlUcA7Pn7GVSWl2Kdz9c4qdMZx wFtcTlvSyUdKJ2J5Pij5wqIbnJaX52zPrCe2Z9iCLdiqtb1YEodt63ZQoSTOfDjiCVHkkngQ0AbU z7hqSdz1aQO6swqdcf67Nx4TdtqSTkgnbFWwBVuwBVuwBVuwBVuwBVvNYktU5Pv8LALrifVEroYt 2IIt2GoBW+LzirCixw4qPK/IfDjiCVHk5xX9APnez7jq84qeTz/qnVXojHsBD2ictqQT0glbFWzB FmzBVqPZEiWrXuu7S3+29SRWzmHn3g4qVM6Zj7JLUR5Frpx7Ae+C+xlXrZz7PvTtrEJnPAh4299p Swple2Z7hi3Ygi3YaglbYg0dt65HJ+uJ9USuhi3Ygi3Ygi3Ygi3Ygi3Ygq1Pdv3F5ydh9912UOH5 SebDEU+IIj8/6Qa0Z/Yzrvr8JP86tvlcOuXBwTMOmfCh/ahJJ6ST9viGLdiCLdhqHVviU5Oo9d2l WU9+LHSHYSzYQYVKPvNRhkZ5FI+6NqQNqJdx1Uo+7zX63GrYWYXOeBTyY84ebUBJodWXGemE7Rm2 YAu2jmQvlqyd1ndcZj2xnsjVsAVbsAVbsAVbsAVbsAVbLWNLlOTD7nXtoIIkn/lwxBOiyJJ8/qPp PpK8l3FVST7/RXnzuXTK54c2MspVAo8JO21JJ6QTtirYgi3Ygq162kuPIIZl5cNeoIY/gmA9sZ7I 1bAFW7AFW21nS9KhBmEFjx30VIfKfTjiCVFEVWYQIsv4GVfUoXq5pmY+l025d6jy1gsQ3ty2pBPS CVsVbMEWbMHW0dkSJaWyL4nsBWq4pNTa9SRWz2HX1g4qVM+Zj7JLXR5Frp5DvmfkZ1y1eo686D70 q2S9gG+SuW1JoWzPbM+wBVuwBVuwBVuwBVuw5bxG4r1/Wau3vUhtfJ2E9cR6IlfDFmzBFmydJFui dB5WGtlBBek88+GIJ0SRpfOQZrt+xlWl87xTsvlcNuXeof2UewHtlN22pBPSCVsVbMEWbH306y9K LWW/SrwXCamF9cR6IlfDFmzBFmzB1ke3F2WfsDLNDirIPpkPRzwhiiz7DAJa0fsZV5V9ej6t6HdW oXVqz/8VUbct6YR0wlYFW7AFW7B1lLJpOOyVfJ14L1Ab1S3WE+uJXA1bsAVbsOW4RqLeElY42EEF vSXz4YgnRJH1ll5An2E/46p6S9+nz/DOKrRyyqUpj8LJaUs6IZ2wVcEWbMEWbMFWzdkSpa1uSSW1 F6jh0hbrifVEroYt2IIt2GoqW6LUFlbI2EEFqS3z4YgnRJGltm5IK2Uv46pS28CrlfLgQHGxN/DX Ft22pBPSCVsVbMEWbMHW8a+/qBXFJW8570Vq42tQrCfWE7katmALtmALtgR7UakKK6PsoIJSlflw xBOiyEpVHPKzBV7GVZWqoVchOTy0jhwFlJFOW9IJ6YStCrZgC7Zg69PYi2pVJ6zGOIE3m1hPrCdy NWzBFmydTs+jsDrADirILZkPRzwhiiy3RCGtrr2Mq8otufmzlVCZU7EQOvefsNuWdEI6YauCLdiC rbayJckbgzIdYi/QickbrCfWE7katmALtmCriWxJWk4/rOixg55qObkPRzwhiqzlBNRAnsYVtZx+ HsR8Lpvyzipwxv2O/7tCblvSCemErQq2YAu2YAu2PsK1FKWzUevbebOeWE/katiCLdiCrZrYi+pW WF1iBxXUrcyHI54QRVS3+rn05KFu+RlXVbfy16Geq8x2VqHqVuTfs8ltSzohnbBVwRZswRZsnRhb og41bH3vbdYT64lcDVuwBVuw9fHZEiWlsBLDDipISpkPRzwhiiwpDf0VFk/jqpJS3tDIfC6b8s4q VFKK/TU0ty3p5KClMBwMTrN7KSmU7ZntGbZgC7ZgC7ZgC7ZgC7ZgC7Y+y/UXNauwG3U7qKBZZT4c 8YQosmY18P/Om6dxVc2q6yNV7KxCNauev1DhtiWdkE7YqmALtmALthrNlviYpdf6tttt6SHW7Ydd KzuoUGlnPsouXXkUudLuB7RG9TOuWmnnc3mO1oNnHDJhty0plO2Z7Rm2YAu22sqWWIKWCV17gRpe grKeWE/katiCLdiCrSPZi/JJWJ1hBxXkk8yHI54QRZZPAp7beRpXlU/yh67PVVoHP5oNeTLrtiWd kE7YqmALtmALtmALtmALtmALtmCrNWyJz0/Kvty+F6nhz09YT6wncjVswRZswdYRfIvPTsJqDDuo 8Owk8+GIJ0SRn50E9OnxNK767CRvsmQ+l0354FZMIZ2Y3LakE9IJWxVswRZswdbR2RJVnLJfvdgL 1HAVpz1fxAq7VnZQoRrOfJRduvIocjUc8EMonsZVq+H8V2yeo/Xg37oJ+akbty0plO2Z7Rm2YAu2 YAu2YAu2YAu2YAu2PqW9KBN1+FkE1hPriVwNW7AFW7DVcLbEZy1hBY8dVHjWkvlwxBOiyM9aOiHt pb2Mqz5r8Sr5+odWfLsKVJ6w25Z0Qjphq4It2IIt2Do6W5Kk1A8rL3jz6JTWk1Se98LgsYOelue5 jzKWyqOI5XnvPKAntZ9xxfJ80PHpSb2zCi3PI/8Ju21JoWzPbM+wBVuwBVvNZkus/YclRfpepDY+ TmY9sZ7I1bAFW7AFW7DlYS8qYWGllB1UUMIyH454QhRZCRsFtBf3M66qhMU+7cV3VqFKWOz/ZN5t SzohnbBVwRZswRZswdazvkWpbVDS3GAvElIb64n1RK6GLdiCLdiCreaxJeqEYXWgHVTQCTMfjnhC FFknHAS00vUzrqoTdn1a6e6sQnXC/BcbPXRCpy3phHTCVgVbsAVbsAVbH+Faimpiv/XtgllPrCdy NWzBFmzBVlPZEuWwsELGDirIYZkPRzwhiiyH9QN66fsZV5XDej699HdWoXJYz1//c9uSTkgnbFWw BVuwBVvNZkvUoXqn2Y+Y9cR6IlfDFmzBFmxVYktUiMJKDDuooBBlPhzxhCiyQtTz/56hp3FVhajv U2TtrEIVokFAB2CnLemEdMJWBVuwBVuwVS+2RMUnbn27YNYT64lcDVuwBVuwdSR7UfYJqzPsoILs k/lwxBOiyLJP17/RuqdxVdkn/zLec5XWzipU9hkGdJZ32pJOSCdsVbAFW7AFW0cpm4b96DQ7urOe WE/katiCLdiCLdiCLe+asdsLqxntoILUlvlwxBOiyFJb7F9CehpXldry/vjmc9mUd1ahUtsooHW9 05Z0Qjphq4It2IIt2DpK2TTsd06zozvrifVEroYt2IKtU2BLlE/C6gA7qCCfZD4c8YQosnzSCeno 7WVcVT459+rofX5g06ZBXkF5yCdOW9IJ6YStCrZgC7Zg68TYknSfXlldshepjboP64n1RK6GLdiC LdiCLQ97STrrhpVSdtBT6Sz34YgnRBGls26AkuRpXFE6G+YyoPlcNuXhoWLhMEArdNuSTkgnbFWw BVuwBVstYEuUw8rect6LdDpyGOuJ9USuhi3Ygi3YqgFbogQVVr7YQQUJKvPhiCdEkSWogO+CeRpX laAinwJueOjX/YYB3/Zz25JOSCdsVbAFW7DVKLZEqaWsd+NeJN48Yj2xnsjVsAVbp86WeO8ftp/a QYV7/8yHI54QRb73D2i57Glc9d4/75f9XEUxPLSr9jCgqbbblnRCOmGrgi3Ygi3YOv71FyWLsl8Z 3YvE2yGsJ9YTuRq2YAu2YAu2Prq9qISFlWl2UEEJy3w44glRZCUs4DfnPY2rKmE9nxbQO6tQJazn /9qP25Z0Qjphq4It2GoJW6LU0iv50u9eJN4OYT2xnsjVsAVbp86WeE8ctp/aQYV74syHI54QRb4n 7gX09fUzrnpP3Pfp67uzCr0nzuUDj3tipy3phHTCVgVbsAVbsNVstkQ5pFtSZuxFQg5hPbGeyNWw BVuw1Uy2RBknrA6wgwoyTubDEU+IIss43ZAes17GVWWcgVeP2cGBwtVw4K9buW1JJ6QTtirYgi3Y EuxFlSAueUFvL1AbVQLWE+uJXA1bsAVbPn7Fu+ywfdQOKtxlZz4c8YQo8l12HNJG08u46l320KuN 5vDAQmI48q8j3LakE9IJWxVswRZswdaJsiXqJ52goof+HqwncjVswRZswRZswRZswRZswRZswVbz 2RIfE4XJBXZQ4TFR5sMRT4giPyaKQjquexlXfUyUm5vPZVMeljkVHxOdB3Rcd9o2NZ1Iyla3TIJy X6cmKlukULZntmfYgi3Ygi3Y+mi+xfuAOKy4soOe3gfkPr4suw8ojSLfBwTUWp7GFe8DRnkQ87ls yjurwBmPOv7vxzltSSekE7Yq2IIt2DpptkRdaUSbXtYT64lcDVuwBVuw1Vi2RJUnrNSxgwoqT+bD EU+IIqo8cS7BeKg8fsZVVZ78kbL5XDblnVWoyhP59xpy25JOSCdsVbAFW7AFW0cpm4bdYes7F7Oe WE/katiCLdiCLU97UW4JqxvsoILckvlwxBOiyHLL0F998DSuKrfkjZ6eq5x2VqFyS+yvL7ltSSek E7Yq2IIt2IKto5RNw+6AFtCsJ9YTuRq2YAu2YAu26s6WKIWF1XR2UEEKy3w44glRZCls4P91K0/j qlJY16eq3VmFSmE9/5rWbUs6IZ2wVcEWbMEWbLWELVGb69FenPXEeiJXwxZswdZHshflk7Bt1w4q yCeZD0c8IYosn/QD2nT6GVeVT/K5PFd4jA6d8Shgwm5b0gnphK0KtmALtmALtmALtmALtmrPligR lz2S3ouERMx6Yj2Rq2ELtmALtj4hW6LUHla+2EEFqT3z4YgnRJGl9oAX9zyNq0rt+VuX5nPZlEeH vps5Cng10217KulErMzLvjftvq6n0MeGFFr9HLI9wxZswRZswRZswRZswRZswRZsnThbotQWpkfY QQWpLfPhiCdEkaW2gHZxnsZVpba815/5XDbl0aEdAUcBDQHdtk1NJ6J0VvYLD+7rRAtoUijbM2zB FmzB1im3gA6rG+ygQomb+XDEE6LIJW7AD1B5GlctcfNfD3uuchod+htjo4CfGHPbkk5IJ2xVsAVb sAVbLWBL1H46p9mPmvXEeiJXwxZswRZswdZntheltrAyzQ4qSG2ZD0c8IYostXVCWkx7GVeV2rwK 1dGhdep5QJnqtiWdkE7YqmALtmALtlrAliS1xWEFDFIb64lcDVuwBVuwBVunwpYkhQXqQHbQUyks 9+GIJ0QRpbDoPKBduJ9xRSnsvOPTLnxnFSqFRf4TdtuSTkgnbFWwBVuwBVtHKZuG8bBEJtoL1HD1 ifXEeiJXwxZswRZsNZAtUfoJq2HsoIL0k/lwxBOiyNLPKKB9rZ9xVekn9mlfu7MKlX5i/9e+3Lak E9IJWxVswRZswVYN2RJ1pUFJs4K9SKfzVhPrifVEroYt2IIt2IKtD+xFeSuslLKDCvJW5sMRT4gi y1uDgJaxfsZV5a2uT8vYnVWovJX/kJWHvOW0JZ2QTtiqYAu2YAu2vMqgYdynHTnrifVEroYt2IIt 2DqQLVFvCSs07KCC3pL5cMQTosh6Sz+gf7mfcVW9pefTv3xnFaq39PwFJrct6YR0wlYFW7AFW7B1 /Osvajk92ouznlhP5GrYgi3Ygq1P5VtWf8JKEzuooP5kPr4sVX/KosjqT8//u1WexlXVn75Pcbaz ClV/BgEttV22pBPSCVsVbMEWbMEWbH16tkQ5LKYFOOuJ9USuhi3Ygi3Ygq1PzJYoC4aVaHZQQRbM fDjiCVFkWbDr323b07iqLJh/0898LpvyzipUFhwGtBd32pJOSCdsVbAFW7AFW/W0F5WzqPXty1lP rCdyNWzBFmzBFmy1X2oLq+nsoILUlvlwxBOiyFJb7F/ieRpXldrynvHmc9mUd1ahUtsooJ2705Z0 Qjphq4It2IIt2GoJW6I216EFPOuJ9USuhi3Ygq2PZC/KJ2Hbrh1UkE8yH454QhRZPumEtAv3Mq4q n5x7tQs/P7Bh13lesHjIJ05b0gnphK0KtmALtmDrKGXTMCrb3vcCNVytYD2xnsjVsAVbsAVbnvaS 3NIJqxvsoKdyS+7DEU+IIsotnQD1wdO4otyiaxWfduF7ZoFz1iP9JaYSY1IKKYXtCrZgC7Zg6/hs ifJM2curezHa+DIJ64n1RK6GLdiCLdj6xL5F7SesKLGDCtpP5sMRT4giaz8BX9zxNK6s/UQ+ddme WbD2E/DtrBJjUgophe0KtmALtmALtj6SvShxlbVC3AvEG0isJ9YTuRq2YAu2YKtVbIlyW1iBZAcV 5LbMhyOeEEWW2wJaUnsaV5bb8obi5g9lc94zC5bbAvqOlxiTUkgpbFewBVuwBVtHZ0uUocp+qHcv UMNlqNb0euiEXSs7qFARZz7KLl15FLkiDvjtZk/jyhVx/svbz+G6ZxZcEQf8QHeJMWmULZotGrZg C7ZgC7ZgC7ZgC7ZgC7ZOli1Rt+qVtAvYi9Rw3Yr1xHoiV8MWbMEWbDWLLfFRTlj5YgcVHuVkPhzx hCjyo5xeQNtuP+PKj3L6Pn2798yCH+XkD758HuU4jZuaUsRqu1tyUt3X6hS+rEAaZYtmi4Yt2IKt 1rAllq1hdYAdVChbMx+OeEIUuWzthrQ/9TKuXLYO/NqfDg4s1aPdNxh8ylanMSmFlMJ2BVuwBVuw BVuwBVuwBVuwBVu1Zkt8bhGXfK9nLxJvCbGeWE/katiCLdiCrU/pW3zeEla/2EGF5y2ZD0c8IYr8 vCUOaTnuZVz5ecvQr+X48MASLto1aPd53uI0PmJKESviTtDpbERFLK6isDnbQbNktd5bRYOh8K5d bhB6AgZD/8d3frZPph93uwckkel8urpNJx9amRDrxb0OkS7vpvNkbeIYe32S7peLcbpalQzYGF1u jfLx6US9na5v1WqdrB9W6tdf3zyMjcGLF0X0ze64cWb+/70JPX5YLvU5sFNyLatVur6cpI/TcWqO QH+yB7z5S9HeWt9PLx+T2YMeYJeVWV+vf6fsn/QaizvFYePF/Hp6czke63P35rfpvRovHubrC32x 1Mt33fjV8yNWesR2QBSr6V1yk9prpVf08wOTyb/0P9rx2tZe4K2frutUrB+W88vbxZ09E+aDORPm 83+p+eJtMjXxT+yUQEdhZV0vU70kN2lv9ZzhLLm7v1zMN8fhTIieJcV25X+rfv1xPjGZ9no6S42H sc4+L0oHjBeT1D1EvU1WevoTPQ+dATdTcblJZ+l4fXk9sfbj2WKlB7zWF/PHv/7RI2ufe+dsH0uz 13+9ndm3jknthmwTqKb33w/pSl9Os3TNkemSQG3/+Iz1zWKdWanRUbz2j+J10KBj5QxwrE061uHO Tmeg5Xqbkx5Wxt39YrlW0Xl8bh1PknXyZcmuoEdeqL69G3nW5HZpti9t+Gj/h9lCtUX2v4tDG75P mx+d6j8/+LNVcv0Pzkpn1JCzsldyPLsMDK36gHXhMV5PF/NnRiXjzV3JYjPGQm/rlouLa/1/F3oB nEWD0VnnrLfzsl+RLF27+jaMOZy//fx9vt4Wc6WrjuNliL1zaoZc3ugrf58sk7tU33Xpc6+P7YU+ r+la7f6q3t6acsOWaTpyPSbzhMfj33z+Mv9Nr6C5evPdTz9mf7WFZtTnhpQbUm5Im3pD+sH91VZi OkrKejIXm3/tveWFukveX6UfuDaHfHbmeN6xHfEUgTOIIZ/4n5ItRYb9Ajnbf/tg0ZRwu4Fpq5Ac ZdFErujpO3PFktlMTZbTR1OiPMxnC72P7x3Dvx+MjbG0NcuXX/y8XNzoksb+SaeN+WJ5pz2810vs 5c3k6pX695dfrBNdxFz8P/WfSv1/UEsBAhQAFAAAAAgAe0knMBeJHlAfLQAAu34HAAsAAAAAAAAA AQAgALaBAAAAAFpPQzA0MDEuTE9HUEsFBgAAAAABAAEAOQAAAEgtAAAAAA== ------=_20040107102039_63664-- From gerard@gkall.hobby.nl Wed Jan 7 12:00:18 2004 From: gerard@gkall.hobby.nl (gerard klaver) Date: Wed, 07 Jan 2004 11:00:18 -0100 Subject: [sane-devel] Trust Imagery 9600 In-Reply-To: <20040105231501.35fe567c.benedict.prescott@virgin.net> References: <20040105231501.35fe567c.benedict.prescott@virgin.net> Message-ID: <1073476817.1987.29.camel@gk-lex3> On Mon, 2004-01-05 at 22:15, Ben Prescott wrote: > I'm having problems getting this working. > > I've searched the archive and there's nothing in there apart from the > announcement when the teco3 backend was released. see the teco mailinglist at yahoo, also mail archive is present. http://groups.yahoo.com/group/teco-sane-devel/ teco3 homepage http://www.zago.net/sane/#teco > > I'm guessing the key lines in the debug are as follows: > > [teco3] device is "Aashima " "IMAGERY 9600SP " "1.07" "TECO VM6552" > [teco3] teco_identify_scanner: exit, device not supported > [teco3] ERROR: attach_scanner: scanner-identification failed > To get this scanner working you have to patch the following files teco3.conf with the name of the scanner: scsi "Aashima" "IMAGERY 9600SP" teco3.h change TECO_VM3552 to TECO_VM3552, TECO_VM6552 teco3.c for a start add something like: { 6, "TECO VM6552", TECO_VM6552, "Aashima", IMAGERY 9600SP", (.. .. ..), values for your resolution ...., .... your max x and y resolution } There should more be changed to get the scanner working, but this should be a start (maybe scsi traces are needed to get a correct working scanner) some example on http://gkall.hobby.nl/notes1.html Frank Zago (teco3 maintaniner) should be able to tell more about the changes which are needed to get this scanner working. -- ---------- m.vr.gr. Gerard Klaver From jochen@penguin-breeder.org Wed Jan 7 12:50:43 2004 From: jochen@penguin-breeder.org (jochen) Date: Wed, 7 Jan 2004 13:50:43 +0100 Subject: [sane-devel] using saned In-Reply-To: <1073436317.916.4.camel@leprechaun.cdr.com> References: <1073436317.916.4.camel@leprechaun.cdr.com> Message-ID: <20040107125043.GA6660@coffee.homeunix.org> hello, what exactly is confusing you? please give some more details, so we can probably help you. regards -- jochen On Wed, Jan 07, 2004 at 08:45:17AM +0800, kent E. wrote: > does any have any docs on how to setup a network scanner using saned, i > am following the one in http://www.penguin-breeder.org/sane/saned/ but > still i am confused, i am using rh9 and my 3-in-1 model is hp1100a > > any ideas? > TIA > > Kent > > > -- > 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-request@lists.alioth.debian.org > > From edg1@tiscali.be Wed Jan 7 12:54:29 2004 From: edg1@tiscali.be (edg1@tiscali.be) Date: Wed, 7 Jan 2004 13:54:29 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <1856.192.168.0.4.1073470839.squirrel@tassi.local> Message-ID: <3FFB29D70000062E@ocpmta2.freegates.net> Jim George wrote: > Eddy, > > I have now run saned through gdb and done two scans. The first appeared > to complete successfully so I ran the second but the client timed out and > eventually saned quit (as you will see from the attached). > > Thanks for your continued help, > > Jim > Hi Jim, I think it's normal that saned exits after one scan. Normally, it's xinetd that restarts saned when a new request comes in. To restart saned in gdb, you only have to enter "r" at the prompt and then you can perform another scan. What surprises me is that, now, saned doesn't hang at the end. IIRC, when you started saned -d128 without gdb, it did hang. I'm getting confused. Could you repeat the following tests, such that I get a clear picture: 1) With xinetd - Make sure xinetd is running (/etc/rc.d/init.d/xinetd restart). - scanimage -d net:localhost:mustek_pp:Mustek-1200CP > test.pnm * Does scanimage hang? * If it hangs and you kill scanimage, is saned still running? (ps aux | grep saned) * If saned still runs, just kill it. 2) Without xinetd, no gdb - Make sure xinetd is stopped (/etc/rc.d/init.d/xinetd stop). - SANE_DEBUG_MUSTEK_PP=255 saned -d128 - In another window: scanimage -d net:localhost:mustek_pp:Mustek-1200CP > test.pnm * Does scanimage hang? * Does saned exit? (It should). * If it hangs, please show the last few lines of debug output. 3) Without xinetd, in gdb - Make sure xinetd is stopped (/etc/rc.d/init.d/xinetd stop). - SANE_DEBUG_MUSTEK_PP=255 gdb saned - At the gdb prompt: r -d128 - In another window: scanimage -d net:localhost:mustek_pp:Mustek-1200CP > test.pnm * Does scanimage hang? * Does saned exit (ie., do you get the gdb prompt back)? * If saned hangs, hit Ctrl-C in the gdb window and request a stack trace: bt * To restart saned: just enter "r" at the gdb prompt. If a certain test doesn't give any problems, please repeat it a few times to make sure it isn't just luck. Best regards, Eddy --------------------------------------------------------------- Tiscali ADSL: 12 maanden aan 29,50 €/maand! Snel Internet, en voor iedereen. http://reg.tiscali.be/default.asp?lg=nl From mattias.ellert@tsl.uu.se Wed Jan 7 16:09:11 2004 From: mattias.ellert@tsl.uu.se (Mattias Ellert) Date: Wed, 07 Jan 2004 17:09:11 +0100 Subject: [sane-devel] TWAIN SANE Interface for Mac OS X version 0.3 Message-ID: <3FFC2F27.4000303@tsl.uu.se> Release notes, version 0.3, 2004-01-05 * All mandatory TWAIN operations have been implemented. * This version has been tested with the OmniPage application. * New localization: Japanese (Thanks to RedGecko for the contribution). * Fixed a bug where the TWAIN capability containers were not dereferenced correctly. * Fixed a bug where the TWAIN image info reported planar rather than chunky byteorder. * Black and white images are now sent inverted w.r.t. the previous version because OmniPage wants it that way and GraphicConverter has an option that can be set to invert black and white images from TWAIN sources. With this option set in GraphicConverter the new version works with both applications. * Compiled on MacOS X 10.3.2 using the cross-compilation SDKs to provide binary packages for older versions of MacOS X. * A patch to the sane-backend package has been applied the work around the broken implementation of pthread_cancel in MacOS X. With the patch the test backend works again. * A new libusb package is provided, since a number of new MacOS X specific changes have been done in the cvs repository since the last release. * sane-backends 1.0.13 (patched), libusb 0.1.8 beta (2004-01-05) and gettext 0.11.5. * maciconv 1.0 (for the 10.1 and 10.2 builds only) The packages are available on http://www.ellert.se/twain-sane/ Mattias Ellert -- ________________________________________________________________________ mattias.ellert@tsl.uu.se tel: +46 18 471 32 58 http://www.tsl.uu.se/~ellert/ fax: +46 18 471 35 13 ________________________________________________________________________ From jim.george@blueyonder.co.uk Wed Jan 7 21:39:06 2004 From: jim.george@blueyonder.co.uk (Jim George) Date: Wed, 7 Jan 2004 21:39:06 -0000 (GMT) Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <3FFB29D70000062E@ocpmta2.freegates.net> References: <1856.192.168.0.4.1073470839.squirrel@tassi.local> <3FFB29D70000062E@ocpmta2.freegates.net> Message-ID: <2581.192.168.0.4.1073511546.squirrel@tassi.local> Hi Eddy, see in-line below. Jim > Hi Jim, > > I think it's normal that saned exits after one scan. Normally, it's > xinetd that restarts saned when a new request comes in. > To restart saned in gdb, you only have to enter "r" at the prompt and > then you can perform another scan. > > What surprises me is that, now, saned doesn't hang at the end. > IIRC, when you started saned -d128 without gdb, it did hang. > > I'm getting confused. Could you repeat the following tests, such > that I get a clear picture: > > 1) With xinetd > SuSE uses inetd not xinetd > - Make sure xinetd is running (/etc/rc.d/init.d/xinetd restart). - > scanimage -d net:localhost:mustek_pp:Mustek-1200CP > test.pnm > > * Does scanimage hang? Yes > * If it hangs and you kill scanimage, is saned still running? > (ps aux | grep saned) Yes > * If saned still runs, just kill it. > Done > 2) Without xinetd, no gdb > > - Make sure xinetd is stopped (/etc/rc.d/init.d/xinetd stop). > - SANE_DEBUG_MUSTEK_PP=255 saned -d128 > - In another window: > scanimage -d net:localhost:mustek_pp:Mustek-1200CP > test.pnm > > * Does scanimage hang? It didn't even get started. I got the following error message: scanimage: open of device net:localhost:mustek_pp:Mustek-1200CP failed: Invalid argument > * Does saned exit? (It should). This was all the output from saned when it exited (it didn't hang). [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] listen () [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: waiting for control connection [saned] saned (AF-indep+IPv6) from sane-backends 1.0.13 ready [saned] check_host: access by remote host: ::1 [saned] check_host: remote host is IN6_LOOPBACK: access granted [saned] init: access granted [saned] init: access granted to jgeorge@::1 [saned] process_request: waiting for request [saned] process_request: got request 2 [saned] process_request: access to resource `mustek_pp' granted [sanei_debug] Setting debug level of mustek_pp to 255. [mustek_pp] sane-mustek_pp, version 0.12-alpha. build for SANE 1.0.13 [mustek_pp] backend by Jochen Eisinger [mustek_pp] cis_attach: couldn't attach to `parport0' (Invalid argument) [mustek_pp] sane_open: unknown devicename ``Mustek-1200CP'' [saned] process_request: waiting for request [saned] process_request: got request 10 [mustek_pp] sane_exit: all drivers unloaded [saned] quit: exiting > * If it hangs, please show the last few lines of debug output. > > 3) Without xinetd, in gdb > > - Make sure xinetd is stopped (/etc/rc.d/init.d/xinetd stop). > - SANE_DEBUG_MUSTEK_PP=255 gdb saned > - At the gdb prompt: r -d128 > - In another window: > scanimage -d net:localhost:mustek_pp:Mustek-1200CP > test.pnm > > * Does scanimage hang? No it exits immediately with the following error message: scanimage: open of device net:localhost:mustek_pp:Mustek-1200CP failed: Invalid argument > * Does saned exit (ie., do you get the gdb prompt back)? Yes it exited and I did get back to the gdb prompt. Here is the output. GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"... (gdb) r -d128 Starting program: /usr/sbin/saned -d128 [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] listen () [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: waiting for control connection [saned] saned (AF-indep+IPv6) from sane-backends 1.0.13 ready [saned] check_host: access by remote host: ::1 [saned] check_host: remote host is IN6_LOOPBACK: access granted [saned] init: access granted [saned] init: access granted to jgeorge@::1 [saned] process_request: waiting for request [saned] process_request: got request 2 [saned] process_request: access to resource `mustek_pp' granted [sanei_debug] Setting debug level of mustek_pp to 255. [mustek_pp] sane-mustek_pp, version 0.12-alpha. build for SANE 1.0.13 [mustek_pp] backend by Jochen Eisinger [mustek_pp] cis_attach: couldn't attach to `parport0' (Invalid argument) [mustek_pp] sane_open: unknown devicename ``Mustek-1200CP'' [saned] process_request: waiting for request [saned] process_request: got request 10 [mustek_pp] sane_exit: all drivers unloaded [saned] quit: exiting Program exited normally. (gdb) > * If saned hangs, hit Ctrl-C in the gdb window and request a > stack trace: bt > * To restart saned: just enter "r" at the gdb prompt. > > If a certain test doesn't give any problems, please repeat it a few > times to make sure it isn't just luck. > All three tests gave problems as you can see. > Best regards, > > Eddy > > > --------------------------------------------------------------- > Tiscali ADSL: 12 maanden aan 29,50 €/maand! Snel Internet, en voor > iedereen. http://reg.tiscali.be/default.asp?lg=nl From oliver.rauch@rauch-domain.de Wed Jan 7 23:07:04 2004 From: oliver.rauch@rauch-domain.de (Oliver Rauch) Date: Thu, 8 Jan 2004 00:07:04 +0100 Subject: [sane-devel] UMAX Astra 2200 SU via USB Message-ID: <200401080007.07136.oliver.rauch@rauch-domain.de> 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.Rauch@Rauch-Domain.DE From ecr959@yahoo.com Thu Jan 8 00:16:35 2004 From: ecr959@yahoo.com (Eddie Colon) Date: Wed, 7 Jan 2004 16:16:35 -0800 (PST) Subject: [sane-devel] Re: (sane-devel) info HP scanjet 4600 scanner In-Reply-To: <20040107053536.20689.18784.Mailman@quantz.debian.org> Message-ID: <20040108001635.98501.qmail@web41405.mail.yahoo.com> Hello Henning I'm glad you are including this scanner into your project list. I would love to start the ball rolling and bang out a rough driver, but I don't know any programming at all. Sorry. :-) But I'm not shy with hardware, if you give me some instruction, tell me what to type at the command prompt, I can try a few things for you. About your other question, I haven't been able to scan at all. Mandrake will detect the scanner, and say "it is not supported. Would you like to install it manually ?" When I say yes, I choose a driver, (usually another model from the HP list) then Mandrake says "not supported" and stops right there. Like a loop. If it helps this forum at all, I searched on the web for any info and someone had written that this scanner is actually manufactured by another company, and that's why the HP drivers won't work. I looked all around and couldn't find another company name. What do you suggest ===== Eddie Colon Bayamon, PR 00959 "The best things in life are not things" __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From harri.jarvi@ajatus.org Thu Jan 8 09:45:03 2004 From: harri.jarvi@ajatus.org (=?iso-8859-1?Q?Harri_J=E4rvi?=) Date: Thu, 8 Jan 2004 11:45:03 +0200 Subject: [sane-devel] Finnish translation for backends Message-ID: <20040108094503.GA17111@kirja.lake> Hi, I'm starting to translate the backends .po file into Finnish. I'm also interested in translating the xsane frontend. So I'll probably do that too. Yours, Harri Järvi From adrianpj@users.sourceforge.net Thu Jan 8 11:13:08 2004 From: adrianpj@users.sourceforge.net (Adrian Perez Jorge) Date: Thu, 08 Jan 2004 11:13:08 +0000 Subject: [sane-devel] Re: (sane-devel) info HP scanjet 4600 scanner In-Reply-To: <20040108001635.98501.qmail@web41405.mail.yahoo.com> References: <20040108001635.98501.qmail@web41405.mail.yahoo.com> Message-ID: <3FFD3B44.40100@users.sourceforge.net> Hi Eddie, Some years ago I was in the same situation as you, but fortunatelly I know about programming (more or less ;) I had to develop hp4200 backend and I could obtain some results without too much documentation available (later I could get much more docs and then improve my results). Some guys here were able to do the same and develop a SANE backend for its scanner. There are some standard steps to solve the situation: * find out what chipset is using your scanner: - open the scanner and read big-chip numbers, or - sometimes .inf files or file names from the window$ drivers will help, or - using a sniffer like USBSnoopy (http://www.wingmanteam.com/usbsnoopy/) in a window$ machine to look at the protocol and somebody in the list could identify if (usbsnoopy log files can be real big; don't send that stuff to the list; give some URL; log for few seconds, not the entire page). * look for a backend that supports the chipset and use it * if there is no backend, then develop a new backend using chipset manufacturer information, the log files from snoopy, imagination, reverse-engeneering (disassembling window$ drivers; there are PE disassemblers for linux available) and help from the list. That's my suggestion. Cheers, Adrian P. Eddie Colon wrote: >Hello Henning > >I'm glad you are including this scanner into your project list. I >would love to start the ball rolling and bang out a rough driver, but I >don't know any programming at all. Sorry. :-) But I'm not shy >with hardware, if you give me some instruction, tell me what to type at >the command prompt, I can try a few things for you. > >About your other question, I haven't been able to scan at all. >Mandrake will detect the scanner, and say "it is not supported. Would >you like to install it manually ?" When I say yes, I choose a driver, >(usually another model from the HP list) then Mandrake says "not >supported" and stops right there. Like a loop. > >If it helps this forum at all, I searched on the web for any info and >someone had written that this scanner is actually manufactured by >another company, and that's why the HP drivers won't work. I looked >all around and couldn't find another company name. > >What do you suggest > >===== >Eddie Colon >Bayamon, PR 00959 > >"The best things in life are not things" > >__________________________________ >Do you Yahoo!? >Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes >http://hotjobs.sweepstakes.yahoo.com/signingbonus > > > From edg1@tiscali.be Thu Jan 8 12:09:06 2004 From: edg1@tiscali.be (edg1@tiscali.be) Date: Thu, 8 Jan 2004 13:09:06 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <2581.192.168.0.4.1073511546.squirrel@tassi.local> Message-ID: <3FFB28C9000013A4@ocpmta1.freegates.net> Jim George wrote: > > 2) Without xinetd, no gdb > > * Does scanimage hang? > It didn't even get started. I got the following error message: > scanimage: open of device net:localhost:mustek_pp:Mustek-1200CP failed: > Invalid argument Sorry, I forgot to mention this: you have to run saned as root. Did you do that? > [mustek_pp] cis_attach: couldn't attach to `parport0' (Invalid argument) This is probably because saned didn't run as root. > > 3) Without xinetd, in gdb > > * Does scanimage hang? > No it exits immediately with the following error message: > scanimage: open of device net:localhost:mustek_pp:Mustek-1200CP failed: > Invalid argument Probably the same problem here: gdb has to be started as root. Please try tests 2 and 3 again, running saned/gdb as root (unless you already did that). Sorry for not being clear the first time. Eddy --------------------------------------------------------------- Tiscali ADSL: 12 maanden aan 29,50 €/maand! Snel Internet, en voor iedereen. http://reg.tiscali.be/default.asp?lg=nl From christopherlmarshall@yahoo.com Thu Jan 8 14:52:19 2004 From: christopherlmarshall@yahoo.com (Christopher Marshall) Date: Thu, 8 Jan 2004 06:52:19 -0800 (PST) Subject: [sane-devel] CanoScan LiDE 30 mysteriously stopped working on me in linux Message-ID: <20040108145219.31849.qmail@web41507.mail.yahoo.com> I had it working great through libusb on three different linux machines (all running slackware 9.0) for a week or so and now, all of a sudden, it either gives me black scans (vertical bands of black and white), or it makes a hideous noise (as if it is trying to move the motor in the wrong direction). I wondered if perhaps I did something to get the scanner in a wierd state, so I did a scan on a windows machine (using the software that came with the scanner) and it worked normally. Then I put it back on the nearest linux machine and got the same hideous noise. I'm crushed :-( Any ideas? __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From henning@meier-geinitz.de Thu Jan 8 16:54:02 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 8 Jan 2004 17:54:02 +0100 Subject: [sane-devel] Finnish translation for backends In-Reply-To: <20040108094503.GA17111@kirja.lake> References: <20040108094503.GA17111@kirja.lake> Message-ID: <20040108165402.GA1191@meier-geinitz.de> Hi, On Thu, Jan 08, 2004 at 11:45:03AM +0200, Harri Järvi wrote: > I'm starting to translate the backends .po file into Finnish. > I'm also interested in translating the xsane frontend. So I'll probably > do that too. That's cool! Once you have finished the translation for sane-backends, please send it to me for inclusion. The translation for xsane should be sent to Oliver Rauch. Bye, Henning From christopherlmarshall@yahoo.com Thu Jan 8 17:24:51 2004 From: christopherlmarshall@yahoo.com (Christopher Marshall) Date: Thu, 8 Jan 2004 09:24:51 -0800 (PST) Subject: [sane-devel] CanoScan LiDE 30 mystery solved In-Reply-To: <20040108145219.31849.qmail@web41507.mail.yahoo.com> Message-ID: <20040108172451.2266.qmail@web41508.mail.yahoo.com> --- Christopher Marshall wrote: > I had it working great through libusb on three different linux machines (all running slackware > 9.0) for a week or so and now, all of a sudden, it either gives me black scans (vertical bands > of > black and white), or it makes a hideous noise (as if it is trying to move the motor in the wrong > direction). > > I wondered if perhaps I did something to get the scanner in a wierd state, so I did a scan on a > windows machine (using the software that came with the scanner) and it worked normally. Then I > put it back on the nearest linux machine and got the same hideous noise. > > I'm crushed :-( > > Any ideas? > I figured it out. I was not copying my plustek.conf file to the proper place (in my case /usr/local/etc/sane.d/plustek.conf). However, since I was working in the same directory I had written the correct plustek.conf file in, scanimage was working there. When I would go to another directory, it would stop working. That's because the plustek backend looks in the current directory and if it finds a plustek.conf file there, uses it instead of the one in /etc or /usr/local/etc. That really threw me for a loop. The man page for sane-plustek doesn't mention that it looks in the current directory for plustek.conf. Chris Marshall __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From henning@meier-geinitz.de Thu Jan 8 17:51:08 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 8 Jan 2004 18:51:08 +0100 Subject: [sane-devel] CanoScan LiDE 30 mystery solved In-Reply-To: <20040108172451.2266.qmail@web41508.mail.yahoo.com> References: <20040108145219.31849.qmail@web41507.mail.yahoo.com> <20040108172451.2266.qmail@web41508.mail.yahoo.com> Message-ID: <20040108175108.GC1191@meier-geinitz.de> Hi, On Thu, Jan 08, 2004 at 09:24:51AM -0800, Christopher Marshall wrote: > That's because the plustek backend looks in the current directory and if it finds a plustek.conf > file there, uses it instead of the one in /etc or /usr/local/etc. That really threw me for a > loop. All SANE configuration files are searched in the current directory first. > The man page for sane-plustek doesn't mention that it looks in the current directory for > plustek.conf. True. Most man pages contain something like this: ENVIRONMENT SANE_CONFIG_DIR This environment variable specifies the list of directories that may contain the configuration file. Under UNIX, the directories are separated by a colon (:'), under OS/2, they are separated by a semi-colon (;'). If this variable is not set, the configuration file is searched in two default directories: first, the current working directory (".") and then in /usr/local/etc/sane.d. If the value of the environment variable ends with the directory separator character, then the default directories are searched after the explicitly specified directories. For example, setting SANE_CONFIG_DIR to "/tmp/config:" would result in directories "tmp/config", ".", and "/usr/local/etc/sane.d" being searched (in this order). I guess that should be added to sane-plustek.man. Also there is no mention of "SANE_DEBUG_PLUSTEK". Bye, Henning From ndaniels@mac.com Thu Jan 8 19:17:24 2004 From: ndaniels@mac.com (Noah Daniels) Date: Thu, 08 Jan 2004 14:17:24 -0500 Subject: [sane-devel] Re: TWAIN SANE Interface for Mac OS X version 0.3 Message-ID: <13617772.1073589444350.JavaMail.ndaniels@mac.com> Hi, I'm still having the same problem with the plustek backend that several people have reported, even using this latest build of the various SANE packages. Basically, sane-find-scanner finds the scanner, but scanimage -L does not. However, if I set SANE_DEBUG_PLUSTEK to a high number, the scanner DOES start working, and scans a partial low-res image before hanging. I know this behavior has been reported before, by Henrik Rintala. I can provide a debug log if anyone's interested... I'd love to be able to get this working (printing to a Canoscan 650). thanks! -- Noah Daniels ndaniels@mac.com From henning@meier-geinitz.de Thu Jan 8 19:26:15 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 8 Jan 2004 20:26:15 +0100 Subject: [sane-devel] Re: TWAIN SANE Interface for Mac OS X version 0.3 In-Reply-To: <13617772.1073589444350.JavaMail.ndaniels@mac.com> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> Message-ID: <20040108192615.GG1191@meier-geinitz.de> Hi, On Thu, Jan 08, 2004 at 02:17:24PM -0500, Noah Daniels wrote: > Basically, sane-find-scanner finds the scanner, but scanimage -L does > not. However, if I set SANE_DEBUG_PLUSTEK to a high number, the > scanner DOES start working, and scans a partial low-res image before > hanging. I know this behavior has been reported before, by Henrik > Rintala. Wasn't that a bug in libusb, not in SANE? Has anyone contacted the libusb maintainers? Bye, Henning From gklaver@wanadoo.nl Thu Jan 8 21:14:21 2004 From: gklaver@wanadoo.nl (gerard klaver) Date: Thu, 08 Jan 2004 20:14:21 -0100 Subject: [sane-devel] patch for include/sane/saneopts.h Message-ID: <1073596460.3309.24.camel@gk-lex3> --=-Lw22ZeX4kRPdnNnSmr7q Content-Type: text/plain Content-Transfer-Encoding: 7bit Hello, For the teco2 backend i use at the moment the white_level option for manual changing the calibration value downloaded to the scanner. To improve the calibration part i made a patch to add the white_value_r, white_value_g and white_value_b to the saneopts.h file. With this when for example the red calibration is not correct the user can change this by changing the value of the white_level_r used as a advanced option. See the attached file for the patch. Before adding the patch to the saneopts.h file in cvs i like to know if there are any comments about it. -- ---------- m.vr.gr. Gerard Klaver --=-Lw22ZeX4kRPdnNnSmr7q Content-Disposition: attachment; filename=saneopts-08122004.diff Content-Type: text/x-patch; name=saneopts-08122004.diff; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit --- saneopts.orig.h 2003-10-05 10:00:10.000000000 -0100 +++ saneopts.h 2004-01-06 20:25:24.000000000 -0100 @@ -89,6 +89,9 @@ #define SANE_NAME_HALFTONE "halftoning" #define SANE_NAME_BLACK_LEVEL "black-level" #define SANE_NAME_WHITE_LEVEL "white-level" +#define SANE_NAME_WHITE_LEVEL_R "white-level-r" +#define SANE_NAME_WHITE_LEVEL_G "white-level-g" +#define SANE_NAME_WHITE_LEVEL_B "white-level-b" #define SANE_NAME_SHADOW "shadow" #define SANE_NAME_SHADOW_R "shadow-r" #define SANE_NAME_SHADOW_G "shadow-g" @@ -153,6 +156,9 @@ #define SANE_TITLE_HALFTONE SANE_I18N("Halftoning") #define SANE_TITLE_BLACK_LEVEL SANE_I18N("Black level") #define SANE_TITLE_WHITE_LEVEL SANE_I18N("White level") +#define SANE_TITLE_WHITE_LEVEL_R SANE_I18N("White level for red") +#define SANE_TITLE_WHITE_LEVEL_G SANE_I18N("White level for green") +#define SANE_TITLE_WHITE_LEVEL_B SANE_I18N("White level for blue") #define SANE_TITLE_SHADOW SANE_I18N("Shadow") #define SANE_TITLE_SHADOW_R SANE_I18N("Shadow for red") #define SANE_TITLE_SHADOW_G SANE_I18N("Shadow for green") @@ -281,6 +287,15 @@ #define SANE_DESC_WHITE_LEVEL \ SANE_I18N("Selects what radiance level should be considered \"white\".") +#define SANE_DESC_WHITE_LEVEL_R \ +SANE_I18N("Selects what red radiance level should be considered \"white\".") + +#define SANE_DESC_WHITE_LEVEL_G \ +SANE_I18N("Selects what green radiance level should be considered \"white\".") + +#define SANE_DESC_WHITE_LEVEL_B \ +SANE_I18N("Selects what blue radiance level should be considered \"white\".") + #define SANE_DESC_SHADOW \ SANE_I18N("Selects what radiance level should be considered \"black\".") #define SANE_DESC_SHADOW_R \ --=-Lw22ZeX4kRPdnNnSmr7q-- From henning@meier-geinitz.de Thu Jan 8 21:12:03 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 8 Jan 2004 22:12:03 +0100 Subject: [sane-devel] patch for include/sane/saneopts.h In-Reply-To: <1073596460.3309.24.camel@gk-lex3> References: <1073596460.3309.24.camel@gk-lex3> Message-ID: <20040108211203.GI1191@meier-geinitz.de> Hi, On Thu, Jan 08, 2004 at 08:14:21PM -0100, gerard klaver wrote: > For the teco2 backend i use at the moment the white_level option for > manual changing the calibration value downloaded to the scanner. > > To improve the calibration part i made a patch to add the white_value_r, > white_value_g and white_value_b to the saneopts.h file. > > With this when for example the red calibration is not correct the user > can change this by changing the value of the white_level_r used as a > advanced option. > > See the attached file for the patch. > > Before adding the patch to the saneopts.h file in cvs i like to know > if there are any comments about it. Looks ok for me. Is there any need for a per-color black level? Bye, Henning From jim.george@blueyonder.co.uk Thu Jan 8 23:27:57 2004 From: jim.george@blueyonder.co.uk (Jim George) Date: Thu, 8 Jan 2004 23:27:57 -0000 (GMT) Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <3FFB28C9000013A4@ocpmta1.freegates.net> References: <2581.192.168.0.4.1073511546.squirrel@tassi.local> <3FFB28C9000013A4@ocpmta1.freegates.net> Message-ID: <1174.192.168.0.7.1073604477.squirrel@tassi.local> Eddy, Without inetd... scanimage hung and when I ctrl-c'd out of scanimage I get the following "scanimage: received signal 2 scanimage: trying to stop scanner " saned did not quit. When I killed it, the saned window showed these last few lines "[saned] do_scan: read 0 bytes from scanner [saned] do_scan: status = `End of file reached' [saned] do_scan: statuscode `End of file reached' was added to buffer [saned] do_scan: select_fd was closed --> EOF [saned] do_scan: trying to write 9 bytes to client [saned] do_scan: wrote 9 bytes to client [saned] do_scan: done, status=End of file reached [saned] process_request: waiting for request [saned] process_request: got request 8 [saned] process_request: waiting for request [saned] process_request: got request 3 [mustek_pp] sane_close: maybe waiting for lamp... [mustek_pp] cis_close: resetting device.[mustek_pp] cis_reset_device: resetting device [mustek_pp] cis_set_dpi_value: dpi: 300 -> value 0x20 [mustek_pp] cis_config_ccd: Skip count: 67 (x32) [mustek_pp] cis_config_ccd: skipcount: 12 imagebytes: 0 [mustek_pp] cis_config_ccd: adjust skip: 0 bytecount: 3 [mustek_pp] cis_return_home: returning home; nowait: 1 [mustek_pp] cis_set_dpi_value: dpi: 300 -> value 0x20 [mustek_pp] cis_config_ccd: Skip count: 67 (x32) [mustek_pp] cis_config_ccd: skipcount: 12 imagebytes: 0 [mustek_pp] cis_config_ccd: adjust skip: 0 bytecount: 3 Terminated" and scanimage window showed "scanimage: received signal 13 scanimage: aborting" without inetd running but with gdb......... scanimage hung and when I crtl-c'd out I get the following "scanimage: received signal 2 scanimage: trying to stop scanner" saned didn't quit. When I pressed ctrl-c in gdb I got "[saned] do_scan: select_fd was closed --> EOF [saned] do_scan: trying to write 9 bytes to client [saned] do_scan: wrote 9 bytes to client [saned] do_scan: done, status=End of file reached [saned] process_request: waiting for request [saned] process_request: got request 8 [saned] process_request: waiting for request [saned] process_request: got request 3 [mustek_pp] sane_close: maybe waiting for lamp... [mustek_pp] cis_close: resetting device.[mustek_pp] cis_reset_device: resetting device [mustek_pp] cis_set_dpi_value: dpi: 300 -> value 0x20 [mustek_pp] cis_config_ccd: Skip count: 67 (x32) [mustek_pp] cis_config_ccd: skipcount: 12 imagebytes: 0 [mustek_pp] cis_config_ccd: adjust skip: 0 bytecount: 3 [mustek_pp] cis_return_home: returning home; nowait: 1 [mustek_pp] cis_set_dpi_value: dpi: 300 -> value 0x20 [mustek_pp] cis_config_ccd: Skip count: 67 (x32) [mustek_pp] cis_config_ccd: skipcount: 12 imagebytes: 0 [mustek_pp] cis_config_ccd: adjust skip: 0 bytecount: 3 Program received signal SIGINT, Interrupt. 0x4027786d in sanei_debug_sanei_pa4s2_call () from /usr/lib/sane/libsane-mustek_pp.so.1 " I then did 'bt' and got "#0 0x4027786d in sanei_debug_sanei_pa4s2_call () from /usr/lib/sane/libsane-mustek_pp.so.1 #1 0x40279090 in sanei_pa4s2_readbyte () from /usr/lib/sane/libsane-mustek_pp.so.1 #2 0x4026ff0e in Mustek_PP_1015_wait_bit () from /usr/lib/sane/libsane-mustek_pp.so.1 #3 0x4027219c in cis_motor_control () from /usr/lib/sane/libsane-mustek_pp.so.1 #4 0x402721fb in cis_return_home () from /usr/lib/sane/libsane-mustek_pp.so.1 #5 0x40272d0c in cis_drv_close () from /usr/lib/sane/libsane-mustek_pp.so.1 #6 0x4026ef62 in sane_mustek_pp_close () from /usr/lib/sane/libsane-mustek_pp.so.1 #7 0x4003bd31 in sane_dll_close () from /usr/lib/libsane.so.1 #8 0x08049d1d in close_handle () #9 0x0804b6d0 in process_request () #10 0x0804bc92 in main () #11 0x401594c2 in __libc_start_main () from /lib/i686/libc.so.6" I hope this helps. Jim From sampln@sbcglobal.net Fri Jan 9 05:43:24 2004 From: sampln@sbcglobal.net (Lincoln Peters) Date: Thu, 08 Jan 2004 21:43:24 -0800 Subject: [sane-devel] Cannot set up an EPSON Perfection 2400 PHOTO Message-ID: <1073627002.30821.10634.camel@odysseus> I had heard that my EPSON Perfection 2400 scanner was supported by SANE. I plugged it into the USB port on a computer running Red Hat Linux 9.0, installed SANE from source, and then ran the "sane-find-scanner" program. I got the following output: # sane-find-scanner # No SCSI scanners found. If you expected something different, make sure that # you have loaded a SCSI driver for your SCSI adapter. # Also you need support for SCSI Generic (sg) in your operating system. # If using Linux, try "modprobe sg". found USB scanner (vendor=0x04b8, product=0x011b) at /dev/usb/scanner0 found USB scanner (vendor=0x04b8 [EPSON], product=0x011b [EPSON Scanner]) at libusb:001:002 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Scanners connected to the parallel port or other proprietary ports can't be # detected by this program. As the "sane-find-scanner" program suggested, I ran "scanimage -L", and got the following: # scanimage -L No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). As the HOWTO suggested, I tried it again: # scanimage -L device `epson:/dev/usb/scanner0' is a Epson GT-9300 flatbed scanner I know that my scanner is NOT an Epson GT-9300! I seem to be able to scan pictures even when the scanner is incorrectly identified, but they come out as line art (perhaps this is because I haven't yet looked up the EPSON-specific command line options). I have commented out every driver listed in /etc/sane.d/dll.conf *except* the "epson" driver, to minimize the chance of SANE using the wrong driver. Furthermore, the /etc/sane.d/epson.conf file has every line commented out except for: usb /dev/usb/scanner0 I also double-checked that libusb is installed. I don't have any other USB devices connected to the computer, but I am reasonably sure that the USB interface itself is properly configured (I wouldn't expect a misconfigured USB interface to be able to report that I have an EPSON scanner). I am also sure that the problem does not lie in the permissions (I'm using it while logged in as root). I have also found that, for some reason, if I leave it and come back a few minutes later, SANE will fail to find my scanner. The "sane-find-scanner" command works as before, but "scanimage -L" fails to detect a scanner no matter how many times I try it. If I try to scan the image using the command: # scanimage -d epson:/dev/usb/scanner0 --format tiff > new.tiff I get the following error: scanimage: open of device /dev/usb/scanner0 failed: Invalid argument According to both the website and the mailing list archives, the EPSON Perfection 2400 PHOTO scanner works with SANE, but I cannot figure out how. What am I doing wrong? -- Lincoln Peters From gene.heskett@verizon.net Fri Jan 9 05:58:49 2004 From: gene.heskett@verizon.net (Gene Heskett) Date: Fri, 9 Jan 2004 00:58:49 -0500 Subject: [sane-devel] 2.6.1-rc3 lost scanner, gnomeradio's gui segfaults Message-ID: <200401090058.49513.gene.heskett@verizon.net> Greets everyone; I'm setup to use libusb here, rahter than drivers/usb/scanner in the kernel config. Up to 2.6.1-rc1-mm1 and possibly a little later, my scanner worked just fine. But now on 2.6.1-rc3 its disappeared. I also have everything in the i2c category except i2c-dev (builtin) as modules trying to find some combination that will let sensors run. I had all that compiled in the last time it worked. Also, gnomeradio just segfaulted on startup and left the radio on when it did. That also worked previously. Ideas? -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.22% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2003 by Maurice Eugene Heskett, all rights reserved. From olaf@epkowa.co.jp Fri Jan 9 06:09:52 2004 From: olaf@epkowa.co.jp (Olaf Meeuwissen) Date: Fri, 09 Jan 2004 15:09:52 +0900 Subject: [sane-devel] Cannot set up an EPSON Perfection 2400 PHOTO In-Reply-To: <1073627002.30821.10634.camel@odysseus> (Lincoln Peters's message of "Thu, 08 Jan 2004 21:43:24 -0800") References: <1073627002.30821.10634.camel@odysseus> Message-ID: <87y8shejpr.fsf@zen.epkowa.co.jp> Lincoln Peters writes: > I had heard that my EPSON Perfection 2400 scanner was supported by > SANE. Rest assured, it is. > # scanimage -L > device `epson:/dev/usb/scanner0' is a Epson GT-9300 flatbed scanner > > I know that my scanner is NOT an Epson GT-9300! You may know that, but your scanner doesn't ;-) The problem is that EPSON decided to market the same scanner under a different name abroad (here is Japan it's a GT-9300), but didn't bother to change the name returned by the scanner. The epson (and epkowa) backend(s) use the name returned by the scanner, not what is printed on the label (for rather obvious reasons). > [snip] Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From sampln@sbcglobal.net Fri Jan 9 06:30:40 2004 From: sampln@sbcglobal.net (Lincoln Peters) Date: Thu, 08 Jan 2004 22:30:40 -0800 Subject: [sane-devel] Cannot set up an EPSON Perfection 2400 PHOTO In-Reply-To: <87y8shejpr.fsf@zen.epkowa.co.jp> References: <1073627002.30821.10634.camel@odysseus> <87y8shejpr.fsf@zen.epkowa.co.jp> Message-ID: <1073629832.30821.10880.camel@odysseus> On Thu, 2004-01-08 at 22:09, Olaf Meeuwissen wrote: > > # scanimage -L > > device `epson:/dev/usb/scanner0' is a Epson GT-9300 flatbed scanner > > > > I know that my scanner is NOT an Epson GT-9300! > > You may know that, but your scanner doesn't ;-) > The problem is that EPSON decided to market the same scanner under a > different name abroad (here is Japan it's a GT-9300), but didn't > bother to change the name returned by the scanner. The epson (and > epkowa) backend(s) use the name returned by the scanner, not what is > printed on the label (for rather obvious reasons). That is reassuring. However, having made one (low-res) scan, "scanimage" now fails to detect the scanner. I don't know what I might have done to cause it to stop working. -- Lincoln Peters From mattias.ellert@tsl.uu.se Fri Jan 9 08:31:42 2004 From: mattias.ellert@tsl.uu.se (Mattias Ellert) Date: Fri, 09 Jan 2004 09:31:42 +0100 Subject: [sane-devel] Re: TWAIN SANE Interface for Mac OS X version 0.3 In-Reply-To: <13617772.1073589444350.JavaMail.ndaniels@mac.com> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> Message-ID: <3FFE66EE.2020503@tsl.uu.se> This is a multi-part message in MIME format. --------------050409050009020202060209 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Noah Daniels wrote: > Hi, > > I'm still having the same problem with the plustek backend that several people have reported, even using this latest build of the various SANE packages. > > Basically, sane-find-scanner finds the scanner, but scanimage -L does not. However, if I set SANE_DEBUG_PLUSTEK to a high number, the scanner DOES start working, and scans a partial low-res image before hanging. I know this behavior has been reported before, by Henrik Rintala. > > I can provide a debug log if anyone's interested... I'd love to be able to get this working (printing to a Canoscan 650). > > thanks! > > -- > Noah Daniels Using the latest version of libusb from CVS (or the binary packages from 2004-01-05) has been reported to fix the problem that scanimage -L does not see the scanner unless the DEBUG environment is used. The following gdb log of the state of scanimage at the time it freezes after a scan was provided by a user having a Canon N670U scanner that uses the Plustek backend on MacOS X. To me it looks like the reader process has finished and is waiting to be killed, but the main process is still trying to read from it. Note that the patch in the bug report https://alioth.debian.org/tracker/index.php?func=detail&aid=300434&group_id=1308&atid=410366 has been applied here, in order to avoid calling pthread_cancel which is broken on MacOS X. Mattias -- ________________________________________________________________________ mattias.ellert@tsl.uu.se tel: +46 18 471 32 58 http://www.tsl.uu.se/~ellert/ fax: +46 18 471 35 13 ________________________________________________________________________ --------------050409050009020202060209 Content-Type: text/plain; name="plustek.txt" Content-Disposition: inline; filename="plustek.txt" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by smtp3.cern.ch id i098YBJm006043 (gdb) info threads 2 process 799 thread 0x1c43 0x90017048 in semaphore_wait_signal_trap () * 1 process 799 thread 0x307 0x9000ebc4 in read () (gdb) thread 1 [Switching to thread 1 (process 799 thread 0x307)] #0 0x9000ebc4 in read () (gdb) backtrace #0 0x9000ebc4 in read () #1 0x0021ab44 in sane_plustek_read (handle=3D0xdd000, data=3D0xbfff7820 "= xN,~K$fO*qT)f=3D$SR\"gV,", '?' , "?=CB=AB\215uM\\E,jF4\= 237~e", '?' ..., max_length=3D32768, length=3D0xbffff8= 60) at plustek.c:2071 #2 0x00004600 in scan_it () at scanimage.c:1142 #3 0x00006078 in main (argc=3D45792, argv=3D0xa000104c) at scanimage.c:19= 75 (gdb) thread 2 [Switching to thread 2 (process 799 thread 0x1c43)] #0 0x90017048 in semaphore_wait_signal_trap () (gdb) backtrace #0 0x90017048 in semaphore_wait_signal_trap () #1 0x9000e890 in _pthread_cond_wait () #2 0x0021d91c in local_thread (arg=3D0x25bd1c) at sanei_thread.c:221 #3 0x900247e8 in _pthread_body () (gdb) --------------050409050009020202060209-- From gerhard@gjaeger.de Fri Jan 9 08:44:20 2004 From: gerhard@gjaeger.de (Jaeger, Gerhard) Date: Fri, 9 Jan 2004 09:44:20 +0100 Subject: [sane-devel] Re: TWAIN SANE Interface for Mac OS X version 0.3 In-Reply-To: <13617772.1073589444350.JavaMail.ndaniels@mac.com> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> Message-ID: <200401090944.20977.gerhard@gjaeger.de> Hi, On Donnerstag, 8. Januar 2004 20:17, Noah Daniels wrote: [SNIPSNAP] > Basically, sane-find-scanner finds the scanner, but scanimage -L does not. > However, if I set SANE_DEBUG_PLUSTEK to a high number, the scanner DOES > start working, and scans a partial low-res image before hanging. I know > this behavior has been reported before, by Henrik Rintala. > > I can provide a debug log if anyone's interested... I'd love to be able to > get this working (printing to a Canoscan 650). you can send me these logs, but I'm pretty sure, that the backend itself is not the problem. Probably we can find some workaround, when doing some delays on the correct positions - but in the end, as you already noted, the scanner will hang during the scan... The best solution will be to contact the libusb guys and fix the problems, where they come from... Ciao, Gerhard From gerhard@gjaeger.de Fri Jan 9 08:48:40 2004 From: gerhard@gjaeger.de (Jaeger, Gerhard) Date: Fri, 9 Jan 2004 09:48:40 +0100 Subject: [sane-devel] CanoScan LiDE 30 mystery solved In-Reply-To: <20040108175108.GC1191@meier-geinitz.de> References: <20040108145219.31849.qmail@web41507.mail.yahoo.com> <20040108172451.2266.qmail@web41508.mail.yahoo.com> <20040108175108.GC1191@meier-geinitz.de> Message-ID: <200401090948.40198.gerhard@gjaeger.de> On Donnerstag, 8. Januar 2004 18:51, Henning Meier-Geinitz wrote: [SNIPSNAP] > True. Most man pages contain something like this: Okay, okay, I got it ;-))) The next version will contain this part. > > ENVIRONMENT > SANE_CONFIG_DIR > This environment variable specifies the list of > directories that may contain the configuration file. > Under UNIX, the directories are separated by a colon > (:'), under OS/2, they are separated by a semi-colon > (;'). If this variable is not set, the configuration > file is searched in two default directories: first, the > current working directory (".") and then in > /usr/local/etc/sane.d. If the value of the environment > variable ends with the directory separator character, > then the default directories are searched after the > explicitly specified directories. For example, setting > SANE_CONFIG_DIR to "/tmp/config:" would result in > directories "tmp/config", ".", and > "/usr/local/etc/sane.d" being searched (in this order). > > I guess that should be added to sane-plustek.man. Also there is no > mention of "SANE_DEBUG_PLUSTEK". This in fact is not true, have a look at "CONTACT AND BUG-REPORTS"... Ciao, Gerhard From gerhard@gjaeger.de Fri Jan 9 08:57:50 2004 From: gerhard@gjaeger.de (Jaeger, Gerhard) Date: Fri, 9 Jan 2004 09:57:50 +0100 Subject: [sane-devel] Re: TWAIN SANE Interface for Mac OS X version 0.3 In-Reply-To: <3FFE66EE.2020503@tsl.uu.se> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> <3FFE66EE.2020503@tsl.uu.se> Message-ID: <200401090957.50504.gerhard@gjaeger.de> Hi, I already got this report and check it here on my box... Ciao, Gerhard On Freitag, 9. Januar 2004 09:31, Mattias Ellert wrote: > Noah Daniels wrote: > > Hi, > > > > I'm still having the same problem with the plustek backend that several > > people have reported, even using this latest build of the various SANE > > packages. > > > > Basically, sane-find-scanner finds the scanner, but scanimage -L does > > not. However, if I set SANE_DEBUG_PLUSTEK to a high number, the scanner > > DOES start working, and scans a partial low-res image before hanging. I > > know this behavior has been reported before, by Henrik Rintala. > > > > I can provide a debug log if anyone's interested... I'd love to be able > > to get this working (printing to a Canoscan 650). > > > > thanks! > > > > -- > > Noah Daniels > > Using the latest version of libusb from CVS (or the binary packages from > 2004-01-05) has been reported to fix the problem that scanimage -L does > not see the scanner unless the DEBUG environment is used. > > The following gdb log of the state of scanimage at the time it freezes > after a scan was provided by a user having a Canon N670U scanner that > uses the Plustek backend on MacOS X. > > To me it looks like the reader process has finished and is waiting to be > killed, but the main process is still trying to read from it. > > Note that the patch in the bug report > https://alioth.debian.org/tracker/index.php?func=detail&aid=300434&group_id >=1308&atid=410366 > > has been applied here, in order to avoid calling pthread_cancel which is > broken on MacOS X. > > Mattias From khk@khk.net Fri Jan 9 12:17:53 2004 From: khk@khk.net (khk@khk.net) Date: Fri, 9 Jan 2004 07:17:53 -0500 (EST) Subject: [sane-devel] Cannot set up an EPSON Perfection 2400 PHOTO In-Reply-To: <1073627002.30821.10634.camel@odysseus> References: <1073627002.30821.10634.camel@odysseus> Message-ID: <39925.198.176.225.25.1073650673.squirrel@home.khk.net> The scanner is fully supported with Sane. It is also correctly identified: The GT-9300 is the internal name of the device. The name "Perfection 2400" is not stored anywhere in the firmware, it's just printed on the outside. The Sane backend only sees the internal name, and this is what it reports. If you change the scanning mode on the commmand line, you will be able to scan both grayscale and color in addition to the black&white (or lineart mode). Is it possible that RH9 unloads the driver if you are not scanning for a while and has a problem reloading it? This is very likely not a Sane problem, but a problem with your USB subsystem. I'm not familiar with RH9, so I'm not in a position to comment on that. Sorry. Karl Heinz > I had heard that my EPSON Perfection 2400 scanner was supported by > SANE. I plugged it into the USB port on a computer running Red Hat > Linux 9.0, installed SANE from source, and then ran the > "sane-find-scanner" program. I got the following output: > > # sane-find-scanner > > # No SCSI scanners found. If you expected something different, make sure > that > # you have loaded a SCSI driver for your SCSI adapter. > # Also you need support for SCSI Generic (sg) in your operating system. > # If using Linux, try "modprobe sg". > > found USB scanner (vendor=0x04b8, product=0x011b) at /dev/usb/scanner0 > found USB scanner (vendor=0x04b8 [EPSON], product=0x011b [EPSON Scanner]) > at libusb:001:002 > # Your USB scanner was (probably) detected. It may or may not be > supported by > # SANE. Try scanimage -L and read the backend's manpage. > > # Scanners connected to the parallel port or other proprietary ports > can't be > # detected by this program. > > As the "sane-find-scanner" program suggested, I ran "scanimage -L", and > got the following: > > # scanimage -L > > No scanners were identified. If you were expecting something different, > check that the scanner is plugged in, turned on and detected by the > sane-find-scanner tool (if appropriate). Please read the documentation > which came with this software (README, FAQ, manpages). > > As the HOWTO suggested, I tried it again: > > # scanimage -L > device `epson:/dev/usb/scanner0' is a Epson GT-9300 flatbed scanner > > I know that my scanner is NOT an Epson GT-9300! I seem to be able to > scan pictures even when the scanner is incorrectly identified, but they > come out as line art (perhaps this is because I haven't yet looked up > the EPSON-specific command line options). > > I have commented out every driver listed in /etc/sane.d/dll.conf > *except* the "epson" driver, to minimize the chance of SANE using the > wrong driver. Furthermore, the /etc/sane.d/epson.conf file has every > line commented out except for: > > usb /dev/usb/scanner0 > > I also double-checked that libusb is installed. I don't have any other > USB devices connected to the computer, but I am reasonably sure that the > USB interface itself is properly configured (I wouldn't expect a > misconfigured USB interface to be able to report that I have an EPSON > scanner). I am also sure that the problem does not lie in the > permissions (I'm using it while logged in as root). > > > I have also found that, for some reason, if I leave it and come back a > few minutes later, SANE will fail to find my scanner. The > "sane-find-scanner" command works as before, but "scanimage -L" fails to > detect a scanner no matter how many times I try it. If I try to scan > the image using the command: > > # scanimage -d epson:/dev/usb/scanner0 --format tiff > new.tiff > > I get the following error: > > scanimage: open of device /dev/usb/scanner0 failed: Invalid argument > > > According to both the website and the mailing list archives, the EPSON > Perfection 2400 PHOTO scanner works with SANE, but I cannot figure out > how. What am I doing wrong? > > -- > Lincoln Peters > > > -- > 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-request@lists.alioth.debian.org > From md0josch@mdstud.chalmers.se Fri Jan 9 12:38:57 2004 From: md0josch@mdstud.chalmers.se (Christian Josefsson) Date: Fri, 9 Jan 2004 13:38:57 +0100 Subject: [sane-devel] HP Scanjet 3670... Message-ID: <20040109123857.GA27118@sugarpie> 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 ------------------------------------------------------------------------------- Christian Josefsson mail=md0josch@[mdstud,medic,cs,math,md,etek].chalmers.se God made machine language; all the rest is the work of man. ------------------------------------------------------------------------------- From edg1@tiscali.be Fri Jan 9 14:57:53 2004 From: edg1@tiscali.be (edg1@tiscali.be) Date: Fri, 9 Jan 2004 15:57:53 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <1174.192.168.0.7.1073604477.squirrel@tassi.local> Message-ID: <3FFB28C9000021E0@ocpmta1.freegates.net> Jim George wrote: > without inetd running but with gdb......... > > scanimage hung and when I crtl-c'd out I get the following > "scanimage: received signal 2 > scanimage: trying to stop scanner" > > saned didn't quit. When I pressed ctrl-c in gdb I got > > [...] > > Program received signal SIGINT, Interrupt. > 0x4027786d in sanei_debug_sanei_pa4s2_call () > from /usr/lib/sane/libsane-mustek_pp.so.1 " > > I then did 'bt' and got > "#0 0x4027786d in sanei_debug_sanei_pa4s2_call () > from /usr/lib/sane/libsane-mustek_pp.so.1 > #1 0x4079090 in sanei_pa4s2_readbyte () > from /usr/lib/sane/libsane-mustek_pp.so.1 > #2 0x4026ff0e in Mustek_PP_1015_wait_bit () > from /usr/lib/sane/libsane-mustek_pp.so.1 > #3 0x4027219c in cis_motor_control () > from /usr/lib/sane/libsane-mustek_pp.so.1 > #4 0x402721fb in cis_return_home () from /usr/lib/sane/libsane-mustek_pp.so.1 > #5 0x40272d0c in cis_drv_close () from /usr/lib/sane/libsane-mustek_pp.so.1 > #6 0x4026ef62 in sane_mustek_pp_close () from /usr/lib/sane/libsane-mustek_pp.so.1 > #7 0x4003bd31 in sane_dll_close () from /usr/lib/libsane.so.1 > #8 0x08049d1d in close_handle () > #9 0x0804b6d0 in process_request () > #10 0x0804bc92 in main () > #11 0x401594c2 in __libc_start_main () from /lib/i686/libc.so.6" > > I hope this helps. Hi Jim, now we are getting somewhere. It looks like the driver is waiting for the scanner motor to stabilize, but it waits forever, either because it doesn't stabilize, or because the communication with the scanner is somehow messed up. Do you have libieee1284 installed? If so, what version is it? It would be useful to also see the debug output of sanei_pa4s2. I know you are short of disk space, so I won't ask you to collect all output. Just let it scroll off the screen. I'm only interested in the last few tens of lines or so (as long as the last few lines of mustek_pp output are included): - stop inetd - as root: SANE_DEBUG_MUSTEK_PP=128 SANE_DEBUG_SANEI_PA4S2=255 saned -d128 - in another window: scanimage -d net:localhost:mustek_pp:Mustek-1200CP > /dev/null Best regards, Eddy --------------------------------------------------------------- Tiscali ADSL: 12 maanden aan 29,50 €/maand! Snel Internet, en voor iedereen. http://reg.tiscali.be/default.asp?lg=nl From henning@meier-geinitz.de Fri Jan 9 17:34:53 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Fri, 9 Jan 2004 18:34:53 +0100 Subject: [sane-devel] CanoScan LiDE 30 mystery solved In-Reply-To: <200401090948.40198.gerhard@gjaeger.de> References: <20040108145219.31849.qmail@web41507.mail.yahoo.com> <20040108172451.2266.qmail@web41508.mail.yahoo.com> <20040108175108.GC1191@meier-geinitz.de> <200401090948.40198.gerhard@gjaeger.de> Message-ID: <20040109173453.GB1416@meier-geinitz.de> Hi, On Fri, Jan 09, 2004 at 09:48:40AM +0100, Jaeger, Gerhard wrote: > > I guess that should be added to sane-plustek.man. Also there is no > > mention of "SANE_DEBUG_PLUSTEK". > > This in fact is not true, have a look at "CONTACT AND BUG-REPORTS"... Ah, ok. I just looked at the environment section. :-) Bye, Henning From henning@meier-geinitz.de Fri Jan 9 18:03:33 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Fri, 9 Jan 2004 19:03:33 +0100 Subject: [sane-devel] HP Scanjet 3670... In-Reply-To: <20040109123857.GA27118@sugarpie> References: <20040109123857.GA27118@sugarpie> Message-ID: <20040109180333.GC1416@meier-geinitz.de> Hi, On Fri, Jan 09, 2004 at 01:38:57PM +0100, Christian Josefsson wrote: > 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... I haven't heard from mancio_and@libero.it after his initial posting (http://lists.alioth.debian.org/pipermail/sane-devel/2003-November/009360.html). If he doesn't answer on this list, try to contact him directly. > 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. At least I don't remember anyone posted a link to code or a website for that scanner. If that doesn't happen some weeks after the first announcement, this usually menas that the project is dead. But I like to be surprised otherwise :-) Anyway, even if someone worked on this project, you could still try to write a backend for any of the other unsupported scanners. The list is so long, you shouldn't have trouble to find one :-) Bye, Henning From jim.george@blueyonder.co.uk Sat Jan 10 00:03:17 2004 From: jim.george@blueyonder.co.uk (Jim George) Date: Sat, 10 Jan 2004 00:03:17 -0000 (GMT) Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port Message-ID: <2750.192.168.0.7.1073692997.squirrel@tassi.local> ------=_20040110000317_94993 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit > Hi Jim, > > now we are getting somewhere. > It looks like the driver is waiting for the scanner motor to stabilize, but it waits forever, either because it doesn't stabilize, or because the communication with the scanner is somehow messed up. > > Do you have libieee1284 installed? If so, what version is it? > > It would be useful to also see the debug output of sanei_pa4s2. > I know you are short of disk space, so I won't ask you to collect all output. Just let it scroll off the screen. I'm only interested in the last few tens of lines or so (as long as the last few lines of mustek_pp output are included): > > - stop inetd > - as root: > SANE_DEBUG_MUSTEK_PP=128 SANE_DEBUG_SANEI_PA4S2=255 saned -d128 > - in another window: > scanimage -d net:localhost:mustek_pp:Mustek-1200CP > /dev/null > > Best regards, > > Eddy Eddy, I am running libieee1284-0.2.8-0.pm.0 As root I stopped inetd, and executed the above commands. The first time I did this I got the contents of first.txt. So I rebooted the server and tried again but didn't appear to get any output from scanimage (I didn't use > /dev/null but > test.pnm which didn't appear to grow at all). So I ran SANE_DEBUG_MUSTEK_PP=128 SANE_DEBUG_SANEI_PA4S2=255 saned -d128 and scanimage -d net:localhost:mustek_pp:Mustek-1200CP -T but there appeared to be no output from the scanimage -T. So I then ran saned -d128 and scanimage -d net:localhost:mustek_pp:Mustek-1200CP and got the output found in the attachment sanedonly.txt I then tried again with the original commands you requested but, in the end I lost my courage because it didn't appear to be doing anything still so I stopped. Finally I tried ANE_DEBUG_MUSTEK_PP=128 SANE_DEBUG_SANEI_PA4S2=255 scanimage -d mustek_pp:Mustek-1200CP > test.pnm but again there is was no file generated so I decided to stop the output for fear of breaking my scanner. Hope this helps. Jim ------=_20040110000317_94993 Content-Type: application/octet-stream; name="first.LOG" Content-Disposition: attachment; filename="first.LOG" Content-Transfer-Encoding: base64 dGFzc2k6fiAjIC9ldGMvaW5pdC5kL2luZXRkIHN0b3ANClNodXR0aW5nIGRvd24gaW5ldGQNZG9u ZQ8NCnRhc3NpOn4gIyAvZXRjL2luaXQuZC9pbmV0ZCBzdG9wDXRhc3NpOn4gIyBTQU5FX0RFQlVH X01VU1RFS19QUD0xMjggU0FORV9ERUJVR19TQU5FSV9QQTRTMj0yNTUgc2FuZWQgLWQxMjgNCltz YW5lZF0gbWFpbjogc3RhcnRpbmcgZGVidWcgbW9kZSAobGV2ZWwgMTI4KQ0KW3NhbmVkXSBtYWlu OiB0cnlpbmcgdG8gZ2V0IHBvcnQgZm9yIHNlcnZpY2UgYHNhbmUnIChnZXRhZGRyaW5mbykNCltz YW5lZF0gbWFpbjogWzBdIHNvY2tldCAoKSB1c2luZyBJUHY2DQpbc2FuZWRdIG1haW46IFswXSBz ZXRzb2Nrb3B0ICgpDQpbc2FuZWRdIG1haW46IFswXSBiaW5kICgpIHRvIHBvcnQgNjU2Ng0KW3Nh bmVkXSBtYWluOiBbMF0gbGlzdGVuICgpDQpbc2FuZWRdIG1haW46IFsxXSBzb2NrZXQgKCkgdXNp bmcgSVB2NA0KW3NhbmVkXSBtYWluOiBbMV0gc2V0c29ja29wdCAoKQ0KW3NhbmVkXSBtYWluOiBb MV0gYmluZCAoKSB0byBwb3J0IDY1NjYNCltzYW5lZF0gbWFpbjogWzFdIGJpbmQgZmFpbGVkOiBB ZGRyZXNzIGFscmVhZHkgaW4gdXNlDQpbc2FuZWRdIG1haW46IHdhaXRpbmcgZm9yIGNvbnRyb2wg Y29ubmVjdGlvbg0KW3NhbmVkXSBzYW5lZCAoQUYtaW5kZXArSVB2NikgZnJvbSBzYW5lLWJhY2tl bmRzIDEuMC4xMyByZWFkeQ0KW3NhbmVkXSBjaGVja19ob3N0OiBhY2Nlc3MgYnkgcmVtb3RlIGhv c3Q6IDo6MQ0KW3NhbmVkXSBjaGVja19ob3N0OiByZW1vdGUgaG9zdCBpcyBJTjZfTE9PUEJBQ0s6 IGFjY2VzcyBncmFudGVkDQpbc2FuZWRdIGluaXQ6IGFjY2VzcyBncmFudGVkDQpbc2FuZWRdIGlu aXQ6IGFjY2VzcyBncmFudGVkIHRvIHJvb3RAOjoxDQpbc2FuZWRdIHByb2Nlc3NfcmVxdWVzdDog d2FpdGluZyBmb3IgcmVxdWVzdA0KW3NhbmVkXSBwcm9jZXNzX3JlcXVlc3Q6IGdvdCByZXF1ZXN0 IDINCltzYW5lZF0gcHJvY2Vzc19yZXF1ZXN0OiBhY2Nlc3MgdG8gcmVzb3VyY2UgYG11c3Rla19w cCcgZ3JhbnRlZA0KW3NhbmVpX2RlYnVnXSBTZXR0aW5nIGRlYnVnIGxldmVsIG9mIG11c3Rla19w cCB0byAxMjguDQpbbXVzdGVrX3BwXSBzYW5lLW11c3Rla19wcCwgdmVyc2lvbiAwLjEyLWFscGhh LiBidWlsZCBmb3IgU0FORSAxLjAuMTMNClttdXN0ZWtfcHBdIGJhY2tlbmQgYnkgSm9jaGVuIEVp c2luZ2VyIDxqb2NoZW4uZWlzaW5nZXJAZ214Lm5ldD4NCltzYW5laV9kZWJ1Z10gU2V0dGluZyBk ZWJ1ZyBsZXZlbCBvZiBzYW5laV9wYTRzMiB0byAyNTUuDQpbc2FuZWlfcGE0czJdIHNhbmVpX3Bh NHMyOiBpbnRlcmZhY2UgY2FsbGVkIGZvciB0aGUgZmlyc3QgdGltZQ0KW3NhbmVpX3BhNHMyXSBz YW5laV9wYTRzMl9vcGVuOiBjYWxsZWQgZm9yIGRldmljZSAncGFycG9ydDAnDQpbc2FuZWlfcGE0 czJdIHNhbmVpX3BhNHMyX29wZW46IHRyeWluZyB0byBjb25uZWN0IHRvIHBvcnQNCltzYW5laV9w YTRzMl0gcGE0czJfb3BlbjogdHJ5aW5nIHRvIGF0dGFjaCBkZXYgYHBhcnBvcnQwYA0KW3NhbmVp X3BhNHMyXSBwYTRzMl9pbml0OiBzdGF0aWMgaW50IGZpcnN0X3RpbWUgPSAxDQpbc2FuZWlfcGE0 czJdIHBhNHMyX2luaXQ6IGNhbGxlZCBmb3IgdGhlIGZpcnN0IHRpbWUNCltzYW5laV9wYTRzMl0g cGE0czJfaW5pdDogaW5pdGlhbGl6aW5nIGxpYmllZWUxMjg0DQpbc2FuZWlfcGE0czJdIHBhNHMy X2luaXQ6IDEgcG9ydHMgcmVwb3J0ZWQgYnkgSUVFRSAxMjg0IGxpYnJhcnkNCltzYW5laV9wYTRz Ml0gcGE0czJfaW5pdDogcG9ydCAwIGlzIGBwYXJwb3J0MGANCltzYW5laV9wYTRzMl0gcGE0czJf aW5pdDogYWxsb2NhdGluZyBwb3J0IGxpc3QNCltzYW5laV9wYTRzMl0gcGE0czJfaW5pdDogaW5p dGlhbGl6ZWQgc3VjY2Vzc2Z1bGx5DQpbc2FuZWlfcGE0czJdIHBhNHMyX29wZW46IGxvb2tpbmcg dXAgcG9ydCBpbiBsaXN0DQpbc2FuZWlfcGE0czJdIHBhNHMyX29wZW46IHBvcnQgaXMgaW4gbGlz dCBhdCBwb3J0WzBdDQpbc2FuZWlfcGE0czJdIHBhNHMyX29wZW46IHNldHRpbmcgdXAgcG9ydCBk YXRhDQpbc2FuZWlfcGE0czJdIHBhNHMyX29wZW46IG5hbWU9cGFycG9ydDAgaW5fdXNlPVNBTkVf VFJVRQ0KW3NhbmVpX3BhNHMyXSBwYTRzMl9vcGVuOiBlbmFibGVkPVNBTkVfRkFMU0UgbW9kZT1Q QTRTMl9NT0RFX05JQg0KW3NhbmVpX3BhNHMyXSBwYTRzMl9vcGVuOiBvcGVuaW5nIGRldmljZQ0K W3NhbmVpX3BhNHMyXSBwYTRzMl9vcGVuOiBkZXZpY2UgYHBhcnBvcnQwYCBvcGVuZWQuLi4NCltz YW5laV9wYTRzMl0gcGE0czJfb3BlbjogcmV0dXJuaW5nIFNBTkVfU1RBVFVTX0dPT0QNCltzYW5l aV9wYTRzMl0gcGE0czJfb3Blbjogb3BlbiBkZXYgYHBhcnBvcnQwYCBhcyBmZCAwDQpbc2FuZWlf cGE0czJdIHNhbmVpX3BhNHMyX29wZW46IGNvbm5lY3RlZCB0byBkZXZpY2UgdXNpbmcgZmQgMA0K W3NhbmVpX3BhNHMyXSBzYW5laV9wYTRzMl9vcGVuOiBjaGVja2luZyBmb3Igc2Nhbm5lcg0KW3Nh bmVpX3BhNHMyXSBzYW5laV9wYTRzMl9lbmFibGU6IGNhbGxlZCBmb3IgZmQgMCB3aXRoIHZhbHVl IDENCltzYW5laV9wYTRzMl0gc2FuZWlfcGE0czJfZW5hYmxlOiBlbmFibGUgcG9ydCAncGFycG9y dDAnDQpbc2FuZWlfcGE0czJdIHBhNHMyX2VuYWJsZTogcHJlbG9ja1tdID0gezB4MDAsIDB4Zjgs IDB4MGN9DQpbc2FuZWlfcGE0czJdIHNhbmVpX3BhNHMyX2VuYWJsZTogcmV0dXJuaW5nIFNBTkVf U1RBVFVTX0dPT0QNCltzYW5laV9wYTRzMl0gc2FuZWlfcGE0czJfb3BlbjogcmVhZGluZyBBU0lD IGlkDQpbc2FuZWlfcGE0czJdIHNhbmVpX3BhNHMyX3JlYWRiZWdpbjogY2FsbGVkIGZvciBmZCAw IGFuZCByZWdpc3RlciAwDQpbc2FuZWlfcGE0czJdIHNhbmVpX3BhNHMyX3JlYWRiZWdpbjogTklC IHJlYWRiZWdpbg0KW3NhbmVpX3BhNHMyXSBwYTRzMl9yZWFkYmVnaW5fbmliOiBzZWxlY3Rpbmcg cmVnaXN0ZXIgMCBhdCAncGFycG9ydDAnDQpbc2FuZWlfcGE0czJdIHNhbmVpX3BhNHMyX3JlYWRi ZWdpbjogcmV0dXJuaW5nIFNBTkVfU1RBVFVTX0dPT0QNCltzYW5laV9wYTRzMl0gc2FuZWlfcGE0 czJfcmVhZGJ5dGU6IGNhbGxlZCB3aXRoIGZkIDANCltzYW5laV9wYTRzMl0gc2FuZWlfcGE0czJf cmVhZGJ5dGU6IHdlIGhvcGUsIHRoZSBiYWNrZW5kIGNhbGxlZA0KW3NhbmVpX3BhNHMyXSBzYW5l aV9wYTRzMl9yZWFkYnl0ZTogcmVhZGJlZ2luLCBzbyB0aGUgcG9ydCBpcyBvay4uLg0KW3NhbmVp X3BhNHMyXSBzYW5laV9wYTRzMl9yZWFkYnl0ZTogdGhpcyBtZWFucywgSSBkaWQgbm90IGNoZWNr IGl0IC0gaXQncw0KW3NhbmVpX3BhNHMyXSBzYW5laV9wYTRzMl9yZWFkYnl0ZTogbm90IG15IGZh dWx0LCBpZiB5b3VyIFBDIGJ1cm5zIGRvd24uDQpbc2FuZWlfcGE0czJdIHNhbmVpX3BhNHMyX3Jl YWRieXRlOiByZWFkIGluIE5JQiBtb2RlDQpbc2FuZWlfcGE0czJdIHBhNHMyX3JlYWRieXRlX25p YjogcmVhZGluZyB2YWx1ZSAweGI3IGZyb20gJ3BhcnBvcnQwJw0KW3NhbmVpX3BhNHMyXSBzYW5l aV9wYTRzMl9yZWFkYnl0ZTogcmVhZCBmaW5pc2hlZA0KW3NhbmVpX3BhNHMyXSBzYW5laV9wYTRz Ml9yZWFkYnl0ZTogZ290IHZhbHVlIDB4YjcNCltzYW5laV9wYTRzMl0gc2FuZWlfcGE0czJfcmVh ZGJ5dGU6IHJldHVybmluZyBTQU5FX1NUQVRVU19HT09EDQpbc2FuZWlfcGE0czJdIHNhbmVpX3Bh NHMyX3JlYWRlbmQ6IGNhbGxlZCBmb3IgZmQgMA0KW3NhbmVpX3BhNHMyXSBzYW5laV9wYTRzMl9y ZWFkZW5kOiB3ZSBob3BlLCB0aGUgYmFja2VuZCBjYWxsZWQNCltzYW5laV9wYTRzMl0gc2FuZWlf cGE0czJfcmVhZGVuZDogcmVhZGJlZ2luLCBzbyB0aGUgcG9ydCBpcyBvay4uLg0KW3NhbmVpX3Bh NHMyXSBzYW5laV9wYTRzMl9yZWFkZW5kOiB0aGlzIG1lYW5zLCBJIGRpZCBub3QgY2hlY2sgaXQg LSBpdCdzDQpbc2FuZWlfcGE0czJdIHNhbmVpX3BhNHMyX3JlYWRlbmQ6IG5vdCBteSBmYXVsdCwg aWYgeW91ciBQQyBidXJucyBkb3duLg0KW3NhbmVpX3BhNHMyXSBzYW5laV9wYTRzMl9yZWFkZW5k OiBOSUIgbW9kZSByZWFkZW5kDQpbc2FuZWlfcGE0czJdIHBhNHMyX3JlYWRlbmRfbmliOiBlbmQg b2YgcmVhZGluZyBzZXF1ZW5jZSBmb3IgZmQgMA0KW3NhbmVpX3BhNHMyXSBzYW5laV9wYTRzMl9y ZWFkZW5kOiByZXR1cm5pbmcgU0FORV9TVEFUVVNfR09PRA0KW3NhbmVpX3BhNHMyXSBzYW5laV9w YTRzMl9vcGVuOiBjb3VsZCBub3QgZmluZCBzY2FubmVyDQpbc2FuZWlfcGE0czJdIHNhbmVpX3Bh NHMyX29wZW46IHJlcG9ydGVkIEFTSUMgaWQgMHhiNw0KW3NhbmVpX3BhNHMyXSBzYW5laV9wYTRz Ml9lbmFibGU6IGNhbGxlZCBmb3IgZmQgMCB3aXRoIHZhbHVlIDANCltzYW5laV9wYTRzMl0gc2Fu ZWlfcGE0czJfZW5hYmxlOiBkaXNhYmxlIHBvcnQgJ3BhcnBvcnQwJw0KW3NhbmVpX3BhNHMyXSBw YTRzMl9kaXNhYmxlOiBzdGF0ZSByZXN0b3JlZA0KW3NhbmVpX3BhNHMyXSBzYW5laV9wYTRzMl9l bmFibGU6IHJldHVybmluZyBTQU5FX1NUQVRVU19HT09EDQpbc2FuZWlfcGE0czJdIHNhbmVpX3Bh NHMyX29wZW46IGNsb3NpbmcgcG9ydA0KW3NhbmVpX3BhNHMyXSBzYW5laV9wYTRzMl9jbG9zZTog ZmQgPSAwDQpbc2FuZWlfcGE0czJdIHNhbmVpX3BhNHMyX2Nsb3NlOiBmcmVlaW5nIHJlc291cmNl cw0KW3NhbmVpX3BhNHMyXSBwYTRzMl9jbG9zZTogZmQ9MA0KW3NhbmVpX3BhNHMyXSBwYTRzMl9j bG9zZTogdGhpcyBpcyBwb3J0ICdwYXJwb3J0MCcNCltzYW5laV9wYTRzMl0gcGE0czJfY2xvc2U6 IGNoZWNraW5nIHdoZXRoZXIgcG9ydCBpcyBlbmFibGVkDQpbc2FuZWlfcGE0czJdIHBhNHMyX2Ns b3NlOiB0cnlpbmcgdG8gZnJlZSBpbyBwb3J0DQpbc2FuZWlfcGE0czJdIHBhNHMyX2Nsb3NlOiBt YXJraW5nIHBvcnQgYXMgdW51c2VkDQpbc2FuZWlfcGE0czJdIHBhNHMyX2Nsb3NlOiByZXR1cm5p bmcgU0FORV9TVEFUVVNfR09PRA0KW3NhbmVpX3BhNHMyXSBzYW5laV9wYTRzMl9jbG9zZTogZmlu aXNoZWQNCltzYW5laV9wYTRzMl0gc2FuZWlfcGE0czJfb3BlbjogcmV0dXJuaW5nIFNBTkVfU1RB VFVTX0lOVkFMDQpbbXVzdGVrX3BwXSBjaXNfYXR0YWNoOiBjb3VsZG4ndCBhdHRhY2ggdG8gYHBh cnBvcnQwJyAoSW52YWxpZCBhcmd1bWVudCkNClttdXN0ZWtfcHBdIHNhbmVfb3BlbjogdW5rbm93 biBkZXZpY2VuYW1lIGBgTXVzdGVrLTEyMDBDUCcnDQpbc2FuZWRdIHByb2Nlc3NfcmVxdWVzdDog d2FpdGluZyBmb3IgcmVxdWVzdA0KW3NhbmVkXSBwcm9jZXNzX3JlcXVlc3Q6IGdvdCByZXF1ZXN0 IDEwDQpbbXVzdGVrX3BwXSBzYW5lX2V4aXQ6IGFsbCBkcml2ZXJzIHVubG9hZGVkDQpbc2FuZWRd IHF1aXQ6IGV4aXRpbmcNCnRhc3NpOn4gIyA= ------=_20040110000317_94993 Content-Type: text/plain; name="sanedonly.txt" Content-Disposition: attachment; filename="sanedonly.txt" saned -d128 [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] listen () [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: waiting for control connection [saned] saned (AF-indep+IPv6) from sane-backends 1.0.13 ready [saned] check_host: access by remote host: ::1 [saned] check_host: remote host is IN6_LOOPBACK: access granted [saned] init: access granted [saned] init: access granted to root@::1 [saned] process_request: waiting for request [saned] process_request: got request 2 [saned] process_request: access to resource `mustek_pp' granted [sanei_debug] Setting debug level of mustek_pp to 2. [saned] process_request: waiting for request [saned] process_request: got request 4 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 7 [saned] start_scan: using port 1088 for data [saned] process_request: waiting for data connection [saned] process_request: access to data port from ::1 [saned] do_scan: start [saned] do_scan: processing RPC request on fd 4 [saned] process_request: waiting for request [saned] process_request: got request 6 [mustek_pp] sane_get_parameters: can't set parameters while scanning [saned] do_scan: trying to read 8188 bytes from scanner [saned] do_scan: read 4096 bytes from scanner [saned] do_scan: trying to write 4100 bytes to client [saned] do_scan: wrote 4100 bytes to client [saned] do_scan: trying to read 4088 bytes from scanner [saned] do_scan: read 4088 bytes from scanner [saned] do_scan: trying to write 4092 bytes to client [saned] do_scan: wrote 4092 bytes to client [saned] do_scan: trying to read 8188 bytes from scanner [saned] do_scan: read 8 bytes from scanner [saned] do_scan: processing RPC request on fd 4 [saned] process_request: waiting for request [saned] process_request: got request 8 [saned] do_scan: done, status=Success [saned] process_request: waiting for request [saned] process_request: got request 3 [saned] process_request: waiting for request [saned] process_request: got request 10 [saned] quit: exiting tassi:~ # ------=_20040110000317_94993-- From olaf@epkowa.co.jp Sat Jan 10 00:31:52 2004 From: olaf@epkowa.co.jp (Olaf Meeuwissen) Date: Sat, 10 Jan 2004 09:31:52 +0900 Subject: [sane-devel] Cannot set up an EPSON Perfection 2400 PHOTO In-Reply-To: <1073629832.30821.10880.camel@odysseus> (Lincoln Peters's message of "Thu, 08 Jan 2004 22:30:40 -0800") References: <1073627002.30821.10634.camel@odysseus> <87y8shejpr.fsf@zen.epkowa.co.jp> <1073629832.30821.10880.camel@odysseus> Message-ID: <87u134od8n.fsf@zen.epkowa.co.jp> Lincoln Peters writes: > On Thu, 2004-01-08 at 22:09, Olaf Meeuwissen wrote: >> > # scanimage -L >> > device `epson:/dev/usb/scanner0' is a Epson GT-9300 flatbed scanner >> > >> > I know that my scanner is NOT an Epson GT-9300! >> >> You may know that, but your scanner doesn't ;-) >> The problem is that EPSON decided to market the same scanner under a >> different name abroad (here is Japan it's a GT-9300), but didn't >> bother to change the name returned by the scanner. The epson (and >> epkowa) backend(s) use the name returned by the scanner, not what is >> printed on the label (for rather obvious reasons). > > That is reassuring. However, having made one (low-res) scan, > "scanimage" now fails to detect the scanner. I don't know what I might > have done to cause it to stop working. Neither do I, but you might try replugging the scanner and making sure that the kernel hasn't loaded the scanner module (which forces the use of libusb). Check with '/sbin/lsmod | grep scanner'. You can use 'rmmod scanner' to remove the module. Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From khk@khk.net Sat Jan 10 00:49:14 2004 From: khk@khk.net (Karl Heinz Kremer) Date: Fri, 9 Jan 2004 19:49:14 -0500 Subject: [sane-devel] Cannot set up an EPSON Perfection 2400 PHOTO In-Reply-To: <87u134od8n.fsf@zen.epkowa.co.jp> References: <1073627002.30821.10634.camel@odysseus> <87y8shejpr.fsf@zen.epkowa.co.jp> <1073629832.30821.10880.camel@odysseus> <87u134od8n.fsf@zen.epkowa.co.jp> Message-ID: To permanently disable the kernel scanner driver, you probably have to modify the hotplug configuration so that the module is no longer automatically loaded. One crude way of doing this is to rename the scanner.o file. Karl Heinz On Jan 9, 2004, at 7:31 PM, Olaf Meeuwissen wrote: > Lincoln Peters writes: > >> On Thu, 2004-01-08 at 22:09, Olaf Meeuwissen wrote: >>>> # scanimage -L >>>> device `epson:/dev/usb/scanner0' is a Epson GT-9300 flatbed scanner >>>> >>>> I know that my scanner is NOT an Epson GT-9300! >>> >>> You may know that, but your scanner doesn't ;-) >>> The problem is that EPSON decided to market the same scanner under a >>> different name abroad (here is Japan it's a GT-9300), but didn't >>> bother to change the name returned by the scanner. The epson (and >>> epkowa) backend(s) use the name returned by the scanner, not what is >>> printed on the label (for rather obvious reasons). >> >> That is reassuring. However, having made one (low-res) scan, >> "scanimage" now fails to detect the scanner. I don't know what I >> might >> have done to cause it to stop working. > > Neither do I, but you might try replugging the scanner and making sure > that the kernel hasn't loaded the scanner module (which forces the use > of libusb). > > Check with '/sbin/lsmod | grep scanner'. You can use 'rmmod scanner' > to remove the module. > > Hope this helps, > -- > Olaf Meeuwissen EPSON KOWA Corporation, ECS > GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 > Penguin's lib! -- I hack, therefore I am -- LPIC-2 > > -- > 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-request@lists.alioth.debian.org From dave@dminor.com Sat Jan 10 06:53:01 2004 From: dave@dminor.com (David Minor) Date: Sat, 10 Jan 2004 00:53:01 -0600 Subject: [sane-devel] OS X and umax 1220u Message-ID: Using the new version of libusb that Mattias Ellert packaged with his twain interface, OS X 10.3 is responding much friendlier towards the 1220u. Unfortunately, it still doesn't scan. However, it first sees the scanner and reports that it knows what it is, then when you try to scan, it complains about an Invalid argument. The output of scanimage with SANE_DEBUG_UMAX1220U=128 is below. Any ideas on why it is dumping or what I might try? Thanks, dm dminor@ginger:~$ scanimage [sanei_debug] Setting debug level of umax1220u to 128. [umax1220u] sane_init: version_code != 0, authorize != 0 [umax1220u] sane_init: SANE umax1220u backend version 1.0.1 from sane-backends 1.0.13 [umax1220u] reading configure file umax1220u.conf [umax1220u] attach_matching_devices(usb 0x1606 0x0010) [umax1220u] attach_scanner: libusb:001:005 [umax1220u] attach_scanner: opening libusb:001:005 [umax1220u] UMAX_open_device: `libusb:001:005' [umax1220u] csend: cmd = 0 [umax1220u] usync: len = 0, cmd = 0 [umax1220u] usync: s0 = 0x53 s4 = 0xc8 [umax1220u] doing xxxops [umax1220u] UMAX_close_device: [umax1220u] attach_matching_devices(usb 0x1606 0x0030) [umax1220u] attach_matching_devices(usb 0x1606 0x0130) [umax1220u] finished reading configure file [umax1220u] sane_get_devices(local_only = 0) [umax1220u] sane_open [umax1220u] sane_open: devicename=libusb:001:005 [umax1220u] UMAX_open_device: `libusb:001:005' [umax1220u] UMAX_open_device: couldn't open device `libusb:001:005': Invalid argument scanimage: open of device umax1220u:libusb:001:005 failed: Invalid argument [umax1220u] sane_exit From jonathan@buzzard.me.uk Sat Jan 10 08:13:50 2004 From: jonathan@buzzard.me.uk (Jonathan Buzzard) Date: Sat, 10 Jan 2004 08:13:50 +0000 Subject: [sane-devel] USB/Parallel Scanner pages Message-ID: Due to problems with the ISP that was hosting my domain these pages have probably been unavailable for at least the last week and remain so. I have managed to wrestle one of my domains from this bunch of jokers and you should now be able to find the pages at http://www.buzzard.me.uk/jonathan/scanners.html http://www.buzzard.me.uk/jonathan/scanners-usb.html As I am off abroad skiing, it will be sometime before the buzzard.org.uk domain is sorted out and they can be viewed on their original page. Even when it does I intend to make these the primary URL's for the said pages so if you could update any URL's to these I would be grateful. There is no major rush other than buzzard.org.uk is unreachable at the moment) as I intend to keep the domain indefinitely. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Northumberland, United Kingdom. Tel: +44 1661-832195 From henning@meier-geinitz.de Sat Jan 10 10:01:50 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 10 Jan 2004 11:01:50 +0100 Subject: [sane-devel] USB/Parallel Scanner pages In-Reply-To: References: Message-ID: <20040110100149.GA978@meier-geinitz.de> Hi, On Sat, Jan 10, 2004 at 08:13:50AM +0000, Jonathan Buzzard wrote: > Due to problems with the ISP that was hosting my domain these pages have > probably been unavailable for at least the last week and remain so. > > I have managed to wrestle one of my domains from this bunch of jokers > and you should now be able to find the pages at > > http://www.buzzard.me.uk/jonathan/scanners.html > http://www.buzzard.me.uk/jonathan/scanners-usb.html > > As I am off abroad skiing, it will be sometime before the buzzard.org.uk > domain is sorted out and they can be viewed on their original page. I've changed the links on our supported scanners page. I'm a bit surprised that nobody complained to us about the broken link. I guess I have to rerun the link checker, maybe there are other broken links. Bye, Henning From henning@meier-geinitz.de Sat Jan 10 10:06:40 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 10 Jan 2004 11:06:40 +0100 Subject: [sane-devel] OS X and umax 1220u In-Reply-To: References: Message-ID: <20040110100640.GB978@meier-geinitz.de> Hi, On Sat, Jan 10, 2004 at 12:53:01AM -0600, David Minor wrote: > dminor@ginger:~$ scanimage > [sanei_debug] Setting debug level of umax1220u to 128. > [umax1220u] sane_init: version_code != 0, authorize != 0 > [umax1220u] sane_init: SANE umax1220u backend version 1.0.1 from sane-backends 1.0.13 > [umax1220u] reading configure file umax1220u.conf > [umax1220u] attach_matching_devices(usb 0x1606 0x0010) > [umax1220u] attach_scanner: libusb:001:005 > [umax1220u] attach_scanner: opening libusb:001:005 > [umax1220u] UMAX_open_device: `libusb:001:005' > [umax1220u] csend: cmd = 0 > [umax1220u] usync: len = 0, cmd = 0 > [umax1220u] usync: s0 = 0x53 s4 = 0xc8 > [umax1220u] doing xxxops > [umax1220u] UMAX_close_device: Ok, the device was closed and open successfully. That's in sane_init, when SANE scans for devices. > [umax1220u] attach_matching_devices(usb 0x1606 0x0030) > [umax1220u] attach_matching_devices(usb 0x1606 0x0130) Some other USB devices (non-scanners). > [umax1220u] sane_get_devices(local_only = 0) The frontend asks for a list of devices ... > [umax1220u] sane_open > [umax1220u] sane_open: devicename=libusb:001:005 > [umax1220u] UMAX_open_device: `libusb:001:005' ...and wants to sane_open the device (the same as above). > [umax1220u] UMAX_open_device: couldn't open device `libusb:001:005': Invalid argument Bu this time the open fails. I don't know why and I'm not thte backend maintainer but maybe you get more information if you enable debugging for USB also (in addition to SANEI_USB_UAMX1220): SANE_DEBUG_SANEI_USB=255 To reduce the amount of data you get, you should disabel everything but umax1220u in dll.conf. Bye, Henning From gerhard@gjaeger.de Sat Jan 10 15:09:16 2004 From: gerhard@gjaeger.de (Jaeger, Gerhard) Date: Sat, 10 Jan 2004 16:09:16 +0100 Subject: [sane-devel] pthread_cancel and MacOS X (was: TWAIN SANE Interface for Mac OS X version 0.3) In-Reply-To: <3FFE66EE.2020503@tsl.uu.se> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> <3FFE66EE.2020503@tsl.uu.se> Message-ID: <200401101609.16585.gerhard@gjaeger.de> Hi again, in the meantime (even Henning urged me to do something with that sanei_thread stuff ;-) I've included Mattias patch within sanei_thread_kill() and checked it here on my box with a CanoScan 650. Result: It will not work - it hangs. Why? Because the plustek backend and also the plustek_pp and u12 didn't use the pthread_cancel function. As I do really like the "graceful shutdown" of a process or thread, the reader_process in the plustek backend terminates, when it has done it's work. But when using the patch, it is urged to wait on a point where it does not expect to wait. That's the difference to the test-backend. The test-backend implements also a "hanging" backend. After it has done it's work it's sleeping... When writing the sanei_thread stuff, I expected pthread_cancel to work correctly, and probably it will work correctly in the near future. I also think, that pthread_cancel should normally not be needed by any backend to shutdown a reader-process, when this one is done. It's only needed to cancel such a thread... I also think, that a working test-backend is not that essential, as working "real" backends. So what to do? I suggest to skip the sanei_thread-patch from Mattias Ellert, as this patch is not really a workaround for the buggy pthread_cancel on OSX. It only tries to cure one symptome. My 2 cents on that, Gerhard On Freitag, 9. Januar 2004 09:31, Mattias Ellert wrote: > Noah Daniels wrote: > > Hi, > > > > I'm still having the same problem with the plustek backend that several > > people have reported, even using this latest build of the various SANE > > packages. > > > > Basically, sane-find-scanner finds the scanner, but scanimage -L does > > not. However, if I set SANE_DEBUG_PLUSTEK to a high number, the scanner > > DOES start working, and scans a partial low-res image before hanging. I > > know this behavior has been reported before, by Henrik Rintala. > > > > I can provide a debug log if anyone's interested... I'd love to be able > > to get this working (printing to a Canoscan 650). > > > > thanks! > > > > -- > > Noah Daniels > > Using the latest version of libusb from CVS (or the binary packages from > 2004-01-05) has been reported to fix the problem that scanimage -L does > not see the scanner unless the DEBUG environment is used. > > The following gdb log of the state of scanimage at the time it freezes > after a scan was provided by a user having a Canon N670U scanner that > uses the Plustek backend on MacOS X. > > To me it looks like the reader process has finished and is waiting to be > killed, but the main process is still trying to read from it. > > Note that the patch in the bug report > https://alioth.debian.org/tracker/index.php?func=detail&aid=300434&group_id >=1308&atid=410366 > > has been applied here, in order to avoid calling pthread_cancel which is > broken on MacOS X. > > Mattias From jim.george@blueyonder.co.uk Sat Jan 10 20:59:13 2004 From: jim.george@blueyonder.co.uk (Jim George) Date: Sat, 10 Jan 2004 20:59:13 -0000 (GMT) Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port Message-ID: <1729.192.168.0.7.1073768353.squirrel@tassi.local> ------=_20040110205913_95570 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Eddy, I do have a printer connected to the same port. It's an Epson Photo Stylus 820cxi if that makes any difference. I tried turning off/on my scanner but that made no difference, then I rebooted and when I tried again I got the attached (which was the same as when I had to turn the scanner off/on). Could it be a simple configuration issue, something like using EPP on the port? Anyway please find the SANE?I_PA4S2 output from this aborted attempted attached. Best Regards, Jim ------=_20040110205913_95570 Content-Type: text/plain; name="sanedonly.txt" Content-Disposition: attachment; filename="sanedonly.txt" /etc/init.d/inetd stop SANE_DEBUG_MUSTEK_PP=128 SANE_DEBUG_SANEI_PA4S2=255 saned -d128 [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] listen () [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: waiting for control connection [saned] saned (AF-indep+IPv6) from sane-backends 1.0.13 ready [saned] check_host: access by remote host: ::1 [saned] check_host: remote host is IN6_LOOPBACK: access granted [saned] init: access granted [saned] init: access granted to root@::1 [saned] process_request: waiting for request [saned] process_request: got request 2 [saned] process_request: access to resource `mustek_pp' granted [sanei_debug] Setting debug level of mustek_pp to 128. [mustek_pp] sane-mustek_pp, version 0.12-alpha. build for SANE 1.0.13 [mustek_pp] backend by Jochen Eisinger [sanei_debug] Setting debug level of sanei_pa4s2 to 255. [sanei_pa4s2] sanei_pa4s2: interface called for the first time [sanei_pa4s2] sanei_pa4s2_open: called for device 'parport0' [sanei_pa4s2] sanei_pa4s2_open: trying to connect to port [sanei_pa4s2] pa4s2_open: trying to attach dev `parport0` [sanei_pa4s2] pa4s2_init: static int first_time = 1 [sanei_pa4s2] pa4s2_init: called for the first time [sanei_pa4s2] pa4s2_init: initializing libieee1284 [sanei_pa4s2] pa4s2_init: 1 ports reported by IEEE 1284 library [sanei_pa4s2] pa4s2_init: port 0 is `parport0` [sanei_pa4s2] pa4s2_init: allocating port list [sanei_pa4s2] pa4s2_init: initialized successfully [sanei_pa4s2] pa4s2_open: looking up port in list [sanei_pa4s2] pa4s2_open: port is in list at port[0] [sanei_pa4s2] pa4s2_open: setting up port data [sanei_pa4s2] pa4s2_open: name=parport0 in_use=SANE_TRUE [sanei_pa4s2] pa4s2_open: enabled=SANE_FALSE mode=PA4S2_MODE_NIB [sanei_pa4s2] pa4s2_open: opening device [sanei_pa4s2] pa4s2_open: device `parport0` opened... [sanei_pa4s2] pa4s2_open: returning SANE_STATUS_GOOD [sanei_pa4s2] pa4s2_open: open dev `parport0` as fd 0 [sanei_pa4s2] sanei_pa4s2_open: connected to device using fd 0 [sanei_pa4s2] sanei_pa4s2_open: checking for scanner [sanei_pa4s2] sanei_pa4s2_enable: called for fd 0 with value 1 [sanei_pa4s2] sanei_pa4s2_enable: enable port 'parport0' [sanei_pa4s2] pa4s2_enable: prelock[] = {0x04, 0xd8, 0x0c} [sanei_pa4s2] sanei_pa4s2_enable: returning SANE_STATUS_GOOD [sanei_pa4s2] sanei_pa4s2_open: reading ASIC id [sanei_pa4s2] sanei_pa4s2_readbegin: called for fd 0 and register 0 [sanei_pa4s2] sanei_pa4s2_readbegin: NIB readbegin [sanei_pa4s2] pa4s2_readbegin_nib: selecting register 0 at 'parport0' [sanei_pa4s2] sanei_pa4s2_readbegin: returning SANE_STATUS_GOOD [sanei_pa4s2] sanei_pa4s2_readbyte: called with fd 0 [sanei_pa4s2] sanei_pa4s2_readbyte: we hope, the backend called [sanei_pa4s2] sanei_pa4s2_readbyte: readbegin, so the port is ok... [sanei_pa4s2] sanei_pa4s2_readbyte: this means, I did not check it - it's [sanei_pa4s2] sanei_pa4s2_readbyte: not my fault, if your PC burns down. [sanei_pa4s2] sanei_pa4s2_readbyte: read in NIB mode [sanei_pa4s2] pa4s2_readbyte_nib: reading value 0xb5 from 'parport0' [sanei_pa4s2] sanei_pa4s2_readbyte: read finished [sanei_pa4s2] sanei_pa4s2_readbyte: got value 0xb5 [sanei_pa4s2] sanei_pa4s2_readbyte: returning SANE_STATUS_GOOD [sanei_pa4s2] sanei_pa4s2_readend: called for fd 0 [sanei_pa4s2] sanei_pa4s2_readend: we hope, the backend called [sanei_pa4s2] sanei_pa4s2_readend: readbegin, so the port is ok... [sanei_pa4s2] sanei_pa4s2_readend: this means, I did not check it - it's [sanei_pa4s2] sanei_pa4s2_readend: not my fault, if your PC burns down. [sanei_pa4s2] sanei_pa4s2_readend: NIB mode readend [sanei_pa4s2] pa4s2_readend_nib: end of reading sequence for fd 0 [sanei_pa4s2] sanei_pa4s2_readend: returning SANE_STATUS_GOOD [sanei_pa4s2] sanei_pa4s2_open: could not find scanner [sanei_pa4s2] sanei_pa4s2_open: reported ASIC id 0xb5 [sanei_pa4s2] sanei_pa4s2_enable: called for fd 0 with value 0 [sanei_pa4s2] sanei_pa4s2_enable: disable port 'parport0' [sanei_pa4s2] pa4s2_disable: state restored [sanei_pa4s2] sanei_pa4s2_enable: returning SANE_STATUS_GOOD [sanei_pa4s2] sanei_pa4s2_open: closing port [sanei_pa4s2] sanei_pa4s2_close: fd = 0 [sanei_pa4s2] sanei_pa4s2_close: freeing resources [sanei_pa4s2] pa4s2_close: fd=0 [sanei_pa4s2] pa4s2_close: this is port 'parport0' [sanei_pa4s2] pa4s2_close: checking whether port is enabled [sanei_pa4s2] pa4s2_close: trying to free io port [sanei_pa4s2] pa4s2_close: marking port as unused [sanei_pa4s2] pa4s2_close: returning SANE_STATUS_GOOD [sanei_pa4s2] sanei_pa4s2_close: finished [sanei_pa4s2] sanei_pa4s2_open: returning SANE_STATUS_INVAL [mustek_pp] cis_attach: couldn't attach to `parport0' (Invalid argument) [mustek_pp] sane_open: unknown devicename ``Mustek-1200CP'' [saned] process_request: waiting for request [saned] process_request: got request 10 [mustek_pp] sane_exit: all drivers unloaded [saned] quit: exiting ------=_20040110205913_95570-- From dave@dminor.com Sat Jan 10 22:38:59 2004 From: dave@dminor.com (David Minor) Date: Sat, 10 Jan 2004 16:38:59 -0600 Subject: [sane-devel] OS X and umax 1220u In-Reply-To: <20040110100640.GB978@meier-geinitz.de> References: <20040110100640.GB978@meier-geinitz.de> Message-ID: --Apple-Mail-1-977858641 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Jan 10, 2004, at 4:06 AM, Henning Meier-Geinitz wrote: > The frontend asks for a list of devices ... > >> [umax1220u] sane_open >> [umax1220u] sane_open: devicename=libusb:001:005 >> [umax1220u] UMAX_open_device: `libusb:001:005' > > ...and wants to sane_open the device (the same as above). > >> [umax1220u] UMAX_open_device: couldn't open device `libusb:001:005': >> Invalid argument > > Bu this time the open fails. > > I don't know why and I'm not thte backend maintainer but maybe you get > more information if you enable debugging for USB also (in addition to > SANEI_USB_UAMX1220): SANE_DEBUG_SANEI_USB=255 > > To reduce the amount of data you get, you should disabel everything > but umax1220u in dll.conf. > I commented out everything in dll.conf but umax1220u, set USB debug output to 255 in addition to the umax1220u debug at 128 as before. I also disconnected all other USB devices to simplify matters. I'm not going to pretend to being able to interpret the output, but I will attach for anyone to look over and see if the problem can be isolated. Thanks, dm --Apple-Mail-1-977858641 Content-Transfer-Encoding: 7bit Content-Type: text/plain; x-unix-mode=0644; name="debug_output.txt" Content-Disposition: attachment; filename=debug_output.txt [sanei_debug] Setting debug level of umax1220u to 128. [umax1220u] sane_init: version_code != 0, authorize != 0 [umax1220u] sane_init: SANE umax1220u backend version 1.0.1 from sane-backends 1.0.13 [sanei_debug] Setting debug level of sanei_usb to 255. usb_set_debug: Setting debugging level to 255 (on) usb_os_find_busses: Found 001 usb_os_find_busses: Found 002 usb_os_find_devices: Found USB device at location 0x18000000 usb_os_find_devices: Found 001 on 001 at location 0x18000000 usb_os_find_devices: Found USB device at location 0x18100000 usb_os_find_devices: Found 003 on 001 at location 0x18100000 usb_os_find_devices: Found USB device at location 0x19000000 usb_os_open: 1606:0010 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 512 0 0xbfffeab8 8 1000 usb_control_msg: 128 6 512 0 0x300a00 39 1000 usb_os_close: 1606:0010 usb_os_open: 05ac:8005 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 512 0 0xbfffeab8 8 1000 usb_control_msg: 128 6 512 0 0x300ab0 27 1000 usb_os_close: 05ac:8005 usb_os_find_devices: Found USB device at location 0x18000000 usb_os_find_devices: Found USB device at location 0x18100000 usb_os_find_devices: Found USB device at location 0x19000000 usb_os_find_devices: Found 001 on 002 at location 0x19000000 usb_os_open: 05ac:8005 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 512 0 0xbfffeab8 8 1000 usb_control_msg: 128 6 512 0 0x300f00 27 1000 usb_os_close: 05ac:8005 [sanei_usb] sanei_usb_init: device 0x05ac/0x8005, interface 0 doesn't look like a scanner (9/9) [sanei_usb] sanei_usb_init: device 0x05ac/0x8005: no suitable interfaces [sanei_usb] sanei_usb_init: found libusb device (0x1606/0x0010) interface 0 at libusb:001:003 [sanei_usb] sanei_usb_init: device 0x05ac/0x8005, interface 0 doesn't look like a scanner (9/9) [sanei_usb] sanei_usb_init: device 0x05ac/0x8005: no suitable interfaces [sanei_usb] sanei_usb_init: found 1 devices [umax1220u] reading configure file umax1220u.conf [umax1220u] attach_matching_devices(usb 0x1606 0x0010) [sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0010 [umax1220u] attach_scanner: libusb:001:003 [umax1220u] attach_scanner: opening libusb:001:003 [umax1220u] UMAX_open_device: `libusb:001:003' [sanei_usb] sanei_usb_open: trying to open device `libusb:001:003' usb_os_open: 1606:0010 usb_set_configuration: called for config 1 usb_claim_interface: called for interface 0 Interface 0 of device is 0x130b claim_interface: Interface 0 of device from QueryInterface is 0x3020d0 [sanei_usb] sanei_usb_open: found bulk-out endpoint (address 1) [sanei_usb] sanei_usb_open: found bulk-in endpoint (address 2) [sanei_usb] sanei_usb_open: found interupt-in endpoint (address 3) [sanei_usb] sanei_usb_open: opened usb device `libusb:001:003' (*dn=0) [sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x1606, productID: 0x0010 [umax1220u] csend: cmd = 0 [umax1220u] usync: len = 0, cmd = 0 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 2, index = 0, len = 0 usb_control_msg: 64 3 2 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes [sanei_usb] 0000: 55 AA U............... Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=2 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffaeb0 1 30000 [sanei_usb] 0000: C8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 4, index = 0, len = 0 usb_control_msg: 64 3 4 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes [sanei_usb] 0000: 00 00 00 00 ................ Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=4 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbfffaf20 1 30000 [sanei_usb] 0000: 53 S............... [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffaf21 1 30000 [sanei_usb] 0000: C8 ................ [umax1220u] usync: s0 = 0x53 s4 = 0xc8 [umax1220u] doing xxxops [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 2, index = 3, len = 0 usb_control_msg: 64 1 2 3 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 14, index = 2, len = 0 usb_control_msg: 64 1 14 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 64, index = 0, len = 0 usb_control_msg: 64 1 64 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 6, index = 2, len = 0 usb_control_msg: 64 1 6 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffaee0 1 30000 [sanei_usb] 0000: 38 8............... [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 7, index = 2, len = 0 usb_control_msg: 64 1 7 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffaee0 1 30000 [sanei_usb] 0000: 38 8............... [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 4, index = 2, len = 0 usb_control_msg: 64 1 4 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffaee0 1 30000 [sanei_usb] 0000: F8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 5, index = 2, len = 0 usb_control_msg: 64 1 5 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 2, len = 1 usb_control_msg: 192 0 0 2 0xbfffaee0 1 30000 [sanei_usb] 0000: 05 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 4, index = 2, len = 0 usb_control_msg: 64 1 4 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 30, index = 3, len = 0 usb_control_msg: 64 1 30 3 0x0 0 30000 [umax1220u] UMAX_close_device: [sanei_usb] sanei_usb_close: closing device 0 usb_os_close: 1606:0010 [umax1220u] attach_matching_devices(usb 0x1606 0x0030) [sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0030 [umax1220u] attach_matching_devices(usb 0x1606 0x0130) [sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0130 [umax1220u] finished reading configure file [umax1220u] sane_get_devices(local_only = 0) [umax1220u] sane_open [umax1220u] sane_open: devicename=libusb:001:003 [umax1220u] UMAX_open_device: `libusb:001:003' [sanei_usb] sanei_usb_open: trying to open device `libusb:001:003' usb_os_open: 1606:0010 usb_set_configuration: called for config 1 usb_claim_interface: called for interface 0 Interface 0 of device is 0x1313 claim_interface: Interface 0 of device from QueryInterface is 0x302470 [sanei_usb] sanei_usb_open: found bulk-out endpoint (address 1) [sanei_usb] sanei_usb_open: we already have a bulk-out endpoint (address: 1), ignoring the new one [sanei_usb] sanei_usb_open: found bulk-in endpoint (address 2) [sanei_usb] sanei_usb_open: we already have a bulk-in endpoint (address: 130), ignoring the new one [sanei_usb] sanei_usb_open: found interupt-in endpoint (address 3) [sanei_usb] sanei_usb_open: we already have a int-in endpoint (address: 131), ignoring the new one [sanei_usb] sanei_usb_open: opened usb device `libusb:001:003' (*dn=0) [sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x1606, productID: 0x0010 [umax1220u] csend: cmd = 0 [umax1220u] usync: len = 0, cmd = 0 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 2, index = 0, len = 0 usb_control_msg: 64 3 2 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes [sanei_usb] 0000: 55 AA U............... Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=2 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff3b0 1 30000 [sanei_usb] 0000: C8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 4, index = 0, len = 0 usb_control_msg: 64 3 4 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes [sanei_usb] 0000: 00 00 00 00 ................ Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=4 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbffff420 1 30000 [sanei_usb] 0000: 53 S............... [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff421 1 30000 [sanei_usb] 0000: C8 ................ [umax1220u] usync: s0 = 0x53 s4 = 0xc8 [umax1220u] doing xxxops [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 2, index = 3, len = 0 usb_control_msg: 64 1 2 3 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 14, index = 2, len = 0 usb_control_msg: 64 1 14 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 64, index = 0, len = 0 usb_control_msg: 64 1 64 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 6, index = 2, len = 0 usb_control_msg: 64 1 6 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff3e0 1 30000 [sanei_usb] 0000: 38 8............... [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 7, index = 2, len = 0 usb_control_msg: 64 1 7 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff3e0 1 30000 [sanei_usb] 0000: 38 8............... [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 4, index = 2, len = 0 usb_control_msg: 64 1 4 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff3e0 1 30000 [sanei_usb] 0000: F8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 5, index = 2, len = 0 usb_control_msg: 64 1 5 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 2, len = 1 usb_control_msg: 192 0 0 2 0xbffff3e0 1 30000 [sanei_usb] 0000: 05 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 4, index = 2, len = 0 usb_control_msg: 64 1 4 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 30, index = 3, len = 0 usb_control_msg: 64 1 30 3 0x0 0 30000 [umax1220u] sane_control_option: handle=0x1a000, opt=0, act=0, val=0xbffff9ec, info=0x0 [umax1220u] sane_control_option: handle=0x1a000, opt=0, act=0, val=0xbffff540, info=0x0 [umax1220u] sane_get_option_descriptor: option = 0 [umax1220u] sane_get_option_descriptor: option = 1 [umax1220u] sane_get_option_descriptor: option = 2 [umax1220u] sane_get_option_descriptor: option = 3 [umax1220u] sane_get_option_descriptor: option = 4 [umax1220u] sane_get_option_descriptor: option = 5 [umax1220u] sane_control_option: handle=0x1a000, opt=5, act=0, val=0xb34c, info=0x0 [umax1220u] sane_get_option_descriptor: option = 6 [umax1220u] sane_control_option: handle=0x1a000, opt=6, act=0, val=0xb350, info=0x0 [umax1220u] sane_get_option_descriptor: option = 7 [umax1220u] sane_control_option: handle=0x1a000, opt=3, act=0, val=0xbffff544, info=0x0 [umax1220u] sane_control_option: handle=0x1a000, opt=4, act=0, val=0xbffff544, info=0x0 [umax1220u] sane_control_option: handle=0x1a000, opt=3, act=0, val=0xbffff9f0, info=0x0 [umax1220u] sane_get_option_descriptor: option = 5 [umax1220u] sane_control_option: handle=0x1a000, opt=5, act=1, val=0xbffff9f4, info=0xbffff568 [umax1220u] sane_control_option: handle=0x1a000, opt=4, act=0, val=0xbffff9f0, info=0x0 [umax1220u] sane_get_option_descriptor: option = 6 [umax1220u] sane_control_option: handle=0x1a000, opt=6, act=1, val=0xbffff9f4, info=0xbffff568 [umax1220u] sane_start [umax1220u] UMAX_set_scan_parameters: [umax1220u] color = 1 [umax1220u] xo = 0, yo = 0 [umax1220u] w = 0, h = 0 [umax1220u] xres = 75, yres = 75 [umax1220u] left = 0, top = 0 [umax1220u] right = 0, bottom = 0 scanimage: sane_start: Invalid argument [umax1220u] sane_cancel: handle = 0x1a000 [umax1220u] sane_cancel: canceling is unsupported in this backend [umax1220u] sane_close [umax1220u] UMAX_set_lamp_state: state = 0 [umax1220u] csend: cmd = 0 [umax1220u] usync: len = 0, cmd = 0 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 2, index = 0, len = 0 usb_control_msg: 64 3 2 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes [sanei_usb] 0000: 55 AA U............... Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=2 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff820 1 30000 [sanei_usb] 0000: C8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 4, index = 0, len = 0 usb_control_msg: 64 3 4 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes [sanei_usb] 0000: 00 00 00 00 ................ Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=4 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbffff890 1 30000 [sanei_usb] 0000: 53 S............... [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff891 1 30000 [sanei_usb] 0000: C8 ................ [umax1220u] usync: s0 = 0x53 s4 = 0xc8 [umax1220u] cwritev_opc1: set lamp state = off [umax1220u] cwrite: cmd = 2, len = 16 [umax1220u] usync: len = 16, cmd = 130 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 2, index = 0, len = 0 usb_control_msg: 64 3 2 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes [sanei_usb] 0000: 55 AA U............... Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=2 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb6f0 1 30000 [sanei_usb] 0000: C8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 4, index = 0, len = 0 usb_control_msg: 64 3 4 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes [sanei_usb] 0000: 00 00 10 82 ................ Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=4 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbfffb760 1 30000 [sanei_usb] 0000: 53 S............... [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb761 1 30000 [sanei_usb] 0000: C8 ................ [umax1220u] usync: s0 = 0x53 s4 = 0xc8 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb760 1 30000 [sanei_usb] 0000: C8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 16, index = 0, len = 0 usb_control_msg: 64 3 16 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 16 bytes [sanei_usb] 0000: 01 00 01 70 00 00 60 2F 13 05 00 00 00 80 90 00 ...p..`/........ Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=16 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 16 bytes, wrote 16 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb7d1 1 30000 [sanei_usb] 0000: C0 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbfffb7d0 1 30000 [sanei_usb] 0000: 53 S............... [umax1220u] cwrite: s0 = 0x53 s4 = 0xc0 [umax1220u] cread: cmd = 2, len = 16 [umax1220u] usync: len = 16, cmd = 194 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 2, index = 0, len = 0 usb_control_msg: 64 3 2 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes [sanei_usb] 0000: 55 AA U............... Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=2 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb6f0 1 30000 [sanei_usb] 0000: C8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 4, index = 0, len = 0 usb_control_msg: 64 3 4 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes [sanei_usb] 0000: 00 00 10 C2 ................ Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=4 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbfffb760 1 30000 [sanei_usb] 0000: 53 S............... [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb761 1 30000 [sanei_usb] 0000: D0 ................ [umax1220u] usync: s0 = 0x53 s4 = 0xd0 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb760 1 30000 [sanei_usb] 0000: D0 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 2, value = 16, index = 0, len = 0 usb_control_msg: 64 2 16 0 0x0 0 30000 [sanei_usb] sanei_usb_read_bulk: trying to read 16 bytes usb_bulk_read: ep addr = 0x82 Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: Pipe 2: DIR: 1 number: 2 ep_to_pipeRef: pipeRef for ep address 0x82 found: 0x02 usb_bulk_read: endpoint=0x82 size=16 timeout=30.000000sec [sanei_usb] 0000: 01 00 01 70 00 00 60 2F 13 05 00 00 00 80 90 00 ...p..`/........ [sanei_usb] sanei_usb_read_bulk: wanted 16 bytes, got 16 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb7d1 1 30000 [sanei_usb] 0000: C0 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbfffb7d0 1 30000 [sanei_usb] 0000: 53 S............... [umax1220u] cwrite: s0 = 0x53 s4 = 0xc0 [umax1220u] UMAX_close_device: [sanei_usb] sanei_usb_close: closing device 0 usb_os_close: 1606:0010 [umax1220u] sane_exit --Apple-Mail-1-977858641 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed --Apple-Mail-1-977858641-- From gilles@ffii.org Sun Jan 11 02:29:54 2004 From: gilles@ffii.org (gilles@ffii.org) Date: Sun, 11 Jan 2004 03:29:54 +0100 Subject: [sane-devel] HP5370C - Distorted image Message-ID: <20040111022954.GA24214@ffii.org> Hello. First: Thanks a lot for your continuous efforts to make this scanner work with Linux! [Last time I had tried it (several months ago), with 'hpusbscsi', I had to quickly power off the scanner as the awful noise and erratic motion of the scanning made me believe it would fall apart... Today I compiled kernel 2.6.0, and reading that 'hpusbscsci' was now obsolete, I thought I could give it a try.] Now the scanner doesn't seem to suffer anymore :-) but the image produced is distorted: I'm among the unlucky ones who get a 45 degrees shifted-wrapped image (cf. a post from November 26). Is the source of the problem known? Any chance that the scanner will be working properly? [Scanning is the last and only thing which I must do on M$-Windows!] Best regards, Gilles P.S. System info: # scanimage --version scanimage (sane-backends) 1.0.13; backend version 1.0.13 Debian GNU/Linux testing/unstable From Martijn van Oosterhout Sun Jan 11 03:15:39 2004 From: Martijn van Oosterhout (Martijn van Oosterhout) Date: Sun, 11 Jan 2004 14:15:39 +1100 Subject: [sane-devel] HP5370C - Distorted image In-Reply-To: <20040111022954.GA24214@ffii.org> References: <20040111022954.GA24214@ffii.org> Message-ID: <20040111031539.GA19236@svana.org> --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable While I can't really tell you how to fix it, what causes the problem is actually trivial. Lets say that the scanning software is expecting the scanner to send 541 pixels per line and the scanner actually sends 542, each row gets offset by one leading to a very nice 45 degree slant to the right. If it sends 540 you get a slant to the left. It's a very simple off-by-one error. Maybe if you try scanning different sizes to see which ones work and which ones don't you can get some kind of idea of where the discrepancy lies. Hope this helps, On Sun, Jan 11, 2004 at 03:29:54AM +0100, gilles@ffii.org wrote: > Hello. >=20 > First: Thanks a lot for your continuous efforts to make this scanner work= with > Linux! >=20 > [Last time I had tried it (several months ago), with 'hpusbscsi', I had to > quickly power off the scanner as the awful noise and erratic motion of the > scanning made me believe it would fall apart... > Today I compiled kernel 2.6.0, and reading that 'hpusbscsci' was now > obsolete, I thought I could give it a try.] >=20 > Now the scanner doesn't seem to suffer anymore :-) but the image produced > is distorted: I'm among the unlucky ones who get a 45 degrees > shifted-wrapped image (cf. a post from November 26). >=20 > Is the source of the problem known? Any chance that the scanner will be > working properly? [Scanning is the last and only thing which I must do on > M$-Windows!] >=20 >=20 > Best regards, >=20 > Gilles >=20 > P.S. System info: > # scanimage --version > scanimage (sane-backends) 1.0.13; backend version 1.0.13 >=20 > Debian GNU/Linux testing/unstable >=20 > --=20 > 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-request@lists.alioth.debian.org --=20 Martijn van Oosterhout http://svana.org/kleptog/ > (... have gone from d-i being barely usable even by its developers > anywhere, to being about 20% done. Sweet. And the last 80% usually takes > 20% of the time, too, right?) -- Anthony Towns, debian-devel-announce --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAAL/bY5Twig3Ge+YRAtzbAKDYcfxmr4AsoxUivHdLuDSkBcMAhwCcCR4f G+J1LRw7eVNdu9X6hWpD9N0= =bAt+ -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk-- From mancio_and@libero.it Sun Jan 11 14:07:26 2004 From: mancio_and@libero.it (mancio_and@libero.it) Date: Sun, 11 Jan 2004 15:07:26 +0100 Subject: [sane-devel] HP Scanjet 3670... Message-ID: > > I haven't heard from mancio_and@libero.it after his initial posti= ng > (http://lists.alioth.debian.org/pipermail/sane-devel/2003-November/= 009360.html). > If he doesn't answer on this list, try to contact him di= rectly. > Hi, I'm sorry, I had no time enough to begin the project.= Bye. From henning@meier-geinitz.de Sun Jan 11 14:15:41 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Sun, 11 Jan 2004 15:15:41 +0100 Subject: [sane-devel] OS X and umax 1220u In-Reply-To: References: <20040110100640.GB978@meier-geinitz.de> Message-ID: <20040111141541.GB683@meier-geinitz.de> Hi, On Sat, Jan 10, 2004 at 04:38:59PM -0600, David Minor wrote: > I commented out everything in dll.conf but umax1220u, set USB debug > output to 255 in addition to the umax1220u debug at 128 as before. I > also disconnected all other USB devices to simplify matters. I'm not > going to pretend to being able to interpret the output, but I will > attach for anyone to look over and see if the problem can be isolated. I'm not the author of that backend so I may be completely wrong... However, this time you get a completely different error. Openeing the scanner works, but starting the scan doesn't: > [umax1220u] sane_start > [umax1220u] UMAX_set_scan_parameters: > [umax1220u] color = 1 > [umax1220u] xo = 0, yo = 0 > [umax1220u] w = 0, h = 0 > [umax1220u] xres = 75, yres = 75 > [umax1220u] left = 0, top = 0 > [umax1220u] right = 0, bottom = 0 > scanimage: sane_start: Invalid argument There is no tranfer to the scanner involved at all. Looks like a backend bug. It sets widths and height to 0 by default. Try again with scanimage but set width and height explicitely to e.g. 10 mm (see scanimage --help for details). Bye, Henning From mbwdbuit@gmx.net Sat Jan 10 23:08:46 2004 From: mbwdbuit@gmx.net (M.B.W.D. Buitenhuis) Date: Sun, 11 Jan 2004 00:08:46 +0100 Subject: [sane-devel] RX500 MFP scanner Message-ID: <1073776126.3316.1.camel@localhost.localdomain> Could someone help me to get the scanner part of this device working? I haven't got it working although I've got it recognised as a RX500. The problem is that it somehow cannot switch the device on. output of command "lsusb" is: Bus 001 Device 002: ID 04b8:0807 Seiko Epson Corp. output of "sane-find-scanner" is: # No SCSI scanners found. If you expected something different, make sure that # you have loaded a SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b8 [EPSON], product=0x0807 [USB2.0 MFP]) at libusb:001:002 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Scanners connected to the parallel port or other proprietary ports can't be # detected by this program. output of scanimage -L [epson] Unknown type R or level d, using B3 device `v4l:/dev/video0' is a Noname Terratec Cinergy 400 TV virtual device device `epson:libusb:001:002' is a Epson RX500 flatbed scanner If I start xsane as a user I don't get to see the device, but as root it gives me the option of using my TV-card or the RX500 device. After selecting the RX500 xsane starts well. Now if I want to make a scan or a prescan it generates a message that it cant switch on the device. "wrong/false argument". Seems I close but I haven't got enough administrator experience with these type of devices. Am I missing something simple here? //Marcellino From thomas.pasch@gmx.de Sun Jan 11 13:34:24 2004 From: thomas.pasch@gmx.de (Thomas Pasch) Date: Sun, 11 Jan 2004 14:34:24 +0100 Subject: [sane-devel] Sane USB problem with HP ScanJet 5300C on FreeBSD-5.2-RC2/amd64 Message-ID: <200401111434.24177.thomas.pasch@gmx.de> --Boundary-00=_gDVAA0n5p0t0Hbn Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I'm trying to get my scanner to work on FreeBSD 5.2-RC2/amd64. I can "see" the scanner with sane-find-scanner and usbdevs but scanimage seems to hang. I'm using the sane-backends-1.0.12_3 and sane-frontends-1.0.11 and libusb-0.1.7_1 from the package tree (but also tried ports and a newer backends version as well). See attached the DEBUG output of "scanimage -L". For me it looks like the scanner is found and a request is written to it, but there is never an anwer. Beside, how do I use libusb on 5.2? The man pages are saying something about creating /dev/ugen* but as 5.2 uses devfs, you can't create it and it isn't there. Cheers, aanno --Boundary-00=_gDVAA0n5p0t0Hbn Content-Type: application/x-gzip; name="scanimage.log.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="scanimage.log.gz" H4sICOkvAEACA3NjYW5pbWFnZS5sb2cAvZdtT9swEMff91Oc4AVlom2SPgCReAGdJjqNhy2ANCEU nMQJFold2U5Zv/3sxEDLCjJrwKpaJ7m7/8927N5dC0QxCRMcldkNBFhKQjOoLiHHM5wDSwHNiCCM gmSw121d27jUNqWItJPrPbupWzdwjznFeZhhGc4wTRgPp5wlZSx9GLMyT4AyCRxLTlQ8qE16xgQm XyHlrFCKMxJjGCxFfuqGhBIVLmUlTYweiBhRivmjZ9v54/RTp6d+dh13G5CEnnrUK42d09JxhIKs BucvjzXTvXq8aojecAhtRrcrFybClNAkjEohsPDhWwVhYkeOhY1rMSjXjEO0rs0C1ZbGaIq40Igx oylRpIRi2NhYbWtsUpLj2tD1gWSUcR0AF1M5r26/Q2iTTaV+ZRIiUJTjToaKAnWk7tsyeAsMMSsK TOW6FDHKScSRvmdL0W+OguXJ/xAMGiSgZg46jOZzW4BhcwAp4zHuoIGt9OgD3oFhJysRT2wRdtdH sJXaW3vXiVgQOLyaBJOzU1vV/QbmuNL9Nj4/tD5gnKZUTyanZz8u7IXd5oQvgqNJcAwn48NOMHKc sTWD9zEMGsKaod8Uw/G5teagKc27qbXm8PP2rztqZgNXWYBJQqy1GzinNnW+9pSDvBdgr2mAd0/B fkMEy1mgdb7SxJFW57qwcYwfcpVtwjmK7/WflTVEE8dbwRKV1b5kgEBNyHcsYdjXZ501kfd5G9Dr r7sB9fLXZQHUZYG1tDrbJJ/rgKocQFKi+A4ugyP/9p+QW68k91U9YHJ631Q9B7XnDpjq56AOsWMU 1KXnOHh/EON4AbR+6EP7CnN9xwe368BRSfLEh11ne4Upm2Kq4V9UQKtJtfHicPX1Y1V1uxxh680Q +hsnoKfoFXdof0nowUpkoWZIA0xOf15Ofv1esFBkGuuBE4khLpIdtV4lVcs26r6CU5mqYiy/XxxX HWAE0VzqMmvB01FNzaqnOuYzqr7fbl3VbrvPrfUXTmJcgX8PAAA= --Boundary-00=_gDVAA0n5p0t0Hbn-- From edg1@tiscali.be Sun Jan 11 14:14:59 2004 From: edg1@tiscali.be (Eddy De Greef) Date: Sun, 11 Jan 2004 15:14:59 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <1729.192.168.0.7.1073768353.squirrel@tassi.local>; from jim.george@blueyonder.co.uk on za, jan 10, 2004 at 21:59:13 +0100 References: <1729.192.168.0.7.1073768353.squirrel@tassi.local> Message-ID: <20040111141459.GA3254@reddot.erps-kwerps.be> Op 10-01-04 21:59:13 schreef Jim George: > Hi Eddy, > > I do have a printer connected to the same port. It's an Epson Photo > Stylus 820cxi if that makes any difference. Have you tried disconnecting it? > I tried turning off/on my scanner but that made no difference, then I > rebooted and when I tried again I got the attached (which was the > same as when I had to turn the scanner off/on). > > Could it be a simple configuration issue, something like using EPP on > the port? That's unlikely, but you never know. You can try changing the port settings in the BIOS. You can usually choose between EPP, ECP, ... Maybe it makes a difference. > Anyway please find the SANE?I_PA4S2 output from this aborted > attempted attached. The scanner still isn't recognized. Can you still scan at all in non-debug mode? Best regards, Eddy From mattias.ellert@tsl.uu.se Sun Jan 11 14:28:40 2004 From: mattias.ellert@tsl.uu.se (Mattias Ellert) Date: Sun, 11 Jan 2004 15:28:40 +0100 Subject: [sane-devel] Re: pthread_cancel and MacOS X In-Reply-To: <200401101609.16585.gerhard@gjaeger.de> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> <3FFE66EE.2020503@tsl.uu.se> <200401101609.16585.gerhard@gjaeger.de> Message-ID: <40015D98.1030907@tsl.uu.se> Jaeger, Gerhard wrote: > Hi again, > > I also think, that a working test-backend is not that essential, as working > "real" backends. Here I must strongly disagree. A working test backend is extremely essential. It is a very important tool in debugging. If a frontend works with the test backend, but not with some other backend, you know that the problem is (most probably) in that backend and not in the frontend itself. If you can change the test backend in some other way so that the patch is not needed, that would be fine, but giving up a working test backend is not a viable solution to the problem. Mattias -- ________________________________________________________________________ mattias.ellert@tsl.uu.se tel: +46 18 471 32 58 http://www.tsl.uu.se/~ellert/ fax: +46 18 471 35 13 ________________________________________________________________________ From Oliver.Schwartz@gmx.de Sun Jan 11 14:35:29 2004 From: Oliver.Schwartz@gmx.de (Oliver Schwartz) Date: Sun, 11 Jan 2004 15:35:29 +0100 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <878ykkehan.fsf@zen.epkowa.co.jp> References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> Message-ID: <200401111535.31596.Oliver.Schwartz@gmx.de> =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, > > You may also try the snapscan backend. At least the 1670 is > > supported by that backend. Maybe these scanners are similar? But > > you will need the latest development version of SANE. Maybe the > > manintainer of the snapscan backend has heard baout that scanner: > > Oliver Schwartz > > I've checked around a little bit and found some tidbits of > information that seems to indicate that the GT-7400U is the little > sister of the GT-8400U. There is a reasonable chance that this > scanner works with the snapscan backend. You will probably have to > muck around a bit to get it to load the right firmware file and > copy that file from the Windoze software. With a bit of luck it's sufficient to add the USB IDs in snapscan.conf=20 and edit the path to the firmware file in snapscan.conf. The firmware=20 file is installed with your windows driver, it's probably named *.bin=20 and located somewhere under WINNT/Twain32. If possible please send me a debug log from=20 "SANE_DEBUG_SNAPSCAN scanimage -L > debug.log" =2D -Oliver =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQFAAV8x/V6sbrmfIuMRAnWqAJ9fqP+YuDyqG+0jEnbFAs6MtNMbXwCffAJP GhiyguWWkjD6DnEOEs5+VSE=3D =3DzEd0 =2D----END PGP SIGNATURE----- From mike@alezan.org Sun Jan 11 14:50:36 2004 From: mike@alezan.org (Mickael Profeta) Date: Sun, 11 Jan 2004 15:50:36 +0100 Subject: [sane-devel] HP Scanjet 3670... In-Reply-To: <20040109123857.GA27118@sugarpie> References: <20040109123857.GA27118@sugarpie> Message-ID: <400162BC.5040308@alezan.org> Hi, Sanjay.Chigurupati@lntinfotech.com has a HP scanjet 2400 and it seems to be the same driver. After the mail of mancio_and@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 From gerhard@gjaeger.de Sun Jan 11 17:57:09 2004 From: gerhard@gjaeger.de (Jaeger, Gerhard) Date: Sun, 11 Jan 2004 18:57:09 +0100 Subject: [sane-devel] Re: pthread_cancel and MacOS X In-Reply-To: <40015D98.1030907@tsl.uu.se> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> <200401101609.16585.gerhard@gjaeger.de> <40015D98.1030907@tsl.uu.se> Message-ID: <200401111857.09710.gerhard@gjaeger.de> Hoh, hoh... stop, I don't say, that it is not needed or not useful!!! I only mean, that we should not spend too much time on a problem which needs to be fixed outside of SANE. Also please remember: Using the pthread approach instead of the Unix process stuff has also been done, because of MacOSX is not able to inherit file descriptors to a child process. Now that the sanei_thread stuff seems to work for quite a lot of platforms, we ran into the next MacOSX trouble... What comes next? I mean I appreciate your work as I think it is useful to spread SANE over another platform, but I don't think that SANE should work around each OS bug, especially here, when there's no clean solution for this problem. This needs to be solved by the guys, that implemented the pthread stuff there. Henning, what do you think about changing the test-backend. As far as I understood, the test-backend simulates, when the reader-process has finished, a "hanging" backend, that is "killed" by the parent process. Probably we can accept a workaround only for the MacOS platform... Hope we find a good solution on that. I'll recheck some other approaches... Ciao, Gerhard On Sonntag, 11. Januar 2004 15:28, Mattias Ellert wrote: > Jaeger, Gerhard wrote: > > Hi again, > > > > I also think, that a working test-backend is not that essential, as > > working "real" backends. > > Here I must strongly disagree. A working test backend is extremely > essential. It is a very important tool in debugging. > > If a frontend works with the test backend, but not with some other > backend, you know that the problem is (most probably) in that backend > and not in the frontend itself. > > If you can change the test backend in some other way so that the patch > is not needed, that would be fine, but giving up a working test backend > is not a viable solution to the problem. > > Mattias From henning@meier-geinitz.de Sun Jan 11 18:39:02 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Sun, 11 Jan 2004 19:39:02 +0100 Subject: [sane-devel] Re: pthread_cancel and MacOS X In-Reply-To: <200401111857.09710.gerhard@gjaeger.de> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> <200401101609.16585.gerhard@gjaeger.de> <40015D98.1030907@tsl.uu.se> <200401111857.09710.gerhard@gjaeger.de> Message-ID: <20040111183902.GF683@meier-geinitz.de> Hi, On Sun, Jan 11, 2004 at 06:57:09PM +0100, Jaeger, Gerhard wrote: > Henning, what do you think about changing the test-backend. As far > as I understood, the test-backend simulates, when the reader-process > has finished, a "hanging" backend, that is "killed" by the parent process. > Probably we can accept a workaround only for the MacOS platform... I think that generally there should be no OS-specific code in the backends at all. The whole idea of sanei_thread and the other sanei_ code is to abstract the OS and hardware access. The idea behind the "hanging" reader process is that the SANE standard wants the backend to close the select filedescriptor at the end of the scan. That's done by the test backend. Some time ago we had trouble with frontends that couldn't cope with closing the select file descriptor. This descriptor is usually a pipe and is it not enough to close the reader process part of that pipe. The parent process side has to be close and that's the signal for the frontend that scanning is finished (no more data). If the reader process doesn't hang until sane_cancel, there is a race condition between closing both sides of the pipe. To make sure that all frontends can cope with closing only the main process side of the pipe, the reader process waits. So if a frontend (or sanei_ implementation) can't cope with that, there is usually a general problem that just don't happen that often with other backends because most of the time the reader process terminates too fast. However, with threads I guess a file descriptor isn't closed after exiting the thread (?). In this case we can ignore that problem so I don't mind removing the endless loop if we are using threads in the test backend. I don't know about the patch concerning sanei_thread itsself as I'm rather clueless about threads :-) Generally speaking, this should be fixed where it is broken. If there are simple and not too ugly workarounds in SANE, that's ok for me. But otherwise I guess it's "not our fault". Bye, Henning From henrik@rintala.de Sun Jan 11 20:54:53 2004 From: henrik@rintala.de (Henrik Rintala) Date: Sun, 11 Jan 2004 21:54:53 +0100 Subject: [sane-devel] Scanning with CanoScan N650U under Mac OS X 10.3.2 Message-ID: <67AF90F8-4478-11D8-BA9F-0030655567DA@rintala.de> I could not get sane to work. But I by chance found another solution for me. Anyone who has a .mac membership can get the Mac OS X version of ArcSoft Photostudio for free. And if you download the appropriate Photoshop plugin from Canon for the N650U you can put the plug-in file into Photostudio's plugin folder and scan with Photostudio for free. Works for basic scanning. The plugin also works with Graphicconverter (shareware app). // \\ Henrik Rintala // From dave@dminor.com Sun Jan 11 22:03:47 2004 From: dave@dminor.com (David Minor) Date: Sun, 11 Jan 2004 16:03:47 -0600 Subject: [sane-devel] Re: OS X and umax 1220u In-Reply-To: <20040111141541.GB683@meier-geinitz.de> References: <20040110100640.GB978@meier-geinitz.de> <20040111141541.GB683@meier-geinitz.de> Message-ID: <07BBF9FD-4482-11D8-9548-000393B4CC12@dminor.com> some info may be repeated as I'm cross-posting to the backend devel list. On Jan 11, 2004, at 8:15 AM, Henning Meier-Geinitz wrote: > On Sat, Jan 10, 2004 at 04:38:59PM -0600, David Minor wrote: >> I commented out everything in dll.conf but umax1220u, set USB debug >> output to 255 in addition to the umax1220u debug at 128 as before. I >> also disconnected all other USB devices to simplify matters. I'm not >> going to pretend to being able to interpret the output, but I will >> attach for anyone to look over and see if the problem can be isolated. > > I'm not the author of that backend so I may be completely wrong... > > However, this time you get a completely different error. Openeing the > scanner works, but starting the scan doesn't: > >> [umax1220u] sane_start >> [umax1220u] UMAX_set_scan_parameters: >> [umax1220u] color = 1 >> [umax1220u] xo = 0, yo = 0 >> [umax1220u] w = 0, h = 0 >> [umax1220u] xres = 75, yres = 75 >> [umax1220u] left = 0, top = 0 >> [umax1220u] right = 0, bottom = 0 >> scanimage: sane_start: Invalid argument > > There is no tranfer to the scanner involved at all. Looks like a > backend bug. It sets widths and height to 0 by default. > > Try again with scanimage but set width and height explicitely to e.g. > 10 mm (see scanimage --help for details). > versions: scanner: umax 1220u system: OS X 10.3.2 scanimage (sane-backends) 1.0.13; backend version 1.0.13 (patched) TWAIN SANE interface: 0.3 libusb: 0.1.8 beta 2004-01-05 $ scanimage -L device `umax1220u:libusb:001:004' is a UMAX Astra 1220U flatbed scanner $ scanimage -T scanimage: sane_start: Invalid argument $ scanimage -x 200 -y 200 I can successfully scan if I pass width/height params. What a great sound to hear this old dust collector chugging away! Using TWAIN Acquire in Graphic Convertor still does not work. No feedback from it at all. So it works, but not out of the box. It would be great if I could find a way to 1) get TWAIN working and 2) get the backend automatically come up with the dimensions needed. Thanks, Henning, for your consistent review and prompt reply on this list. Thanks to all the developers related to this process for keeping at it. I would be happy to continue to test/try things for the os x/umax 1220u environment. dm From benedict.prescott@virgin.net Sun Jan 11 20:42:09 2004 From: benedict.prescott@virgin.net (Ben Prescott) Date: Sun, 11 Jan 2004 20:42:09 +0000 Subject: [sane-devel] Trust Imagery 9600 In-Reply-To: <1073476817.1987.29.camel@gk-lex3> References: <20040105231501.35fe567c.benedict.prescott@virgin.net> <1073476817.1987.29.camel@gk-lex3> Message-ID: <20040111204209.6db53bfd.benedict.prescott@virgin.net> On Wed, 07 Jan 2004 11:00:18 -0100 gerard klaver wrote: > see the teco mailinglist at yahoo, also mail archive is present. > To get this scanner working you have to patch the following files > teco3.conf with the name of the scanner: > scsi "Aashima" "IMAGERY 9600SP" > Frank Zago (teco3 maintaniner) should be able to tell more about the > changes which are needed to get this scanner working. thanks; gives me something to be getting on with. It'll be a while, but I guess no-one else is missing it! regards, Ben. From Sanjay.Chigurupati@lntinfotech.com Mon Jan 12 04:18:40 2004 From: Sanjay.Chigurupati@lntinfotech.com (Sanjay Chigurupati) Date: Mon, 12 Jan 2004 09:48:40 +0530 Subject: [sane-devel] HP Scanjet 3670... Message-ID: 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.Chigurupati@lntinfotech.com has a HP scanjet 2400 and it seems to be the same driver. After the mail of mancio_and@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-request@lists.alioth.debian.org From bruce@brucebertrand.com Mon Jan 12 08:37:19 2004 From: bruce@brucebertrand.com (Bruce Bertrand) Date: Mon, 12 Jan 2004 03:37:19 -0500 Subject: [sane-devel] problem connecting to saned over network Message-ID: <40025CBF.7030406@brucebertrand.com> 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 From jochen@penguin-breeder.org Mon Jan 12 08:55:39 2004 From: jochen@penguin-breeder.org (Jochen Eisinger) Date: Mon, 12 Jan 2004 09:55:39 +0100 Subject: [sane-devel] problem connecting to saned over network In-Reply-To: <40025CBF.7030406@brucebertrand.com> References: <40025CBF.7030406@brucebertrand.com> Message-ID: <4002610B.4020101@penguin-breeder.org> 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 From adrianpj@users.sourceforge.net Mon Jan 12 10:08:31 2004 From: adrianpj@users.sourceforge.net (Adrian Perez Jorge) Date: Mon, 12 Jan 2004 10:08:31 +0000 Subject: [sane-devel] HP Scanjet 3670... In-Reply-To: <400162BC.5040308@alezan.org> References: <20040109123857.GA27118@sugarpie> <400162BC.5040308@alezan.org> Message-ID: <4002721F.6020302@users.sourceforge.net> 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.Chigurupati@lntinfotech.com has a HP scanjet 2400 and it seems > to be the same driver. > After the mail of mancio_and@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 > From sane-devel@lists.alioth.debian.org Mon Jan 12 14:27:11 2004 From: sane-devel@lists.alioth.debian.org (Rainer Lay) Date: Mon, 12 Jan 2004 15:27:11 +0100 Subject: [sane-devel] Re: UMAX Astra 2200 SU via USB Message-ID: <4002AEBF.2040302@informatik.uni-erlangen.de> 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.Rauch@Rauch-Domain.DE From blackdir@yahoo.com Mon Jan 12 16:49:00 2004 From: blackdir@yahoo.com (Lone Directory) Date: Mon, 12 Jan 2004 08:49:00 -0800 (PST) Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040112164101.24551.12478.Mailman@quantz.debian.org> Message-ID: <20040112164900.64053.qmail@web10411.mail.yahoo.com> 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 From henning@meier-geinitz.de Mon Jan 12 17:26:35 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 12 Jan 2004 18:26:35 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040112164900.64053.qmail@web10411.mail.yahoo.com> References: <20040112164101.24551.12478.Mailman@quantz.debian.org> <20040112164900.64053.qmail@web10411.mail.yahoo.com> Message-ID: <20040112172635.GB1558@meier-geinitz.de> 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 From gough@gsc.riken.jp Mon Jan 12 15:03:57 2004 From: gough@gsc.riken.jp (Julian Gough) Date: 13 Jan 2004 00:03:57 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <200401111535.31596.Oliver.Schwartz@gmx.de> References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> Message-ID: <1073919837.4417.8.camel@localhost.localdomain> Thanks for the info. firstly there's no file ending in .bin in the windows directory. The best I could find is "estwm.exe", so I used that. I couuld find on the installation disk "LAYOUT.BIN", but that doesn't look useful to me. I also just copied the file (estwm.exe) across to linux because my kernel doesn't support the windows filesystem so I can't mount it. I changed the snapscan.conf to include the line: usb 0x04b8 0x0120 I didn't understand this: > If possible please send me a debug log from > "SANE_DEBUG_SNAPSCAN scanimage -L > debug.log" since SANE_DEBUG_SNAPSCAN looks like a variable not a command, however executing "scanimage -L" yields the usual: No scanners were identified Thanks for your help, I really want to get somewhere with this but nothing I do seems to make a blind bit of difference. I'd be happier if I was getting some errors. Julian. > > - -Oliver > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) > > iD8DBQFAAV8x/V6sbrmfIuMRAnWqAJ9fqP+YuDyqG+0jEnbFAs6MtNMbXwCffAJP > GhiyguWWkjD6DnEOEs5+VSE= > =zEd0 > -----END PGP SIGNATURE----- -- ~~~~~~~~~~~~~~~~~~ Julian Gough RIKEN Genomic Sciences Centre W121 1-7-22 Suehiro-cho, Tsurumi-ku Yokohama 230-0045, Japan Tel: +81 45 503 9341 From mlone@forevers.de Mon Jan 12 17:26:38 2004 From: mlone@forevers.de (Steffen Evers) Date: Mon, 12 Jan 2004 18:26:38 +0100 Subject: [sane-devel] vendor linux drivers for Epson scanners Message-ID: <20040112172638.GA1254@newage.cs.tu-berlin.de> 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 From oliver.rauch@rauch-domain.de Mon Jan 12 17:49:12 2004 From: oliver.rauch@rauch-domain.de (Oliver Rauch) Date: Mon, 12 Jan 2004 18:49:12 +0100 Subject: [sane-devel] sanei_thread: pthread test on linux possible? Message-ID: <200401121849.15192.oliver.rauch@rauch-domain.de> 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.Rauch@Rauch-Domain.DE From henning@meier-geinitz.de Mon Jan 12 18:11:42 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 12 Jan 2004 19:11:42 +0100 Subject: [sane-devel] vendor linux drivers for Epson scanners In-Reply-To: <20040112172638.GA1254@newage.cs.tu-berlin.de> References: <20040112172638.GA1254@newage.cs.tu-berlin.de> Message-ID: <20040112181142.GC1558@meier-geinitz.de> 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 From henning@meier-geinitz.de Mon Jan 12 18:12:59 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 12 Jan 2004 19:12:59 +0100 Subject: [sane-devel] sanei_thread: pthread test on linux possible? In-Reply-To: <200401121849.15192.oliver.rauch@rauch-domain.de> References: <200401121849.15192.oliver.rauch@rauch-domain.de> Message-ID: <20040112181259.GD1558@meier-geinitz.de> 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 From oliver.rauch@rauch-domain.de Mon Jan 12 18:34:27 2004 From: oliver.rauch@rauch-domain.de (Oliver Rauch) Date: Mon, 12 Jan 2004 19:34:27 +0100 Subject: [sane-devel] sanei_thread: pthread test on linux possible? In-Reply-To: <20040112181259.GD1558@meier-geinitz.de> References: <200401121849.15192.oliver.rauch@rauch-domain.de> <20040112181259.GD1558@meier-geinitz.de> Message-ID: <200401121934.30971.oliver.rauch@rauch-domain.de> 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.Rauch@Rauch-Domain.DE From oliver.rauch@rauch-domain.de Mon Jan 12 18:42:42 2004 From: oliver.rauch@rauch-domain.de (Oliver Rauch) Date: Mon, 12 Jan 2004 19:42:42 +0100 Subject: [sane-devel] Q: threads and pipes Message-ID: <200401121942.45040.oliver.rauch@rauch-domain.de> 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.Rauch@Rauch-Domain.DE From henning@meier-geinitz.de Mon Jan 12 18:47:58 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 12 Jan 2004 19:47:58 +0100 Subject: [sane-devel] sanei_thread: pthread test on linux possible? In-Reply-To: <200401121934.30971.oliver.rauch@rauch-domain.de> References: <200401121849.15192.oliver.rauch@rauch-domain.de> <20040112181259.GD1558@meier-geinitz.de> <200401121934.30971.oliver.rauch@rauch-domain.de> Message-ID: <20040112184758.GE1558@meier-geinitz.de> 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 From henning@meier-geinitz.de Mon Jan 12 19:00:02 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 12 Jan 2004 20:00:02 +0100 Subject: [sane-devel] Q: threads and pipes In-Reply-To: <200401121942.45040.oliver.rauch@rauch-domain.de> References: <200401121942.45040.oliver.rauch@rauch-domain.de> Message-ID: <20040112190002.GG1558@meier-geinitz.de> 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 From oliver.rauch@rauch-domain.de Mon Jan 12 19:17:35 2004 From: oliver.rauch@rauch-domain.de (Oliver Rauch) Date: Mon, 12 Jan 2004 20:17:35 +0100 Subject: [sane-devel] sanei_thread: pthread test on linux possible? In-Reply-To: <20040112184758.GE1558@meier-geinitz.de> References: <200401121849.15192.oliver.rauch@rauch-domain.de> <200401121934.30971.oliver.rauch@rauch-domain.de> <20040112184758.GE1558@meier-geinitz.de> Message-ID: <200401122017.37458.oliver.rauch@rauch-domain.de> 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.Rauch@Rauch-Domain.DE From oliver.rauch@rauch-domain.de Mon Jan 12 19:56:38 2004 From: oliver.rauch@rauch-domain.de (Oliver Rauch) Date: Mon, 12 Jan 2004 20:56:38 +0100 Subject: [sane-devel] Q: threads and pipes In-Reply-To: <20040112190002.GG1558@meier-geinitz.de> References: <200401121942.45040.oliver.rauch@rauch-domain.de> <20040112190002.GG1558@meier-geinitz.de> Message-ID: <200401122056.40071.oliver.rauch@rauch-domain.de> 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.Rauch@Rauch-Domain.DE From oliver.rauch@rauch-domain.de Mon Jan 12 20:00:16 2004 From: oliver.rauch@rauch-domain.de (Oliver Rauch) Date: Mon, 12 Jan 2004 21:00:16 +0100 Subject: [sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try! Message-ID: <200401122100.19300.oliver.rauch@rauch-domain.de> 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.Rauch@Rauch-Domain.DE From spork@fasttrackmonkey.com Mon Jan 12 20:16:17 2004 From: spork@fasttrackmonkey.com (Charles Sprickman) Date: Mon, 12 Jan 2004 15:16:17 -0500 (EST) Subject: [sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try! In-Reply-To: <200401122100.19300.oliver.rauch@rauch-domain.de> References: <200401122100.19300.oliver.rauch@rauch-domain.de> Message-ID: 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.Rauch@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-request@lists.alioth.debian.org > From olaf@epkowa.co.jp Tue Jan 13 00:42:16 2004 From: olaf@epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 13 Jan 2004 09:42:16 +0900 Subject: [sane-devel] vendor linux drivers for Epson scanners In-Reply-To: <20040112172638.GA1254@newage.cs.tu-berlin.de> (Steffen Evers's message of "Mon, 12 Jan 2004 18:26:38 +0100") References: <20040112172638.GA1254@newage.cs.tu-berlin.de> Message-ID: <87smiku1av.fsf@zen.epkowa.co.jp> Steffen Evers writes: > 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. Nitpicking, I guess, but anyway ... I hate it when people confuse EPSON KOWA with EPSON. EPSON does not officially support Linux. They do however, pay EPSON KOWA to do the job for them (well part of it at least :-). To get at least basic support for the RX500, all you would have to do is add the USB id to epson_usb.c and recompile. If that's too much of a hassle, you could also add usb 0x04b8 0x0807 to your epson.conf file. Support for the RX500 (aka RX510) is planned for iscan-1.7.0. > 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 ! As Henning already mentioned, part of the code of "Image Scan! for Linux" is covered under the EPSON KOWA Public Licence. While this licence is compatible with the LGPL, most people would not call it a free licence. It is most certainly not DFSG free :-( However, the epkowa backend does not *link* with any EKPL'd code and comes under the same licensing conditions as most of the other SANE backends. What the backend does is dynamically load modules for the Perfection 1250 and Perfection 1260 if required. People that do not use these scanners do not need these non-free modules. People that do, can use the plustek backend. With the upcoming release of iscan-1.6.0 (scheduled January 16), it also loads a non-free module for the Perfection 3170. The frontend provided by "Image Scan! for Linux" links with a EKPL'd library, making it essentially non-free. > So, you could use it for SANE, can't you? > > Have fun! > > I will check the scanner drivers for the 2400 tonight... The Perfection 2400 is supported by both the epson and epkowa backends so you should have no trouble getting it to work. -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From olaf@epkowa.co.jp Tue Jan 13 00:48:09 2004 From: olaf@epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 13 Jan 2004 09:48:09 +0900 Subject: [sane-devel] RX500 MFP scanner In-Reply-To: <1073776126.3316.1.camel@localhost.localdomain> (M. B. W. D. Buitenhuis's message of "Sun, 11 Jan 2004 00:08:46 +0100") References: <1073776126.3316.1.camel@localhost.localdomain> Message-ID: <87oet8u112.fsf@zen.epkowa.co.jp> "M.B.W.D. Buitenhuis" writes: > Could someone help me to get the scanner part of this device working? > I haven't got it working although I've got it recognised as a RX500. > The problem is that it somehow cannot switch the device on. For a sufficiently new version of sane-backends all that should be needed is adding usb 0x04b8 0x0807 to your epson.conf. Alternatively, you can add an entry for it in epson_usb.c and recompile. That would make the addition to epson.conf superfluous. You should at least be able to scan, other functionality may not be fully supported. > If I start xsane as a user I don't get to see the device, but as root it > gives me the option of using my TV-card or the RX500 device. > After selecting the RX500 xsane starts well. Now if I want to make a > scan or a prescan it generates a message that it cant switch on the > device. "wrong/false argument". I doubt the v4l backend (using your TV-card) will work. Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From olaf@epkowa.co.jp Tue Jan 13 00:50:36 2004 From: olaf@epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 13 Jan 2004 09:50:36 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <1073919837.4417.8.camel@localhost.localdomain> (Julian Gough's message of "13 Jan 2004 00:03:57 +0900") References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> Message-ID: <87k73wu0wz.fsf@zen.epkowa.co.jp> Julian Gough writes: > Thanks for the info. > > firstly there's no file ending in .bin in the windows directory. The > best I could find is "estwm.exe", so I used that. I couuld find on the > installation disk "LAYOUT.BIN", but that doesn't look useful to me. I > also just copied the file (estwm.exe) across to linux because my kernel > doesn't support the windows filesystem so I can't mount it. The file you are looking for is esfw3e.bin. > I didn't understand this: >> If possible please send me a debug log from >> "SANE_DEBUG_SNAPSCAN scanimage -L > debug.log" Looks like Oliver forget to add a value there. He probably meant SANE_DEBUG_SNAPSCAN=255 scanimage -> > debug.log > since SANE_DEBUG_SNAPSCAN looks like a variable not a command, however > executing "scanimage -L" yields the usual: > No scanners were identified Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From olaf@epkowa.co.jp Tue Jan 13 02:54:43 2004 From: olaf@epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 13 Jan 2004 11:54:43 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <1073960870.4410.4.camel@localhost.localdomain> (Julian Gough's message of "13 Jan 2004 11:27:50 +0900") References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> <1073960870.4410.4.camel@localhost.localdomain> Message-ID: <873caktv64.fsf@zen.epkowa.co.jp> Julian Gough writes: > On Tue, 2004-01-13 at 09:50, Olaf Meeuwissen wrote: > >> The file you are looking for is esfw3e.bin. > > Graet! I got it. It was in a different place. > >> SANE_DEBUG_SNAPSCAN=255 scanimage -> > debug.log I meant to write -L, not ->, up there but I think you figured that much. > Same old, same old. > I just get No scanners were identified. Did you also update the firmware line near the top of snapscan.conf. Note that it can only handle *one* such line. If you dumped your esfw3e.bin in /usr/local/share, you should have firmware /usr/local/share/esfw3e.bin in there. > I am kind of getting the feeling it's not even trying. Should I delete > all '.conf' files and remove all entries except the one for my scanner? No, don't. If you don't want SANE to try all the backends installed, comment out the ones you don't want in dll.conf. So if you only want to try the snapscan backend, comment out all the others. > Am I right to use > usb 0x04b8 0x0120 > or should I be using > libusb:001:003 You should be using "usb 0x04b8 0x0120". That is assuming the USB product ID is 0x0120 (I don't remember off the top of my head). > Thanks for the help thus far. You're welcome. -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From saneuser@sportingwheelies.org.au Tue Jan 13 06:10:11 2004 From: saneuser@sportingwheelies.org.au (Brad) Date: Tue, 13 Jan 2004 16:10:11 +1000 Subject: [sane-devel] Wanted Linux scanner... Message-ID: <40038BC3.1030601@sportingwheelies.org.au> Can anyone recommend a scanner that runs with Linux? We had an HP6300 SCSI scanner that worked PERFECTLY with Red Hat 9 out of the box using xsane, but it has failed and HP are no longer repairing them. We need a high quality unit with high scanning speed. I have been to: http://www.sane-project.org/sane-mfgs.html but all the compatible scanners listed are on longer available. I have rung HP, but in spite of their crowing about how they are now supporting Linux in a big way, they apparently don't have anything. Can anyone offer any advice? Regards, Brad From blackdir@yahoo.com Tue Jan 13 06:27:55 2004 From: blackdir@yahoo.com (Lone Directory) Date: Mon, 12 Jan 2004 22:27:55 -0800 (PST) Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040112172635.GB1558@meier-geinitz.de> Message-ID: <20040113062755.40285.qmail@web10402.mail.yahoo.com> --- 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 From gerhard@gjaeger.de Tue Jan 13 06:51:24 2004 From: gerhard@gjaeger.de (Gerhard Jaeger) Date: Tue, 13 Jan 2004 07:51:24 +0100 Subject: [sane-devel] Q: threads and pipes In-Reply-To: <200401122056.40071.oliver.rauch@rauch-domain.de> References: <200401121942.45040.oliver.rauch@rauch-domain.de> <20040112190002.GG1558@meier-geinitz.de> <200401122056.40071.oliver.rauch@rauch-domain.de> Message-ID: <200401130751.24520.gerhard@gjaeger.de> Hi, On Monday 12 January 2004 20:56, Oliver Rauch wrote: [SNIPSNAP] > > 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 :) indeed it is better ;-) You should always keep in mind, that when using threads you still live in the same process-space - per definition. This means, that nothing will be inheritet like in the fork case. In your reader thread you have the same pipe-descriptors, like in the main programm context. If you close it in the thread, then it's closed for the whole process. That's why I introduced the sanei_thread_is_forked() function. That's also, why the MacOSX guys want to use threads instead of fork, because of the buggy fork implementation, the descriptors are not inheritet to the child process... Good luck... Gerhard From gerhard@gjaeger.de Tue Jan 13 06:56:45 2004 From: gerhard@gjaeger.de (Gerhard Jaeger) Date: Tue, 13 Jan 2004 07:56:45 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040113062755.40285.qmail@web10402.mail.yahoo.com> References: <20040113062755.40285.qmail@web10402.mail.yahoo.com> Message-ID: <200401130756.45794.gerhard@gjaeger.de> On Tuesday 13 January 2004 07:27, Lone Directory wrote: [SNIPSNAP] > > 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? Probably not, should be the scanners' memory... Can't you see, what's printed on the others? Ciao, Gerhard > > Maybe it's possible to find out the chipset used > > that way. > > please give me other advices to identify the chipset. From randolph@panix.com Tue Jan 13 09:17:21 2004 From: randolph@panix.com (Randolph Fritz) Date: Tue, 13 Jan 2004 01:17:21 -0800 Subject: [sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try! In-Reply-To: <200401122100.19300.oliver.rauch@rauch-domain.de> References: <200401122100.19300.oliver.rauch@rauch-domain.de> Message-ID: <20040113091720.GA584@thedoor.local.> --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jan 12, 2004 at 09:00:16PM +0100, Oliver Rauch wrote: > > 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. > "Failed to start scanner: Unknown SANE status code -1." Stops in the same place it always has. I am wondering if the Umax Vista-S6E SCSI scanner works with any recent version of SANE or if I have a really, really version of that model. MacOS 10.2.8. Debugging log attached. Randolph --ikeVEW9yuYc//A+q Content-Type: application/x-gunzip Content-Disposition: attachment; filename="debugging_output_3.gz" Content-Transfer-Encoding: base64 H4sICL62A0AAA2RlYnVnZ2luZ19vdXRwdXRfMwDt3Wtz28a5wPG3nXyKnWQ6kTohTYAXUZrR zHFsp3GbxDlW3GnH48MDEksSExBgcJHIvuhn7y7ACwBetJRpWZL/6rFik8/ugnvDDw9BnqtB 5E0TESdOlEhXhIH4LZXib04grKZoWBdW46J9JuxGo/XV+2Qs3TCMLv7zLA6HyY0TyZ4rr6Uf TicySJ7FTiBrfWfwuwzc+NniLx9E5ARu6E/HfxYzHSG+eq//46mi/XT0QVzJJPGCkcj+KXxd nwiHIp04M5GEwrK79a/e6399ELpczwu8ZPnAb2MvFur/spazEtcyij31Iqx6Q/RTz3dFy15G D8LJ1PPVi7zxkrF4d/W9iNPpNIwSMQwj8TxOIkfY6pUu409enArr/Pysph6zRX8u3vieql+8 ddLBeBn06ufnr3+6WDxVz576n0j/rrnhxPGCuiuXoZF0XP1KB2Ew9EZpJMVQHU72Suv6seLL 9Hp5VM9JEmcw7k2cZDBWhXWHewMZn8SD2BPvfn7+T/EXcTVwgkBGp8sKFmXi/OELkbaSlm99 pxsO5CBR/dNL5lMprF0FwqkM9JFmjeQtLioxG7w8JiuthtBut+u7WlpH9nSjPTlL1KRRYxTJ JI0C9Zesln46HKqej71/S3EprE6z29pVo+P74cDJjurqxdXrRdH3jQ/LAsUJFMk/Uhkn+QGo R9S/1Oxf/VwKuxo5jVR3yJue7wUyLkZajc1KnaAal4W2VqFjtTZ82es7bi+WQSx7MorUXFyH riLlTA7SRPZWletwsS0yey35q+7pDutNvKDUfNM+63R3R6tVVHpdTatxtuoGtVIGctUJfS/p RaP+9sPwwxux++dS1FbTL55IJzILHTi+14+cbA6r/ccxDL3x3GTcC4fDWCbr0HP9c1u4Ghy1 9PaG9+eJjKfTXQciZ9MwVsu9l3gTqftL9Vvgbg31ArWLqMEdZztFz3USZ1etvjOZ6k0iiUK/ 51w7nu/0fVkIXY3EYicWURrEeoPveyOh/u2pPX7i6F1ltUNdO5GX1bKx6E7S2BnJ8tour9jT 4vryVO+ouXTt+Gqyrp5w1VnCG86Xa3X5uBuqTf2P1Ivmy0d+CFN1vNnuJhbB4h+eOkfVrjqv Vnv8P6z6mX49lQ0qr0L/Vt0TRWrDW1Z/8nVe5bqqrI6vV4eextmul6hV6UTqZDjVwxtnp4d1 mWXwSK4qrrzQ17/877vXb/91sfz35eJn+e9Vd6uOC6P6jp8L8W1+uEJ8uywxjUI3HSS7SxRe miiVXHTanpKqJ9btSKWCsYwcX/yRqrEcejIqRje2BC6GQZ9Z1oGd6mt+8f2PVyLrLg2Dkawe R6OmThfrzckJJqFbCVoHD30n6atzxMkP3xemXzYkoq9OA7+rU1IwSsbFMlarK7IFWz2y11dv 1HxYzK2TSMYyulbTevM1v3rx83OjwOe/qPPPMnDL4dvVQ1jWlR2gaMwa7eI63ni2U3y2uKGL oXTU6VOdeE4ajdPVPKxt/lRLD5/drFWUBhkW9pVf1yBq+VRJ5sW9sfDs0IkTsThzrOouPF8o JfSgi8XmpuXlRppXt3VXs7Ovu5pn27vLyZtTfTXs7O6rwoHqTULtkVMnjtUx+mpz0OULAfqc rzhdfXgUOfPqY1vLK4gG8VSd3oLBXJy8++35aeFJJ00ULBNvoPbNQarhrUZbumqHPHn+8ofT ba9Pb58DZ+r0vWx4Ts5b3ynaqz/758au19/3arn0vIk+J6gRVVO8ePzLCTT2RmNf/Um2DffU UXvHYn0KPQjqbK7Os5r8LbWI18LWFebnQ6HPh89GStUinfqh4+pzVfUFj5zJxFF9cxPoCLE6 M+54PoPwaiHmWlNnuTxqkKoJpDisrlr0M+JED+HpdyIZR1Iugk+yITxd1VhuxwumqRaH2nO8 JH429Waq3xb9U44M0yQL3Re5a2p39u4Tna0TfyOqv7eOwbY68tkba5IGgx279HKzUy5fvhzp lisIIzV9szNv/vz2CrIeqR6B+uVN0om4VrgIxUROwmi+6whsuyv+/v1t/XBmb3ulmgJqg9LR oZ8mu8+kqp1moyHcqVc9xFnttsI7i84NinbKRVeU+l7ta/lpsqa3mfWKV88s6882wQy9Oyrv 1tuN0qKsFq6eZ4uFLSWLcunlf9XWJk6Ku13lEPXzs1oYeSMvUJ0/Db1gh33UWbfeKDeiC88/ prBZ72zpnI3CO3tnX+dUJ2Z368R8+eatOHHDVKt9c5JW+lMHm81k1SXF2aQLms3jPQX3z+It Be889LrwnYe+eMi3Df3thfcM/UbhnSMvt428rz1VRJO+IlQKD2J1kq82dVsT543tTagab5xo kk5Xr0pfxG4fvVgOlgVv1AWuuvxXqsrSi2qP387xbPnY2z1+ueVHX7fq0/MS+dtiqvXMevmF xmSR2LgUttWud/XF/CqJNN+MOT+rW2cqprmuR03PQtyl3q3VEOqfdT3VmM5GzNbsnH2M7JxN do7sHNm5Gdm5B5qdW01U/ZvsHNk5snNk58jOkZ0jO3dbHWTnyM6RnSsUNusdsnOmBcnO3VJ4 58iTnXvq2bnmMbJzTbJzZOfIzs3Izj3Q7NxqL9W/yc6RnSM7R3aO7BzZObJzt9VBdo7sHNm5 QmGz3iE7Z1qQ7NwthXeOPNm5p56dax0jO9ciO0d2juzcjOzcA83OrbYF/ZvsHNk5snNk58jO kZ0jO3dbHWTnyM6RnSsUNusdsnOmBcnO3VJ458iTnXvq2bn2MbJzbbJzZOfIzs3Izj3Q7Nwq saN/k50jO0d2juwc2Tmyc2TnbquD7BzZObJzhcJmvUN2zrQg2blbCu8cebJzTz071zlGdq5D do7sHNm5Gdm5B5qdW2WD9G+yc2TnyM6RnSM7R3aO7NxtdZCdIztHdq5Q2Kx3yM6ZFiQ7d0vh nSNPdu6pZ+fOjpGdOyM7R3aO7NyM7NwDzc6dLavQv8nOkZ0jO0d2juwc2Tmyc7fVQXaO7BzZ uUJhs94hO2dakOzcLYV3jjzZuSeUncsvoBVuh96ot8heTXSOIbvizy6i4pNM8T95QfijVOfN vz1/+ep0mXrTT+nMmxMpLmWXptll5MU6/Ge16P2LrNRHNPpmOFSPHt5sXu6jG7bv2rL9EU1f Pf/1x9dv79D0ouBHN928a9PNuzWd8TevoWXWdFai1HTr8KZ/fPmz+Omq9aN1dXujOnbRXl7k 8OZ+8X5X++Pzf9Ysq3F7g3n0osm80Ec0ad+lSfsuTf79X6/ECw3qX9VlWe3Ht+3b29VFFq2W Sh7e+Ktfr978In6V0TB/h0Hte7c3nxdaHECp7B0O4OrFm7e/ia//qi401NWEo3feq68NjiEv tziIUunDD+K3yPurnIhfwxsZXanT/+vXtx/AosyyF9ZFy82ncX9n2+o5dQ63Oo2OTgvZzcYq DZCnMAvv/NSy9Xu5+72fZ6rSZ4t/feRbRsWq7v7GUbH7Ksnni2VLgTMpNye8WKi9SmcavdXV 5qu3b9+8vTj40MXQ8fz1NevOLrX3dqkao529urPk8tD0ABePbF1ZZZKov+uJkneO/q179f8r Zb5dvKIL8TrIOkg40ShLJRn21O7DqfTV0Au8eJy9nZdncPJFlEZSPeWXkNDT+fTlhNZv4fm9 MPDnmqWnn3fy0DZt0zZt03axbcpRjnKUo9zj27tpm7a3tT1Qf4ucL+5l0zZtP4T8lC6dldt4 YFmRrucyu9FxlYh7l92zmN81kuUVCzeerO+J85Le4m7GVd0yv0FJvP/G/qBfTZYA3sjI5KV6 hXfyVrnZkb6X9v036zur9xSyDGLsQ2JGxcM3KNg8JEZXHodpNNDVN02qbx0So6tfvxWummiZ NNE2iOkcElM+jFp2U/L7bzomx3JmENM1iDk/JEYfb+LXZuogz43mXOOgoEX1c1W9ZTanTSb1 OkjX34+yw7cso/pNFoRlV+rPjt9oSVgma8IymdlWaWq7cpqM9VEYTWvLZF6vg3QDi/tMa/o2 FtVM26gZk6Vhmcxry2Rir4OyVTbqL5eX1TU6WpOFYZvMb9to5zXaek2mi13aQ1c3gNYivU8b 7aS2yYSzW9ubGelmjKadbTLt7Pb2Zvq6GaNpZ5tMO9tk2tkm0842mTdNk3nTNJk3TZN50zQ6 9ZqMerM06oM0TsJJLeeOOk0bDXvTZNibJoPWNBm0psmgNU0GrWUyaC2TQWuZDFrLZNBaRuox 6fGWSY+3THq8ZdLjLZMeb5v0eNukx9smPd426fG2SY+3TXq8bdLjbZMeb5v0eNukxzsmPd4x 6fGOSY93THq8Y9LjHSObG+Hc6FTAhdJ9FCfmAcVsDmX2UaGtd9ce+dw/dSJnIhMZxQbluaL9 jFe0Jp1v1odGHWHyapgPzAfmwwOZD581dW10RWVCaRNGGsTcZw73nhfZETObRtnJe84tPtrk oFFqzygxR1rtiGk1cmLkxMiJkRN7zDkxlIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQ 2qdQ2l0/R3R8C5ZvRtPH8kP+zaelWpbfmZ/XdJEVu3rz7u2LV+KyWmDx3YGL7wR8v7zZSNTr hS8RXL2JPN8Tvfo6wQ/rulffFaijLR22/kbBQqWbYZ3NsAeH7iPcsPW4rxZ2fLoq64Un/+Lv 81KpeJOM7t2WXT9vnXWNYEAvH/WCtHRDkR6Lc7ve7TSsc6N6GIt7Tw6U7tDKFk+z3ra7Vsfo 4pkBe5jZnNJ9cSzDJzKqx8vRlT+kqycIy52JsT+oXZw9G5/ARrXMoUPm0J6gT/EGwMZn8PV8 ffqXoMzXRzpf9wQ97Destn3pwxeW92HRsejud9HtCWptX5mL70lhZbIyWZmfe2XuCWpvX76L 7x9i+bJ8Wb6PYvnuCeL2q0Nvv9r65V9koNgD2QPZA7+QPXBPUAmN2Q5ZS/T/B3S9T7bJfLJP sk+yT7JPHnqrfnY/n1urbKgdNlQ2VDZUNlQ21E/y2SdN2EjKoLrvnrHvsu+y77Lvsu9+vs+c 6vuM/VRW9+YuezN7M3szezN7M98HwPcB8H0AId8HED747wNQmJtG8tqTN/pzylxfYzgMh+Ew HIbDcBgOwz0Gw6E0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbS UBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAa SkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpD aSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2ko DaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2l oTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0 lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG 0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQ GkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpK Q2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNp KA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgN paE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWh NJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSU htJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSU9jCUJhMRyTj0Ux0i3n/T +iCSUGmnUW9kPw/2wI/Fy1IH1Ppe4Kpe6OS98ORf/H3aWnV04tdmqnfPs95t2fXz1lnX6ExC Lx/1CiYfirkaCquRjcW5Xe92Gta5UT2Mxb1fTaoB60fZ2rGsfPE06227a3WMrrYYsId5+Z+P arYMbZbhUxnV4yV11Pxw5TQZ6wmSu4zlzsTYH9Quzp4/Usf3knlt4Ph6DrVRLXPooDm0J+hT ZIz1tdiov7wIs7rZfH36l6DM10c6X/cEPex3ONRCG3ujsa/+JLVIrTW7+aXlfVh0LLr7XXR7 glrbV+ZIr8wvLiPLymRlPsCVuSeovX359vXybbN8Wb4s38exfPcEcb/OoffrqL1wkMZJOKmN nMnEUZths0UGij2QPZA98EvZA/cEldCY7ZC1xOn7Uu+TbTKf7JPsk+yT7JOH3tud3c/n1iob aocNlQ2VDZUNlQ31k3xYRhM2kjKo7rtn7Lvsu+y77Lvsu5/vQ4r6PmM/ldW9ucvezN7M3sze zN7MB8j5ADkfIA/5AHn44D9ArjA3jeS1J2/055S5vsZwGA7DYTgMh+EwHIZ7DIZDaSgNpaE0 lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG 0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQ GkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpK Q2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNp KA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgN paE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWh NJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSU htJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbS UBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAa SkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpD aSgNpaE0lIbSUBpKQ2koDaWhNJSG0lAaSkNpKA2loTSUhtJQGkpDaSgNpaE0lIbSUBpKQ2ko DaWhNJSG0lAaSkNpKA2loTSUhtJQ2qFyWsWop0Uk49BPdYh4/03rw5Ggc15sIvFrM1X5uUnl ZkJqVKqfq+qthlH9RriyivX3o+zwLcuofiOX2ZX6s+O3j9X596xM5sO9zYepEzkTmcgofmAX Y2YXEUc66FJvTUJXqt4yWjxGVCxWHodpNNDVN02qv4e991gXvZ3th1Hre4GrjqVjciz3eeHM /vGJzidHTBGUprYrp8lYH4XRtDZLL7SLDfyROr6XzGsDx9fNtI2auecERbe0ykb95fKyukZH +2jzG6U9dOyNxr76k9QivU8b7aRmGZLW9mZGuhmjaWeWY2lvb6avmzGadmRpjpmlKY36II2T cFIbOZOJo0/TRsNOoodED4keEj2POtHDhdK9FCfmAcVsDqVIQnX11qg3sp9PeO4/KPPCFe1n vKIlQ/olz4dPt04ZO9Yy8+FRr2XeEXl60OcdEfaYo55zeEdkI4h3RPYE8Y4I74hUgnhH5JYg 3hHhHRHeEeEdkZB3RO7tQol3RJ5gDO+IcEV7lM4ni/pU58NB6/Ted5+PPCvd+Xx+hMn1EfPm I6bEwav/Y7JQ93XC6rTNZ8x5sa7VyOlaDph2hS2iNIqHVmMVq1mPqK7Gttr17rn6MUoV2pWK FuObVXR+VrfOVEXNYsw0kteevNGp6bN82R3tXH9gkDqYLNtQS5y+n4m3nffj0XIK95x46JRn q1urvLyO+cs7K/VSJGVQrezMvLJuaY74qazW1d1SV5w4UbJ8xAu8xHN879+yd+2oClanhHex F4xEV/S9JBZD1VieP/KCaZrsjAnTpPD0YCwHv1eqXaSkxUD9px852Zp3vVgfr6sqX01ivXMv y6RZM2EgxdSJYxEPnCDQjxRjsgdlpGJlLAahH0a1qTeTfi2MXBmpaIOz4KxX2IhO3Kl3KrKf y8J169wgZtYbhKpZL3AS2es7sVwEXqpFvd5E5kZR6XQqo54vh0lvJk5mOu40b29byFyczLeF 6N658Vy1z6ufUi1Wwzo/L4b5MhhlcaWarFZjnX3La9KDpXs4FsufS9FeZ3AW9WxEXYqzdfoi mzjq6POYZ9m45UGrmd2fJzKP8T01AwqNWZ11biZvo5d1RDGsfEjqmfXRFqsqHFIgR2pWXsvN oFVIMlZzYBz6ruokXadaTstuWmeo+5HOgKsGY3EydvxhoubvaTVoEAZJ5MSJ7u6dQU7g+OGo l6+/8hHp/y3DVln3jQO32+3ln9VIjx03vNnWFaU6l6u0LuRsGsZpJEXiTWQ1TM+bSsS+2vTS yWQWpJO+GthC1/adZDDO69vV+3mIDNzdA5SHBHKmTuThVOilIeZiYx5v24sqNd040UQtsG39 tAwZ6vFbblvDNBgs6rlcn39fvnm7ZdqVann+8ofbQiZOoA5Y7bODNN4RMvRmi+fVWHirF1QM WWy2+ohLVRVC1NKNdafoxeuGA11XNUTPfjVyq7ZEYzJZhegt1lPnqX46+iCuZJLozTr7p6r6 WvoiHIo8Jh7EXgaadru+eY66EPqRLEid/GTQUwOqxl2dKCKZpFGg/pJV0E+HQ3UwsTqJqQNo 2med7rbKimFjR73CsROMpPudqs3x/XDgZMeZR20rP1Qnax1x9eLq9SLsfUX5i8hCdduDR5HT 7y1OWeup5iXVx5ZnNXWE7nzzwVhG19JdGyBwdZNN8RfVoZ3Fzqn6Ot85XCdxspP0279+XyyS byw9/XT5hLsoFt4Efui4YpCqxnQFE0ctq/lUiqJQezdeoELzs+r6RKEfEwWx9FXH/C4G6vUk avRuPHWG6Nr5kZYLncSnutpVC7pjs94pPaIPs/igG/YKi9msZ6dhpE5Cr6JIHZ6bRvlcvfYG Urx+9ua7rLB+rF6vV8u6oerfIEwWV6qFIUqiuS6jZnYkfanP7csyhWqyyT1Sp5rlsV2o84Hq 8qA4vxMnSXce3bbmVgt/V4vrkI9uN5vzqo6B9EsjUHzgC+mKgR/Gy9mo6lkEDD3F2tXsPzxL Ur2ebdn189ZZt9WuRBSuVc/terdTQt3GdWirWW/bXavTrYQUrjC31rLKpuiIF9pqxWcLeQT9 fKnyjUvTwy7ryQg+yAwxnf8lpudv35PulmTb3HLulmXb3N3ulmQ75Hg+6Wo5Ttc/3MV6rDnx gPeLY03Xh7tlHWslccp6nOP/oE9ZzIfP947yQW82l/pLtWXUVUYjYRDD3WJ7i/OxGraI45KB j9VUg/hYzZ4gPlbDx2oqQU/0YzWlYd+4k8akhsNuohntuqvFpBaju2zOSq9o+10vJvUY3a1T 2vu23xVjUg2fNuLTRnzaiE8bhYafNuqUNrnSW16l0vqtQll6RM685Kv3yVi6YRhd/OdZHA6T GyeSqvZr6YfTiQySZzqy1ncGv8vAjZ8t/vJBRE7ghv50/Gfxfy//9KevrrKjEa6+W05d2/2W SvE3J1DWFg3rwrIvWg3ltkbrq/8CHoWMhyETBQA= --ikeVEW9yuYc//A+q-- From mike@alezan.org Tue Jan 13 13:49:45 2004 From: mike@alezan.org (Mickael Profeta) Date: Tue, 13 Jan 2004 14:49:45 +0100 Subject: [sane-devel] HP Scanjet 3670... In-Reply-To: <4002721F.6020302@users.sourceforge.net> References: <20040109123857.GA27118@sugarpie> <400162BC.5040308@alezan.org> <4002721F.6020302@users.sourceforge.net> Message-ID: <4003F779.5020804@alezan.org> Hi 1. I put my log obtaines with Snoopypro (0.22) here: http://www.alezan.org/hp3670/ 2. The scan is still running correctly after the preview, but I have no logs anymore in Snoopy (can test another usb sniffer maybe...) 3. and 4. Yes all is working correctly with the scanner, just no logs anymore... Mike Adrian Perez Jorge wrote: > 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. From mike@alezan.org Tue Jan 13 13:51:54 2004 From: mike@alezan.org (Mickael Profeta) Date: Tue, 13 Jan 2004 14:51:54 +0100 Subject: [sane-devel] HP Scanjet 3670... In-Reply-To: References: Message-ID: <4003F7FA.6000305@alezan.org> Hi Great Job! I know that Hp is not producing all the chipset, but in fact if we can know who is this 3rd party would be a first step... After it will be better of course if we can have an agreement with them and have the doc... thanks for your investigations Mike Sanjay Chigurupati wrote: > 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 From oliver.rauch@rauch-domain.de Tue Jan 13 15:40:03 2004 From: oliver.rauch@rauch-domain.de (Oliver Rauch) Date: Tue, 13 Jan 2004 16:40:03 +0100 Subject: [sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try! In-Reply-To: <20040113091720.GA584@thedoor.local.> References: <200401122100.19300.oliver.rauch@rauch-domain.de> <20040113091720.GA584@thedoor.local.> Message-ID: <200401131640.05761.oliver.rauch@rauch-domain.de> Hello Randolph, your problem has nothing to do with fork(), the backend does not reach to the position where the reader_process is started, the problem already ooc= urs while calibration: [umax] scanner reserved [umax] sending 3 * 256 bytes of gamma data for RGB [umax] send_gamma_data [umax] using gamma download curve format type 2 [umax] set_window_param [umax] window descriptor block created with 82 bytes [umax] window(s) set [umax] start_scan [umax] starting scan [umax] do_calibration [umax] wait_scanner [umax] scanner reports Error during device I/O, waiting ... [umax] scanner does not get ready [umax] trying to release scanner ... But to answer your other question at first: the scanner IS supported. There are some possible reasons for the problem like - bad scsi buffer size - bad scsi driver - bad scsi cables or termination Please redo the test with export SANE_DEBUG_SANEI_SCSI=3D128 and please also take a look at the kernel log file if you find any scsi errors there. Oliver On Tuesday 13 January 2004 10:17, Randolph Fritz wrote: > On Mon, Jan 12, 2004 at 09:00:16PM +0100, Oliver Rauch wrote: > > 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. > > "Failed to start scanner: Unknown SANE status code -1." > > Stops in the same place it always has. I am wondering if the Umax > Vista-S6E SCSI scanner works with any recent version of SANE or if I > have a really, really version of that model. > > MacOS 10.2.8. Debugging log attached. > > Randolph --=20 http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:Oliver.Rauch@Rauch-Domain.DE From oliver.rauch@rauch-domain.de Tue Jan 13 15:50:28 2004 From: oliver.rauch@rauch-domain.de (Oliver Rauch) Date: Tue, 13 Jan 2004 16:50:28 +0100 Subject: [sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try! In-Reply-To: References: <200401122100.19300.oliver.rauch@rauch-domain.de> Message-ID: <200401131650.30485.oliver.rauch@rauch-domain.de> Hello Charles. I can not help you compiling sane-backends on Mac OS-X. Please ask somone who already did it. Oliver On Monday 12 January 2004 21:16, Charles Sprickman wrote: > 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.Rauch@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-request@lists.alioth.debian.org --=20 http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:Oliver.Rauch@Rauch-Domain.DE From christopherlmarshall@yahoo.com Tue Jan 13 16:47:53 2004 From: christopherlmarshall@yahoo.com (Christopher Marshall) Date: Tue, 13 Jan 2004 08:47:53 -0800 (PST) Subject: [sane-devel] meaning of "--contrast" option to backend In-Reply-To: <200401131650.30485.oliver.rauch@rauch-domain.de> Message-ID: <20040113164753.21832.qmail@web41508.mail.yahoo.com> I was just curious if specifying a contrast argument to the backend is different from doing a default scan and adjusting the contrast in the gimp after the scan. I would imagine that it does mean something different in that you would be setting the contrast before the A/D step in the scanner if you specified such a parameter to the backend. Using the gimp afterward to adjust the contrast would introduce additional quantization noise (over and above specifying it to the backend prior). Am I right? Or is the backend trying to save me an extra step (essentially a convienence feature)? Chris Marshall __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From anoah@pfeiffer.edu Tue Jan 13 16:53:49 2004 From: anoah@pfeiffer.edu (m. allan noah) Date: Tue, 13 Jan 2004 11:53:49 -0500 (EST) Subject: [sane-devel] meaning of "--contrast" option to backend In-Reply-To: <20040113164753.21832.qmail@web41508.mail.yahoo.com> Message-ID: depends on the scanner. more expensive models will change the lut the a/d uses inside the scanner. cheaper models will do this in the backend. which scanner/backend are you using? allan On Tue, 13 Jan 2004, Christopher Marshall wrote: > I was just curious if specifying a contrast argument to the backend is different from doing a > default scan and adjusting the contrast in the gimp after the scan. > > I would imagine that it does mean something different in that you would be setting the contrast > before the A/D step in the scanner if you specified such a parameter to the backend. Using the > gimp afterward to adjust the contrast would introduce additional quantization noise (over and > above specifying it to the backend prior). > > Am I right? Or is the backend trying to save me an extra step (essentially a convienence > feature)? > > Chris Marshall > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > > -- "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 christopherlmarshall@yahoo.com Tue Jan 13 17:02:36 2004 From: christopherlmarshall@yahoo.com (Christopher Marshall) Date: Tue, 13 Jan 2004 09:02:36 -0800 (PST) Subject: [sane-devel] meaning of "--contrast" option to backend In-Reply-To: Message-ID: <20040113170236.22868.qmail@web41509.mail.yahoo.com> allan: I am using the CanonScan LiDE 30 with the plustek backend. Chris __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From andras@users.sourceforge.net Tue Jan 13 17:15:40 2004 From: andras@users.sourceforge.net (Major A) Date: Tue, 13 Jan 2004 17:15:40 +0000 Subject: [sane-devel] meaning of "--contrast" option to backend In-Reply-To: <20040113164753.21832.qmail@web41508.mail.yahoo.com> References: <200401131650.30485.oliver.rauch@rauch-domain.de> <20040113164753.21832.qmail@web41508.mail.yahoo.com> Message-ID: <20040113171538.GB8015@discus> > I was just curious if specifying a contrast argument to the backend > is different from doing a default scan and adjusting the contrast in > the gimp after the scan. The contrast argument is not a standard option, so it depends on the backend. Gamma curve adjustment is often better done in the scanner, simply because the scanner often has a deeper A/D converter than the 8 bits per channel of the data you get from it. Therefore performing the adjustment in the scanner gives better results. On a slow computer, you can also save time by having the scanner do the adjustment. Andras =========================================================================== Major Andras e-mail: andras@users.sourceforge.net www: http://andras.webhop.org/ =========================================================================== From hanke@volny.cz Tue Jan 13 19:44:22 2004 From: hanke@volny.cz (Hynek Hanke) Date: Tue, 13 Jan 2004 20:44:22 +0100 Subject: [sane-devel] Packard Bell 2450 works with gt68xx (and problems) Message-ID: <20040113194422.GD2159@volny.cz> Hi all, the Packard Bell Diamond 2450, which you didn't have any information about if I understand correctly, seems to work with the gt68xx driver! My girlfriend received it as a pressent so I had no other choice than to try ;) I copied the firmvare .usb file from the CD with MS Windows drivers into the right location, as described in the manpage to gt68xx. It's normally available on the CD, it's not compressed in an .exe or something. Then I uncommented gt68xx in /etc/sane.d/dll.conf. Now it's detected by sane-something or what is the detection tool for USB scanners called (I don't have a scanner myself and I'm not sitting at that box). scanimage -L also reports the device and driver correctly and I was able to scan some images through scanimage both grayscale and in color. The quality of the resulting image is perfect, max. resolution is also ok. On the other hand, it does some strange things: -- it's heating the lamp for a long time (like 10 seconds or so) before scanning. -- when scanning is over, the lamp doesn't return smoothly, but moves like 1/3 of the distance, than stops for some time and makes some strange sound, than moves another 1/3 and another one (2 or 3 stops total). it doesn't hurt anything, but it's annoying to wait all the time. is there some simple workaround? Under these circumstances, until the above problems are solved, I think you can put Packard Bell Diamond 2450 as supported in the list in alpha state or what's your scale. I'm happy to help you if I can, but only as a user. I speak C :), but currently I don't have time to work on this unfortunatelly Now I thing this is more of a user configuration problem (mine), but I wasn't able to set her some nice X scanning application. I tried xsane, but after I agree to the license, it displays some "searching for available devices" and then immediatelly "no device found". I have no chance to specify the device manually or something, I just have to click OK. To scanimage, I can pass the -d option, but what can I do about xsane if it doesn't find the device immediatelly? Is there a configuration file where I can specify something like gt68xx:/dev/usb/scanner0? I then installed xscanimage to gimp successfully, but again, when I want to "acquire image" it just prints that "no device available" or "no device found" or something like this. The manpage gives advice to specify it manually, but how do I do it when executing xscanimage under gimp? Do these two apps require "saned" running? I couldn't execute it for some reason, something like that the port can't be open or so, but I don't remember well. If you tell me saned is important, I'll go and look at the particular error message. It was on a RedHat 9 box with Sane 1.0.10 and the most recent stable tarball of xscanimage I could found on author's pages with Gimp 1.2. I'm sorry some of the information is such fuzzy. If you consider some of the details important, I'll go and look at the computer. So I hope the info about the status of Diamond 2450 helps you a little bit & many thanks for Sane and for your advices on my problems with the GUI, Hynek http://www.freebsoft.org Free Software for Blind and Visually Impaired From gough@gsc.riken.jp Tue Jan 13 02:27:50 2004 From: gough@gsc.riken.jp (Julian Gough) Date: 13 Jan 2004 11:27:50 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <87k73wu0wz.fsf@zen.epkowa.co.jp> References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> Message-ID: <1073960870.4410.4.camel@localhost.localdomain> On Tue, 2004-01-13 at 09:50, Olaf Meeuwissen wrote: > The file you are looking for is esfw3e.bin. Graet! I got it. It was in a different place. > SANE_DEBUG_SNAPSCAN=255 scanimage -> > debug.log Same old, same old. I just get No scanners were identified. I am kind of getting the feeling it's not even trying. Should I delete all '.conf' files and remove all entries except the one for my scanner? Am I right to use usb 0x04b8 0x0120 or should I be using libusb:001:003 Thanks for the help thus far. Julian From gough@gsc.riken.go.jp Tue Jan 13 03:15:01 2004 From: gough@gsc.riken.go.jp (Julian Gough) Date: 13 Jan 2004 12:15:01 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <873caktv64.fsf@zen.epkowa.co.jp> References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> <1073960870.4410.4.camel@localhost.localdomain> <873caktv64.fsf@zen.epkowa.co.jp> Message-ID: <1073963701.4558.90.camel@tao> On Tue, 2004-01-13 at 11:54, Olaf Meeuwissen wrote: > I meant to write -L, not ->, up there but I think you figured that > much. yep! Got it this time, > > > Same old, same old. > > I just get No scanners were identified. > > Did you also update the firmware line near the top of snapscan.conf. > Note that it can only handle *one* such line. If you dumped your > esfw3e.bin in /usr/local/share, you should have > > firmware /usr/local/share/esfw3e.bin Yes. /home/gough/download/ESFW3E.BIN that's where it is > No, don't. If you don't want SANE to try all the backends installed, > comment out the ones you don't want in dll.conf. So if you only want > to try the snapscan backend, comment out all the others. OK, I'll try that tonight. > > You should be using "usb 0x04b8 0x0120". That is assuming the USB > product ID is 0x0120 (I don't remember off the top of my head). Yes. as reported by lsusb, and sane-find-scanner. That's what I've been using. So it's a dead-end then? Julian From amitofsk@obiwan.csl.uiuc.edu Tue Jan 13 05:36:07 2004 From: amitofsk@obiwan.csl.uiuc.edu (Andy Mitofsky) Date: Mon, 12 Jan 2004 23:36:07 -0600 Subject: [sane-devel] sane frontend questions Message-ID: <20040113053607.GB10111@obiwan.csl.uiuc.edu> 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 From blackdir@yahoo.com Tue Jan 13 19:22:00 2004 From: blackdir@yahoo.com (Lone Directory) Date: Tue, 13 Jan 2004 11:22:00 -0800 (PST) Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <200401130756.45794.gerhard@gjaeger.de> Message-ID: <20040113192200.83238.qmail@web10409.mail.yahoo.com> --- Gerhard Jaeger wrote: > > > > 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? > > Probably not, should be the scanners' memory... > Can't you see, what's printed on the others? > Well the smaller chip says EliteMT 100Mhz while the bigger one shows only numbers on two diffrent lines as shown below: 26-00204-00A 0314FGKC9-10 The manual that is available on HP site (www2.hp.com/en/taskPageSelect.jhtml?reg=&plc=&lc=en&cc=us&prodId=hpscanjet3298544&pagetype=manual&docparent=manual) is mentioning also another model: Scanjet 370. Attached you can find the output of sane-find-scanner and /proc : Is there anything else that I can do to make it work? Shall I make some specific test (maybe with snoopy) and post here the outcome? regards, Timur >sane-find-scanner -v -v [SNIP] bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 9 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 0.00 iManufacturer 0 () iProduct 2 ((null)) iSerialNumber 1 ((null)) bNumConfigurations 1 bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 64 (Self-powered) MaxPower 0 mA bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 () bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 3 (interrupt) wMaxPacketSize 8 bInterval 255 ms bRefresh 0 bSynchAddress 0 bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 255 bDeviceSubClass 255 bDeviceProtocol 255 bMaxPacketSize0 8 idVendor 0x03F0 idProduct 0x1405 bcdDevice 1.00 iManufacturer 1 ((null)) iProduct 2 ((null)) iSerialNumber 12 ((null)) bNumConfigurations 1 bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 192 (Self-powered) MaxPower 48 mA bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 bInterfaceSubClass 255 bInterfaceProtocol 255 iInterface 0 () bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 2 (bulk) wMaxPacketSize 64 bInterval 0 ms bRefresh 0 bSynchAddress 0 bLength 7 bDescriptorType 5 bEndpointAddress 0x02 (out 0x02) bmAttributes 2 (bulk) wMaxPacketSize 64 bInterval 0 ms bRefresh 0 bSynchAddress 0 bLength 7 bDescriptorType 5 bEndpointAddress 0x83 (in 0x03) bmAttributes 3 (interrupt) wMaxPacketSize 1 bInterval 8 ms bRefresh 0 bSynchAddress 0 checking for GT-6801 ... this is not a GT-6801 (bNumEndpoints = 3) checking for GT-6816 ... this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255) checking for MA-1017 ... this is not a MA-1017 (bDeviceClass = 255, bInterfaceClass = 255) checking for MA-1015 ... this is not a MA-1015 (bcdUSB = 0x110) checking for MA-1509 ... this is not a MA-1509 (bEndpointAddress = 0x81, bmAttributes = 0x2, wMaxPacketSize = 0x40, bInterval = 0x0) checking for LM983[1,2,3] ... this is not a LM983x (bDeviceSubClass = 0xff) checking for GL646 ... this is not a GL646 (bDeviceClass = 255, bInterfaceClass = 255) checking for GL660+GL646 ... this is not a GL660+GL646 (bDeviceClass = 255, bInterfaceClass = 255) found USB scanner (vendor=0x03f0, product=0x1405) at libusb:005:003 bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 9 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 0.00 iManufacturer 0 () iProduct 2 ((null)) iSerialNumber 1 ((null)) bNumConfigurations 1 bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 64 (Self-powered) MaxPower 0 mA bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 () bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 3 (interrupt) wMaxPacketSize 8 bInterval 255 ms bRefresh 0 bSynchAddress 0 bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 9 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 0.00 iManufacturer 0 () iProduct 2 ((null)) iSerialNumber 1 ((null)) bNumConfigurations 1 bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 64 (Self-powered) MaxPower 0 mA bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 () bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 3 (interrupt) wMaxPacketSize 8 bInterval 255 ms bRefresh 0 bSynchAddress 0 bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 9 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 0.00 iManufacturer 0 () iProduct 2 ((null)) iSerialNumber 1 ((null)) bNumConfigurations 1 bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 64 (Self-powered) MaxPower 0 mA bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 () bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 3 (interrupt) wMaxPacketSize 8 bInterval 255 ms bRefresh 0 bSynchAddress 0 bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 bDeviceSubClass 0 bDeviceProtocol 1 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.04 iManufacturer 3 ((null)) iProduct 2 ((null)) iSerialNumber 1 ((null)) bNumConfigurations 1 bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 64 (Self-powered) MaxPower 0 mA bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 () bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 3 (interrupt) wMaxPacketSize 2 bInterval 12 ms bRefresh 0 bSynchAddress 0 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Scanners connected to the parallel port or other proprietary ports can't be # detected by this program. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary. done ---------- >cat /proc/bus/usb/devices T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ef80 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=05 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1 P: Vendor=03f0 ProdID=1405 Rev= 1.00 S: Manufacturer=Hewlett-Packard S: Product=HP Scanjet Scanner S: SerialNumber=CN36CS24D4 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 48mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=8ms T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ef40 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ef20 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ef00 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.04 S: Manufacturer=Linux 2.4.21-166-smp4G ehci_hcd S: Product=Intel Corp. 82801EB USB2 Enhanced Host Controller S: SerialNumber=00:1d.7 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From adrianpj@users.sourceforge.net Tue Jan 13 20:03:01 2004 From: adrianpj@users.sourceforge.net (Adrian Perez Jorge) Date: Tue, 13 Jan 2004 20:03:01 +0000 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040113192200.83238.qmail@web10409.mail.yahoo.com> References: <20040113192200.83238.qmail@web10409.mail.yahoo.com> Message-ID: <40044EF5.9090202@users.sourceforge.net> Hi! Just for today I could get access to a HP3670 scanner- If you execute this command line in linux, and using the files supplied in the CD-ROM: strings hpgt2436.dll | more you will find those strings: Device_638_A07 GL646U Sparrow GL646 Setting so at first it's possible the scanner is using Genesys Logic's single-chip GeneScan™ II or similar. I also opened the scanner. The EliteMT chip is memory, and the L6219DS is the power driver for stepper motor. The bigger one says 26-00204-00A 0323FGSPW-10 So it seems the key is 26-00204-00. There are also some mentions to something called Tulip Driver in the dll files. More to come. Adrian P.J. Lone Directory wrote: >Well the smaller chip says EliteMT 100Mhz while the >bigger one shows only numbers on two diffrent lines as >shown below: > >26-00204-00A >0314FGKC9-10 > >The manual that is available on HP site >(www2.hp.com/en/taskPageSelect.jhtml?reg=&plc=&lc=en&cc=us&prodId=hpscanjet3298544&pagetype=manual&docparent=manual) >is mentioning also another model: Scanjet 370. > >Attached you can find the output of sane-find-scanner >and /proc : > >Is there anything else that I can do to make it work? >Shall I make some specific test (maybe with snoopy) >and post here the outcome? > >regards, >Timur > > From henning@meier-geinitz.de Tue Jan 13 20:05:49 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Tue, 13 Jan 2004 21:05:49 +0100 Subject: [sane-devel] Packard Bell 2450 works with gt68xx (and problems) In-Reply-To: <20040113194422.GD2159@volny.cz> References: <20040113194422.GD2159@volny.cz> Message-ID: <20040113200549.GN1926@meier-geinitz.de> Hi, On Tue, Jan 13, 2004 at 08:44:22PM +0100, Hynek Hanke wrote: > the Packard Bell Diamond 2450, which you didn't have > any information about if I understand correctly, Actually it's not even in our lists. > seems to work with the gt68xx driver! My girlfriend received it as a > pressent so I had no other choice than to try ;) Cool! > I copied the firmvare .usb file from the CD with MS Windows > drivers into the right location, as described in the manpage > to gt68xx. It's normally available on the CD, it's not compressed > in an .exe or something. Ok. Please tell me the name of that file. Also please send me an output of "sane-find-scanner -q" and "scanimage -L". Your scanner is probably detected because Packard Bell just put their label on a different already supported scanner. > Now it's detected by sane-something or what is the > detection tool for USB scanners called (I don't have > a scanner myself and I'm not sitting at that box). sane-find-scanner > scanimage -L also reports the device and driver correctly I guess it doesn't say "Packard Bell 2450", however :-) > and I was able to scan some images through scanimage both > grayscale and in color. The quality of the resulting image > is perfect, max. resolution is also ok. Ok. > On the other hand, it does some strange things: > -- it's heating the lamp for a long time (like 10 seconds or so) > before scanning. That's normal. Actually, it should heat upto 30 seconds at least for the first scan. If you use a tool like xsane instead of scanimage, heating should only happen before the first scan. > -- when scanning is over, the lamp doesn't return smoothly, but > moves like 1/3 of the distance, than stops for some time and makes some > strange sound, than moves another 1/3 and another one (2 or 3 > stops total). it doesn't hurt anything, but it's annoying to > wait all the time. I haven't headr abou this yet. I think returning the scanhead is done by the firmware, not the backend but I haven't actually looked at the code. No idea how to change that. > Under these circumstances, until the above problems are solved, > I think you can put Packard Bell Diamond 2450 as supported in the > list in alpha state or what's your scale. I'm happy to help you if > I can, but only as a user. I speak C :), but currently I don't have > time to work on this unfortunatelly Thanks for your report. I'll add this scanner to the lists. > Now I thing this is more of a user configuration problem (mine), > but I wasn't able to set her some nice X scanning application. > I tried xsane, but after I agree to the license, it displays > some "searching for available devices" and then immediatelly > "no device found". I have no chance to specify the device > manually or something, I just have to click OK. To scanimage, > I can pass the -d option, but what can I do about xsane if > it doesn't find the device immediatelly? Is there a configuration > file where I can specify something like gt68xx:/dev/usb/scanner0? Do you need the "-d" for scanimage? You shouldn't need it. If you need it, "gt68xx" is usually not listed in dll.conf. If you don't need it for scanimage but xsane doesn't find your scanner it may be a permission problem (if you run scanimage as root but not xsane). See "man sane-usb" for some details. If that's also not the case you may have installed two different versions of SANE, e.g. the one from your distribution and one that you compiled yourself. xsane uses the old one... You can specify the device manually, e.g. "xsane gt68xx:/dev/usb/scanner". But that shouldn't be necessary. > I then installed xscanimage to gimp successfully, but again, > when I want to "acquire image" it just prints that "no device > available" or "no device found" or something like this. The > manpage gives advice to specify it manually, but how do I do it > when executing xscanimage under gimp? I think that's not possible. > Do these two apps require "saned" running? No. > It was on a RedHat 9 box with Sane 1.0.10 and the most recent > stable tarball of xscanimage I could found on author's pages > with Gimp 1.2. 1.0.11 is the latest sane-frontends version but 1.0.10 should be also ok. Thanks for your detailed report! Bye, Henning From henning@meier-geinitz.de Tue Jan 13 20:27:09 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Tue, 13 Jan 2004 21:27:09 +0100 Subject: [sane-devel] Sane USB problem with HP ScanJet 5300C on FreeBSD-5.2-RC2/amd64 In-Reply-To: <200401111434.24177.thomas.pasch@gmx.de> References: <200401111434.24177.thomas.pasch@gmx.de> Message-ID: <20040113202709.GO1926@meier-geinitz.de> Hi, On Sun, Jan 11, 2004 at 02:34:24PM +0100, Thomas Pasch wrote: > I'm trying to get my scanner to work on FreeBSD 5.2-RC2/amd64. I can "see" > the scanner with sane-find-scanner and usbdevs but scanimage seems to hang. > > I'm using the sane-backends-1.0.12_3 and sane-frontends-1.0.11 and > libusb-0.1.7_1 from the package tree (but also tried ports and a newer > backends version as well). > > See attached the DEBUG output of "scanimage -L". For me it looks like > the scanner is found and a request is written to it, but there is never an > anwer. [...] [avision] attach: sending INQUIRY [avision] try to write cmd, count: 6. [sanei_usb] sanei_usb_write_bulk: trying to write 6 bytes [sanei_usb] 0000: 12 00 00 00 60 00 ............... I'm really no avision expert but that's the first command that's sent to the scanner. While the uscanner driver can't cope with control messages, bulk messages should be ok. So I'm a bit surprised that it fails there. > Beside, how do I use libusb on 5.2? The man pages are saying something > about creating /dev/ugen* but as 5.2 uses devfs, you can't create it and it > isn't there. At least on Linux, libusb only works if the scanner is not claimed by a different driver, e.g. uscanner. So you must tell uscanner not to detect your scanner. I don't know if that works without recompiling without uscanner support. I guess ugen will getect the scanner once uscnner doesn't and the device will show up. Bye, Henning From jb@jblache.org Tue Jan 13 20:30:52 2004 From: jb@jblache.org (Julien BLACHE) Date: Tue, 13 Jan 2004 21:30:52 +0100 Subject: [sane-devel] sane frontend questions In-Reply-To: <20040113053607.GB10111@obiwan.csl.uiuc.edu> (Andy Mitofsky's message of "Mon, 12 Jan 2004 23:36:07 -0600") References: <20040113053607.GB10111@obiwan.csl.uiuc.edu> Message-ID: <87k73vmw03.fsf@frigate.technologeek.org> Andy Mitofsky wrote: Hi, > 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. By default, sane-frontends up to 1.0.11 will build the gimp1.2 plugin and thus will use GTK 1.2. You have GTK 2 installed. If you want to build with GTK 2, run configure --disable-gimp. This will change in the next version of sane-frontends. It'll default to GIMP 2.0 and GTK 2. (sane-frontends 1.0.12 will probably be released after GIMP 2.0 final, unless Henning decides to make a release sooner) JB. -- Julien BLACHE GPG KeyID 0xF5D65169 From henning@meier-geinitz.de Tue Jan 13 20:42:10 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Tue, 13 Jan 2004 21:42:10 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040113192200.83238.qmail@web10409.mail.yahoo.com> References: <200401130756.45794.gerhard@gjaeger.de> <20040113192200.83238.qmail@web10409.mail.yahoo.com> Message-ID: <20040113204210.GP1926@meier-geinitz.de> Hi, On Tue, Jan 13, 2004 at 11:22:00AM -0800, Lone Directory wrote: > The manual that is available on HP site > (www2.hp.com/en/taskPageSelect.jhtml?reg=&plc=&lc=en&cc=us&prodId=hpscanjet3298544&pagetype=manual&docparent=manual) > is mentioning also another model: Scanjet 370. 3670? These scanners (their descriptors) really look identical. That's what I have noted until now: http://www.sane-project.org/unsupported/hp-scanjet-3690.html http://www.sane-project.org/unsupported/hp-scanjet-3670c.html Additions welcome. Bye, Henning From henning@meier-geinitz.de Tue Jan 13 20:44:30 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Tue, 13 Jan 2004 21:44:30 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <40044EF5.9090202@users.sourceforge.net> References: <20040113192200.83238.qmail@web10409.mail.yahoo.com> <40044EF5.9090202@users.sourceforge.net> Message-ID: <20040113204430.GQ1926@meier-geinitz.de> Hi, On Tue, Jan 13, 2004 at 08:03:01PM +0000, Adrian Perez Jorge wrote: > strings hpgt2436.dll | more > > you will find those strings: > > Device_638_A07 > GL646U > Sparrow > GL646 Setting > > so at first it's possible the scanner is using Genesys Logic's > single-chip GeneScan? II or similar. The USB device descriptor does not look like gl646 or gl841, however. > The bigger one says > > 26-00204-00A > 0323FGSPW-10 > > So it seems the key is 26-00204-00. Same as on 3670. If it's a GL646, "sane-find-scanner -v -v" should be abale to detect the chipset. Bye, Henning From oliver.rauch@rauch-domain.de Tue Jan 13 20:52:36 2004 From: oliver.rauch@rauch-domain.de (Oliver Rauch) Date: Tue, 13 Jan 2004 21:52:36 +0100 Subject: [sane-devel] sane frontend questions In-Reply-To: <20040113053607.GB10111@obiwan.csl.uiuc.edu> References: <20040113053607.GB10111@obiwan.csl.uiuc.edu> Message-ID: <200401132152.39992.oliver.rauch@rauch-domain.de> When I remeber right then sane-frontends needs gtk+-1.0 or gtk+-1.2, as far as I know gtk+-2.0. and 2.2 are not supported. May be you like to try xsane: http://www.xsane.org or quiteinsane or any other frontend. Oliver On Tuesday 13 January 2004 06:36, Andy Mitofsky wrote: > 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 troubl= e > 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. > =3D=3D=3D> 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 --=20 http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:Oliver.Rauch@Rauch-Domain.DE From henning@meier-geinitz.de Tue Jan 13 20:56:38 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Tue, 13 Jan 2004 21:56:38 +0100 Subject: [sane-devel] sane frontend questions In-Reply-To: <200401132152.39992.oliver.rauch@rauch-domain.de> References: <20040113053607.GB10111@obiwan.csl.uiuc.edu> <200401132152.39992.oliver.rauch@rauch-domain.de> Message-ID: <20040113205638.GR1926@meier-geinitz.de> Hi, On Tue, Jan 13, 2004 at 09:52:36PM +0100, Oliver Rauch wrote: > When I remeber right then sane-frontends needs gtk+-1.0 or gtk+-1.2, > as far as I know gtk+-2.0. and 2.2 are not supported. Correct. The development version of xscanimage supports gtk2, howver. Bye, Henning From khk@khk.net Tue Jan 13 22:40:29 2004 From: khk@khk.net (Karl Heinz Kremer) Date: Tue, 13 Jan 2004 17:40:29 -0500 Subject: [sane-devel] Wanted Linux scanner... In-Reply-To: <40038BC3.1030601@sportingwheelies.org.au> References: <40038BC3.1030601@sportingwheelies.org.au> Message-ID: <7D6E9037-4619-11D8-A5BE-000A957E40E8@khk.net> The EPSON Perfection 3200, 2450 and 2400 are fully supported by the EPSON backend. Other scanners are supported by e.g. the snapscan or the plusteck backend, but I cannot comment on how good they work (I don't have access to any of these). The EPSON KOWA IScan software (available at http://www.epkowa.co.jp/english/linux_e/index.html) supports most current EPSON scanners. Karl Heinz On Jan 13, 2004, at 1:10 AM, Brad wrote: > Can anyone recommend a scanner that runs with Linux? > > We had an HP6300 SCSI scanner that worked PERFECTLY with Red Hat 9 out > of the box using xsane, but it has failed and HP are no longer > repairing them. We need a high quality unit with high scanning speed. > > I have been to: > > http://www.sane-project.org/sane-mfgs.html > > but all the compatible scanners listed are on longer available. I have > rung HP, but in spite of their crowing about how they are now > supporting Linux in a big way, they apparently don't have anything. > > Can anyone offer any advice? > > Regards, > Brad > > -- > 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-request@lists.alioth.debian.org From dveatch@woh.rr.com Tue Jan 13 23:04:03 2004 From: dveatch@woh.rr.com (Dennis Veatch) Date: Tue, 13 Jan 2004 18:04:03 -0500 Subject: [sane-devel] Wanted Linux scanner... In-Reply-To: <7D6E9037-4619-11D8-A5BE-000A957E40E8@khk.net> References: <40038BC3.1030601@sportingwheelies.org.au> <7D6E9037-4619-11D8-A5BE-000A957E40E8@khk.net> Message-ID: <200401131804.03385.dveatch@woh.rr.com> On Tuesday 13 January 2004 05:40 pm, Karl Heinz Kremer wrote: > The EPSON Perfection 3200, 2450 and 2400 are fully supported by the > EPSON backend. Other scanners are supported by e.g. the snapscan or the > plusteck backend, but I cannot comment on how good they work (I don't > have access to any of these). The EPSON KOWA IScan software (available > at http://www.epkowa.co.jp/english/linux_e/index.html) supports most > current EPSON scanners. > > Karl Heinz I have the EPSON 2400 and it works extremely well with xsane. > > On Jan 13, 2004, at 1:10 AM, Brad wrote: > > Can anyone recommend a scanner that runs with Linux? > > > > We had an HP6300 SCSI scanner that worked PERFECTLY with Red Hat 9 out > > of the box using xsane, but it has failed and HP are no longer > > repairing them. We need a high quality unit with high scanning speed. > > > > I have been to: > > > > http://www.sane-project.org/sane-mfgs.html > > > > but all the compatible scanners listed are on longer available. I have > > rung HP, but in spite of their crowing about how they are now > > supporting Linux in a big way, they apparently don't have anything. > > > > Can anyone offer any advice? > > > > Regards, > > Brad > > > > -- > > 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-request@lists.alioth.debian.org -- Registered Linux user 193414 http://counter.li.org "Trying"? My contribution was much closer to a "feeble wave in the general direction of something that might lead you one step closer to a solution if you squint really hard and do all of the work." From Franz Bakan" Message-ID: On Mon, 12 Jan 2004 21:00:16 +0100, Oliver Rauch wrote: >Please could some Mac OS-X and OS/2 users test this version! It still compiles on OS/2. I will ask in the sane-os/2 mailing-list for a tester. Regards Franz From olaf@epkowa.co.jp Wed Jan 14 01:20:48 2004 From: olaf@epkowa.co.jp (Olaf Meeuwissen) Date: Wed, 14 Jan 2004 10:20:48 +0900 Subject: [sane-devel] sane frontend questions In-Reply-To: <20040113053607.GB10111@obiwan.csl.uiuc.edu> (Andy Mitofsky's message of "Mon, 12 Jan 2004 23:36:07 -0600") References: <20040113053607.GB10111@obiwan.csl.uiuc.edu> Message-ID: <87wu7vqqa7.fsf@zen.epkowa.co.jp> Andy Mitofsky writes: > 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 If you insist on compiling from "source" with gcc-3.2 or later, please get the correct tar-ball: iscan-1.5.2-1.redhat.8.0.tar.gz. The C++ ABI changed a few times between 2.9x and 3.2 and the iscan "sources" contain several closed C++ source based binary objects. The regular iscan-1.5.2-1.tar.gz is for g++-2.9x, the one mentioned above is for g++-3.2 or later. Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From color@goodcoffee.ca Wed Jan 14 07:17:53 2004 From: color@goodcoffee.ca (Jonah) Date: Wed, 14 Jan 2004 00:17:53 -0700 (MST) Subject: [sane-devel] scanning negatives, epson perfection 1670 Message-ID: <35452.192.168.0.197.1074064673.squirrel@mail.goodcoffee.ca> Hi. I've searched through the archives and discovered good reports regarding normal scaning with the epson perfection 1670. My main use of this scanner would be for scanning negatives. Has the drivers reached the point where it can scan negatives at the highest resolution? Thanks for the information, Jonah From gerhard@gjaeger.de Wed Jan 14 07:55:28 2004 From: gerhard@gjaeger.de (Gerhard Jaeger) Date: Wed, 14 Jan 2004 08:55:28 +0100 Subject: [sane-devel] meaning of "--contrast" option to backend In-Reply-To: <20040113170236.22868.qmail@web41509.mail.yahoo.com> References: <20040113170236.22868.qmail@web41509.mail.yahoo.com> Message-ID: <200401140855.28697.gerhard@gjaeger.de> On Tuesday 13 January 2004 18:02, Christopher Marshall wrote: > allan: > > I am using the CanonScan LiDE 30 with the plustek backend. > > Chris Then the contrast option manipulates the lut, as well as the brightness option. The analog front end values are not touched. Ciao, Gerhard From adrianpj@users.sourceforge.net Wed Jan 14 22:44:06 2004 From: adrianpj@users.sourceforge.net (adrianpj@users.sourceforge.net) Date: Wed, 14 Jan 2004 23:44:06 +0100 Subject: [sane-devel] HP Scanjet 3690 support Message-ID: Hi! Henning, could you take a look to the hp3670 SnoopyPro logs? It seems to follow the low level protocol of the gl646; at least the protocol in genesys_bulk_write_register() (genesys_low.c:131): outdata[0] = BULK_OUT; /* 0x01 */ outdata[1] = BULK_REGISTER; /* 0x00 */ outdata[2] = 0x00; outdata[3] = 0x00; outdata[4] = (size & 0xff); /* length of the bulk data stuff */ outdata[5] = ((size >> 8) & 0xff); outdata[6] = ((size >> 16) & 0xff); outdata[7] = ((size >> 24) & 0xff); The logs are in http://www.alezan.org/hp3670/, in SnoopyPro binary format. I tried to use usblogdump in Linux but it doesn't work very well for me. I had to analyze them in Windoze using SnoopyPro. So maybe if sane-find-scanner.c ignores device descriptors and just probe the gl646 protocol using the present USB endpoints it will tell us if really HP3690, HP2300, HP2400 and maybe other scanners are based in such chipset? Cheers, Adrian P.J. From jarillon@abul.org Thu Jan 15 10:59:38 2004 From: jarillon@abul.org (Pierre Jarillon) Date: Thu, 15 Jan 2004 11:59:38 +0100 Subject: [sane-devel] Scanner EPSON Perfection 1670 Message-ID: <200401151159.38172.jarillon@abul.org> Wrote in french http://www.abul.org/article121.html Can be useful ... -- Pierre Jarillon - http://pjarillon.free.fr/ Vice-président de l'ABUL : http://abul.org/ From christopherlmarshall@yahoo.com Thu Jan 15 15:53:11 2004 From: christopherlmarshall@yahoo.com (Christopher Marshall) Date: Thu, 15 Jan 2004 07:53:11 -0800 (PST) Subject: [sane-devel] scanners with document feeders Message-ID: <20040115155311.4193.qmail@web41508.mail.yahoo.com> Can anyone recommend a scanner that works with sane and has a document feeder? Assuming there is such a scanner... I would like to be able to invoke scanimage so that it loads a new page, scans it, and exits. With that, it is a simple matter to write scripts to handle the naming of each separate image in different ways according to application. I am trying to improve my paper filing system at home to use less paper and more image files. Being able to put a stack of paper in a scanner and have it scan one page after another under the control of a bash script would be a god-send. Chris Marshall __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From anoah@pfeiffer.edu Thu Jan 15 16:19:51 2004 From: anoah@pfeiffer.edu (m. allan noah) Date: Thu, 15 Jan 2004 11:19:51 -0500 (EST) Subject: [sane-devel] scanners with document feeders In-Reply-To: <20040115155311.4193.qmail@web41508.mail.yahoo.com> Message-ID: my company does something similar to what you describe. we started out using scanimage called from a perl script to scan individual pages. but, we needed to monitor the status of various sensors and buttons in the hardware, which sane does not give access to. so now, we dont use sane, but for your purposes, it will work. scanner we use is fujitsu fi-4120C it has scsi and usb 1.1 ports, is very small, and quite tough. but it's pretty expensive (~900 bucks retail). the older scsi fujitsu's are pretty good too (3091, 3092, etc) though they tend to not support the range of resolutions of the newer models. they also sell a less expensive fi-4110, which seems pretty good, but it uses a completely different chip, and is not really suported by sane. allan On Thu, 15 Jan 2004, Christopher Marshall wrote: > Can anyone recommend a scanner that works with sane and has a document feeder? > > Assuming there is such a scanner... > > I would like to be able to invoke scanimage so that it loads a new page, scans it, and exits. > With that, it is a simple matter to write scripts to handle the naming of each separate image in > different ways according to application. > > I am trying to improve my paper filing system at home to use less paper and more image files. > Being able to put a stack of paper in a scanner and have it scan one page after another under the > control of a bash script would be a god-send. > > Chris Marshall > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > > -- "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 john@netpurgatory.com Thu Jan 15 16:38:40 2004 From: john@netpurgatory.com (John C. Vernaleo) Date: Thu, 15 Jan 2004 11:38:40 -0500 (EST) Subject: [sane-devel] scanners with document feeders In-Reply-To: <20040115155311.4193.qmail@web41508.mail.yahoo.com> References: <20040115155311.4193.qmail@web41508.mail.yahoo.com> Message-ID: I've been using an Epson Perfection 1640 with sane for a while. It has a document feeder although it gets stuck occasionally, so probably isn't suitable for very high volume scanning. I think it was in the $300 range. On Thu, 15 Jan 2004, Christopher Marshall wrote: > Can anyone recommend a scanner that works with sane and has a document feeder? > > Assuming there is such a scanner... > > I would like to be able to invoke scanimage so that it loads a new page, scans it, and exits. > With that, it is a simple matter to write scripts to handle the naming of each separate image in > different ways according to application. > > I am trying to improve my paper filing system at home to use less paper and more image files. > Being able to put a stack of paper in a scanner and have it scan one page after another under the > control of a bash script would be a god-send. > > Chris Marshall > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > > From christopherlmarshall@yahoo.com Thu Jan 15 17:21:41 2004 From: christopherlmarshall@yahoo.com (Christopher Marshall) Date: Thu, 15 Jan 2004 09:21:41 -0800 (PST) Subject: [sane-devel] scanners with document feeders In-Reply-To: Message-ID: <20040115172141.20587.qmail@web41505.mail.yahoo.com> That sounds perfect! As for high volume, I don't need that high. If I had a good shot at scanning 20 pages at a time, I'd be willing to spend $300 to get that capability. Thanks for the steer. So, how does sane-epson handle document feeding? If I invoke scanimage, would it feed one page, scan it, and exit? That would be perfect. Chris Marshall --- "John C. Vernaleo" wrote: > I've been using an Epson Perfection 1640 with sane for a while. It has a > document feeder although it gets stuck occasionally, so probably isn't > suitable for very high volume scanning. I think it was in the $300 > range. > __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From christopherlmarshall@yahoo.com Thu Jan 15 17:23:05 2004 From: christopherlmarshall@yahoo.com (Christopher Marshall) Date: Thu, 15 Jan 2004 09:23:05 -0800 (PST) Subject: [sane-devel] scanners with document feeders In-Reply-To: Message-ID: <20040115172305.98846.qmail@web41502.mail.yahoo.com> > scanner we use is fujitsu fi-4120C it has scsi and usb 1.1 ports, is > very small, and quite tough. but it's pretty expensive (~900 bucks > retail). the older scsi fujitsu's are pretty good too (3091, 3092, etc) > though they tend to not support the range of resolutions of the newer > models. > $900 is a bit steep for me. Thanks for pointing it out, though. Chris Marshall __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From kladit@t-online.de Thu Jan 15 17:28:00 2004 From: kladit@t-online.de (Klaus Dittrich) Date: Thu, 15 Jan 2004 18:28:00 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 Message-ID: <20040115172800.GA648@xeon2.local.here> linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 After power-up of the scanner sane-find-scanner finds the sanner. sane-backends-1.0.13 scanimage -d epson:/dev/usb/scanner0 --test hangs. After scanimage was killed neither sane-find-scanner nor scanimage -L -d epson:/dev/usb/scanner0 find the sanner again. That is because of a oops of the usb-driver. Jan 15 15:37:44 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:37:59 xeon2 kernel: usb 2-1: USB disconnect, address 2 Jan 15 15:38:17 xeon2 kernel: hub 2-0:1.0: new USB device on port 1, assigned address 3 Jan 15 15:38:18 xeon2 /sbin/hotplug: Detected usb product 4b8/10a/106 Jan 15 15:38:18 xeon2 /sbin/hotplug: detected Epson_Perfection_1640SU Jan 15 15:38:18 xeon2 /sbin/hotplug: /proc/bus/usb/002/003 Jan 15 15:38:18 xeon2 /sbin/hotplug: Needed actions are done by the scanner driver of the kernel. Jan 15 15:38:18 xeon2 kernel: drivers/usb/image/scanner.c: USB scanner device (0x04b8/0x010a) now attached to usb/scanner0 Jan 15 15:40:09 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:41:09 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:43:09 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:43:42 xeon2 kernel: request_module: failed /sbin/modprobe -- net-pf-10. error = 256 Jan 15 15:44:23 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:45:23 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:47:23 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:49:23 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:51:23 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:53:23 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:53:57 xeon2 kernel: drivers/usb/image/scanner.c: read_scanner(48): funky result:-71. Consult Documentation/usb/scanner.txt. Jan 15 15:53:57 xeon2 kernel: usb 2-1: USB disconnect, address 3 Jan 15 15:53:57 xeon2 kernel: Unable to handle kernel NULL pointer dereference at virtual address 0000001e Jan 15 15:53:57 xeon2 kernel: printing eip: Jan 15 15:53:57 xeon2 kernel: c03b0845 Jan 15 15:53:57 xeon2 kernel: *pde = 00000000 Jan 15 15:53:57 xeon2 kernel: Oops: 0000 [#1] Jan 15 15:53:57 xeon2 kernel: CPU: 1 Jan 15 15:53:57 xeon2 kernel: EIP: 0060:[] Not tainted Jan 15 15:53:57 xeon2 kernel: EFLAGS: 00010282 Jan 15 15:53:57 xeon2 kernel: EIP is at disconnect_scanner+0x2c/0x66 Jan 15 15:53:57 xeon2 kernel: eax: c26e1080 ebx: c26e1094 ecx: c03b0819 edx: 00000000 Jan 15 15:53:57 xeon2 kernel: esi: 00000000 edi: f6d729ac ebp: c058e7dc esp: f7d55e50 Jan 15 15:53:57 xeon2 kernel: ds: 007b es: 007b ss: 0068 Jan 15 15:53:57 xeon2 kernel: Process khubd (pid: 18, threadinfo=f7d54000 task=f7d57940) Jan 15 15:53:57 xeon2 kernel: Stack: c26e1080 c058e858 c26e1080 c058e8c0 c0390d0b c26e1080 c26e1080 c26e10c0 Jan 15 15:53:57 xeon2 kernel: c26e1094 c058e8e0 c02d9a2b c26e1094 c26e10c0 f6d729c4 f6d72980 c03b01b6 Jan 15 15:53:57 xeon2 kernel: c26e1094 c26e1080 f6d729c4 c058e7f0 00000000 00000000 c026c843 f6d729c4 Jan 15 15:53:57 xeon2 kernel: Call Trace: Jan 15 15:53:57 xeon2 kernel: [] usb_unbind_interface+0x7b/0x7d Jan 15 15:53:57 xeon2 kernel: [] device_release_driver+0x64/0x66 Jan 15 15:53:57 xeon2 kernel: [] destroy_scanner+0x51/0xa8 Jan 15 15:53:57 xeon2 kernel: [] kobject_cleanup+0x98/0x9a Jan 15 15:53:57 xeon2 kernel: [] usb_unbind_interface+0x7b/0x7d Jan 15 15:53:57 xeon2 kernel: [] device_release_driver+0x64/0x66 Jan 15 15:53:57 xeon2 kernel: [] bus_remove_device+0x56/0x98 Jan 15 15:53:57 xeon2 kernel: [] device_del+0x5f/0x9d Jan 15 15:53:57 xeon2 kernel: [] usb_disable_device+0x71/0xac Jan 15 15:53:57 xeon2 kernel: [] usb_disconnect+0x9c/0xeb Jan 15 15:53:57 xeon2 kernel: [] hub_port_connect_change+0x311/0x316 Jan 15 15:53:57 xeon2 kernel: [] hub_port_status+0x45/0xb0 Jan 15 15:53:57 xeon2 kernel: [] hub_events+0x2e9/0x364 Jan 15 15:53:57 xeon2 kernel: [] hub_thread+0x2d/0xe8 Jan 15 15:53:57 xeon2 kernel: [] ret_from_fork+0x6/0x14 Jan 15 15:53:57 xeon2 kernel: [] default_wake_function+0x0/0x12 Jan 15 15:53:57 xeon2 kernel: [] hub_thread+0x0/0xe8 Jan 15 15:53:57 xeon2 kernel: [] kernel_thread_helper+0x5/0xb Jan 15 15:53:57 xeon2 kernel: Jan 15 15:53:57 xeon2 kernel: Code: 80 7e 1e 00 75 27 85 f6 74 17 8d 46 44 8b 5c 24 08 8b 74 24 No such problems with sane-backends-1.0.12. (yes I always removed all that was installed before) Hope that help to fix the bugs. (please cc me, I'm not subscribed) -- Klaus ~ ~ From john@netpurgatory.com Thu Jan 15 17:41:22 2004 From: john@netpurgatory.com (John C. Vernaleo) Date: Thu, 15 Jan 2004 12:41:22 -0500 (EST) Subject: [sane-devel] scanners with document feeders In-Reply-To: <20040115172141.20587.qmail@web41505.mail.yahoo.com> References: <20040115172141.20587.qmail@web41505.mail.yahoo.com> Message-ID: I just checked (since I usually use xsane instead of scanimage), but when I do: scanimage --source "Automatic Document Feeder" > image.pnm it scans one page from the feeder, then gives me the prompt back. And 20 pages work fine in the feeder (the manual says more than that, but 20 seems to be about the most I can put in without increasing the number of jams). I have already scanned a few hundred pages of notes from old grad school classes I took with this scanner, and it (and sane, so thanks guys) has done a great job so far. John On Thu, 15 Jan 2004, Christopher Marshall wrote: > That sounds perfect! > > As for high volume, I don't need that high. If I had a good shot at scanning 20 pages at a time, > I'd be willing to spend $300 to get that capability. > > Thanks for the steer. > > So, how does sane-epson handle document feeding? If I invoke scanimage, would it feed one page, > scan it, and exit? That would be perfect. > > Chris Marshall > > --- "John C. Vernaleo" wrote: > > I've been using an Epson Perfection 1640 with sane for a while. It has a > > document feeder although it gets stuck occasionally, so probably isn't > > suitable for very high volume scanning. I think it was in the $300 > > range. > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > From mattias@kregert.se Thu Jan 15 11:06:44 2004 From: mattias@kregert.se (Mattias Kregert) Date: Thu, 15 Jan 2004 12:06:44 +0100 Subject: [sane-devel] Recommendation: Image deskewing Message-ID: <022c01c3db57$a97a2d20$09000a0a@kregert.se> I guess most of you have the same problem as I had: how to deskew = scanned images. I use Leptonica, it is fast and free (as in free beer): Leptonica = (leptonlib) www.leptonica.com It reads/writes pnm, jpg, png, bmp, detects angle and deskews, crops, = scales, transforms, convolves, blurs, maps colors, draws, merges, = enhances, despeckles, rotates, inverts, duplicates, emboss, oilify, = whatever. More functions than pnm*/pbm*/pgm*/ppm*, uses less memory than = ImageMagick... If you need to deskew for free, then try this. /Mattias From avv.GiovanniRocchi Thu Jan 15 17:00:04 2004 From: avv.GiovanniRocchi (avv.GiovanniRocchi) Date: Thu, 15 Jan 2004 18:00:04 +0100 Subject: [sane-devel] scanners with document feeders In-Reply-To: References: Message-ID: <4399F577-477C-11D8-B915-000A95A08EA4@studiolegalegrassi.it> Il giorno 15/gen/04, alle 17:19, m. allan noah ha scritto: > scanner we use is fujitsu fi-4120C it has scsi and usb 1.1 ports Allan: Are you still converting fuijtsu backend to use sanei_thread instead of fork? Ciao Giovanni From henning@meier-geinitz.de Thu Jan 15 20:08:54 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 15 Jan 2004 21:08:54 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040114092159.33918.qmail@web10404.mail.yahoo.com> References: <20040113204210.GP1926@meier-geinitz.de> <20040114092159.33918.qmail@web10404.mail.yahoo.com> Message-ID: <20040115200854.GA1768@meier-geinitz.de> Hi, I'm cc'ing sane-devel because I'm not a HP guy :-) On Wed, Jan 14, 2004 at 01:21:59AM -0800, Lone Directory wrote: > It might sound a stupid question, but is there any > reason why we assume that HP is not willing to tell us > some technical info on their HW? > At the end if we make SANE work with it it could > increase the adoption of their scanner? I might sound > romantic, but did anyone tried to ask some technical > details to them? If not I'll give it a try... I haven't ever personally tried to contact HP. Trying doesn't harm I guess :-) Bye, Henning From henning@meier-geinitz.de Thu Jan 15 20:17:30 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 15 Jan 2004 21:17:30 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: References: Message-ID: <20040115201730.GB1768@meier-geinitz.de> Hi, On Wed, Jan 14, 2004 at 11:44:06PM +0100, adrianpj@users.sourceforge.net wrote: > Henning, could you take a look to the hp3670 SnoopyPro logs? It seems to > follow the low level protocol of the gl646; at least the protocol in > genesys_bulk_write_register() (genesys_low.c:131): > > outdata[0] = BULK_OUT; /* 0x01 */ > outdata[1] = BULK_REGISTER; /* 0x00 */ > outdata[2] = 0x00; > outdata[3] = 0x00; > outdata[4] = (size & 0xff); /* length of the bulk data stuff */ > outdata[5] = ((size >> 8) & 0xff); > outdata[6] = ((size >> 16) & 0xff); > outdata[7] = ((size >> 24) & 0xff); If that were all that's similar I wouldn't be sure. I think I have seen SCSI-over-USB like protocols that are similar. Are the values used for the actual control message the same (they can be found i the "setup packet")? Do the register numbers and values make sense according to the gl646 spec? > The logs are in http://www.alezan.org/hp3670/, in SnoopyPro binary format. I > tried to use usblogdump in Linux but it doesn't work very well for me. I had to > analyze them in Windoze using SnoopyPro. I'll check later. I don't have a working Windows or WINE installation currently. > So maybe if sane-find-scanner.c ignores device descriptors and just probe > the gl646 protocol using the present USB endpoints it will tell us if really > HP3690, HP2300, HP2400 and maybe other scanners are based in such chipset? You can try that for testing. But this can't be used in the published version because control messages like that will confuse non-gl646 scanners. That's the reason we use the descriptor to identify the chipset first and then send specific commands. That's not absolutely safe either but better then writing directly. Bye, Henning From henning@meier-geinitz.de Thu Jan 15 20:19:28 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 15 Jan 2004 21:19:28 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040115172800.GA648@xeon2.local.here> References: <20040115172800.GA648@xeon2.local.here> Message-ID: <20040115201928.GC1768@meier-geinitz.de> Hi, On Thu, Jan 15, 2004 at 06:28:00PM +0100, Klaus Dittrich wrote: > linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 > > After power-up of the scanner sane-find-scanner finds the sanner. > > sane-backends-1.0.13 scanimage -d epson:/dev/usb/scanner0 --test hangs. > > After scanimage was killed neither sane-find-scanner nor scanimage -L -d epson:/dev/usb/scanner0 > find the sanner again. > > That is because of a oops of the usb-driver. It's actually an oops in the kernel scanner driver. I've seen another similar report and will have a look at it. Until now it didn't happen here but I don't use SMP. Does using libusb instead work for you? Bye, Henning From bertrik@zonnet.nl Thu Jan 15 21:00:35 2004 From: bertrik@zonnet.nl (Bertrik Sikken) Date: Thu, 15 Jan 2004 22:00:35 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: References: Message-ID: <4006FF73.2000006@zonnet.nl> adrianpj@users.sourceforge.net wrote: > Hi! > > Henning, could you take a look to the hp3670 SnoopyPro logs? It seems to > follow the low level protocol of the gl646; at least the protocol in > genesys_bulk_write_register() (genesys_low.c:131): > > outdata[0] = BULK_OUT; /* 0x01 */ > outdata[1] = BULK_REGISTER; /* 0x00 */ > outdata[2] = 0x00; > outdata[3] = 0x00; > outdata[4] = (size & 0xff); /* length of the bulk data stuff */ > outdata[5] = ((size >> 8) & 0xff); > outdata[6] = ((size >> 16) & 0xff); > outdata[7] = ((size >> 24) & 0xff); > > The logs are in http://www.alezan.org/hp3670/, in SnoopyPro binary format. I > tried to use usblogdump in Linux but it doesn't work very well for me. I had to > analyze them in Windoze using SnoopyPro. > > So maybe if sane-find-scanner.c ignores device descriptors and just probe > the gl646 protocol using the present USB endpoints it will tell us if really > HP3690, HP2300, HP2400 and maybe other scanners are based in such chipset? I know this format. It's also used in some other USB scanners to start bulk transfers for image data (haven't been able to look at the other logfiles, they're binary, do you have text files?). You may have some luck searching the archives for canon 630u, hewlett packard hp2300c, hp3300c, hp3400c, hp4300c, pacific image electronics primefilm 1800i, agfa snapscan touch. There are some perl-scripts floating around that can do simple analysis of the original USB snoopy text files, to make them much more readable. I also have a modified version of the original snoopy that does not log USB bulk transfer contents, thereby preventing log overflow. Bertrik From anoah@pfeiffer.edu Thu Jan 15 21:12:57 2004 From: anoah@pfeiffer.edu (m. allan noah) Date: Thu, 15 Jan 2004 16:12:57 -0500 (EST) Subject: [sane-devel] scanners with document feeders In-Reply-To: <4399F577-477C-11D8-B915-000A95A08EA4@studiolegalegrassi.it> Message-ID: as soon as i find a spare minute :) allan On Thu, 15 Jan 2004, avv. Giovanni Rocchi wrote: > Il giorno 15/gen/04, alle 17:19, m. allan noah ha scritto: > > > scanner we use is fujitsu fi-4120C it has scsi and usb 1.1 ports > > Allan: > Are you still converting fuijtsu backend to use sanei_thread instead > of fork? > > Ciao > > Giovanni > > > -- "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 kladit@t-online.de Thu Jan 15 21:19:49 2004 From: kladit@t-online.de (Klaus Dittrich) Date: Thu, 15 Jan 2004 22:19:49 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040115201928.GC1768@meier-geinitz.de> References: <20040115172800.GA648@xeon2.local.here> <20040115201928.GC1768@meier-geinitz.de> Message-ID: <20040115211724.GA12829@xeon2.local.here> On Thu, Jan 15, 2004 at 09:19:28PM +0100, Henning Meier-Geinitz wrote: > Hi, > > On Thu, Jan 15, 2004 at 06:28:00PM +0100, Klaus Dittrich wrote: > > linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 > > > > After power-up of the scanner sane-find-scanner finds the sanner. > > > > sane-backends-1.0.13 scanimage -d epson:/dev/usb/scanner0 --test hangs. > > > > After scanimage was killed neither sane-find-scanner nor scanimage -L -d epson:/dev/usb/scanner0 > > find the sanner again. > > > > That is because of a oops of the usb-driver. > > It's actually an oops in the kernel scanner driver. I've seen another > similar report and will have a look at it. Until now it didn't happen > here but I don't use SMP. > > Does using libusb instead work for you? > > Bye, > Henning > > -- > 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-request@lists.alioth.debian.org Hi Henning, as far as I know libusb in no more necessary with linunx-2.6 so I have not installed it. I think it would things confuse even more. I have no probles to go with sane-backends-1.0.12 in the meantime. If you want test your changes I will do. I have made script to simplify build and install, so a switch between versions is a matter of a few seconds. -- Klaus From henning@meier-geinitz.de Thu Jan 15 21:30:53 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 15 Jan 2004 22:30:53 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040115211724.GA12829@xeon2.local.here> References: <20040115172800.GA648@xeon2.local.here> <20040115201928.GC1768@meier-geinitz.de> <20040115211724.GA12829@xeon2.local.here> Message-ID: <20040115213053.GA2282@meier-geinitz.de> Hi, On Thu, Jan 15, 2004 at 10:19:49PM +0100, Klaus Dittrich wrote: > > Does using libusb instead work for you? > as far as I know libusb in no more necessary with linunx-2.6 > so I have not installed it. In fact it's more the other way round. Ther kernel scanner driver is marked "obsolete" so it may go away anytime soon. So your only choice is to use libusb in future. Programs could also access USB devices directly by uing /proc/bus/usb/*, but libusb is just more portable and does this low level suff for us. > I think it would things confuse even more. If libusb worked, I would be sure that it's a bug in the kernel scanner driver and not the kernel USB low level drivers. > I have no probles to go with sane-backends-1.0.12 in the meantime. Tha one works? I don't think that there are any USB realted changes that may be able to cause oopses. Well, nothing should be able to generate kernels oopses anyway. > If you want test your changes I will do. It will take some time until I've found the bug in the kernel. Don't expect anything in the next 10 days. > I have made script to simplify build and install, > so a switch between versions is a matter of a few seconds. The kernel or sane-backends? Isn't it just a make; make install for both cases anyway? If you want to test libusb, just make sure that it's available (including its header files) when SANE is built. Bye, Henning From klemens.dickbauer@msk-informatik.at Thu Jan 15 22:07:02 2004 From: klemens.dickbauer@msk-informatik.at (Klemens Dickbauer) Date: Thu, 15 Jan 2004 23:07:02 +0100 Subject: [sane-devel] scanners with document feeders In-Reply-To: <20040115172141.20587.qmail@web41505.mail.yahoo.com> References: <20040115172141.20587.qmail@web41505.mail.yahoo.com> Message-ID: <200401152307.03078.klemens.dickbauer@msk-informatik.at> Hi Chris! I'm also using an Epson Perfection 1200 with the ADF option for several years for pretty the same purpose as you do. I am satisfied with its performance, only a hissing noise when it's idle is a little bit disturbing... (-; If you're going to purchase one if its sucessors and are interested, i can send you the script i'm using. at the moment i am also writing a java application to scan multiple-page documents in an easy way... ciao, ~klemens Am Donnerstag, 15. Januar 2004 18:21 schrieb Christopher Marshall: > That sounds perfect! > > As for high volume, I don't need that high. If I had a good shot at > scanning 20 pages at a time, I'd be willing to spend $300 to get that > capability. > > Thanks for the steer. > > So, how does sane-epson handle document feeding? If I invoke scanimage, > would it feed one page, scan it, and exit? That would be perfect. > > Chris Marshall > > --- "John C. Vernaleo" wrote: > > I've been using an Epson Perfection 1640 with sane for a while. It has a > > document feeder although it gets stuck occasionally, so probably isn't > > suitable for very high volume scanning. I think it was in the $300 > > range. > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Klemens Dickbauer, MSK Informatik GesmbH mail: klemens.dickbauer@msk-informatik.at smail: A-1160 Wien, Zeillergasse 5/309 fon: +43 699 18181919 From khk@khk.net Thu Jan 15 22:32:41 2004 From: khk@khk.net (Karl Heinz Kremer) Date: Thu, 15 Jan 2004 17:32:41 -0500 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040115213053.GA2282@meier-geinitz.de> References: <20040115172800.GA648@xeon2.local.here> <20040115201928.GC1768@meier-geinitz.de> <20040115211724.GA12829@xeon2.local.here> <20040115213053.GA2282@meier-geinitz.de> Message-ID: If you want to try libusb, I have a page that describes the steps necessary to get it configured: http://khk.net/sane/libusb.html On Jan 15, 2004, at 4:30 PM, Henning Meier-Geinitz wrote: > Hi, > > On Thu, Jan 15, 2004 at 10:19:49PM +0100, Klaus Dittrich wrote: >>> Does using libusb instead work for you? > >> as far as I know libusb in no more necessary with linunx-2.6 >> so I have not installed it. > > In fact it's more the other way round. Ther kernel scanner driver is > marked "obsolete" so it may go away anytime soon. So your only choice > is to use libusb in future. > > Programs could also access USB devices directly by uing > /proc/bus/usb/*, but libusb is just more portable and does this low > level suff for us. > >> I think it would things confuse even more. > > If libusb worked, I would be sure that it's a bug in the kernel > scanner driver and not the kernel USB low level drivers. > >> I have no probles to go with sane-backends-1.0.12 in the meantime. > > Tha one works? I don't think that there are any USB realted changes > that may be able to cause oopses. Well, nothing should be able to > generate kernels oopses anyway. > >> If you want test your changes I will do. > > It will take some time until I've found the bug in the kernel. Don't > expect anything in the next 10 days. > >> I have made script to simplify build and install, >> so a switch between versions is a matter of a few seconds. > > The kernel or sane-backends? Isn't it just a make; make install for > both > cases anyway? > > If you want to test libusb, just make sure that it's available > (including its header files) when SANE is built. > > Bye, > Henning > > -- > 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-request@lists.alioth.debian.org From olaf@epkowa.co.jp Fri Jan 16 01:27:17 2004 From: olaf@epkowa.co.jp (Olaf Meeuwissen) Date: Fri, 16 Jan 2004 10:27:17 +0900 Subject: [sane-devel] [Announce] Image Scan! for Linux (1.6.0) released In-Reply-To: <1073963701.4558.90.camel@tao> (Julian Gough's message of "13 Jan 2004 12:15:01 +0900") References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> <1073960870.4410.4.camel@localhost.localdomain> <873caktv64.fsf@zen.epkowa.co.jp> <1073963701.4558.90.camel@tao> Message-ID: <87k73shedm.fsf_-_@zen.epkowa.co.jp> Hello everyone, Although the announcement at http://www.epkowa.co.jp/english/linux_e/index.html has not been updated yet at the time of writing, this is to let you all informally know that a new release of "Image Scan! for Linux" is now available from http://www.epkowa.co.jp/english/linux_e/dl_scan.html and http://www.epkowa.co.jp/linux/dl_scan.html (in Japanese) The major changes are: - added support for the GT-15000 (aka ES-7000H) - added support for the Perfection 3170 PHOTO (aka GT-9400UF) - upgraded the SANE bits to sane-backends-1.0.12 The latter change means that "Image Scan! for Linux" now also should work with the Stylus CX5100/CX5200 (aka CC-600PX) although these have not been put through testing yet. Besides that a number of bugs have been fixed. Most notable amongst them is a serious memory corruption problem for the Perfection 1260 (aka GT-7300). TPU detection for this scanner should also be fixed, but there still is a known problem with the RPM packages with regards to this (somehow wrapping up a perfectly working iscan breaks the TPU detection; if you have trouble, try rebuilding from source). Taking a peek at the Japanese version at http://www.epkowa.co.jp/linux/index.html shows that support for the CC-600PX and PM-A850 (so far only available in Japan) is slated for release at the end of the month. That release will make the support for the Stylus CX5100/CX5200 officially tested. -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From olaf@epkowa.co.jp Fri Jan 16 03:04:27 2004 From: olaf@epkowa.co.jp (Olaf Meeuwissen) Date: Fri, 16 Jan 2004 12:04:27 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <1073963701.4558.90.camel@tao> (Julian Gough's message of "13 Jan 2004 12:15:01 +0900") References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> <1073960870.4410.4.camel@localhost.localdomain> <873caktv64.fsf@zen.epkowa.co.jp> <1073963701.4558.90.camel@tao> Message-ID: <871xq0h9vo.fsf@zen.epkowa.co.jp> Sorry for the late follow-up. Julian Gough writes: > On Tue, 2004-01-13 at 11:54, Olaf Meeuwissen wrote: >> >> > Same old, same old. >> > I just get No scanners were identified. >> >> Did you also update the firmware line near the top of snapscan.conf. >> Note that it can only handle *one* such line. If you dumped your >> esfw3e.bin in /usr/local/share, you should have >> >> firmware /usr/local/share/esfw3e.bin > > Yes. /home/gough/download/ESFW3E.BIN that's where it is >> You should be using "usb 0x04b8 0x0120". That is assuming the USB >> product ID is 0x0120 (I don't remember off the top of my head). > > Yes. as reported by lsusb, and sane-find-scanner. That's what I've been > using. > > So it's a dead-end then? I would not (yet) call it a dead-end. It just doesn't work for you at this point in time. It may very well be that a couple of tweaks here and there in the snapscan backend will make it work. Unfortunately, I am not familiar with this backend and lack time and access to a GT-7400. BTW, I haven't seen any 'SANE_DEBUG_SNAPSCAN=128 scanimage' output fly by, IIRC. Maybe that can shed some light on your problems. -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From christopherlmarshall@yahoo.com Fri Jan 16 15:04:16 2004 From: christopherlmarshall@yahoo.com (Christopher Marshall) Date: Fri, 16 Jan 2004 07:04:16 -0800 (PST) Subject: [sane-devel] scanners with document feeders In-Reply-To: <200401152307.03078.klemens.dickbauer@msk-informatik.at> Message-ID: <20040116150416.34125.qmail@web41501.mail.yahoo.com> Thanks! I would be interested to see your script. What's the exact model number on your epson? Chris Marshall --- Klemens Dickbauer wrote: > Hi Chris! > > I'm also using an Epson Perfection 1200 with the ADF option for several years > for pretty the same purpose as you do. I am satisfied with its performance, > only a hissing noise when it's idle is a little bit disturbing... (-; > If you're going to purchase one if its sucessors and are interested, i can > send you the script i'm using. > at the moment i am also writing a java application to scan multiple-page > documents in an easy way... > > ciao, > ~klemens > __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From kladit@t-online.de Fri Jan 16 15:34:07 2004 From: kladit@t-online.de (Klaus Dittrich) Date: Fri, 16 Jan 2004 16:34:07 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040115201928.GC1768@meier-geinitz.de> References: <20040115172800.GA648@xeon2.local.here> <20040115201928.GC1768@meier-geinitz.de> Message-ID: <20040116153407.GA2115@xeon2.local.here> Using libusb I get no errors. So the bug seems to be with the kernel scanner driver. I noticed two system things. First /sbin/hotplug is now called every time I do a scanimage -L or -f. Second every time I switch the scanner on or off the device number gets incremented. scanimage -L now works. (worked not in sane-backend-1.0.12) device `epson:libusb:002:005' is a Epson Perfection1640 flatbed scanner The ADF is not detectable ? scanimage -d epson:libusb:002:005 --test works too. scanimage -d epson:libusb:002:005 --source 'Automatic Document Feeder' does _not_ work. After a long time I get .. scanimage: sane_start: Error during device I/O Any ideas ? -- Klaus From SCOTTNAVARRE@peoplepc.com Fri Jan 16 06:44:13 2004 From: SCOTTNAVARRE@peoplepc.com (Scott Navarre) Date: Thu, 15 Jan 2004 23:44:13 -0700 Subject: [sane-devel] How to set permissions on my scasnner device files? Message-ID: <001001c3dbfc$2868bc60$0100a8c0@cybertron> This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C3DBC1.7ACC8260 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I am setting up an Epson Perfection 1260/Photo scanner thru USB (uses = the Plustek driver). I have upgraded my Red Hat 8.0's SANE backend = drivers to version 1.0.13. And now, I can see the scanner using both 'scanimage -L' and = 'sane-find-scanner', as root only (I can also use 'xsane' as root only). = If I am not root, 'scanimage -L' finds nothing, and = 'sane-find-scanners' finds a scanner on the USB but doesn't identify it. = The man page said something about not having the permissions of the = device file set right if this happens. The thing is that when it is displayed, it only shows 'libusb:001:004' = as the device name, not something in '/dev' (such as the = '/dev/usbscanner0' or '/dev/sg0' as mentioned in the man page). So how = or where do I go to change the permissions??? Out of frustration, I did = a 'chmod -R 777 /dev' but it didn't help... Here are my outputs of the 2 commands by root: [root@tepeyac root]# scanimage -L = =20 device `plustek:libusb:001:004' is a Epson Perfection 1260/Photo USB = flatbed sca nner = =20 [root@tepeyac root]# sane-find-scanner = =20 = =20 # No SCSI scanners found. If you expected something different, make = sure that=20 # you have loaded a SCSI driver for your SCSI adapter. = =20 = =20 found USB scanner (vendor=3D0x04b8 [EPSON], product=3D0x011d [EPSON = Scanner], chip=3DL M9832/3) at libusb:001:004 = =20 # Your USB scanner was (probably) detected. It may or may not be = supported by=20 # SANE. Try scanimage -L and read the backend's manpage. = =20 = =20 # Scanners connected to the parallel port or other proprietary ports = can't be=20 # detected by this program. = =20 [root@tepeyac root]# And here are my outputs of the same 2 commands by a non-root user: [claudia@tepeyac claudia]$ scanimage -L = =20 = =20 No scanners were identified. If you were expecting something different, = =20 check that the scanner is plugged in, turned on and detected by the = =20 sane-find-scanner tool (if appropriate). Please read the documentation = =20 which came with this software (README, FAQ, manpages). = =20 [claudia@tepeyac claudia]$ sane-find-scanner = =20 = =20 # No SCSI scanners found. If you expected something different, make = sure that=20 # you have loaded a SCSI driver for your SCSI adapter. = =20 = =20 found USB scanner (vendor=3D0x04b8, product=3D0x011d, chip=3DLM983x?) at = libusb:001:00 4 = =20 # Your USB scanner was (probably) detected. It may or may not be = supported by=20 # SANE. Try scanimage -L and read the backend's manpage. = =20 = =20 # Scanners connected to the parallel port or other proprietary ports = can't be=20 # detected by this program. = =20 = =20 # You may want to run this program as root to find all devices. Once = you =20 # found the scanner devices, be sure to adjust access permissions as = =20 # necessary. = =20 [claudia@tepeyac claudia]$ Thanks in advance, Scott Navarre ------=_NextPart_000_000D_01C3DBC1.7ACC8260 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
  I am setting up an Epson = Perfection=20 1260/Photo scanner thru USB (uses the Plustek driver).  I have = upgraded my=20 Red Hat 8.0's SANE backend drivers to version 1.0.13.
  And now, I can see the scanner = using both=20 'scanimage -L' and 'sane-find-scanner', as root only (I can also use = 'xsane' as=20 root only).  If I am not root, 'scanimage -L' finds nothing, and=20 'sane-find-scanners' finds a scanner on the USB but doesn't identify = it. =20 The man page said something about not having the permissions of the = device file=20 set right if this happens.
  The thing is that when it is = displayed, it=20 only shows 'libusb:001:004' as the device name, not something in '/dev' = (such as=20 the '/dev/usbscanner0' or '/dev/sg0' as mentioned in the man = page).  So how=20 or where do I go to change the permissions???  Out of frustration, = I did a=20 'chmod -R 777 /dev' but it didn't help...
 
  Here are my outputs of the 2=20 commands by root:
 
[root@tepeyac root]# scanimage=20 -L            = ;            =             &= nbsp;         =20
device `plustek:libusb:001:004' is a Epson Perfection 1260/Photo USB = flatbed=20 sca
nner          &n= bsp;           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;   =20
[root@tepeyac root]# =20 sane-find-scanner         &n= bsp;           &nb= sp;           &nbs= p;      =20
           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;      =20
  # No SCSI scanners found. If you expected something = different, make=20 sure that
  # you have loaded a SCSI driver for your SCSI=20 adapter.           = ;            = =20
           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;      =20
found USB scanner (vendor=3D0x04b8 [EPSON], product=3D0x011d [EPSON = Scanner],=20 chip=3DL
M9832/3) at=20 libusb:001:004          = ;            =             &= nbsp;           &n= bsp;      =20
  # Your USB scanner was (probably) detected. It may or may not = be=20 supported by
  # SANE. Try scanimage -L and read the backend's=20 manpage.           = ;          =20
           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;      =20
  # Scanners connected to the parallel port or other = proprietary ports=20 can't be
  # detected by this=20 program.           = ;            =             &= nbsp;           &n= bsp;  =20
[root@tepeyac root]#
 
  And here are my outputs of the = same 2=20 commands by a non-root user:
 
[claudia@tepeyac claudia]$ = scanimage=20 -L            = ;            =             &= nbsp;   =20
           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;      =20
No scanners were identified. If you were expecting something=20 different,        
check = that the=20 scanner is plugged in, turned on and detected by=20 the           &nbs= p;=20
sane-find-scanner tool (if appropriate). Please read the=20 documentation          =
which=20 came with this software (README, FAQ,=20 manpages).          &nb= sp;           &nbs= p;  =20
[claudia@tepeyac claudia]$=20 sane-find-scanner         &n= bsp;           &nb= sp;           &nbs= p; =20
           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;      =20
  # No SCSI scanners found. If you expected something = different, make=20 sure that
  # you have loaded a SCSI driver for your SCSI=20 adapter.           = ;            = =20
           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;      =20
found USB scanner (vendor=3D0x04b8, product=3D0x011d, = chip=3DLM983x?) at=20 libusb:001:00
4         &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =         =20
  # Your USB scanner was (probably) detected. It may or may not = be=20 supported by
  # SANE. Try scanimage -L and read the backend's=20 manpage.           = ;          =20
           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;      =20
  # Scanners connected to the parallel port or other = proprietary ports=20 can't be
  # detected by this=20 program.           = ;            =             &= nbsp;           &n= bsp;  =20
           &nb= sp;           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;      =20
  # You may want to run this program as root to find all = devices. Once=20 you     
  # found the scanner = devices, be=20 sure to adjust access permissions=20 as         
  #=20 necessary.          &nb= sp;           &nbs= p;            = ;            =             &= nbsp;     =20
[claudia@tepeyac claudia]$
 
Thanks in advance,
  Scott = Navarre
------=_NextPart_000_000D_01C3DBC1.7ACC8260-- From kladit@t-online.de Fri Jan 16 19:33:27 2004 From: kladit@t-online.de (Klaus Dittrich) Date: Fri, 16 Jan 2004 20:33:27 +0100 Subject: [sane-devel] How to set permissions on my scasnner device files? In-Reply-To: <001001c3dbfc$2868bc60$0100a8c0@cybertron> References: <001001c3dbfc$2868bc60$0100a8c0@cybertron> Message-ID: <20040116193327.GA27345@xeon2.local.here> On Thu, Jan 15, 2004 at 11:44:13PM -0700, Scott Navarre wrote: > Hi, > > I am setting up an Epson Perfection 1260/Photo scanner thru USB (uses the Plustek driver). I have upgraded my Red Hat 8.0's SANE backend drivers to version 1.0.13. > And now, I can see the scanner using both 'scanimage -L' and 'sane-find-scanner', as root only (I can also use 'xsane' as root only). If I am not root, 'scanimage -L' finds nothing, and 'sane-find-scanners' finds a scanner on the USB but doesn't identify it. The man page said something about not having the permissions of the device file set right if this happens. > The thing is that when it is displayed, it only shows 'libusb:001:004' as the device name, not something in '/dev' (such as the '/dev/usbscanner0' or '/dev/sg0' as mentioned in the man page). So how or where do I go to change the permissions??? Out of frustration, I did a 'chmod -R 777 /dev' but it didn't help... > > Here are my outputs of the 2 commands by root: > > [root@tepeyac root]# scanimage -L > device `plustek:libusb:001:004' is a Epson Perfection 1260/Photo USB flatbed sca > nner > [root@tepeyac root]# sane-find-scanner > > # No SCSI scanners found. If you expected something different, make sure that > # you have loaded a SCSI driver for your SCSI adapter. > > found USB scanner (vendor=0x04b8 [EPSON], product=0x011d [EPSON Scanner], chip=L > M9832/3) at libusb:001:004 > # Your USB scanner was (probably) detected. It may or may not be supported by > # SANE. Try scanimage -L and read the backend's manpage. > > # Scanners connected to the parallel port or other proprietary ports can't be > # detected by this program. > [root@tepeyac root]# > > And here are my outputs of the same 2 commands by a non-root user: > > [claudia@tepeyac claudia]$ scanimage -L > > No scanners were identified. If you were expecting something different, > check that the scanner is plugged in, turned on and detected by the > sane-find-scanner tool (if appropriate). Please read the documentation > which came with this software (README, FAQ, manpages). > [claudia@tepeyac claudia]$ sane-find-scanner > > # No SCSI scanners found. If you expected something different, make sure that > # you have loaded a SCSI driver for your SCSI adapter. > > found USB scanner (vendor=0x04b8, product=0x011d, chip=LM983x?) at libusb:001:00 > 4 > # Your USB scanner was (probably) detected. It may or may not be supported by > # SANE. Try scanimage -L and read the backend's manpage. > > # Scanners connected to the parallel port or other proprietary ports can't be > # detected by this program. > > # You may want to run this program as root to find all devices. Once you > # found the scanner devices, be sure to adjust access permissions as > # necessary. > [claudia@tepeyac claudia]$ > > Thanks in advance, > Scott Navarre In /etc/fstab change to none /proc/bus/usb usbfs defaults,devmode=0666 0 0 Source of information : Henning Meier-Geinitz + man sane-usb -- Klaus From jimquigley9@eircom.net Sat Jan 17 01:52:18 2004 From: jimquigley9@eircom.net (Jim Quigley) Date: Sat, 17 Jan 2004 01:52:18 +0000 Subject: [sane-devel] re epson perfection 1200 problems libusb kernel 2.6.1-rc1 Message-ID: <40089552.9060106@eircom.net> This is a multi-part message in MIME format. --------------090808010205010105020404 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi I have installed the kernel 2.6.1-rc1 over Suse 9 and have as far as I know installed most usb drivers as modules except the scanner.o module since it is obsolete and I wanted to use libusb. I have an epson perfection 1200 photo scanner but I can not get it to work properly. It initialises but then crashes and then scanimage -L does not recognise it. Xsane also does the same. Below are some of the programs I use and some config files including sane, xsane, fstab, dmesg etc. Appreciate some help. Thanks rpm -q sane sane-1.0.10-243 rpm -q xsane xsane-0.91-135 rpm -q hotplug hotplug-2002_08_26-85 cat /etc/fstab /dev/hdc1 / ext2 defaults 1 1 /dev/hdc2 /home ext2 defaults 1 2 /dev/hdc3 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 none /proc/bus/usb usbfs defaults 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/dvd /media/dvd auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0 /dev/sr0 /media/sr0 auto ro,noauto,user,exec 0 0 /dev/sda1 /media/sda1 auto sync,noauto,user,exec 0 0 cat /proc/bus/usb/devices T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:10.2 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=07(print) Sub=01 Prot=02 MxPS=64 #Cfgs= 1 P: Vendor=04b8 ProdID=0001 Rev= 1.00 S: Manufacturer=EPSON S: Product=USB Printer C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:10.1 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 P: Vendor=04b8 ProdID=0104 Rev= 1.03 S: Manufacturer=EPSON S: Product=Perfection1200 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:10.0 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.1-rc1 ehci_hcd S: Product=EHCI Host Controller S: SerialNumber=0000:00:10.3 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0d49 ProdID=3005 Rev= 1.00 S: Manufacturer=Maxtor S: Product=3000LS v01.00.00 S: SerialNumber=DEF10647FBB9 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms sane-find-scanner # No SCSI scanners found. If you expected something different, make sure that # you have loaded a SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b8, product=0x0104) at libusb:003:002 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Scanners connected to the parallel port or other proprietary ports can't be # detected by this program. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary. scanimage -L device `epson:libusb:003:002' is a Epson Perfection1200 flatbed scanner LmCogs --------------090808010205010105020404 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi I have installed the kernel 2.6.1-rc1 over Suse 9 and have as far as I know installed most usb drivers as modules except the scanner.o module since it is obsolete and I wanted to use libusb.  I  have an epson perfection 1200 photo scanner but I can not get it to work properly.  It initialises but then crashes and then scanimage -L does not recognise it.  Xsane also does the same.  Below are some of the programs I use and some config files including sane, xsane, fstab, dmesg  etc.  Appreciate some help.  Thanks


rpm -q sane
sane-1.0.10-243

 rpm -q xsane
xsane-0.91-135

rpm -q hotplug
hotplug-2002_08_26-85

cat /etc/fstab
/dev/hdc1            /                    ext2       defaults              1 1
/dev/hdc2            /home                ext2       defaults              1 2
/dev/hdc3            swap                 swap       pri=42                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
proc                 /proc                proc       defaults              0 0

none             /proc/bus/usb        usbfs      defaults               0 0
/dev/cdrom           /media/cdrom         auto       ro,noauto,user,exec   0 0
/dev/dvd             /media/dvd           auto       ro,noauto,user,exec   0 0
/dev/fd0             /media/floppy        auto       noauto,user,sync      0 0
/dev/sr0        /media/sr0      auto    ro,noauto,user,exec     0 0
/dev/sda1       /media/sda1     auto    sync,noauto,user,exec 0 0

 cat /proc/bus/usb/devices

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.1-rc1 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:10.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=07(print) Sub=01 Prot=02 MxPS=64 #Cfgs=  1
P:  Vendor=04b8 ProdID=0001 Rev= 1.00
S:  Manufacturer=EPSON
S:  Product=USB Printer
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.1-rc1 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:10.1
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=04b8 ProdID=0104 Rev= 1.03
S:  Manufacturer=EPSON
S:  Product=Perfection1200
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.1-rc1 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:10.0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.1-rc1 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:10.3
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0d49 ProdID=3005 Rev= 1.00
S:  Manufacturer=Maxtor
S:  Product=3000LS v01.00.00
S:  SerialNumber=DEF10647FBB9
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms


sane-find-scanner

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04b8, product=0x0104) at libusb:003:002
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Scanners connected to the parallel port or other proprietary ports can't be
  # detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.


scanimage -L
device `epson:libusb:003:002' is a Epson Perfection1200 flatbed scanner

LmCogs
--------------090808010205010105020404-- From kladit@t-online.de Sat Jan 17 11:33:05 2004 From: kladit@t-online.de (Klaus Dittrich) Date: Sat, 17 Jan 2004 12:33:05 +0100 Subject: [sane-devel] re epson perfection 1200 problems libusb kernel 2.6.1-rc1 In-Reply-To: <40089552.9060106@eircom.net> References: <40089552.9060106@eircom.net> Message-ID: <20040117113116.GB14513@xeon2.local.here> On Sat, Jan 17, 2004 at 01:52:18AM +0000, Jim Quigley wrote: > Hi I have installed the kernel 2.6.1-rc1 over Suse 9 and have as far as > I know installed most usb drivers as modules except the scanner.o module > since it is obsolete and I wanted to use libusb. I have an epson > perfection 1200 photo scanner but I can not get it to work properly. It > initialises but then crashes and then scanimage -L does not recognise > it. Xsane also does the same. Below are some of the programs I use and > some config files including sane, xsane, fstab, dmesg etc. Appreciate > some help. Thanks > > > rpm -q sane > sane-1.0.10-243 > > rpm -q xsane > xsane-0.91-135 > > rpm -q hotplug > hotplug-2002_08_26-85 > > cat /etc/fstab > /dev/hdc1 / ext2 > defaults 1 1 > /dev/hdc2 /home ext2 > defaults 1 2 > /dev/hdc3 swap swap > pri=42 0 0 > devpts /dev/pts devpts > mode=0620,gid=5 0 0 > proc /proc proc > defaults 0 0 > > none /proc/bus/usb usbfs defaults 0 0 > /dev/cdrom /media/cdrom auto > ro,noauto,user,exec 0 0 > /dev/dvd /media/dvd auto > ro,noauto,user,exec 0 0 > /dev/fd0 /media/floppy auto > noauto,user,sync 0 0 > /dev/sr0 /media/sr0 auto ro,noauto,user,exec 0 0 > /dev/sda1 /media/sda1 auto sync,noauto,user,exec 0 0 > > cat /proc/bus/usb/devices > > T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 2.06 > S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd > S: Product=UHCI Host Controller > S: SerialNumber=0000:00:10.2 > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 1.00 Cls=07(print) Sub=01 Prot=02 MxPS=64 #Cfgs= 1 > P: Vendor=04b8 ProdID=0001 Rev= 1.00 > S: Manufacturer=EPSON > S: Product=USB Printer > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA > I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp > E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 2.06 > S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd > S: Product=UHCI Host Controller > S: SerialNumber=0000:00:10.1 > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 > P: Vendor=04b8 ProdID=0104 Rev= 1.03 > S: Manufacturer=EPSON > S: Product=Perfection1200 > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA > I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) > E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 2.06 > S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd > S: Product=UHCI Host Controller > S: SerialNumber=0000:00:10.0 > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6 > B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 2.06 > S: Manufacturer=Linux 2.6.1-rc1 ehci_hcd > S: Product=EHCI Host Controller > S: SerialNumber=0000:00:10.3 > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms > > T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=0d49 ProdID=3005 Rev= 1.00 > S: Manufacturer=Maxtor > S: Product=3000LS v01.00.00 > S: SerialNumber=DEF10647FBB9 > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage > E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > > > sane-find-scanner > > # No SCSI scanners found. If you expected something different, make > sure that > # you have loaded a SCSI driver for your SCSI adapter. > > found USB scanner (vendor=0x04b8, product=0x0104) at libusb:003:002 > # Your USB scanner was (probably) detected. It may or may not be > supported by > # SANE. Try scanimage -L and read the backend's manpage. > > # Scanners connected to the parallel port or other proprietary ports > can't be > # detected by this program. > > # You may want to run this program as root to find all devices. Once you > # found the scanner devices, be sure to adjust access permissions as > # necessary. > > > scanimage -L > device `epson:libusb:003:002' is a Epson Perfection1200 flatbed scanner > > LmCogs Same here. Is your machine smp ? Do you have preemptive syscalls enabeld ? Do you use linuxthreads or nptl ? If you need a quick fix use the kernel scanner-driver of linux-2.6, _not_ libusb, and install backends-1.0.12. I tested backends-1.0.12 with libusb and it may damage the mechanics of your epson-scanner. -- Klaus From khk@khk.net Sat Jan 17 12:27:05 2004 From: khk@khk.net (Karl Heinz Kremer) Date: Sat, 17 Jan 2004 07:27:05 -0500 Subject: [sane-devel] re epson perfection 1200 problems libusb kernel 2.6.1-rc1 In-Reply-To: <20040117113116.GB14513@xeon2.local.here> References: <40089552.9060106@eircom.net> <20040117113116.GB14513@xeon2.local.here> Message-ID: <75C3A852-48E8-11D8-A5BE-000A957E40E8@khk.net> On Jan 17, 2004, at 6:33 AM, Klaus Dittrich wrote: [ ... ] > I tested backends-1.0.12 with libusb and it may damage the mechanics > of your epson-scanner. > It's actually very unlikely that you will damage your scanner if you have a "real" EPSON scanner (that is one that is natively supported by the EPSON backend). The hardware is not controlled directly by the commands that the backend sends to the device. There are no commands to position any of the moving parts directly, you just tell the scanner how and what to scan, and the scanner firmware then calculates the commands it sends to the motors. You have this one additional layer that protects the hardware from the user (or my software :-) Other scanners allow the frontend to control the motors directly, this is much more dangerous. From nicos@svinomatka.ru Sat Jan 17 12:29:06 2004 From: nicos@svinomatka.ru (Nikanorov Andrey) Date: Sat, 17 Jan 2004 15:29:06 +0300 Subject: [sane-devel] Mustek 1200 UB Plus Message-ID: <1074342546.4347.5.camel@localhost.localdomain> Is it posible to configure Mustek 1200 UB Plus scanner? When I run XSane I see an error (unable to open device 'gt68xx:/dev/usb/scanner0'). When I run scanimage: [root@localhost root]# scanimage -L device `gt68xx:/dev/usb/scanner0' is a Mustek BearPaw 1200 CU flatbed scanner From henning@meier-geinitz.de Sat Jan 17 15:26:22 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 17 Jan 2004 16:26:22 +0100 Subject: [sane-devel] Mustek 1200 UB Plus In-Reply-To: <1074342546.4347.5.camel@localhost.localdomain> References: <1074342546.4347.5.camel@localhost.localdomain> Message-ID: <20040117152622.GB5434@meier-geinitz.de> Hi, On Sat, Jan 17, 2004 at 03:29:06PM +0300, Nikanorov Andrey wrote: > Is it posible to configure Mustek 1200 UB Plus scanner? Yes, see man sane-gt68xx. > When I run XSane I see an error (unable to open device > 'gt68xx:/dev/usb/scanner0'). > > > When I run scanimage: > > [root@localhost root]# scanimage -L > device `gt68xx:/dev/usb/scanner0' is a Mustek BearPaw 1200 CU flatbed > scanner The firmware is placed in the right directory and you have enabled the override for that scanner in gt68xx.conf? Bye, Henning From jimquigley9@eircom.net Sat Jan 17 14:15:08 2004 From: jimquigley9@eircom.net (Jim Quigley) Date: Sat, 17 Jan 2004 14:15:08 +0000 Subject: [sane-devel] re epson perfection 1200 problems libusb kernel 2.6.1-rc1 Message-ID: <4009436C.1080901@eircom.net> Klaus Dittrich wrote: > Same here. > Is your machine smp ? > Do you have preemptive syscalls enabeld ? > Do you use linuxthreads or nptl ? > > If you need a quick fix use the kernel scanner-driver of linux-2.6, > _not_ libusb, and install backends-1.0.12. > I tested backends-1.0.12 with libusb and it may damage the mechanics > of your epson-scanner. > > -- > Klaus > > > > > Hi Don't know what 'smp' or linuxthreads' 'nptl' are but I did compile > the kernel with preemptive kernel. > > I recompiled the kernel with ISA support enabled and i20 device support but I still got errors like scanimage -d epson:libusb:003:002 --test scanimage: scanning image of size 424x584 pixels at 1 bits/pixel scanimage: acquiring gray frame, 1 bits/sample scanimage: reading one scanline, 53 bytes... FAIL Error: Error during device I/O[epson] option: fatal error I also had tried before loading scanner.o driver and that worked when I used 'modprobe scanner' but I then had problems with epson printer usblp and hotplug could not unload the module when closing down. I now have printer compiled into the kernel not as a module and I did not choose the scanner module which it says is obsolete. LmCogs From henning@meier-geinitz.de Sat Jan 17 15:58:45 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 17 Jan 2004 16:58:45 +0100 Subject: [sane-devel] re epson perfection 1200 problems libusb kernel 2.6.1-rc1 In-Reply-To: <4009436C.1080901@eircom.net> References: <4009436C.1080901@eircom.net> Message-ID: <20040117155845.GB6163@meier-geinitz.de> Hi, On Sat, Jan 17, 2004 at 02:15:08PM +0000, Jim Quigley wrote: > Klaus Dittrich wrote: > > >Is your machine smp ? > >Do you have preemptive syscalls enabeld ? > >Do you use linuxthreads or nptl ? I don't think that linuxthreads or nptl is involved as by default SANE uses processes (fork), not threads. >Hi Don't know what 'smp' SMP: Symmetric MultiProcessing = more than one processor. > or linuxthreads' 'nptl' are These are two different ways of using threads. > but I did compile the kernel with preemptive kernel. I suspect that this may be a possible reason for your problems. Also SMP may be a reason. I'll now try 2.6 with some of these options enabled. > scanimage -d epson:libusb:003:002 --test scanimage: scanning image of > size 424x584 pixels at 1 bits/pixel > scanimage: acquiring gray frame, 1 bits/sample > scanimage: reading one scanline, 53 bytes... > FAIL Error: Error during device I/O[epson] option: fatal error The kernel messages that occur when the scan fails for the first time may be important (e.g. in /var/log/messages). > I also had tried before loading scanner.o driver and that worked when I > used 'modprobe scanner' but I then had problems with epson printer usblp > and hotplug could not unload the module when closing down. I now have > printer compiled into the kernel not as a module and I did not choose > the scanner module which it says is obsolete. The scanner module should also work but may have the same problems as libusb with SMP and/or preemptible kernel. Bye, Henning From henning@meier-geinitz.de Sat Jan 17 16:06:17 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 17 Jan 2004 17:06:17 +0100 Subject: [sane-devel] Mustek 1200 UB Plus In-Reply-To: <1074355051.6126.7.camel@localhost.localdomain> References: <1074342546.4347.5.camel@localhost.localdomain> <20040117152622.GB5434@meier-geinitz.de> <1074355051.6126.7.camel@localhost.localdomain> Message-ID: <20040117160617.GC6163@meier-geinitz.de> Hi, I'm cc'ing to the mailing list just in case anyone has the same problem. On Sat, Jan 17, 2004 at 06:57:31PM +0300, Nikanorov Andrey wrote: > I've solved my problem. > > I am getting SBfw.usb file from CDROM (from scanner > disk[file:/mnt/cdrom/WinXP]). After I create directory 'gt68xx' in > '/usr/share/sane/' and put file > (SBfw.usb) in it. Then I renamed SBfw.usb to PS1fw.usb. This is an ugly hack but it may work in this case. Explanation: There are some different scanners which all use the same USB ids and they aren't distinguishable from each other by software. They also use different firmware files. That's why there are "override" directives in gt68xx.conf. By default it's assumed that you have a Mustek BearPaw 1200 CU and that one uses the firmware "PS1fw.usb". That's why the backend uses that name. If you had enabled the override "mustek-scanexpress-1200-ub-plus", it would search for sbfw.usb and the correct scanner name would be displayed. Bye, Henning From henning@meier-geinitz.de Sat Jan 17 18:01:26 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 17 Jan 2004 19:01:26 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040115172800.GA648@xeon2.local.here> References: <20040115172800.GA648@xeon2.local.here> Message-ID: <20040117180126.GB659@meier-geinitz.de> Hi, On Thu, Jan 15, 2004 at 06:28:00PM +0100, Klaus Dittrich wrote: > linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 [oops] Ok, some tests on my system with linux 2.6.1 and some Mustek USB scanners: - no problems with libusb - with the kernel scanner driver, I get an oops when unplugging a scanner - with the kernel scanner driver and "preemptible kernel" I get an oops when running scanimage -L So I guess for now the kernel scanner driver in 2.6 isn't really usable. It's marked "obsolete" anyway so better use libusb. Bye, Henning From till.kamppeter@gmx.net Sat Jan 17 20:04:40 2004 From: till.kamppeter@gmx.net (Till Kamppeter) Date: Sat, 17 Jan 2004 20:04:40 +0000 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040117180126.GB659@meier-geinitz.de> References: <20040115172800.GA648@xeon2.local.here> <20040117180126.GB659@meier-geinitz.de> Message-ID: <40099558.9010208@gmx.net> Is there a way to block the usage of the scanner.o module by means of the SAME package (compile-time config or so)? Or is it the best to ask our kernel maintainer to make a kernel package without scanner.o? Is it safe to publish a distro (Mandrake Linux 10.0) without scanner.o in its kernel? Would I loose compatibility for certain scanner models or not? And does the oops only appear with the SMP kernel 2.6.x or also with the standard kernel 2.6.x. Till Henning Meier-Geinitz wrote: > Hi, > > On Thu, Jan 15, 2004 at 06:28:00PM +0100, Klaus Dittrich wrote: > >>linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 > > > [oops] > > Ok, some tests on my system with linux 2.6.1 and some Mustek USB > scanners: > > - no problems with libusb > - with the kernel scanner driver, I get an oops when unplugging a > scanner > - with the kernel scanner driver and "preemptible kernel" I get an > oops when running scanimage -L > > So I guess for now the kernel scanner driver in 2.6 isn't really > usable. It's marked "obsolete" anyway so better use libusb. > > Bye, > > Henning > From henning@meier-geinitz.de Sat Jan 17 21:22:41 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 17 Jan 2004 22:22:41 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <40099558.9010208@gmx.net> References: <20040115172800.GA648@xeon2.local.here> <20040117180126.GB659@meier-geinitz.de> <40099558.9010208@gmx.net> Message-ID: <20040117212241.GD659@meier-geinitz.de> Hi, On Sat, Jan 17, 2004 at 08:04:40PM +0000, Till Kamppeter wrote: > Is there a way to block the usage of the scanner.o module by means of > the SAME package (compile-time config or so)? No and that wouldn't help. When the kernel scanner driver is loaded, it claims the USB devices it knows. libusb can't access them in this case. > Or is it the best to ask > our kernel maintainer to make a kernel package without scanner.o? Is it > safe to publish a distro (Mandrake Linux 10.0) without scanner.o in its > kernel? Would I loose compatibility for certain scanner models or not? To my knowledge, every scanner that works with the scanner module also works with libusb. But this is only true for SANE, I don't know if it's the same for other software like vuescan. If that's possible I would include the scanner driver, but not load it by default. So if the user really needs it, he can load it. I have no idea how to do that with hotplug, however. > And does the oops only appear with the SMP kernel 2.6.x or also with the > standard kernel 2.6.x. There seem to be two oopses (maybe related): One that happens on unplugging a scanner. That one happens also without SMP and without preemtible kernel. The other one that seems to accour when a scanner is accessed (e.g. scanimage -L) only occurs with preemption turned on. I haven't tested SMP. I can't reproduce any of the libusb problems but I use different scanners. Bye, Henning From neundorf@kde.org Sun Jan 18 11:28:59 2004 From: neundorf@kde.org (Alexander Neundorf) Date: Sun, 18 Jan 2004 12:28:59 +0100 Subject: [sane-devel] Question about the Canon Lide 30 behaviour Message-ID: <200401181228.59012.neundorf@kde.org> Hi, since some weeks I have a Canon Lide 30 scanner and everything works well. I have sane 1.0.13 installed. The only question I have is the following: when I start scanning (full or preview) the scanner starts doing some stuff, which takes several seconds, maybe up to 20 seconds or something, and after this it actually starts scanning, i.e. the scan line starts to move. What is it what is happening at the beginning ? Is this some kind of calibration ? Maybe white reference ? Is it required that this is done before every single scan ? Bye Alex -- Work: alexander.neundorf@jenoptik.com - http://www.jenoptik-los.de Home: neundorf@kde.org - http://www.kde.org alex@neundorf.net - http://www.neundorf.net From gerhard@gjaeger.de Sun Jan 18 12:12:29 2004 From: gerhard@gjaeger.de (Jaeger, Gerhard) Date: Sun, 18 Jan 2004 13:12:29 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040117212241.GD659@meier-geinitz.de> References: <20040115172800.GA648@xeon2.local.here> <40099558.9010208@gmx.net> <20040117212241.GD659@meier-geinitz.de> Message-ID: <200401181312.29525.gerhard@gjaeger.de> Hi, On Samstag, 17. Januar 2004 22:22, Henning Meier-Geinitz wrote: > Hi, > > On Sat, Jan 17, 2004 at 08:04:40PM +0000, Till Kamppeter wrote: > > Is there a way to block the usage of the scanner.o module by means of > > the SAME package (compile-time config or so)? > > No and that wouldn't help. When the kernel scanner driver is loaded, > it claims the USB devices it knows. libusb can't access them in this > case. > > > Or is it the best to ask > > our kernel maintainer to make a kernel package without scanner.o? Is it > > safe to publish a distro (Mandrake Linux 10.0) without scanner.o in its > > kernel? Would I loose compatibility for certain scanner models or not? > > To my knowledge, every scanner that works with the scanner module also > works with libusb. But this is only true for SANE, I don't know if > it's the same for other software like vuescan. AFAIK vuescan works only with the scanner module. > If that's possible I would include the scanner driver, but not load it > by default. So if the user really needs it, he can load it. I have no > idea how to do that with hotplug, however. Using hotplug, you should add the scanner module to the "blacklist" file in /etc/hotplug > > And does the oops only appear with the SMP kernel 2.6.x or also with the > > standard kernel 2.6.x. > > There seem to be two oopses (maybe related): One that happens on > unplugging a scanner. That one happens also without SMP and without > preemtible kernel. > > The other one that seems to accour when a scanner is accessed (e.g. > scanimage -L) only occurs with preemption turned on. I haven't tested > SMP. Probably you need to some spinlocks to protect the driver from being scheduled in some cases!? If I find some time, I'll check that... Ciao, Gerhard > I can't reproduce any of the libusb problems but I use different > scanners. > > Bye, > Henning From gerhard@gjaeger.de Sun Jan 18 12:16:19 2004 From: gerhard@gjaeger.de (Jaeger, Gerhard) Date: Sun, 18 Jan 2004 13:16:19 +0100 Subject: [sane-devel] Question about the Canon Lide 30 behaviour In-Reply-To: <200401181228.59012.neundorf@kde.org> References: <200401181228.59012.neundorf@kde.org> Message-ID: <200401181316.19815.gerhard@gjaeger.de> Hi, On Sonntag, 18. Januar 2004 12:28, Alexander Neundorf wrote: [SNIPSNAP] > when I start scanning (full or preview) the scanner starts doing some > stuff, which takes several seconds, maybe up to 20 seconds or something, > and after this it actually starts scanning, i.e. the scan line starts to > move. > > What is it what is happening at the beginning ? Is this some kind of > calibration ? Maybe white reference ? > Is it required that this is done before every single scan ? What you see is the calibration step. It consists of two parts: - coarse calibration - fine calibration In the end, the fine calibration needs to be done for each scan-step, the coarse calibration only for each scan-mode. The backend contains a configuratation switch (in plustek.conf), called option cacheCalData Try and set this to 1 and see if this helps. It should save the coarse-calibration results and reuse it. This feature is not very well tested... Ciao, Gerhard From jesper@pobox.com Sun Jan 18 14:38:53 2004 From: jesper@pobox.com (Jesper Anderson) Date: Sun, 18 Jan 2004 15:38:53 +0100 Subject: [sane-devel] xsane and Gimp 2.0 Message-ID: <20040118143853.GA13079@acheron.the-domination.com> Is it possible to compile xsane 0.92 against the Gimp 2.0 prerelease? I use this version exclusively, and it would be very nice to have xsane integrated in it. Thanks in advance, Jesper From jb@jblache.org Sun Jan 18 15:56:33 2004 From: jb@jblache.org (Julien BLACHE) Date: Sun, 18 Jan 2004 16:56:33 +0100 Subject: [sane-devel] xsane and Gimp 2.0 In-Reply-To: <20040118143853.GA13079@acheron.the-domination.com> (Jesper Anderson's message of "Sun, 18 Jan 2004 15:38:53 +0100") References: <20040118143853.GA13079@acheron.the-domination.com> Message-ID: <87d69h8d3i.fsf@frigate.technologeek.org> Jesper Anderson wrote: Hi, > Is it possible to compile xsane 0.92 against the Gimp 2.0 prerelease? > I use this version exclusively, and it would be very nice to have > xsane integrated in it. Yes, it is, with this patch that a few debian users have been using for the past months : Apply to a clean source tree with patch -p1, run configure, build. It defaults to GTK2+GIMP2.0. (you don't need to run autoconf) WARNING: the autoconf check that comes with GIMP 2.0 expects version strings of the form x.y.z, and GIMP 2.0 pre-versions have a version string of the form 2.0preX, so the check barfs. You'll have to edit either gimptool or the .pc file for GIMP 2.0 so that they return 2.0.0 as the version string. Oliver, this is the patch I wanted to send you, so feel free to take a look at it :) JB. -- Julien BLACHE GPG KeyID 0xF5D65169 From leoncogs@eircom.net Sun Jan 18 18:35:55 2004 From: leoncogs@eircom.net (Lm Cogs) Date: Sun, 18 Jan 2004 18:35:55 +0000 Subject: [sane-devel] re epson percection 1200 problems libusb kernel 2.6.1-rc1 Message-ID: <200401181835.55840.leoncogs@eircom.net> Well Its a success at last I tried without smp amd preemting complied but it was no success, then as you suggeste I looked in var/log/messages. and it seemed to suggest that it was looking for a module usbcore. I recompiled the kernel with a the option for 'support for usb' chosen to be compiled as a module. The scanner now works. I used xsane and all went well. I also change a line in fstab but I don't think this made a difference. When I get time I will try recompiling the kernel with 'preemptible kernel', I don't think I need smp. I would appeciate it if you take a look at my fstab and var/log/message files below I guess I don't need to set permission in epson_scanner if I set it in fstab globally. Another question where do I go to set up libusb and epson printer, it works if i modprobe usblp and then set it up in Yast? fstab /dev/hdc1 / ext2 defaults 1 1 /dev/hdc2 /home ext2 defaults 1 2 /dev/hdc3 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 none /proc/bus/usb usbfs devmode=0666 0 0 usbfs /proc/bus/usb usbfs defautls,noauto 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/dvd /media/dvd auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0 /dev/sr0 /media/sr0 auto ro,noauto,user,exec 0 0 /dev/sda1 /media/sda1 auto sync,noauto,user,exec 0 0 /var/log/messages Jan 18 16:35:33 desktop syslogd 1.4.1: restart. Jan 18 16:35:35 desktop /sbin/hotplug[692]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: loaded HCD: ehci-hcd Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: loaded HCD: ohci-hcd Jan 18 16:35:35 desktop /sbin/hotplug[733]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:35:35 desktop /sbin/hotplug[772]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:35:35 desktop /sbin/hotplug[811]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: loaded HCD: uhci-hcd Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: loaded HCD: ehci-hcd Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: FATAL: Module mousedev not found. Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: FATAL: Module keybdev not found. Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: FATAL: Module printer not found. Jan 18 16:35:38 desktop /etc/hotplug/usb.agent[895]: Bad USB agent invocation Jan 18 16:35:38 desktop kernel: klogd 1.4.1, log source = /proc/kmsg started. Jan 18 16:35:38 desktop kernel: Inspecting /boot/System.map-2.6.1-rc1 Jan 18 16:35:38 desktop kernel: Loaded 24789 symbols from /boot/ System.map-2.6.1-rc1. Jan 18 16:35:38 desktop kernel: Symbols match kernel version 2.6.1. Jan 18 16:35:38 desktop kernel: No module symbols loaded - kernel modules not enabled. Jan 18 16:35:38 desktop kernel: eth0: link down Jan 18 16:35:38 desktop kernel: NET: Registered protocol family 17 Jan 18 16:35:38 desktop kernel: raw1394: /dev/raw1394 device initialized Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: registered new driver usbfs Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: registered new driver hub Jan 18 16:35:38 desktop kernel: ehci_hcd: block sizes: qh 128 qtd 96 itd 128 sitd 64 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: EHCI Host Controller Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: reset hcs_params 0x3206 dbg=0 cc=3 pcc=2 ordered !ppc ports=6 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: reset hcc_params 6872 thresh 7 uframes 256/512/1024 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: capability 0001 at 68 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: irq 21, pci mem e089d000 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: init command 010009 (park)=0 ithresh=1 period=256 RUN Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: root hub device address 1 Jan 18 16:35:38 desktop kernel: usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:35:38 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:35:38 desktop kernel: usb usb1: Product: EHCI Host Controller Jan 18 16:35:38 desktop kernel: usb usb1: Manufacturer: Linux 2.6.1-rc1 ehci_hcd Jan 18 16:35:38 desktop kernel: usb usb1: SerialNumber: 0000:00:10.3 Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: usb usb1: registering 1-0:1.0 (config #1, interface 0) Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: usb_probe_interface Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: usb_probe_interface - got id Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: USB hub found Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: 6 ports detected Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: standalone hub Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: ganged power switching Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: individual port over-current protection Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: Single TT Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: TT requires at most 8 FS bit times Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: Port indicators are not supported Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: power on to power good time: 0ms Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: hub controller current requirement: 0mA Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: local power source is good Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: no over-current condition exists Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: enabling power on all ports Jan 18 16:35:38 desktop kernel: ohci_hcd: 2003 Oct 13 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) Jan 18 16:35:38 desktop kernel: ohci_hcd: block sizes: ed 64 td 64 Jan 18 16:35:38 desktop kernel: drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1 Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.0: UHCI Host Controller Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.0: irq 21, io base 0000d400 Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2 Jan 18 16:35:38 desktop kernel: drivers/usb/host/uhci-hcd.c: detected 2 ports Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.0: root hub device address 1 Jan 18 16:35:38 desktop kernel: usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:35:38 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:35:38 desktop kernel: usb usb2: Product: UHCI Host Controller Jan 18 16:35:38 desktop kernel: usb usb2: Manufacturer: Linux 2.6.1-rc1 uhci_hcd Jan 18 16:35:38 desktop kernel: usb usb2: SerialNumber: 0000:00:10.0 Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: usb usb2: registering 2-0:1.0 (config #1, interface 0) Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: usb_probe_interface Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: usb_probe_interface - got id Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: USB hub found Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: 2 ports detected Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: standalone hub Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: ganged power switching Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: global over-current protection Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: Port indicators are not supported Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: power on to power good time: 2ms Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: hub controller current requirement: 0mA Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: local power source is good Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: no over-current condition exists Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: enabling power on all ports Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.1: UHCI Host Controller Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 001803 POWER sig=j CSC CONNECT Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: port 5, status 501, change 1, 480 Mb/s Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.1: irq 21, io base 0000d800 Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3 Jan 18 16:35:38 desktop kernel: drivers/usb/host/uhci-hcd.c: detected 2 ports Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.1: root hub device address 1 Jan 18 16:35:38 desktop kernel: usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:35:38 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:35:38 desktop kernel: usb usb3: Product: UHCI Host Controller Jan 18 16:35:38 desktop kernel: usb usb3: Manufacturer: Linux 2.6.1-rc1 uhci_hcd Jan 18 16:35:38 desktop kernel: usb usb3: SerialNumber: 0000:00:10.1 Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: usb usb3: registering 3-0:1.0 (config #1, interface 0) Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: usb_probe_interface Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: usb_probe_interface - got id Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: USB hub found Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: 2 ports detected Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: standalone hub Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: ganged power switching Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: global over-current protection Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: Port indicators are not supported Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: power on to power good time: 2ms Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: hub controller current requirement: 0mA Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: local power source is good Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: no over-current condition exists Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: enabling power on all ports Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.2: UHCI Host Controller Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: debounce: port 5: delay 100ms stable 4 status 0x501 Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.2: irq 21, io base 0000dc00 Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4 Jan 18 16:35:38 desktop kernel: drivers/usb/host/uhci-hcd.c: detected 2 ports Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.2: root hub device address 1 Jan 18 16:35:38 desktop kernel: usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:35:38 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:35:38 desktop kernel: usb usb4: Product: UHCI Host Controller Jan 18 16:35:38 desktop kernel: usb usb4: Manufacturer: Linux 2.6.1-rc1 uhci_hcd Jan 18 16:35:38 desktop kernel: usb usb4: SerialNumber: 0000:00:10.2 Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: port 5 full speed --> companion Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 003801 POWER OWNER sig=j CONNECT Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: port 1, status 100, change 3, 12 Mb/s Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: port 2, status 100, change 3, 12 Mb/s Jan 18 16:35:38 desktop kernel: usb usb4: registering 4-0:1.0 (config #1, interface 0) Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: usb_probe_interface Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: usb_probe_interface - got id Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: USB hub found Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: 2 ports detected Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: standalone hub Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: ganged power switching Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: global over-current protection Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: Port indicators are not supported Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: power on to power good time: 2ms Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: hub controller current requirement: 0mA Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: local power source is good Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: no over-current condition exists Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: enabling power on all ports Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: port 1, status 100, change 3, 12 Mb/s Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: port 2, status 100, change 3, 12 Mb/s Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: port 1 enable change, status 100 Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: port 2 enable change, status 100 Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: port 1, status 101, change 3, 12 Mb/s Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x101 Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: new USB device on port 1, assigned address 2 Jan 18 16:35:38 desktop kernel: usb 4-1: new device strings: Mfr=1, Product=2, SerialNumber=0 Jan 18 16:35:38 desktop kernel: drivers/usb/core/message.c: USB device number 2 default language ID 0x409 Jan 18 16:35:38 desktop kernel: usb 4-1: Product: USB Printer Jan 18 16:35:38 desktop kernel: usb 4-1: Manufacturer: EPSON Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: usb 4-1: registering 4-1:1.0 (config #1, interface 0) Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: port 2, status 100, change 3, 12 Mb/s Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: port 2 enable change, status 100 Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: port 1 enable change, status 100 Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: port 2 enable change, status 100 Jan 18 16:35:38 desktop kernel: drivers/usb/host/uhci-hcd.c: d400: suspend_hc Jan 18 16:35:38 desktop kernel: drivers/usb/host/uhci-hcd.c: d800: suspend_hc Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[942]: Bad USB agent invocation Jan 18 16:35:43 desktop modprobe: FATAL: Module battery not found. Jan 18 16:35:43 desktop kernel: via82xx: Assuming DXS channels with 48k fixed sample rate. Jan 18 16:35:43 desktop kernel: Please try dxs_support=1 option and report if it works on your machine. Jan 18 16:35:43 desktop kernel: PCI: Setting latency timer of device 0000:00:11.5 to 64 Jan 18 16:35:44 desktop kernel: ACPI: Power Button (FF) [PWRF] Jan 18 16:35:44 desktop kernel: ACPI: Processor [CPU0] (supports C1 C2, 2 throttling states) Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: modules.usbmap unparsable line: Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: . Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: modules.usbmap unparsable line: Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: . Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: modules.usbmap unparsable line: Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: . Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: modules.usbmap unparsable line: Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: . Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1099]: Bad USB agent invocation Jan 18 16:35:44 desktop smpppd[1021]: smpppd version 1.06 started Jan 18 16:35:44 desktop kernel: NET: Registered protocol family 10 Jan 18 16:35:45 desktop kernel: Disabled Privacy Extensions on device c0386e20 (lo) Jan 18 16:35:45 desktop kernel: IPv6 over IPv4 tunneling driver Jan 18 16:35:45 desktop sshd[1106]: Server listening on :: port 22. Jan 18 16:35:45 desktop kernel: request_module: failed /sbin/modprobe -- snd-card-1. error = 256 Jan 18 16:35:47 desktop kernel: parport0: PC-style at 0x378 [PCSPP(,...)] Jan 18 16:35:47 desktop kernel: lp0: using parport0 (polling). Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: modules.usbmap unparsable line: Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: . Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: modules.usbmap unparsable line: Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: . Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: modules.usbmap unparsable line: Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: . Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: modules.usbmap unparsable line: Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: . Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1354]: Bad USB agent invocation Jan 18 16:35:48 desktop kernel: request_module: failed /sbin/modprobe -- char-major-4-72. error = 256 Jan 18 16:35:48 desktop /usr/sbin/cron[1481]: (CRON) STARTUP (fork ok) Jan 18 16:35:49 desktop kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic Jan 18 16:35:49 desktop kernel: usbserial 4-1:1.0: usb_probe_interface Jan 18 16:35:49 desktop kernel: usbserial 4-1:1.0: usb_probe_interface - got id Jan 18 16:35:49 desktop kernel: drivers/usb/core/usb.c: registered new driver usbserial Jan 18 16:35:49 desktop kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0 Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: modules.usbmap unparsable line: Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: . Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: modules.usbmap unparsable line: Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: . Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: modules.usbmap unparsable line: Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: . Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: modules.usbmap unparsable line: Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: . Jan 18 16:35:53 desktop kernel: request_module: failed /sbin/modprobe -- char-major-195-255. error = 256 Jan 18 16:35:54 desktop modprobe: FATAL: Module printer not found. Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: modules.usbmap unparsable line: Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: . Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: modules.usbmap unparsable line: Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: . Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: modules.usbmap unparsable line: Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: . Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: modules.usbmap unparsable line: Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: . Jan 18 16:35:54 desktop kdm[1643]: IO Error in XOpenDisplay Jan 18 16:35:54 desktop kdm[1617]: Server for display :0 terminated unexpectedly Jan 18 16:35:55 desktop kernel: eth0: no IPv6 routers present Jan 18 16:35:55 desktop kernel: request_module: failed /sbin/modprobe -- char-major-195-255. error = 256 Jan 18 16:35:56 desktop kdm[1694]: IO Error in XOpenDisplay Jan 18 16:35:56 desktop kdm[1617]: Server for display :0 terminated unexpectedly Jan 18 16:35:56 desktop kdm[1617]: Display :0 cannot be opened Jan 18 16:35:56 desktop kernel: request_module: failed /sbin/modprobe -- char-major-195-255. error = 256 Jan 18 16:35:57 desktop kdm[1703]: IO Error in XOpenDisplay Jan 18 16:35:57 desktop kdm[1617]: Server for display :0 terminated unexpectedly Jan 18 16:35:57 desktop kdm[1617]: Display :0 cannot be opened Jan 18 16:35:57 desktop /etc/hotplug/usb.agent[1716]: Bad USB agent invocation Jan 18 16:35:57 desktop kernel: request_module: failed /sbin/modprobe -- char-major-195-255. error = 256 Jan 18 16:35:58 desktop kdm[1712]: IO Error in XOpenDisplay Jan 18 16:35:58 desktop kdm[1617]: Server for display :0 terminated unexpectedly Jan 18 16:35:58 desktop kdm[1617]: Display :0 cannot be opened Jan 18 16:35:58 desktop kdm[1617]: Display :0 is being disabled (restarting too fast) Jan 18 16:36:17 desktop login[1636]: FAILED LOGIN 1 FROM /dev/tty1 FOR UNKNOWN, User not known to the underlying authentication module Jan 18 16:38:35 desktop kernel: nvidia: module license 'NVIDIA' taints kernel. Jan 18 16:41:28 desktop init: Switching to runlevel: 6 Jan 18 16:41:34 desktop sshd[1106]: Received signal 15; terminating. Jan 18 16:41:34 desktop smpppd[1130]: terminating on signal 15 Jan 18 16:41:34 desktop kernel: request_module: failed /sbin/modprobe -- snd-card-1. error = 256 Jan 18 16:41:35 desktop kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver Generic Jan 18 16:41:35 desktop kernel: drivers/usb/core/usb.c: deregistering driver usbserial Jan 18 16:41:35 desktop kernel: Kernel logging (proc) stopped. Jan 18 16:41:35 desktop kernel: Kernel log daemon terminating. Jan 18 16:41:36 desktop exiting on signal 15 Jan 18 16:44:11 desktop syslogd 1.4.1: restart. Jan 18 16:44:13 desktop /sbin/hotplug[692]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:44:13 desktop /etc/hotplug/usb.rc[681]: loaded HCD: ehci-hcd Jan 18 16:44:13 desktop /etc/hotplug/usb.rc[681]: loaded HCD: ohci-hcd Jan 18 16:44:13 desktop /sbin/hotplug[733]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:44:13 desktop /sbin/hotplug[772]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:44:13 desktop /sbin/hotplug[811]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:44:13 desktop /etc/hotplug/usb.rc[681]: loaded HCD: uhci-hcd Jan 18 16:44:13 desktop /etc/hotplug/usb.rc[681]: loaded HCD: ehci-hcd Jan 18 16:44:13 desktop /etc/hotplug/usb.rc[681]: FATAL: Module mousedev not found. Jan 18 16:44:14 desktop /etc/hotplug/usb.rc[681]: FATAL: Module keybdev not found. Jan 18 16:44:14 desktop /etc/hotplug/usb.rc[681]: FATAL: Module printer not found. Jan 18 16:44:16 desktop /etc/hotplug/usb.agent[895]: Bad USB agent invocation Jan 18 16:44:16 desktop kernel: klogd 1.4.1, log source = /proc/kmsg started. Jan 18 16:44:16 desktop kernel: Inspecting /boot/System.map-2.6.1-rc1 Jan 18 16:44:17 desktop kernel: Loaded 24789 symbols from /boot/ System.map-2.6.1-rc1. Jan 18 16:44:17 desktop kernel: Symbols match kernel version 2.6.1. Jan 18 16:44:17 desktop kernel: No module symbols loaded - kernel modules not enabled. Jan 18 16:44:17 desktop kernel: eth0: link down Jan 18 16:44:17 desktop kernel: NET: Registered protocol family 17 Jan 18 16:44:17 desktop kernel: raw1394: /dev/raw1394 device initialized Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: registered new driver usbfs Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: registered new driver hub Jan 18 16:44:17 desktop kernel: ehci_hcd: block sizes: qh 128 qtd 96 itd 128 sitd 64 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: EHCI Host Controller Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: reset hcs_params 0x3206 dbg=0 cc=3 pcc=2 ordered !ppc ports=6 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: reset hcc_params 6872 thresh 7 uframes 256/512/1024 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: capability 0001 at 68 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: irq 21, pci mem e089d000 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: init command 010009 (park)=0 ithresh=1 period=256 RUN Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: root hub device address 1 Jan 18 16:44:17 desktop kernel: usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:44:17 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:44:17 desktop kernel: usb usb1: Product: EHCI Host Controller Jan 18 16:44:17 desktop kernel: usb usb1: Manufacturer: Linux 2.6.1-rc1 ehci_hcd Jan 18 16:44:17 desktop kernel: usb usb1: SerialNumber: 0000:00:10.3 Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: usb usb1: registering 1-0:1.0 (config #1, interface 0) Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: usb_probe_interface Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: usb_probe_interface - got id Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: USB hub found Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: 6 ports detected Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: standalone hub Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: ganged power switching Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: individual port over-current protection Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: Single TT Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: TT requires at most 8 FS bit times Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: Port indicators are not supported Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: power on to power good time: 0ms Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: hub controller current requirement: 0mA Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: local power source is good Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: no over-current condition exists Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: enabling power on all ports Jan 18 16:44:17 desktop kernel: ohci_hcd: 2003 Oct 13 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) Jan 18 16:44:17 desktop kernel: ohci_hcd: block sizes: ed 64 td 64 Jan 18 16:44:17 desktop kernel: drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1 Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.0: UHCI Host Controller Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.0: irq 21, io base 0000d400 Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2 Jan 18 16:44:17 desktop kernel: drivers/usb/host/uhci-hcd.c: detected 2 ports Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.0: root hub device address 1 Jan 18 16:44:17 desktop kernel: usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:44:17 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:44:17 desktop kernel: usb usb2: Product: UHCI Host Controller Jan 18 16:44:17 desktop kernel: usb usb2: Manufacturer: Linux 2.6.1-rc1 uhci_hcd Jan 18 16:44:17 desktop kernel: usb usb2: SerialNumber: 0000:00:10.0 Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: usb usb2: registering 2-0:1.0 (config #1, interface 0) Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: usb_probe_interface Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: usb_probe_interface - got id Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: USB hub found Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: 2 ports detected Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: standalone hub Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: ganged power switching Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: global over-current protection Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: Port indicators are not supported Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: power on to power good time: 2ms Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: hub controller current requirement: 0mA Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: local power source is good Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: no over-current condition exists Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: enabling power on all ports Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.1: UHCI Host Controller Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 001803 POWER sig=j CSC CONNECT Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: port 5, status 501, change 1, 480 Mb/s Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.1: irq 21, io base 0000d800 Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3 Jan 18 16:44:17 desktop kernel: drivers/usb/host/uhci-hcd.c: detected 2 ports Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.1: root hub device address 1 Jan 18 16:44:17 desktop kernel: usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:44:17 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:44:17 desktop kernel: usb usb3: Product: UHCI Host Controller Jan 18 16:44:17 desktop kernel: usb usb3: Manufacturer: Linux 2.6.1-rc1 uhci_hcd Jan 18 16:44:17 desktop kernel: usb usb3: SerialNumber: 0000:00:10.1 Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: usb usb3: registering 3-0:1.0 (config #1, interface 0) Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: usb_probe_interface Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: usb_probe_interface - got id Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: USB hub found Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: 2 ports detected Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: standalone hub Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: ganged power switching Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: global over-current protection Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: Port indicators are not supported Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: power on to power good time: 2ms Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: hub controller current requirement: 0mA Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: local power source is good Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: no over-current condition exists Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: enabling power on all ports Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.2: UHCI Host Controller Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: debounce: port 5: delay 100ms stable 4 status 0x501 Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.2: irq 21, io base 0000dc00 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: port 5 full speed --> companion Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 003801 POWER OWNER sig=j CONNECT Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4 Jan 18 16:44:17 desktop kernel: drivers/usb/host/uhci-hcd.c: detected 2 ports Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.2: root hub device address 1 Jan 18 16:44:17 desktop kernel: usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:44:17 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:44:17 desktop kernel: usb usb4: Product: UHCI Host Controller Jan 18 16:44:17 desktop kernel: usb usb4: Manufacturer: Linux 2.6.1-rc1 uhci_hcd Jan 18 16:44:17 desktop kernel: usb usb4: SerialNumber: 0000:00:10.2 Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: port 1, status 100, change 3, 12 Mb/s Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: port 2, status 100, change 3, 12 Mb/s Jan 18 16:44:17 desktop kernel: usb usb4: registering 4-0:1.0 (config #1, interface 0) Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: usb_probe_interface Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: usb_probe_interface - got id Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: USB hub found Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: 2 ports detected Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: standalone hub Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: ganged power switching Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: global over-current protection Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: Port indicators are not supported Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: power on to power good time: 2ms Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: hub controller current requirement: 0mA Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: local power source is good Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: no over-current condition exists Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: enabling power on all ports Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: port 1, status 100, change 3, 12 Mb/s Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: port 2, status 100, change 3, 12 Mb/s Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: port 1 enable change, status 100 Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: port 2 enable change, status 100 Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: port 1, status 101, change 3, 12 Mb/s Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x101 Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: new USB device on port 1, assigned address 2 Jan 18 16:44:17 desktop kernel: usb 4-1: new device strings: Mfr=1, Product=2, SerialNumber=0 Jan 18 16:44:17 desktop kernel: drivers/usb/core/message.c: USB device number 2 default language ID 0x409 Jan 18 16:44:17 desktop kernel: usb 4-1: Product: USB Printer Jan 18 16:44:17 desktop kernel: usb 4-1: Manufacturer: EPSON Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: usb 4-1: registering 4-1:1.0 (config #1, interface 0) Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: port 2, status 100, change 3, 12 Mb/s Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: port 2 enable change, status 100 Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: port 1 enable change, status 100 Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: port 2 enable change, status 100 Jan 18 16:44:17 desktop kernel: drivers/usb/host/uhci-hcd.c: d400: suspend_hc Jan 18 16:44:17 desktop kernel: drivers/usb/host/uhci-hcd.c: d800: suspend_hc Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[942]: Bad USB agent invocation Jan 18 16:44:22 desktop modprobe: FATAL: Module battery not found. Jan 18 16:44:22 desktop kernel: via82xx: Assuming DXS channels with 48k fixed sample rate. Jan 18 16:44:22 desktop kernel: Please try dxs_support=1 option and report if it works on your machine. Jan 18 16:44:22 desktop kernel: PCI: Setting latency timer of device 0000:00:11.5 to 64 Jan 18 16:44:22 desktop kernel: ACPI: Power Button (FF) [PWRF] Jan 18 16:44:22 desktop kernel: ACPI: Processor [CPU0] (supports C1 C2, 2 throttling states) Jan 18 16:44:22 desktop smpppd[1021]: smpppd version 1.06 started Jan 18 16:44:22 desktop kernel: NET: Registered protocol family 10 Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: modules.usbmap unparsable line: Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: . Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: modules.usbmap unparsable line: Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: . Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: modules.usbmap unparsable line: Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: . Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: modules.usbmap unparsable line: Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: . Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1101]: Bad USB agent invocation Jan 18 16:44:22 desktop kernel: Disabled Privacy Extensions on device c0386e20 (lo) Jan 18 16:44:22 desktop kernel: IPv6 over IPv4 tunneling driver Jan 18 16:44:22 desktop sshd[1056]: Server listening on :: port 22. Jan 18 16:44:23 desktop kernel: request_module: failed /sbin/modprobe -- snd-card-1. error = 256 Jan 18 16:44:25 desktop kernel: parport0: PC-style at 0x378 [PCSPP(,...)] Jan 18 16:44:25 desktop kernel: lp0: using parport0 (polling). Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: modules.usbmap unparsable line: Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: . Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: modules.usbmap unparsable line: Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: . Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: modules.usbmap unparsable line: Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: . Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: modules.usbmap unparsable line: Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: . Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1378]: Bad USB agent invocation Jan 18 16:44:26 desktop /usr/sbin/cron[1462]: (CRON) STARTUP (fork ok) Jan 18 16:44:27 desktop kernel: request_module: failed /sbin/modprobe -- char-major-4-72. error = 256 Jan 18 16:44:27 desktop kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic Jan 18 16:44:27 desktop kernel: usbserial 4-1:1.0: usb_probe_interface Jan 18 16:44:27 desktop kernel: usbserial 4-1:1.0: usb_probe_interface - got id Jan 18 16:44:27 desktop kernel: drivers/usb/core/usb.c: registered new driver usbserial Jan 18 16:44:27 desktop kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0 Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: modules.usbmap unparsable line: Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: . Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: modules.usbmap unparsable line: Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: . Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: modules.usbmap unparsable line: Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: . Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: modules.usbmap unparsable line: Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: . Jan 18 16:44:32 desktop /etc/hotplug/usb.agent[1625]: Bad USB agent invocation Jan 18 16:44:33 desktop kernel: eth0: no IPv6 routers present Jan 18 16:44:35 desktop modprobe: FATAL: Module printer not found. Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: modules.usbmap unparsable line: Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: . Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: modules.usbmap unparsable line: Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: . Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: modules.usbmap unparsable line: Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: . Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: modules.usbmap unparsable line: Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: . Jan 18 16:44:43 desktop login[1619]: FAILED LOGIN 1 FROM /dev/tty1 FOR UNKNOWN, User not known to the underlying authentication module Jan 18 16:45:03 desktop kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0). Jan 18 16:46:52 desktop kernel: nvidia: module license 'NVIDIA' taints kernel. Jan 18 16:46:52 desktop kernel: 0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4496 Wed Jul 16 19:03:09 PDT 2003 Jan 18 16:46:53 desktop modprobe: WARNING: Error inserting agpgart (/lib/ modules/2.6.1-rc1/kernel/drivers/char/agp/agpgart.ko): Unknown symbol in module, or unknown parameter (see dmesg) Jan 18 16:46:53 desktop kernel: agpgart: Unknown parameter `agp_try_unsupported' Jan 18 16:46:53 desktop kernel: 0: NVRM: AGPGART: unable to retrieve symbol table Jan 18 16:46:53 desktop kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0). Jan 18 16:47:45 desktop kernel: mtrr: no MTRR for d8000000,4000000 found Jan 18 16:48:34 desktop login[2248]: FAILED LOGIN 1 FROM /dev/tty1 FOR jim, Authentication failure Jan 18 16:48:46 desktop modprobe: WARNING: Error inserting agpgart (/lib/ modules/2.6.1-rc1/kernel/drivers/char/agp/agpgart.ko): Unknown symbol in module, or unknown parameter (see dmesg) Jan 18 16:48:46 desktop kernel: agpgart: Unknown parameter `agp_try_unsupported' Jan 18 16:48:46 desktop kernel: 0: NVRM: AGPGART: unable to retrieve symbol table Jan 18 16:48:47 desktop kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0). Jan 18 16:48:47 desktop kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0). Jan 18 16:49:07 desktop kernel: request_module: failed /sbin/modprobe -- sound-slot-1. error = 256 Jan 18 16:49:20 desktop kernel: request_module: failed /sbin/modprobe -- snd-card-1. error = 256 Jan 18 16:49:23 desktop kernel: request_module: failed /sbin/modprobe -- snd-card-1. error = 256 Jan 18 16:49:36 desktop kernel: hdh: ATAPI 48X DVD-ROM drive, 512kB Cache Jan 18 16:49:36 desktop kernel: Uniform CD-ROM driver Revision: 3.12 Jan 18 16:49:36 desktop /sbin/hotplug[2533]: no runnable /etc/hotplug/ block.agent is installed Jan 18 16:50:34 desktop su: (to root) jim on /dev/pts/1 Jan 18 16:50:34 desktop su: pam_unix2: session started for user root, service su Jan 18 16:52:38 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 3 status 001803 POWER sig=j CSC CONNECT Jan 18 16:52:38 desktop kernel: hub 1-0:1.0: port 3, status 501, change 1, 480 Mb/s Jan 18 16:52:38 desktop kernel: hub 1-0:1.0: debounce: port 3: delay 100ms stable 4 status 0x501 Jan 18 16:52:38 desktop kernel: ehci_hcd 0000:00:10.3: port 3 high speed Jan 18 16:52:38 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 3 status 001005 POWER sig=se0 PE CONNECT Jan 18 16:52:38 desktop kernel: hub 1-0:1.0: new USB device on port 3, assigned address 2 Jan 18 16:52:38 desktop kernel: usb 1-3: new device strings: Mfr=73, Product=80, SerialNumber=98 Jan 18 16:52:38 desktop kernel: drivers/usb/core/message.c: USB device number 2 default language ID 0x409 Jan 18 16:52:38 desktop kernel: usb 1-3: Product: USB CDRW6402EXT-B Jan 18 16:52:38 desktop kernel: usb 1-3: Manufacturer: Iomega Jan 18 16:52:38 desktop kernel: usb 1-3: SerialNumber: 5300000000032151 Jan 18 16:52:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:52:38 desktop kernel: usb 1-3: registering 1-3:2.0 (config #2, interface 0) Jan 18 16:52:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:52:38 desktop kernel: usbserial 1-3:2.0: usb_probe_interface Jan 18 16:52:38 desktop kernel: usbserial 1-3:2.0: usb_probe_interface - got id Jan 18 16:52:38 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 003802 POWER OWNER sig=j CSC Jan 18 16:52:38 desktop kernel: hub 1-0:1.0: port 5, status 0, change 1, 12 Mb/s Jan 18 16:52:41 desktop /etc/hotplug/usb.agent[2595]: Bad USB agent invocation Jan 18 16:52:45 desktop kernel: Initializing USB Mass Storage driver... Jan 18 16:52:45 desktop kernel: usb-storage 1-3:2.0: usb_probe_interface Jan 18 16:52:45 desktop kernel: usb-storage 1-3:2.0: usb_probe_interface - got id Jan 18 16:52:45 desktop kernel: scsi0 : SCSI emulation for USB Mass Storage devices Jan 18 16:52:45 desktop /sbin/hotplug[2632]: no runnable /etc/hotplug/ scsi_host.agent is installed Jan 18 16:52:47 desktop kernel: Vendor: IOMEGA Model: CDRW6402EXT-B Rev: OOX1 Jan 18 16:52:47 desktop kernel: Type: CD-ROM ANSI SCSI revision: 02 Jan 18 16:52:47 desktop /sbin/hotplug[2639]: no runnable /etc/hotplug/ scsi.agent is installed Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: modules.usbmap unparsable line: Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: . Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: modules.usbmap unparsable line: Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: . Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: modules.usbmap unparsable line: Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: . Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: modules.usbmap unparsable line: Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: . Jan 18 16:52:47 desktop /sbin/hotplug[2640]: no runnable /etc/hotplug/ scsi_device.agent is installed Jan 18 16:52:47 desktop kernel: WARNING: USB Mass Storage data integrity not assured Jan 18 16:52:47 desktop kernel: USB Mass Storage device found at 2 Jan 18 16:52:47 desktop kernel: drivers/usb/core/usb.c: registered new driver usb-storage Jan 18 16:52:47 desktop kernel: USB Mass Storage support registered. Jan 18 16:52:47 desktop kernel: Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5 Jan 18 16:52:47 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-0. error = 256 Jan 18 16:52:53 desktop kernel: sr0: scsi3-mmc drive: 16x/16x writer cd/rw xa/ form2 cdda tray Jan 18 16:52:53 desktop kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 Jan 18 16:52:53 desktop /sbin/hotplug[2700]: no runnable /etc/hotplug/ block.agent is installed Jan 18 16:52:53 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 16:52:58 desktop kernel: end_request: I/O error, dev sr0, sector 0 Jan 18 16:52:58 desktop kernel: Buffer I/O error on device sr0, logical block 0 Jan 18 16:52:58 desktop kernel: end_request: I/O error, dev sr0, sector 0 Jan 18 16:52:58 desktop kernel: FAT: unable to read boot sector Jan 18 16:53:17 desktop kernel: FAT: bogus number of reserved sectors Jan 18 16:53:17 desktop kernel: VFS: Can't find a valid FAT filesystem on dev sr0. Jan 18 16:53:34 desktop kernel: ISO 9660 Extensions: Microsoft Joliet Level 3 Jan 18 16:53:34 desktop kernel: ISO 9660 Extensions: RRIP_1991A Jan 18 16:54:20 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT Jan 18 16:54:20 desktop kernel: hub 1-0:1.0: port 2, status 501, change 1, 480 Mb/s Jan 18 16:54:20 desktop kernel: hub 1-0:1.0: debounce: port 2: delay 100ms stable 4 status 0x501 Jan 18 16:54:20 desktop kernel: ehci_hcd 0000:00:10.3: port 2 high speed Jan 18 16:54:20 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT Jan 18 16:54:20 desktop kernel: hub 1-0:1.0: new USB device on port 2, assigned address 3 Jan 18 16:54:20 desktop kernel: usb 1-2: new device strings: Mfr=56, Product=63, SerialNumber=80 Jan 18 16:54:20 desktop kernel: drivers/usb/core/message.c: USB device number 3 default language ID 0x409 Jan 18 16:54:20 desktop kernel: usb 1-2: Product: 3000LS v01.00.00 Jan 18 16:54:20 desktop kernel: usb 1-2: Manufacturer: Maxtor Jan 18 16:54:20 desktop kernel: usb 1-2: SerialNumber: DEF10647FBB9 Jan 18 16:54:20 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:54:20 desktop kernel: usb 1-2: registering 1-2:1.0 (config #1, interface 0) Jan 18 16:54:20 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:54:20 desktop kernel: usbserial 1-2:1.0: usb_probe_interface Jan 18 16:54:20 desktop kernel: usbserial 1-2:1.0: usb_probe_interface - got id Jan 18 16:54:20 desktop kernel: usb-storage 1-2:1.0: usb_probe_interface Jan 18 16:54:20 desktop kernel: usb-storage 1-2:1.0: usb_probe_interface - got id Jan 18 16:54:20 desktop kernel: scsi1 : SCSI emulation for USB Mass Storage devices Jan 18 16:54:20 desktop /sbin/hotplug[2870]: no runnable /etc/hotplug/ scsi_host.agent is installed Jan 18 16:54:23 desktop /etc/hotplug/usb.agent[2877]: Bad USB agent invocation Jan 18 16:54:24 desktop /sbin/hotplug[2886]: no runnable /etc/hotplug/ scsi.agent is installed Jan 18 16:54:24 desktop kernel: Vendor: Maxtor 2 Model: F040J0 Rev: 0 0 Jan 18 16:54:24 desktop /sbin/hotplug[2893]: no runnable /etc/hotplug/ block.agent is installed Jan 18 16:54:24 desktop kernel: Type: Direct-Access ANSI SCSI revision: 02 Jan 18 16:54:24 desktop kernel: SCSI device sda: 80293248 512-byte hdwr sectors (41110 MB) Jan 18 16:54:24 desktop kernel: sda: assuming drive cache: write through Jan 18 16:54:24 desktop /sbin/hotplug[2900]: no runnable /etc/hotplug/ block.agent is installed Jan 18 16:54:24 desktop /sbin/hotplug[2901]: no runnable /etc/hotplug/ scsi_device.agent is installed Jan 18 16:54:24 desktop kernel: sda: sda1 Jan 18 16:54:24 desktop kernel: Attached scsi disk sda at scsi1, channel 0, id 0, lun 0 Jan 18 16:54:24 desktop kernel: Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0 Jan 18 16:54:24 desktop kernel: WARNING: USB Mass Storage data integrity not assured Jan 18 16:54:24 desktop kernel: USB Mass Storage device found at 3 Jan 18 16:54:24 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 003802 POWER OWNER sig=j CSC Jan 18 16:54:24 desktop kernel: hub 1-0:1.0: port 5, status 0, change 1, 12 Mb/s Jan 18 16:54:26 desktop modprobe: FATAL: Module usb_storage already in kernel. Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: modules.usbmap unparsable line: Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: . Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: modules.usbmap unparsable line: Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: . Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: modules.usbmap unparsable line: Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: . Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: modules.usbmap unparsable line: Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: . Jan 18 16:54:26 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 16:56:29 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 4 status 001803 POWER sig=j CSC CONNECT Jan 18 16:56:29 desktop kernel: hub 1-0:1.0: port 4, status 501, change 1, 480 Mb/s Jan 18 16:56:29 desktop kernel: hub 1-0:1.0: debounce: port 4: delay 100ms stable 4 status 0x501 Jan 18 16:56:29 desktop kernel: ehci_hcd 0000:00:10.3: port 4 full speed --> companion Jan 18 16:56:29 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 4 status 003801 POWER OWNER sig=j CONNECT Jan 18 16:56:29 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 003802 POWER OWNER sig=j CSC Jan 18 16:56:29 desktop kernel: hub 1-0:1.0: port 5, status 0, change 1, 12 Mb/s Jan 18 16:56:29 desktop kernel: drivers/usb/host/uhci-hcd.c: d800: wakeup_hc Jan 18 16:56:29 desktop kernel: hub 3-0:1.0: port 2, status 101, change 1, 12 Mb/s Jan 18 16:56:29 desktop kernel: hub 3-0:1.0: debounce: port 2: delay 100ms stable 4 status 0x101 Jan 18 16:56:29 desktop kernel: hub 3-0:1.0: new USB device on port 2, assigned address 2 Jan 18 16:56:29 desktop kernel: usb 3-2: new device strings: Mfr=1, Product=2, SerialNumber=0 Jan 18 16:56:29 desktop kernel: drivers/usb/core/message.c: USB device number 2 default language ID 0x409 Jan 18 16:56:29 desktop kernel: usb 3-2: Product: Perfection1200 Jan 18 16:56:29 desktop kernel: usb 3-2: Manufacturer: EPSON Jan 18 16:56:29 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:56:29 desktop kernel: usb 3-2: registering 3-2:1.0 (config #1, interface 0) Jan 18 16:56:29 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:56:29 desktop kernel: usbserial 3-2:1.0: usb_probe_interface Jan 18 16:56:29 desktop kernel: usbserial 3-2:1.0: usb_probe_interface - got id Jan 18 16:56:32 desktop /etc/hotplug/usb.agent[3123]: Bad USB agent invocation Jan 18 16:56:35 desktop modprobe: FATAL: Module scanner not found. Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: modules.usbmap unparsable line: Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: . Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: modules.usbmap unparsable line: Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: . Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: modules.usbmap unparsable line: Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: . Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: modules.usbmap unparsable line: Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: . Jan 18 16:56:36 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 16:58:28 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:28 desktop sane-find-scanner: resmgr: server response code 200 Jan 18 16:58:28 desktop resmgr[971]: disconnect from jim Jan 18 16:58:28 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:28 desktop sane-find-scanner: resmgr: server response code 200 Jan 18 16:58:28 desktop resmgr[971]: disconnect from jim Jan 18 16:58:28 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:28 desktop sane-find-scanner: resmgr: server response code 200 Jan 18 16:58:28 desktop resmgr[971]: disconnect from jim Jan 18 16:58:28 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:28 desktop sane-find-scanner: resmgr: server response code 200 Jan 18 16:58:28 desktop resmgr[971]: disconnect from jim Jan 18 16:58:28 desktop kernel: usbfs: USBDEVFS_CONTROL failed cmd sane-find-scann dev 2 rqt 128 rq 6 len 100 ret -32 Jan 18 16:58:28 desktop kernel: usbfs: USBDEVFS_CONTROL failed cmd sane-find-scann dev 2 rqt 128 rq 6 len 100 ret -32 Jan 18 16:58:47 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:47 desktop scanimage: resmgr: server response code 200 Jan 18 16:58:47 desktop resmgr[971]: disconnect from jim Jan 18 16:58:47 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:47 desktop scanimage: resmgr: server response code 200 Jan 18 16:58:47 desktop resmgr[971]: disconnect from jim Jan 18 16:58:47 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:47 desktop scanimage: resmgr: server response code 200 Jan 18 16:58:47 desktop resmgr[971]: disconnect from jim Jan 18 16:58:47 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:47 desktop scanimage: resmgr: server response code 200 Jan 18 16:58:47 desktop resmgr[971]: disconnect from jim Jan 18 16:58:47 desktop kernel: usb 3-2: usb_disable_device nuking non-ep0 URBs Jan 18 16:58:47 desktop kernel: usb 3-2: unregistering interface 3-2:1.0 Jan 18 16:58:47 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:58:47 desktop kernel: usb 3-2: registering 3-2:1.0 (config #1, interface 0) Jan 18 16:58:47 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:58:47 desktop kernel: usbserial 3-2:1.0: usb_probe_interface Jan 18 16:58:47 desktop kernel: usbserial 3-2:1.0: usb_probe_interface - got id Jan 18 16:58:51 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 16:58:51 desktop kernel: usb 3-2: control timeout on ep0in Jan 18 16:58:51 desktop kernel: usb 3-2: hcd_unlink_urb cec4df40 fail -22 Jan 18 16:58:51 desktop modprobe: FATAL: Module scanner not found. Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: modules.usbmap unparsable line: Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: . Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: modules.usbmap unparsable line: Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: . Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: modules.usbmap unparsable line: Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: . Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: modules.usbmap unparsable line: Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: . Jan 18 16:58:51 desktop kernel: usb 3-2: control timeout on ep0in Jan 18 16:58:51 desktop kernel: usb 3-2: hcd_unlink_urb cec4df40 fail -22 Jan 18 16:58:52 desktop /etc/hotplug/usb.agent[3356]: /var/run/hotplug/ usb-remover-%4b8%104%103%255%255%255: line 3: /etc/hotplug/usb/epson_scanner: Permission denied Jan 18 16:58:52 desktop /etc/hotplug/usb.agent[3356]: FATAL: Module scanner not found. Jan 18 16:58:52 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-13. error = 256 Jan 18 16:59:00 desktop /USR/SBIN/CRON[3663]: (root) CMD ( rm -f /var/spool/ cron/lastrun/cron.hourly) Jan 18 17:01:28 desktop resmgr[971]: accepted connection from user jim Jan 18 17:01:28 desktop xsane: resmgr: server response code 200 Jan 18 17:01:28 desktop resmgr[971]: accepted connection from user jim Jan 18 17:01:28 desktop resmgr[971]: disconnect from jim Jan 18 17:01:28 desktop resmgr[971]: disconnect from jim Jan 18 17:01:28 desktop xsane: resmgr: server response code 200 Jan 18 17:01:28 desktop resmgr[971]: accepted connection from user jim Jan 18 17:01:28 desktop xsane: resmgr: server response code 200 Jan 18 17:01:28 desktop resmgr[971]: accepted connection from user jim Jan 18 17:01:28 desktop resmgr[971]: disconnect from jim Jan 18 17:01:28 desktop resmgr[971]: disconnect from jim Jan 18 17:01:28 desktop xsane: resmgr: server response code 200 Jan 18 17:01:28 desktop kernel: usb 3-2: usb_disable_device nuking non-ep0 URBs Jan 18 17:01:28 desktop kernel: usb 3-2: unregistering interface 3-2:1.0 Jan 18 17:01:28 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:01:28 desktop kernel: usb 3-2: registering 3-2:1.0 (config #1, interface 0) Jan 18 17:01:28 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:01:28 desktop kernel: usbserial 3-2:1.0: usb_probe_interface Jan 18 17:01:28 desktop kernel: usbserial 3-2:1.0: usb_probe_interface - got id Jan 18 17:01:28 desktop kernel: usb 3-2: usb_disable_device nuking non-ep0 URBs Jan 18 17:01:28 desktop kernel: usb 3-2: unregistering interface 3-2:1.0 Jan 18 17:01:28 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:01:28 desktop kernel: usb 3-2: registering 3-2:1.0 (config #1, interface 0) Jan 18 17:01:28 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:01:28 desktop kernel: usbserial 3-2:1.0: usb_probe_interface Jan 18 17:01:28 desktop kernel: usbserial 3-2:1.0: usb_probe_interface - got id Jan 18 17:01:31 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:01:32 desktop modprobe: FATAL: Module scanner not found. Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: . Jan 18 17:01:32 desktop kernel: usb 3-2: control timeout on ep0in Jan 18 17:01:32 desktop kernel: usb 3-2: hcd_unlink_urb cea0a640 fail -22 Jan 18 17:01:32 desktop kernel: usb 3-2: control timeout on ep0in Jan 18 17:01:32 desktop kernel: usb 3-2: hcd_unlink_urb cea0a240 fail -22 Jan 18 17:01:32 desktop modprobe: FATAL: Module scanner not found. Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: cannot get config descriptor 0, Broken pipe (32) Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: cannot get config descriptor 0, Broken pipe (32) Jan 18 17:01:32 desktop kernel: usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 9 ret -32 Jan 18 17:01:32 desktop kernel: usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 32 ret -32 Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: cannot get config descriptor 0, Broken pipe (32) Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: cannot get config descriptor 0, Broken pipe (32) Jan 18 17:01:32 desktop kernel: usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 9 ret -32 Jan 18 17:01:32 desktop kernel: usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 9 ret -32 Jan 18 17:01:32 desktop kernel: usb 3-2: control timeout on ep0in Jan 18 17:01:32 desktop kernel: usb 3-2: hcd_unlink_urb cea0a240 fail -22 Jan 18 17:01:32 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:01:33 desktop /etc/hotplug/usb.agent[3766]: /var/run/hotplug/ usb-remover-%4b8%104%103%255%255%255: line 3: /etc/hotplug/usb/epson_scanner: Permission denied Jan 18 17:01:33 desktop /etc/hotplug/usb.agent[3766]: FATAL: Module scanner not found. Jan 18 17:01:33 desktop kernel: request_module: failed /sbin/modprobe -- char-major-9-0. error = 256 Jan 18 17:01:35 desktop /etc/hotplug/usb.agent[3804]: FATAL: Module scanner not found. Jan 18 17:07:45 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 4 status 003802 POWER OWNER sig=j CSC Jan 18 17:07:45 desktop kernel: hub 1-0:1.0: port 4, status 0, change 1, 12 Mb/s Jan 18 17:07:45 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 001002 POWER sig=se0 CSC Jan 18 17:07:45 desktop kernel: hub 1-0:1.0: port 5, status 100, change 1, 12 Mb/s Jan 18 17:07:45 desktop kernel: hub 4-0:1.0: port 1, status 100, change 3, 12 Mb/s Jan 18 17:07:45 desktop kernel: usb 4-1: USB disconnect, address 2 Jan 18 17:07:45 desktop kernel: usb 4-1: usb_disable_device nuking all URBs Jan 18 17:07:45 desktop kernel: usb 4-1: unregistering interface 4-1:1.0 Jan 18 17:07:45 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:07:45 desktop kernel: usb 4-1: unregistering device Jan 18 17:07:45 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:07:46 desktop kernel: hub 4-0:1.0: port 1 enable change, status 100 Jan 18 17:07:46 desktop kernel: drivers/usb/host/uhci-hcd.c: dc00: suspend_hc Jan 18 17:07:49 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:07:52 desktop /etc/hotplug/usb.agent[4549]: Bad USB agent invocation Jan 18 17:08:01 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 4 status 003802 POWER OWNER sig=j CSC Jan 18 17:08:01 desktop kernel: hub 1-0:1.0: port 4, status 0, change 1, 12 Mb/s Jan 18 17:08:01 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 001803 POWER sig=j CSC CONNECT Jan 18 17:08:01 desktop kernel: hub 1-0:1.0: port 5, status 501, change 1, 480 Mb/s Jan 18 17:08:01 desktop kernel: hub 1-0:1.0: debounce: port 5: delay 100ms stable 4 status 0x501 Jan 18 17:08:01 desktop kernel: ehci_hcd 0000:00:10.3: port 5 full speed --> companion Jan 18 17:08:01 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 003801 POWER OWNER sig=j CONNECT Jan 18 17:08:01 desktop kernel: drivers/usb/host/uhci-hcd.c: dc00: wakeup_hc Jan 18 17:08:01 desktop kernel: hub 4-0:1.0: port 1, status 101, change 1, 12 Mb/s Jan 18 17:08:01 desktop kernel: hub 4-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x101 Jan 18 17:08:01 desktop kernel: hub 4-0:1.0: new USB device on port 1, assigned address 3 Jan 18 17:08:01 desktop kernel: usb 4-1: new device strings: Mfr=1, Product=2, SerialNumber=0 Jan 18 17:08:01 desktop kernel: drivers/usb/core/message.c: USB device number 3 default language ID 0x409 Jan 18 17:08:01 desktop kernel: usb 4-1: Product: USB Printer Jan 18 17:08:01 desktop kernel: usb 4-1: Manufacturer: EPSON Jan 18 17:08:01 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:08:01 desktop kernel: usb 4-1: registering 4-1:1.0 (config #1, interface 0) Jan 18 17:08:01 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:08:01 desktop kernel: usbserial 4-1:1.0: usb_probe_interface Jan 18 17:08:01 desktop kernel: usbserial 4-1:1.0: usb_probe_interface - got id Jan 18 17:08:05 desktop /etc/hotplug/usb.agent[4592]: Bad USB agent invocation Jan 18 17:08:08 desktop modprobe: FATAL: Module printer not found. Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: modules.usbmap unparsable line: Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: . Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: modules.usbmap unparsable line: Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: . Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: modules.usbmap unparsable line: Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: . Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: modules.usbmap unparsable line: Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: . Jan 18 17:08:08 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:10:04 desktop kernel: usblp 4-1:1.0: usb_probe_interface Jan 18 17:10:04 desktop kernel: usblp 4-1:1.0: usb_probe_interface - got id Jan 18 17:10:04 desktop kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0001 Jan 18 17:10:04 desktop kernel: drivers/usb/core/file.c: looking for a minor, starting at 0 Jan 18 17:10:04 desktop kernel: drivers/usb/core/usb.c: registered new driver usblp Jan 18 17:10:04 desktop kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver Jan 18 17:10:07 desktop /etc/hotplug/usb.agent[4785]: Bad USB agent invocation Jan 18 17:10:52 desktop su: (to root) jim on /dev/pts/4 Jan 18 17:10:52 desktop su: pam_unix2: session started for user root, service su Jan 18 17:10:52 desktop su: pam_unix2: session finished for user root, service su Jan 18 17:10:52 desktop su: (to root) jim on /dev/pts/4 Jan 18 17:10:52 desktop su: pam_unix2: session started for user root, service su Jan 18 17:11:17 desktop kernel: pnp: Device 00:0d disabled. Jan 18 17:11:18 desktop kernel: pnp: Device 00:0d activated. Jan 18 17:11:18 desktop kernel: parport0: PC-style at 0x378 [PCSPP(,...)] Jan 18 17:11:18 desktop kernel: lp0: using parport0 (polling). Jan 18 17:11:18 desktop kernel: pnp: Device 00:0d disabled. Jan 18 17:11:18 desktop kernel: pnp: Device 00:0d activated. Jan 18 17:11:18 desktop kernel: parport0: PC-style at 0x378 [PCSPP(,...)] Jan 18 17:11:18 desktop kernel: usb 4-1: hcd_unlink_urb cdcb27c0 fail -22 Jan 18 17:11:18 desktop kernel: usb 4-1: hcd_unlink_urb cdcb2340 fail -22 Jan 18 17:11:18 desktop kernel: usb 4-1: hcd_unlink_urb cdcb27c0 fail -22 Jan 18 17:11:18 desktop kernel: usb 4-1: hcd_unlink_urb cdcb2340 fail -22 Jan 18 17:11:31 desktop kernel: lp0: using parport0 (polling). Jan 18 17:11:31 desktop kernel: request_module: failed /sbin/modprobe -- char-major-4-72. error = 256 Jan 18 17:11:31 desktop kernel: usb 4-1: hcd_unlink_urb cdcb27c0 fail -22 Jan 18 17:11:31 desktop kernel: usb 4-1: hcd_unlink_urb cdcb2340 fail -22 Jan 18 17:11:33 desktop kernel: request_module: failed /sbin/modprobe -- char-major-4-72. error = 256 Jan 18 17:11:33 desktop kernel: usb 4-1: hcd_unlink_urb cdcb27c0 fail -22 Jan 18 17:12:53 desktop resmgr[971]: accepted connection from user jim Jan 18 17:12:53 desktop xsane: resmgr: server response code 200 Jan 18 17:12:53 desktop resmgr[971]: accepted connection from user jim Jan 18 17:12:53 desktop resmgr[971]: disconnect from jim Jan 18 17:12:53 desktop resmgr[971]: disconnect from jim Jan 18 17:12:53 desktop xsane: resmgr: server response code 200 Jan 18 17:12:53 desktop resmgr[971]: accepted connection from user jim Jan 18 17:12:53 desktop xsane: resmgr: server response code 200 Jan 18 17:12:53 desktop resmgr[971]: accepted connection from user jim Jan 18 17:12:53 desktop resmgr[971]: disconnect from jim Jan 18 17:12:53 desktop resmgr[971]: disconnect from jim Jan 18 17:12:53 desktop xsane: resmgr: server response code 200 Jan 18 17:12:53 desktop kernel: usb 3-2: usb_disable_device nuking non-ep0 URBs Jan 18 17:12:53 desktop kernel: usb 3-2: unregistering interface 3-2:1.0 Jan 18 17:12:53 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:12:53 desktop kernel: usb 3-2: registering 3-2:1.0 (config #1, interface 0) Jan 18 17:12:53 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:12:53 desktop kernel: usbserial 3-2:1.0: usb_probe_interface Jan 18 17:12:53 desktop kernel: usbserial 3-2:1.0: usb_probe_interface - got id Jan 18 17:12:54 desktop kernel: usb 3-2: usb_disable_device nuking non-ep0 URBs Jan 18 17:12:54 desktop kernel: usb 3-2: unregistering interface 3-2:1.0 Jan 18 17:12:54 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:12:54 desktop kernel: usb 3-2: registering 3-2:1.0 (config #1, interface 0) Jan 18 17:12:54 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:12:54 desktop kernel: usbserial 3-2:1.0: usb_probe_interface Jan 18 17:12:54 desktop kernel: usbserial 3-2:1.0: usb_probe_interface - got id Jan 18 17:12:57 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:12:57 desktop modprobe: FATAL: Module scanner not found. Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: modules.usbmap unparsable line: Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: . Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: modules.usbmap unparsable line: Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: . Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: modules.usbmap unparsable line: Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: . Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: modules.usbmap unparsable line: Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: . Jan 18 17:12:57 desktop kernel: usb 3-2: control timeout on ep0in Jan 18 17:12:57 desktop kernel: usb 3-2: hcd_unlink_urb cdcb2bc0 fail -22 Jan 18 17:12:58 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:13:00 desktop modprobe: FATAL: Module scanner not found. Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: modules.usbmap unparsable line: Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: . Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: modules.usbmap unparsable line: Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: . Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: modules.usbmap unparsable line: Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: . Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: modules.usbmap unparsable line: Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: . Jan 18 17:13:00 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:13:01 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-13. error = 256 Jan 18 17:13:02 desktop /etc/hotplug/usb.agent[5744]: /var/run/hotplug/ usb-remover-%4b8%104%103%255%255%255: line 3: /etc/hotplug/usb/epson_scanner: Permission denied Jan 18 17:13:02 desktop /etc/hotplug/usb.agent[5744]: FATAL: Module scanner not found. Jan 18 17:13:11 desktop kernel: usb 4-1: hcd_unlink_urb cdcb27c0 fail -22 Jan 18 17:13:11 desktop kernel: usb 4-1: hcd_unlink_urb cdcb2340 fail -22 Jan 18 17:14:01 desktop su: pam_unix2: session finished for user root, service su Jan 18 17:14:07 desktop gconfd (jim-5909): starting (version 2.2.1), pid 5909 user 'jim' Jan 18 17:14:07 desktop gconfd (jim-5909): Resolved address "xml:readonly:/ etc/opt/gnome/gconf/gconf.xml.mandatory" to a read-only config source at position 0 Jan 18 17:14:07 desktop gconfd (jim-5909): Resolved address "xml:readonly:/ etc/opt/gnome/gconf/preconf/gconf.xml.defaults" to a read-only config source at position 1 Jan 18 17:14:07 desktop gconfd (jim-5909): Resolved address "xml:readwrite:/ home/jim/.gconf" to a writable config source at position 2 Jan 18 17:14:56 desktop kernel: ksysguardd: numerical sysctl 7 2 1 is obsolete. Jan 18 17:44:11 desktop -- MARK -- From jesper@pobox.com Mon Jan 19 01:00:37 2004 From: jesper@pobox.com (Jesper Anderson) Date: Mon, 19 Jan 2004 02:00:37 +0100 Subject: [sane-devel] xsane and Gimp 2.0 In-Reply-To: <87d69h8d3i.fsf@frigate.technologeek.org> References: <20040118143853.GA13079@acheron.the-domination.com> <87d69h8d3i.fsf@frigate.technologeek.org> Message-ID: <20040119010037.GA2972@acheron.the-domination.com> On Sun, Jan 18, 2004 at 04:56:33PM +0100, Julien BLACHE wrote: > > > > Apply to a clean source tree with patch -p1, run configure, build. It > defaults to GTK2+GIMP2.0. (you don't need to run autoconf) > > WARNING: the autoconf check that comes with GIMP 2.0 expects version > strings of the form x.y.z, and GIMP 2.0 pre-versions have a version > string of the form 2.0preX, so the check barfs. > > You'll have to edit either gimptool or the .pc file for GIMP 2.0 so > that they return 2.0.0 as the version string. I found that when I edit gimptool, that is not enough; I had to edit the pc file as well to make it work. I didn't try with only the pc file edited, and not gimptool. It's running fine for me; Slackware 9.1, just installed the new gimp and xsane from source, no problems at all (except the occasional stubborness of my old skool parallel port Epson GT 6000, and that I need saned to be run as root in debug mode; but that's not xsane's problem). Great work, thanks a bunch! Jesper From jb@jblache.org Mon Jan 19 11:33:57 2004 From: jb@jblache.org (Julien BLACHE) Date: Mon, 19 Jan 2004 12:33:57 +0100 Subject: [sane-devel] xsane and Gimp 2.0 In-Reply-To: <20040119010037.GA2972@acheron.the-domination.com> (Jesper Anderson's message of "Mon, 19 Jan 2004 02:00:37 +0100") References: <20040118143853.GA13079@acheron.the-domination.com> <87d69h8d3i.fsf@frigate.technologeek.org> <20040119010037.GA2972@acheron.the-domination.com> Message-ID: <87wu7o5g0q.fsf@frigate.technologeek.org> Jesper Anderson wrote: Hi, >> You'll have to edit either gimptool or the .pc file for GIMP 2.0 so >> that they return 2.0.0 as the version string. > > I found that when I edit gimptool, that is not enough; I had to edit > the pc file as well to make it work. I didn't try with only the pc > file edited, and not gimptool. If you have package-config installed, the autoconf check uses package-config, so editing the .pc file is enough. Otherwise you have to edit gimptool, sorry if I didn't make it clear :) Glad to hear that it works fine :-) JB. -- Julien BLACHE GPG KeyID 0xF5D65169 From jim.george@blueyonder.co.uk Mon Jan 19 21:50:12 2004 From: jim.george@blueyonder.co.uk (Jim George) Date: Mon, 19 Jan 2004 21:50:12 -0000 (GMT) Subject: [sane-devel] Canon LIDE 20 or LIDE 30 or EPSON 1660 P Message-ID: <1242.192.168.0.20.1074549012.squirrel@tassi.local> Chaps, does anyone know if either of the above are supported by SANE? I was unable to find them on the supported device page but thought that maybe they were known by another name. I also noted in the spec of my local supplier that the USB port is USB 2.0 compatible, does this mean it doesn't work with USB 1.1? I ask because my Linux system is an old Dell Latitude. Brgrds, Jim From xiphmont@xiph.org Mon Jan 19 20:59:23 2004 From: xiphmont@xiph.org (Monty) Date: Mon, 19 Jan 2004 15:59:23 -0500 Subject: [sane-devel] Canon LIDE 20 or LIDE 30 or EPSON 1660 P In-Reply-To: <1242.192.168.0.20.1074549012.squirrel@tassi.local> References: <1242.192.168.0.20.1074549012.squirrel@tassi.local> Message-ID: <20040119205923.GI2972@lips.xiph.org> On Mon, Jan 19, 2004 at 09:50:12PM -0000, Jim George wrote: > Chaps, > > does anyone know if either of the above are supported by SANE? > > I was unable to find them on the supported device page but thought that > maybe they were known by another name. Both are fully supported by 1.0.13, and you do want at least that version. > I also noted in the spec of my local supplier that the USB port is USB 2.0 > compatible, does this mean it doesn't work with USB 1.1? I ask because my > Linux system is an old Dell Latitude. It will work with USB 1.1. Monty From xiphmont@xiph.org Mon Jan 19 21:02:15 2004 From: xiphmont@xiph.org (Monty) Date: Mon, 19 Jan 2004 16:02:15 -0500 Subject: [sane-devel] Canon LIDE 20 or LIDE 30 or EPSON 1660 P In-Reply-To: <1242.192.168.0.20.1074549012.squirrel@tassi.local> References: <1242.192.168.0.20.1074549012.squirrel@tassi.local> Message-ID: <20040119210215.GJ2972@lips.xiph.org> (sorry, I missed the third scanner; I know the LiDE 20 and 30 are well supported) Monty From neundorf@kde.org Mon Jan 19 21:24:31 2004 From: neundorf@kde.org (Alexander Neundorf) Date: Mon, 19 Jan 2004 22:24:31 +0100 Subject: [sane-devel] Canon LIDE 20 or LIDE 30 or EPSON 1660 P In-Reply-To: <1242.192.168.0.20.1074549012.squirrel@tassi.local> References: <1242.192.168.0.20.1074549012.squirrel@tassi.local> Message-ID: <200401192224.31750.neundorf@kde.org> On Monday 19 January 2004 22:50, Jim George wrote: > Chaps, > > does anyone know if either of the above are supported by SANE? > > I was unable to find them on the supported device page but thought that > maybe they were known by another name. ... See: http://www.sane-project.org/sane-supported-devices.html I own a Canon Lide 30, and it works good. The calibrating steps before the actual scanning starts takes a bit long, maybe 20 seonds, otherwise it works very good, and takes away almost no space :-) Bye Alex -- Work: alexander.neundorf@jenoptik.com - http://www.jenoptik-los.de Home: neundorf@kde.org - http://www.kde.org alex@neundorf.net - http://www.neundorf.net From khk@khk.net Mon Jan 19 23:27:48 2004 From: khk@khk.net (Karl Heinz Kremer) Date: Mon, 19 Jan 2004 18:27:48 -0500 Subject: [sane-devel] Canon LIDE 20 or LIDE 30 or EPSON 1660 P In-Reply-To: <1242.192.168.0.20.1074549012.squirrel@tassi.local> References: <1242.192.168.0.20.1074549012.squirrel@tassi.local> Message-ID: <17946756-4AD7-11D8-A5BE-000A957E40E8@khk.net> I don't know where you looked, but the Perfection 1660 is listed here : http://www.sane-project.org/sane-mfgs.html#EPSON :-) The "Photo" extension does not make a difference, and I'm not even sure if you can buy the scanner without the Photo designation. And yes, it's supported. Karl Heinz On Jan 19, 2004, at 4:50 PM, Jim George wrote: > Chaps, > > does anyone know if either of the above are supported by SANE? > > I was unable to find them on the supported device page but thought that > maybe they were known by another name. > > I also noted in the spec of my local supplier that the USB port is USB > 2.0 > compatible, does this mean it doesn't work with USB 1.1? I ask > because my > Linux system is an old Dell Latitude. > > Brgrds, > > Jim > > > > > -- > 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-request@lists.alioth.debian.org From Franz Bakan" Hello, On Mon, 12 Jan 2004 21:00:16 +0100, Oliver Rauch wrote: >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 have testers, but no definite result so far regarding the thread()-version. But an error-report regarding 1.0.13: Scanner: UMAX S-6E V2.0C SCSI-Card: Adpatec AHA-1520/1522 When the user does not redirect '1' to a file the scanner works and finishes normal. When he redirects the image-data to a file image.pnm the scanner starts to work, but after a while it ends with: [umax] starting scan [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 1 [umax] do_calibration [umax] wait_scanner [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 0 [sanei_scsi] sanei_scsi_cmd: command 0x00 failed. PSRBlock->status= 0x04 PSRBlock->u.chm.ha_status= 0x00 PSRBlock->u.cmd.target_status= 0x00 [umax] scanner reports Error during device I/O, waiting ... [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 0 [sanei_scsi] sanei_scsi_cmd: command 0x00 failed. PSRBlock->status= 0x04 PSRBlock->u.chm.ha_status= 0x00 PSRBlock->u.cmd.target_status= 0x00 ... PSRBlock->status= 0x04 PSRBlock->u.chm.ha_status= 0x00 PSRBlock->u.cmd.target_status= 0x00 [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 0 [umax] check condition sense handler (scsi_fd = 0) [umax] check condition sense: VENDOR SPECIFIC [umax] -> no error (#0) [umax] -> calibration by driver [umax] scanner ready [umax] driver is doing calibration [umax] request sense call is disabled [umax] WARNING: missing information about shading-data [umax] driver tries to guess missing values! [umax] Calibration is done with selected image geometry and depth! [umax] scanner sends 66 lines with 7647 pixels and 1 bytes/pixel [umax] calculating average value for 8 bit shading data! [umax] read_shading_data [sanei_scsi] sanei_scsi_cmd: Reading PSRBlock->u.cmd.data_len= 7647 [umax] 8 bit shading-line 1 read ... [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 7647 [umax] shading-data sent [umax] start_scan [umax] starting scan [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 1 [umax] sane_get_parameters [umax] reader_process started [umax] reader_process: allocating SCSI buffer[1] [umax] reader_process: starting to READ data [umax] trim_rowbufsize: row_bufsize = 33150 bytes = 13 lines [umax] reading 2983500 bytes in blocks of 33150 bytes [umax] wait_scanner [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 0 [sanei_scsi] sanei_scsi_cmd: command 0x00 failed. PSRBlock->status= 0x04 PSRBlock->u.chm.ha_status= 0x00 PSRBlock->u.cmd.target_status= 0x00 [umax] scanner reports Error during device I/O, waiting ... [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 0 [sanei_scsi] sanei_scsi_cmd: command 0x00 failed. PSRBlock->status= 0x04 PSRBlock->u.chm.ha_status= 0x11 PSRBlock->u.cmd.target_status= 0x00 [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 0 [umax] scanner ready [umax] umax_queue_read_image_data_req for buffer[0], length = 33150 [sanei_scsi] sanei_scsi_cmd: Reading PSRBlock->u.cmd.data_len= 33150 [umax] umax_queue_read_image_data_req: id for buffer[0] is 0 [umax] umax_reader_process: read image data queued for buffer[0] [umax] umax_queue_read_image_data_req for buffer[1], length = 33150 [sanei_scsi] sanei_scsi_cmd: Reading PSRBlock->u.cmd.data_len= 33150 [umax] umax_queue_read_image_data_req: id for buffer[1] is 0 [umax] umax_reader_process: read image data queued for buffer[1] [umax] umax_wait_queued_image_data for buffer[0] (id=0) [umax] sane_read: read 8192 bytes [umax] sane_read: read 8192 bytes [umax] sane_read: read 8192 bytes [umax] sane_read: read 8192 bytes [umax] umax_reader_process: buffer of 33150 bytes read; 2950350 bytes to go ... [umax] umax_reader_process: buffer of 33150 bytes read; 1657500 bytes to go [umax] umax_queue_read_image_data_req for buffer[1], length = 33150 [sanei_scsi] sanei_scsi_cmd: Reading PSRBlock->u.cmd.data_len= 33150 [umax] sane_read: read 382 bytes [umax] umax_queue_read_image_data_req: id for buffer[1] is 0 [umax] umax_reader_process: read image data queued for buffer[1] [umax] umax_wait_queued_image_data for buffer[0] (id=0) [umax] sane_read: read 8192 bytes [umax] sane_read: read 8192 bytes [umax] sane_read: read 8192 bytes [umax] sane_read: read 8192 bytes [umax] umax_reader_process: buffer of 33150 bytes read; 1624350 bytes to go [umax] umax_queue_read_image_data_req for buffer[0], length = 33150 [sanei_scsi] sanei_scsi_cmd: Reading PSRBlock->u.cmd.data_len= 33150 [sanei_scsi] sanei_scsi_cmd: DosDevIOCtl failed. rc= 65314 [umax] umax_queue_read_image_data_req: command returned status Error during device I/O [umax] ERROR: umax_reader_process: unable to queue read image data request! ... DosDevIOCtl failed. rc= 65314 means 'Interface Busy' Do you think it makes sense to add 'wait()s' and retry a few times before giving up or should I suggest to change the card/scanner/cables? BTW: Sane 1.0.5 works for this user. Franz From randy@lemnar.com Tue Jan 20 23:55:41 2004 From: randy@lemnar.com (Randy Becker) Date: Tue, 20 Jan 2004 18:55:41 -0500 Subject: [sane-devel] Fwd: TWAIN SANE Interface for MacOS X Message-ID: <2724A547-4BA4-11D8-9D29-0050E4108A1A@lemnar.com> --Apple-Mail-2--301023028 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Any help? also, i've begun scanning via the command line over the network and after a few (~ 15) scans the remote box seems to lock up, and I need to reboot it... -Randy Begin forwarded message: > From: Randy Becker > Date: January 18, 2004 10:56:21 PM EST > To: mattias.ellert@tsl.uu.se > Subject: TWAIN SANE Interface for MacOS X > > Hello, I just dug up an old scanner of mine, and got it set up with > saned on my linux box, and am able to use scanimage to scan via it, > but when I use an application such as Photoshop or GraphicConverter > and attempt to select the source, the app crashes/disappears. I > enabled the test interface, so when I bring up the acquire menu, I can > see and use the test backends, but when I select my networked scanner > from the list, it crashes. I followed the instructions, and did this: > > $ SANE_DEBUG_NET=255 \> > /System/Library/Frameworks/Carbon.framework/Versions/A/Support/ > LaunchCFMApp /Users/rbecker/Desktop/GraphicConverter\ US\ > X/GraphicConverter.app > [sanei_debug] Setting debug level of net to 255. > [net] sane_init: authorize = 0x477b6e0, version_code = 0xbfffd830 > [net] sane_init: SANE net backend version 1.0.12 (AF-indep+IPv6) from > sane-backends 1.0.13 > [net] sane_init: Client has big endian byte order > [net] sane_init: searching for config file > [net] sane_init: trying to add 192.168.1.1 > [net] add_device: adding backend 192.168.1.1 > [net] add_device: backend 192.168.1.1 added > [net] sane_init: done reading config > [net] sane_init: evaluating environment variable SANE_NET_HOSTS > [net] sane_init: done > [net] sane_get_devices: local_only = 0 > [net] connect_dev: trying to connect to 192.168.1.1 > [net] connect_dev: [0] connection succeeded (IPv4) > [net] connect_dev: sanei_w_init > [net] connect_dev: net_init (user=rbecker, local version=1.0.3) > [net] connect_dev: freeing init reply (status=Success, remote > version=1.0.3) > [net] connect_dev: done > [net] sane_get_devices: got 192.168.1.1:umax:/dev/scanner > [net] sane_get_devices: got 192.168.1.1:umax:/dev/sg0 > [net] sane_get_devices: finished (2 devices) > [net] sane_open("192.168.1.1:umax:/dev/scanner") > [net] sane_open: host = 192.168.1.1, device = umax:/dev/scanner > [net] sane_open: device found in list > [net] sane_open: net_open > [net] sane_open: success > [net] sane_get_option_descriptor: option 1 > [net] sane_get_option_descripter: getting option descriptors > [net] fetch_options: 0x3da380 > [net] fetch_options: get_option_descriptors > [net] fetch_options: creating 68 local option descriptors > [net] fetch_options: copying 68 option descriptors > [net] fetch_options: 68 options fetched > Abort trap > > Which is where it closes. > > Any ideas? > > -Randy Becker > --Apple-Mail-2--301023028 Content-Transfer-Encoding: 7bit Content-Type: text/enriched; charset=US-ASCII Any help? also, i've begun scanning via the command line over the network and after a few (~ 15) scans the remote box seems to lock up, and I need to reboot it... -Randy Begin forwarded message: 0000,0000,0000From: Randy Becker < 0000,0000,0000Date: January 18, 2004 10:56:21 PM EST 0000,0000,0000To: mattias.ellert@tsl.uu.se 0000,0000,0000Subject: TWAIN SANE Interface for MacOS X Hello, I just dug up an old scanner of mine, and got it set up with saned on my linux box, and am able to use scanimage to scan via it, but when I use an application such as Photoshop or GraphicConverter and attempt to select the source, the app crashes/disappears. I enabled the test interface, so when I bring up the acquire menu, I can see and use the test backends, but when I select my networked scanner from the list, it crashes. I followed the instructions, and did this: $ SANE_DEBUG_NET=255 \> /System/Library/Frameworks/Carbon.framework/Versions/A/Support/LaunchCFMApp /Users/rbecker/Desktop/GraphicConverter\ US\ X/GraphicConverter.app [sanei_debug] Setting debug level of net to 255. [net] sane_init: authorize = 0x477b6e0, version_code = 0xbfffd830 [net] sane_init: SANE net backend version 1.0.12 (AF-indep+IPv6) from sane-backends 1.0.13 [net] sane_init: Client has big endian byte order [net] sane_init: searching for config file [net] sane_init: trying to add 192.168.1.1 [net] add_device: adding backend 192.168.1.1 [net] add_device: backend 192.168.1.1 added [net] sane_init: done reading config [net] sane_init: evaluating environment variable SANE_NET_HOSTS [net] sane_init: done [net] sane_get_devices: local_only = 0 [net] connect_dev: trying to connect to 192.168.1.1 [net] connect_dev: [0] connection succeeded (IPv4) [net] connect_dev: sanei_w_init [net] connect_dev: net_init (user=rbecker, local version=1.0.3) [net] connect_dev: freeing init reply (status=Success, remote version=1.0.3) [net] connect_dev: done [net] sane_get_devices: got 192.168.1.1:umax:/dev/scanner [net] sane_get_devices: got 192.168.1.1:umax:/dev/sg0 [net] sane_get_devices: finished (2 devices) [net] sane_open("192.168.1.1:umax:/dev/scanner") [net] sane_open: host = 192.168.1.1, device = umax:/dev/scanner [net] sane_open: device found in list [net] sane_open: net_open [net] sane_open: success [net] sane_get_option_descriptor: option 1 [net] sane_get_option_descripter: getting option descriptors [net] fetch_options: 0x3da380 [net] fetch_options: get_option_descriptors [net] fetch_options: creating 68 local option descriptors [net] fetch_options: copying 68 option descriptors [net] fetch_options: 68 options fetched Abort trap Which is where it closes. Any ideas? -Randy Becker --Apple-Mail-2--301023028-- From mike@alezan.org Wed Jan 21 10:50:47 2004 From: mike@alezan.org (Mickael Profeta) Date: Wed, 21 Jan 2004 11:50:47 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040115201730.GB1768@meier-geinitz.de> References: <20040115201730.GB1768@meier-geinitz.de> Message-ID: <400E5987.60100@alezan.org> Hi >> The logs are in http://www.alezan.org/hp3670/, in SnoopyPro binary format. I >>tried to use usblogdump in Linux but it doesn't work very well for me. I had to >>analyze them in Windoze using SnoopyPro. > > > I'll check later. I don't have a working Windows or WINE installation > currently. sorry about that, I manage to export once in xml format, but do not manage anymore??? I tried also to use sniffusb-0.13, but the debugger (dbview) failed to connect (can not contact driver???). Maybe because I am using windows XP Home, does someone know a workaround? Another usb sniffer? > You can try that for testing. But this can't be used in the published > version because control messages like that will confuse non-gl646 > scanners. That's the reason we use the descriptor to identify the > chipset first and then send specific commands. That's not absolutely > safe either but better then writing directly. I will try to test this to see if we can get some informations... Mike From gerard@gkall.hobby.nl Wed Jan 21 13:33:19 2004 From: gerard@gkall.hobby.nl (gerard klaver) Date: Wed, 21 Jan 2004 12:33:19 -0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <400E5987.60100@alezan.org> References: <20040115201730.GB1768@meier-geinitz.de> <400E5987.60100@alezan.org> Message-ID: <1074691999.2002.1.camel@gk-lex3> On Wed, 2004-01-21 at 09:50, Mickael Profeta wrote: > Hi > > >> The logs are in http://www.alezan.org/hp3670/, in SnoopyPro binary format. I > >>tried to use usblogdump in Linux but it doesn't work very well for me. I had to > >>analyze them in Windoze using SnoopyPro. > > > > > > I'll check later. I don't have a working Windows or WINE installation > > currently. > > sorry about that, I manage to export once in xml format, but do not > manage anymore??? > I tried also to use sniffusb-0.13, but the debugger (dbview) failed to > connect (can not contact driver???). Maybe because I am using windows XP > Home, does someone know a workaround? Another usb sniffer? > Did you try sniff-usb 1.8 See http://benoit.papillault.free.fr/usbsnoop/index.en.php -- ---------- m.vr.gr. Gerard Klaver From gerhard@gjaeger.de Wed Jan 21 19:07:20 2004 From: gerhard@gjaeger.de (Jaeger, Gerhard) Date: Wed, 21 Jan 2004 20:07:20 +0100 Subject: [sane-devel] Test-Backend, pthreads & MacOSX Message-ID: <200401212007.20275.gerhard@gjaeger.de> Hi, I've changed the test-backend, that way, that the reader-process now terminates, when running as thread. This change should allow to run the test-backend on MacOSX without patching the sanei_thread lib. Mattias, you might can check this. By removing your patch from the MacOSX SANE-version, the plustek backend and probably others should also run again without hanging after a scan.... Ciao, Gerhard From jb@jblache.org Wed Jan 21 21:35:40 2004 From: jb@jblache.org (Julien BLACHE) Date: Wed, 21 Jan 2004 22:35:40 +0100 Subject: [sane-devel] xsane and Gimp 2.0 In-Reply-To: <87d69h8d3i.fsf@frigate.technologeek.org> (Julien BLACHE's message of "Sun, 18 Jan 2004 16:56:33 +0100") References: <20040118143853.GA13079@acheron.the-domination.com> <87d69h8d3i.fsf@frigate.technologeek.org> Message-ID: <87n08hf0ib.fsf@frigate.technologeek.org> Julien BLACHE wrote: Hi, > > > Apply to a clean source tree with patch -p1, run configure, build. It > defaults to GTK2+GIMP2.0. (you don't need to run autoconf) I updated the patch, as GIMP 2.0pre2 got fixed with regard to the version string. 2.0pre2 outputs 1.3.25 as its version string, so the autoconf works fine. Also, gimptool-1.3 was renamed to gimptool-2.0 and the gimp-1.3.pc file was renamed to gimp-2.0.pc, so the macro for the autoconf test had to be updated. Oliver, please apply this patch instead of the previous one. JB. -- Julien BLACHE GPG KeyID 0xF5D65169 From stewart@midtoad.homelinux.org Thu Jan 22 07:20:35 2004 From: stewart@midtoad.homelinux.org (Stewart Midwinter) Date: Thu, 22 Jan 2004 00:20:35 -0700 Subject: [sane-devel] HP 5500c scanner support? In-Reply-To: <20040122053613.31650.45428.Mailman@quantz.debian.org> References: <20040122053613.31650.45428.Mailman@quantz.debian.org> Message-ID: <20040122002035.263116f0.stewart@midtoad.homelinux.org> Has anyone done any work on getting the HP 5500c scanner supported? I know it's not on the compatibility list, but... Seeing as how I have one, is there anything I could could do to help this along? run some tools? generate a log/debug file? thanks Stewart in Calgary From mike@alezan.org Thu Jan 22 09:26:49 2004 From: mike@alezan.org (Mickael Profeta) Date: Thu, 22 Jan 2004 10:26:49 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <1074691999.2002.1.camel@gk-lex3> References: <20040115201730.GB1768@meier-geinitz.de> <400E5987.60100@alezan.org> <1074691999.2002.1.camel@gk-lex3> Message-ID: <400F9759.6010803@alezan.org> Hi > Did you try sniff-usb 1.8 > See http://benoit.papillault.free.fr/usbsnoop/index.en.php Great Idea!! This works perfectly and I can get all the transaction even during and after the previsualisation scan I put here the log (in ascii format this time) of the initialisation of the scanner : usbsnoop_init.log and of a session from initialisation to the and of the preview scan usbsnoop_preview.log.gz (careful, it is 5Mo compressed) I also try to play with sane-find scanner log_sane_find_scanner is the original output log_sane_find_scanner_modify is a bad hack where I remove the return 0; lines in check-usb-chip for the check_gl646 function Don't know if it can give information but it does not seems to say it can not read or write the registers.... If you have any idea or comments... Mike From Oliver.Rauch@Rauch-Domain.DE Thu Jan 22 16:37:55 2004 From: Oliver.Rauch@Rauch-Domain.DE (Oliver Rauch) Date: Thu, 22 Jan 2004 17:37:55 +0100 Subject: [sane-devel] xsane and Gimp 2.0 In-Reply-To: <87n08hf0ib.fsf@frigate.technologeek.org> References: <20040118143853.GA13079@acheron.the-domination.com> <87d69h8d3i.fsf@frigate.technologeek.org> <87n08hf0ib.fsf@frigate.technologeek.org> Message-ID: <200401221737.57819.Oliver.Rauch@Rauch-Domain.DE> Hello Julien, Thanks for the new patch. I will take a look at it when I have some more = time.=20 It will take some time to do the tests with different gimp and gtk versio= ns=20 and disabling gimp, forcing it to use a special version, etc. Oliver Am Mittwoch, 21. Januar 2004 22:35 schrieb Julien BLACHE: > Julien BLACHE wrote: > > Hi, > > > > > > > Apply to a clean source tree with patch -p1, run configure, build. It > > defaults to GTK2+GIMP2.0. (you don't need to run autoconf) > > I updated the patch, as GIMP 2.0pre2 got fixed with regard to the > version string. 2.0pre2 outputs 1.3.25 as its version string, so the > autoconf works fine. > > Also, gimptool-1.3 was renamed to gimptool-2.0 and the gimp-1.3.pc > file was renamed to gimp-2.0.pc, so the macro for the autoconf test > had to be updated. > > Oliver, please apply this patch instead of the previous one. > > JB. --=20 http://www.xsane.org http://www.rauch-domain.de http://www.sane-project.org From joerg.pr@olivfabric.de Thu Jan 22 18:46:59 2004 From: joerg.pr@olivfabric.de (joerg.pr@olivfabric.de) Date: Thu, 22 Jan 2004 19:46:59 +0100 Subject: [sane-devel] Unsupported: Mustek BearPaw 4800TA Pro II Message-ID: J=F6rg Preisend=F6rfer | http://www.olivfabric.de Berlin, Jan. 22nd 2004 Hi there, I've just encountered the following unsupported scanner: MUSTEK Be@rPaw 4800TA Pro II Pls note it reports to be manufactured by Hewlett-Packard. ------------------ emtry in /proc/bus/usb/devices: T: Bus=3D01 Lev=3D01 Prnt=3D01 Port=3D01 Cnt=3D01 Dev#=3D 2 Spd=3D12 MxCh= =3D 0 D: Ver=3D 2.00 Cls=3D00(>ifc ) Sub=3D00 Prot=3D00 MxPS=3D64 #Cfgs=3D 1 P: Vendor=3D055f ProdID=3D040a Rev=3D 1.00 S: Manufacturer=3DHewlett-Packard. S: Product=3DUSB2.0 Scanner C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3Dc0 MxPwr=3D100mA I: If#=3D 0 Alt=3D 0 #EPs=3D 3 Cls=3Dff(vend.) Sub=3Dff Prot=3Dff Driver=3D= usbscanner E: Ad=3D01(O) Atr=3D02(Bulk) MxPS=3D 64 Ivl=3D0ms E: Ad=3D82(I) Atr=3D02(Bulk) MxPS=3D 64 Ivl=3D0ms E: Ad=3D83(I) Atr=3D03(Int.) MxPS=3D 1 Ivl=3D3ms ------------------ chipset (in order of increasing size): 1. SQ [brand] SQ100A A335-9901 --- 2. UTC QGOB L6219 TB [O in 1st line may be a Zero] --- 3. ISSI [brand] IS42S16100A1-7T X11882000D 0336 ---- 4. SQ [brand] SQ113C 0335-1408 D0KNS-013 [Zeroes may be O] Any ideas? Cheers, J=F6rg (=3D Georg) From llopis@verizon.net Fri Jan 23 01:02:16 2004 From: llopis@verizon.net (Noel Llopis) Date: Thu, 22 Jan 2004 20:02:16 -0500 Subject: [sane-devel] Timeout problems with HP ScanJet 4100C Message-ID: <200401222002.16604.llopis@verizon.net> Hello, I have recently bought a scanner HP ScanJet 4100C USB specifically because I saw it as one of the ones that had complete support in the SANE web site: http://www.sane-project.org/sane-supported-devices.html I'm running Mandrake 9.2 with the 2.4.22 kernel. I plugged it in and it was automatically mounted on dev/usb/scanner0. I was able to use it with Kooka and with The Gimp plugin directly. So I was very pleased. However, there's something weird going on. If I leave the scanner plugged in and I reboot my computer, it will sit for about one minute at the "Checking for new hardware" step and eventually continue. When I check dmesg I see all these warnings: usb.c: registered new driver usbscanner scanner.c: USB scanner device (0x03f0/0x0101) now attached to scanner0 scanner.c: 0.4.14:USB Scanner Driver [...snip...] usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb-uhci.c: interrupt, status 2, frame# 1962 usb_control/bulk_msg: timeout usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110 usb_control/bulk_msg: timeout usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110 usb-uhci.c: interrupt, status 2, frame# 2039 usb_control/bulk_msg: timeout usbdevfs: USBDEVFS_CONTROL failed dev 6 rqt 128 rq 6 len 100 ret -110 usb_control/bulk_msg: timeout usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110 usb_control/bulk_msg: timeout usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110 usb_control/bulk_msg: timeout The problem isn't just that. If I type cat /proc/bus/usb/devices, I will get a similar pause, and the same thing will happen when I try to run the Mandrake Control Center or HardDrake. Incidentally, here's the output of my usb/devices with only the scanner plugged in: T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.04 S: Manufacturer=Linux 2.4.22-21mdksmpcustom ehci_hcd S: Product=Intel Corp. 82801EB USB2 S: SerialNumber=00:1d.7 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 11/900 us ( 1%), #Int= 1, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ff20 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=03f0 ProdID=0101 Rev= 1.00 S: SerialNumber=00MY8B5534VD C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=usbscanner E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 16 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=250ms T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ff40 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ff60 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ff80 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms And sane-find-scanner reports the following: found USB scanner (vendor=0x03f0, product=0x0101) at /dev/usb/scanner0 found USB scanner (vendor=0x03f0, product=0x0101) at libusb:004:006 Any idea what is going on? Everything seems to work fine except for those delays. Is there anything I can check or change to try to diagnose the problem a bit better? I'm willing to try anything. Thanks in advance. --Noel From maher@its.caltech.edu Fri Jan 23 07:49:25 2004 From: maher@its.caltech.edu (Joseph M. Maher) Date: Thu, 22 Jan 2004 23:49:25 -0800 (PST) Subject: [sane-devel] sane on linux 2.6 Message-ID: I have a hp 2110, and I'm running debian unstable on a vanilla 2.6.1 kernel. Printing works, but scanning doesn't. I guess this is a bug, but I'm not sure which package to report it against... >ariadne:/home/maher# scanimage --list devices > >No scanners were identified. If you were expecting something different, >check that the scanner is plugged in, turned on and detected by the >sane-find-scanner tool (if appropriate). Please read the documentation >which came with this software (README, FAQ, manpages). Running sane-find-scanner (which I know isn't meant to work for hpoj) gives me a kernel oops: Jan 22 23:17:33 ariadne kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000003 Jan 22 23:17:33 ariadne kernel: printing eip: Jan 22 23:17:33 ariadne kernel: c01565c0 Jan 22 23:17:33 ariadne kernel: *pde = 00000000 Jan 22 23:17:33 ariadne kernel: Oops: 0000 [#1] Jan 22 23:17:33 ariadne kernel: CPU: 0 Jan 22 23:17:33 ariadne kernel: EIP: 0060:[chrdev_open+80/320] Not tainted Jan 22 23:17:33 ariadne kernel: EFLAGS: 00010206 Jan 22 23:17:33 ariadne kernel: EIP is at chrdev_open+0x50/0x140 Jan 22 23:17:33 ariadne kernel: eax: 00000003 ebx: d6366a00 ecx: d6366a3c edx: d17b2a1c Jan 22 23:17:33 ariadne kernel: esi: 00000000 edi: 00000000 ebp: d17b2914 esp: d1ab3f20 Jan 22 23:17:33 ariadne kernel: ds: 007b es: 007b ss: 0068 Jan 22 23:17:33 ariadne kernel: Process sane-find-scann (pid: 1117, threadinfo=d1ab2000 task=d241a6a0) Jan 22 23:17:33 ariadne kernel: Stack: 00000000 01500000 d1ab3f2c 00000000 d1e2c480 d17b2914 00000000 d7ff41c0 Jan 22 23:17:33 ariadne kernel: c014d530 d17b2914 d1e2c480 00000882 00020000 d40b7000 d1ab2000 c014d418 Jan 22 23:17:33 ariadne kernel: d17cc880 d7ff41c0 00000882 d1ab3f70 d17cc880 d7ff41c0 fffffff4 d40b7000 Jan 22 23:17:33 ariadne kernel: Call Trace: Jan 22 23:17:33 ariadne kernel: [dentry_open+272/416] dentry_open+0x110/0x1a0 Jan 22 23:17:33 ariadne kernel: [filp_open+104/112] filp_open+0x68/0x70 Jan 22 23:17:33 ariadne kernel: [sys_open+91/144] sys_open+0x5b/0x90 Jan 22 23:17:33 ariadne kernel: [syscall_call+7/11] syscall_call+0x7/0xb Jan 22 23:17:33 ariadne kernel: Jan 22 23:17:33 ariadne kernel: Code: 8b 00 85 c0 74 0b 83 38 02 74 60 ff 80 00 01 00 00 8b 43 38 Jan 22 23:17:38 ariadne kernel: spurious 8259A interrupt: IRQ7. Jan 22 23:39:56 ariadne kernel: request_module: failed /sbin/modprobe -- char-major-81-0. error = 256 I'd be happy to supply any more information if it would be useful. Yours Joseph From gough@gsc.riken.jp Fri Jan 23 15:39:29 2004 From: gough@gsc.riken.jp (Julian Gough) Date: 24 Jan 2004 00:39:29 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <871xq0h9vo.fsf@zen.epkowa.co.jp> References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> <1073960870.4410.4.camel@localhost.localdomain> <873caktv64.fsf@zen.epkowa.co.jp> <1073963701.4558.90.camel@tao> <871xq0h9vo.fsf@zen.epkowa.co.jp> Message-ID: <1074872369.3873.6.camel@localhost.localdomain> > I would not (yet) call it a dead-end. I didn't mean the whole scanner, just this approach to getting it sorted. > It just doesn't work for you at > this point in time. It may very well be that a couple of tweaks here > and there in the snapscan backend will make it work. Unfortunately, I > am not familiar with this backend and lack time and access to a > GT-7400. > > BTW, I haven't seen any 'SANE_DEBUG_SNAPSCAN=128 scanimage' output fly > by, IIRC. Maybe that can shed some light on your problems. as always [me@localhost]# SANE_DEBUG_SCANPSCAN=128 scanimage scanimage: no SANE devices found [me@localhost]# From henning@meier-geinitz.de Fri Jan 23 16:36:05 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Fri, 23 Jan 2004 17:36:05 +0100 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <1074872369.3873.6.camel@localhost.localdomain> References: <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> <1073960870.4410.4.camel@localhost.localdomain> <873caktv64.fsf@zen.epkowa.co.jp> <1073963701.4558.90.camel@tao> <871xq0h9vo.fsf@zen.epkowa.co.jp> <1074872369.3873.6.camel@localhost.localdomain> Message-ID: <20040123163605.GB1659@meier-geinitz.de> Hi, On Sat, Jan 24, 2004 at 12:39:29AM +0900, Julian Gough wrote: > > BTW, I haven't seen any 'SANE_DEBUG_SNAPSCAN=128 scanimage' output fly > > by, IIRC. Maybe that can shed some light on your problems. > > as always > > [me@localhost]# SANE_DEBUG_SCANPSCAN=128 scanimage > scanimage: no SANE devices found > [me@localhost]# SANE_DEBUG_SNAPSCAN not SANE_DEBUG_SCANPSCAN. This should pront debug messages. Bye, Henning From rm.riches@verizon.net Sat Jan 24 03:59:11 2004 From: rm.riches@verizon.net (Robert M. Riches Jr.) Date: Fri, 23 Jan 2004 19:59:11 -0800 Subject: [sane-devel] (resend) how to undo saved working directory? Message-ID: <200401240359.i0O3xBPA025286@one.localnet> (Apologies if this gets posted twice. I made the mistake of subscribing an email address that is a forwarding service, so I can't send from that address, so postings are blocked for moderator review. Apologies in advance if I make any more breaches of list etiquette.) When using the version of xsane that comes with Red Hat Linux 9, which claims to be xsane-0.89, I find an interesting feature. Now, xsane remembers the "working directory" from some earlier session and puts all the files from --save mode there, rather than the _real_ working directory where I'm working today. I realize most GUI-oriented users probably want all their image files stored in one directory, and they start xsane from their Gnome or KDE menus. However, when I'm working in directory Z and bring up xsane from the command line while in directory Z, I want xsane to put the files in directory Z. Tomorrow, I will be in another directory, and I want xsane put the files there. I found the "working directory" file squirreled away in file ~/.sane/xsane/xsane.rc, lines 5 and 6. A quick wrapper script in Perl could update the file to reflect the directory from which I'm invoking xsane. That would be much easier than hacking the source code to the program to change this unwelcome-to-me feature. Is there a better and/or easier way to get xsane to use the current working directory from which it is invoked? Thanks. Robert Riches rm.riches@verizon.net From ojt@gexcon.com Sat Jan 24 12:15:47 2004 From: ojt@gexcon.com (Ole Jacob Taraldset) Date: Sat, 24 Jan 2004 13:15:47 +0100 Subject: [sane-devel] iscan: "Could not send command to scanner" Message-ID: <200401241315.47918.ojt@gexcon.com> Hi, I have an Epson Perfection 1650 Photo which I have been using with iscan. Now suddenly iscan doesn't work any more and just give me a dialog box saying "Could not send command to scanner". Xsane still works and recognizes my scanner without any problems. My system is a RedHat 9 box with freshrpms updates and the following: sane-backends-1.0.9-5.1 sane-frontends-1.0.9-2 xsane-0.89-3 iscan-1.5.2-1.redhat.8.0 I've also tried iscan 1.4, but get the same result. My /etc/sane.d/epkowa.conf contains: usb /dev/usb/scanner0 My /etc/sane.d/epson.conf contains: usb /dev/usb/scanner0 I have tried to remove one or the other but this doesn't seem to help. Regards, Ole Jacob -- GexCon AS, Bergen, Norway PGP key : ICQ UIN : 5366306 | Jabber: ojt@jabber.org From jimquigley9@eircom.net Sat Jan 24 19:38:34 2004 From: jimquigley9@eircom.net (Jim Quigley) Date: Sat, 24 Jan 2004 19:38:34 +0000 Subject: [sane-devel] sane on linux 2.6 Message-ID: <4012C9BA.8000500@eircom.net> hi One possible reason it happened to me on suse 9, linux 2.6.1, you have to compile all usb options incl usb support as modules. LmCogs From amitofsk@obiwan.csl.uiuc.edu Sat Jan 24 21:56:51 2004 From: amitofsk@obiwan.csl.uiuc.edu (Andy Mitofsky) Date: Sat, 24 Jan 2004 15:56:51 -0600 Subject: [sane-devel] sane frontend questions In-Reply-To: <87wu7vqqa7.fsf@zen.epkowa.co.jp> References: <20040113053607.GB10111@obiwan.csl.uiuc.edu> <87wu7vqqa7.fsf@zen.epkowa.co.jp> Message-ID: <20040124215651.GA8359@obiwan.csl.uiuc.edu> I just wanted to say thanks for the help from about a week ago, especially to Olaf Meeuwissen. I was able to get iscan to work on my computer. For the record, to get it to work, I installed an older version of gtk, gtk+-1.2.10, and used the suggested version of iscan, iscan-1.5.2-1.redhat.8.0.tar.gz. I At that point, I got compile errors relating to libgdk_imlib. I had the file /usr/lib/libgdk_imlib.so.1 on my machine but not gdk_imlib.h. To get around this, I deleted the lines including gdk_imlib.hfrom pisa_structs.h. and pisa_view_manager.cc. I also changed some lines of pisa_view_manager.cc from ::gdk_imlib_init ( ); ::gtk_widget_push_visual ( ::gdk_imlib_get_visual ( ) ); ::gtk_widget_push_colormap ( ::gdk_imlib_get_colormap ( ) ); to ::gtk_widget_push_visual ( ::gdk_rgb_get_visual ( ) ); ::gtk_widget_push_colormap ( ::gdk_rgb_get_cmap ( ) ); I'm not sure what this did, but it seemed to work. Again, thanks for your help. Bye, Andy > > If you insist on compiling from "source" with gcc-3.2 or later, please > get the correct tar-ball: iscan-1.5.2-1.redhat.8.0.tar.gz. > > The C++ ABI changed a few times between 2.9x and 3.2 and the iscan > "sources" contain several closed C++ source based binary objects. The > regular iscan-1.5.2-1.tar.gz is for g++-2.9x, the one mentioned above > is for g++-3.2 or later. > > Hope this helps, > -- > Olaf Meeuwissen EPSON KOWA Corporation, ECS > GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 > Penguin's lib! -- I hack, therefore I am -- LPIC-2 > > -- > 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-request@lists.alioth.debian.org From jb@jblache.org Sun Jan 25 13:09:00 2004 From: jb@jblache.org (Julien BLACHE) Date: Sun, 25 Jan 2004 14:09:00 +0100 Subject: [sane-devel] xsane and Gimp 2.0 In-Reply-To: <200401221737.57819.Oliver.Rauch@Rauch-Domain.DE> (Oliver Rauch's message of "Thu, 22 Jan 2004 17:37:55 +0100") References: <20040118143853.GA13079@acheron.the-domination.com> <87d69h8d3i.fsf@frigate.technologeek.org> <87n08hf0ib.fsf@frigate.technologeek.org> <200401221737.57819.Oliver.Rauch@Rauch-Domain.DE> Message-ID: <87oessyy37.fsf@frigate.technologeek.org> Oliver Rauch wrote: Hi Oliver, > Thanks for the new patch. I will take a look at it when I have some more time. > It will take some time to do the tests with different gimp and gtk versions > and disabling gimp, forcing it to use a special version, etc. Patch updated again, added a call (mandatory) to gimp_extension_ack() before running the xsane interface. New patch at JB. -- Julien BLACHE GPG KeyID 0xF5D65169 From meuk@olifantasia.com Sun Jan 25 17:43:16 2004 From: meuk@olifantasia.com (Martin) Date: Sun, 25 Jan 2004 18:43:16 +0100 Subject: [sane-devel] patch to make sane-backends compile and work on cygwin (cygwin without shared mem) Message-ID: <40140034.9000102@olifantasia.com> This is a multi-part message in MIME format. --------------030304050206040903000404 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi all, I use sane on cygwin on windows 2000. A little while back I hacked sane-backends to compile on cygwin (only for scsi scanners and no fork support) Recently I found out that the official cvs version of sane-backends now supports cygwin (better than my hackwork). It works wonderfully both with scsi as with usb scanners (thanks to libusb-win32) I did however have to make two small changes to make it compile on my cygwin. Disable the artec_eplus48u backend since it needs shared memory (not supported on all cygwin installations) #undef interface because some win32api include defines this and the name interface is used as a variable. So if a recent sane snapshot does not compile on your cygwin installation try this patch. The patch is made against the cvs version of sane-backends of 1 december 2003 (snapshot sane-backends-2003-12-01.tar.gz) You can also find this patch on: http://sourceforge.net/tracker/index.php?func=detail&aid=858540&group_id=71382&atid=531104 This is the patches page of http://sourceforge.net/projects/hp5400backend/ I tested the patch with the microtek2 backend (parallel scsi, original windows driver has to be installed for the parallel scsi driver) and hp5400 backend (usb, using libusb-win32) They both work fine I hope this patch is of use for anyone. greetings, Martin Dvh --------------030304050206040903000404 Content-Type: text/plain; name="sane_cygwin.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sane_cygwin.patch.txt" diff -urN sane-backends_orig/backend/dll.conf sane-backends/backend/dll.conf --- sane-backends_orig/backend/dll.conf 2003-11-24 09:53:30.000000000 +0100 +++ sane-backends/backend/dll.conf 2003-12-02 01:41:50.000000000 +0100 @@ -5,7 +5,7 @@ apple avision artec -artec_eplus48u +#artec_eplus48u as6e bh canon diff -urN sane-backends_orig/configure sane-backends/configure --- sane-backends_orig/configure 2003-11-24 09:53:30.000000000 +0100 +++ sane-backends/configure 2003-12-02 01:39:56.000000000 +0100 @@ -23919,7 +23919,8 @@ microtek2 mustek mustek_pp mustek_usb nec pie plustek \ plustek_pp ricoh s9036 sceptre sharp \ sp15c st400 tamarack test teco1 teco2 teco3 umax umax_pp umax1220u \ - artec_eplus48u ma1509 ibm hp5400" + ma1509 ibm hp5400" + BACKENDS_THAT_NEEDSHARED_MEM="artec_eplus48u" if test "${sane_cv_use_libjpeg}" != "yes"; then echo "*** disabling DC210 backend (failed to find JPEG library)" diff -urN sane-backends_orig/configure.in sane-backends/configure.in --- sane-backends_orig/configure.in 2003-11-24 09:53:30.000000000 +0100 +++ sane-backends/configure.in 2003-12-02 01:40:32.000000000 +0100 @@ -280,7 +280,8 @@ microtek2 mustek mustek_pp mustek_usb nec pie plustek \ plustek_pp ricoh s9036 sceptre sharp \ sp15c st400 tamarack test teco1 teco2 teco3 umax umax_pp umax1220u \ - artec_eplus48u ma1509 ibm hp5400" + ma1509 ibm hp5400" + BACKENDS_THAT_NEEDSHARED_MEM="artec_eplus48u" if test "${sane_cv_use_libjpeg}" != "yes"; then echo "*** disabling DC210 backend (failed to find JPEG library)" diff -urN sane-backends_orig/tools/sane-find-scanner.c sane-backends/tools/sane-find-scanner.c --- sane-backends_orig/tools/sane-find-scanner.c 2003-09-24 05:41:48.000000000 +0200 +++ sane-backends/tools/sane-find-scanner.c 2003-12-02 02:15:54.000000000 +0100 @@ -40,6 +40,9 @@ #include #include #endif +#ifdef interface +#undef interface +#endif #include "../include/sane/sanei.h" #include "../include/sane/sanei_scsi.h" --------------030304050206040903000404-- From Oliver.Rauch@Rauch-Domain.DE Sun Jan 25 22:01:53 2004 From: Oliver.Rauch@Rauch-Domain.DE (Oliver Rauch) Date: Sun, 25 Jan 2004 23:01:53 +0100 Subject: [sane-devel] (resend) how to undo saved working directory? In-Reply-To: <200401240359.i0O3xBPA025286@one.localnet> References: <200401240359.i0O3xBPA025286@one.localnet> Message-ID: <200401252301.56058.Oliver.Rauch@Rauch-Domain.DE> You can change the working directory in the menu preferences->change direcotry XSane always uses the working directory that is listed in the xsane.rc fi= le. When there is no xsane.rc file or there is no working directory listed in= the xsane.rc file then xsane uses the recent working directory. xsane always saves the selected working direcotry line to the xsane.rc fi= le when xsane exits. Oliver Am Samstag, 24. Januar 2004 04:59 schrieb Robert M. Riches Jr.: > (Apologies if this gets posted twice. I made the mistake of > subscribing an email address that is a forwarding service, > so I can't send from that address, so postings are blocked > for moderator review. Apologies in advance if I make any > more breaches of list etiquette.) > > When using the version of xsane that comes with Red Hat > Linux 9, which claims to be xsane-0.89, I find an > interesting feature. Now, xsane remembers the "working > directory" from some earlier session and puts all the files > from --save mode there, rather than the _real_ working > directory where I'm working today. I realize most > GUI-oriented users probably want all their image files > stored in one directory, and they start xsane from their > Gnome or KDE menus. However, when I'm working in directory > Z and bring up xsane from the command line while in > directory Z, I want xsane to put the files in directory Z. > Tomorrow, I will be in another directory, and I want xsane > put the files there. > > I found the "working directory" file squirreled away in file > ~/.sane/xsane/xsane.rc, lines 5 and 6. A quick wrapper > script in Perl could update the file to reflect the > directory from which I'm invoking xsane. That would be much > easier than hacking the source code to the program to change > this unwelcome-to-me feature. > > Is there a better and/or easier way to get xsane to use the > current working directory from which it is invoked? > > Thanks. > > Robert Riches > rm.riches@verizon.net --=20 http://www.xsane.org http://www.rauch-domain.de http://www.sane-project.org From maher@its.caltech.edu Sun Jan 25 20:29:01 2004 From: maher@its.caltech.edu (Joseph M. Maher) Date: Sun, 25 Jan 2004 12:29:01 -0800 (PST) Subject: [sane-devel] sane on linux 2.6 Message-ID: >I have a hp 2110, and I'm running debian unstable on a vanilla 2.6.1 >kernel. > >Printing works, but scanning doesn't. Scanning works with the cvs version of hpoj. Joseph From rm.riches@verizon.net Mon Jan 26 01:31:27 2004 From: rm.riches@verizon.net (Robert M. Riches Jr.) Date: Sun, 25 Jan 2004 17:31:27 -0800 Subject: [sane-devel] (resend) how to undo saved working directory? Message-ID: <200401260131.i0Q1VRWS017869@one.localnet> > From: Oliver Rauch > Date: Sun, 25 Jan 2004 23:01:53 +0100 > > You can change the working directory in the menu > preferences->change direcotry > > XSane always uses the working directory that is listed in the xsane.rc file. > When there is no xsane.rc file or there is no working directory listed in the > xsane.rc file then xsane uses the recent working directory. > > xsane always saves the selected working direcotry line to the xsane.rc file > when xsane exits. Thank you for pointing out the path to the working directory menu item. I had searched under preferences->setup->save and had missed the obvious at the bottom of the menu. So, let's say on Monday I'm working in directory A and use the menu item to have xsane put files there. Then, on Tuesday, I have an xterm in directory B and start up xsane from that xterm, so that the xsane process's cwd (current working directory) from the OS is B. Xsane will put the files in A, where I was on Monday (unless I go through the menu to tell xsane information it already has)? I would say that's undesirable behavior for any user other than ones whose world revolves around "My Documents". I, for one, liked the older (circa 0.84) behavior on this point. What is the potential for an RFE or patch submission for a command line option or environment variable to allow the user to control whether xsane uses the OS's cwd vs. the directory saved in the xsanerc file from the previous session? (I'm about 50% for minor enhancement patch submissions to other programs: one accept, one reject, one accept with modifications.) Or, should I just write a quick Perl wrapper script to modify the xsanerc file before invoking the real xsane? Thanks. Robert Riches rm.riches@verizon.net From satimis@icare.com.hk Mon Jan 26 05:33:25 2004 From: satimis@icare.com.hk (Stephen Liu) Date: Mon, 26 Jan 2004 13:33:25 +0800 Subject: [sane-devel] OT: Equivalent software to PaperPort etc. for Win Message-ID: <4014A6A5.20501@icare.com.hk> Hi all folks, I am using SANE for scanning on Linux. I have been searching for a software from Open Source running on Linux/Unix equivalent to PaperPort/PageMaker/OmniPage/BZ.Doc of BiziSoft etc. for Win. They are graphic editing software with database integrated. They have a platform/table to retain scanned documents visually and combine them as a file which can be saved in many formats. Each page inside the file can be rearranged, i.e. page-1 can be re-inserted as page-13, etc. and all pages will be re-numbered automatically thereafter. The pages can be editted both graphically or textwise. They have a powerful database to search documents on their titiles or contents. The database can be update at night at a pre-fixed time. The documents can be OCR. To my understanding any graphic editing software on Linux with Plugin for scanner such as GIMP can do the job. But the operation would not be so simple and handy. Any advice??? TIA B.R. Stephen Liu From till.kamppeter@gmx.net Mon Jan 26 19:12:48 2004 From: till.kamppeter@gmx.net (Till Kamppeter) Date: Mon, 26 Jan 2004 19:12:48 +0000 Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: References: Message-ID: <401566B0.70109@gmx.net> I recommend that you post this on the SANE mailing list (http://www.sane-project.org/), as this is a scanning problem. I am CCing this posting to there. AFAIK noone has written a driver for scanner buttons yet (also not for other scanner models). The scanner probably sends a certain signal through the USB which is caught by a background process under Windows. This process then starts a program to do the scan. The best way to write a similar program under Linux is to use a USB sniffer to analyze how the signal looks like and then write a daemon which listens for such signals. Till Alton Hernandez wrote: > Hi, > > Can anyone tell me how I can link the Scan Button of CX3100 to a Linux > application? I believe in the Windows environment, you can just press this > button and the printer will scan the document and send it to your application > of choice. But in Linux, this button seems to be useless because it does not > do anything. From jester@panix.com Mon Jan 26 18:35:29 2004 From: jester@panix.com (Jesse Sheidlower) Date: Mon, 26 Jan 2004 13:35:29 -0500 Subject: [sane-devel] Canon LiDE 80 backend? Message-ID: <20040126183528.GA6678@panix.com> I see from the support list that the Canon LiDE 80 is not currently supported. Is this something that's likely to change in the very near future, or is no one working on it? There didn't seem to be any discussion of this printer in the archives of this list. I like the LiDE series because of the supersmall size, but I'd prefer the higher resolution of the LiDE 80 to the currently supported LiDE 30. (The HP ScanJet 4600, also small, seems also to be unsupported by SANE.) Thanks. My main use of this would be on a Mac, but I'd like to be able to use the scanner with a FreeBSD laptop while travelling. Jesse Sheidlower From Oliver.Rauch@Rauch-Domain.DE Mon Jan 26 18:38:25 2004 From: Oliver.Rauch@Rauch-Domain.DE (Oliver Rauch) Date: Mon, 26 Jan 2004 19:38:25 +0100 Subject: [sane-devel] (resend) how to undo saved working directory? In-Reply-To: <200401260131.i0Q1VRWS017869@one.localnet> References: <200401260131.i0Q1VRWS017869@one.localnet> Message-ID: <200401261938.28565.Oliver.Rauch@Rauch-Domain.DE> Hello Robert, The problem is that different people like different behaviours. I added the working directory options because a lot of people asked for it. You are the first one who asked for the old behaviour since I changed it so I think it is not of general interest. I suggest you wirte a script or patch the sourcecoud yourself. When I add options to change the behavior this makes the program more complex and so I prefer to keep it as it is. Best regards Oliver Am Montag, 26. Januar 2004 02:31 schrieb Robert M. Riches Jr.: > > From: Oliver Rauch > > Date: Sun, 25 Jan 2004 23:01:53 +0100 > > > > You can change the working directory in the menu > > preferences->change direcotry > > > > XSane always uses the working directory that is listed in the xsane.r= c > > file. When there is no xsane.rc file or there is no working directory > > listed in the xsane.rc file then xsane uses the recent working direct= ory. > > > > xsane always saves the selected working direcotry line to the xsane.r= c > > file when xsane exits. > > Thank you for pointing out the path to the working directory > menu item. I had searched under preferences->setup->save > and had missed the obvious at the bottom of the menu. > > So, let's say on Monday I'm working in directory A and use > the menu item to have xsane put files there. Then, on > Tuesday, I have an xterm in directory B and start up xsane > from that xterm, so that the xsane process's cwd (current > working directory) from the OS is B. Xsane will put the > files in A, where I was on Monday (unless I go through the > menu to tell xsane information it already has)? I would say > that's undesirable behavior for any user other than ones > whose world revolves around "My Documents". I, for one, > liked the older (circa 0.84) behavior on this point. > > What is the potential for an RFE or patch submission for a > command line option or environment variable to allow the > user to control whether xsane uses the OS's cwd vs. the > directory saved in the xsanerc file from the previous > session? (I'm about 50% for minor enhancement patch > submissions to other programs: one accept, one reject, one > accept with modifications.) > > Or, should I just write a quick Perl wrapper script to > modify the xsanerc file before invoking the real xsane? > > Thanks. > > Robert Riches > rm.riches@verizon.net --=20 http://www.xsane.org http://www.rauch-domain.de http://www.sane-project.org From henning@meier-geinitz.de Mon Jan 26 18:51:53 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 26 Jan 2004 19:51:53 +0100 Subject: [sane-devel] HP 5500c scanner support? In-Reply-To: <20040122002035.263116f0.stewart@midtoad.homelinux.org> References: <20040122053613.31650.45428.Mailman@quantz.debian.org> <20040122002035.263116f0.stewart@midtoad.homelinux.org> Message-ID: <20040126185153.GC2555@meier-geinitz.de> Hi, On Thu, Jan 22, 2004 at 12:20:35AM -0700, Stewart Midwinter wrote: > Has anyone done any work on getting the HP 5500c scanner supported? > I know it's not on the compatibility list, but... I don't think that anyone is working on a driver for that device currently. > Seeing as how I have one, is there anything I could could do to help > this along? run some tools? generate a log/debug file? You could try to get log files with USB snoopy or sniffusb. However, this only helps if you start to develop a driver yourself or if there already is a driver for the chipset your scanner uses. Writing a driver just by looking at the USB log file without having access to such a scanner or at least a similar device is nearly impossible. And even if it were possible, I guess nobody would have the patience to do it. So better start writing a driver yourself now :-) Bye, Henning From henning@meier-geinitz.de Mon Jan 26 19:02:30 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 26 Jan 2004 20:02:30 +0100 Subject: [sane-devel] Canon LiDE 80 backend? In-Reply-To: <20040126183528.GA6678@panix.com> References: <20040126183528.GA6678@panix.com> Message-ID: <20040126190230.GD2555@meier-geinitz.de> Hi, On Mon, Jan 26, 2004 at 01:35:29PM -0500, Jesse Sheidlower wrote: > I see from the support list that the Canon LiDE 80 is not > currently supported. Is this something that's likely to > change in the very near future, or is no one working on it? It may change in future. I'm (still) working on a backend for the Genesys gl646 and gl841 chips but it's still not finished and I don't have much time at the moment. See http://www.meier-geinitz.de/sane/genesys-backend/ I wouldn't buy a scanner just because someone intends to write a backend. Better buy an already supported device. Could anyone who already owns such a scanner send me the output of sane-find-scanner -v -v of SANE 1.0.13 or later? Bye, Henning From rm.riches@verizon.net Mon Jan 26 20:52:40 2004 From: rm.riches@verizon.net (Robert M. Riches Jr.) Date: Mon, 26 Jan 2004 12:52:40 -0800 Subject: [sane-devel] (resend) how to undo saved working directory? Message-ID: <200401262052.i0QKqeIY006929@one.localnet> > From: Oliver Rauch > Date: Mon, 26 Jan 2004 19:38:25 +0100 > > The problem is that different people like different behaviours. > I added the working directory options because a lot of people > asked for it. You are the first one who asked for the old behaviour > since I changed it so I think it is not of general interest. > > I suggest you wirte a script or patch the sourcecoud yourself. > When I add options to change the behavior this makes the > program more complex and so I prefer to keep it as it is. Nobody else wanted the saved files in the _real_ working directory? That's curious. How about a convention that if the working directory from the xsane file is the null string the program would use the OS's CWD? With luck, that should only take a couple lines of code. Would you be willing to accept a patch that would do that? If the patch would be accepted into the main code stream, it would be worth doing. If just for my use, a Perl wrapper would be more efficient. Worst case, a Perl wrapper script should be pretty quick to cobble. Would it be appropriate to post the script just in case someone later searches out this thread and wants it? Thanks for xsane. Robert Riches rm.riches@verizon.net From martin@mkcollins.org Mon Jan 26 21:37:34 2004 From: martin@mkcollins.org (Martin Collins) Date: Mon, 26 Jan 2004 21:37:34 +0000 Subject: [sane-devel] (resend) how to undo saved working directory? In-Reply-To: <200401262052.i0QKqeIY006929@one.localnet> References: <200401262052.i0QKqeIY006929@one.localnet> Message-ID: <20040126213734.221eb911.martin@mkcollins.org> On Mon, 26 Jan 2004 12:52:40 -0800 "Robert M. Riches Jr." wrote: > Nobody else wanted the saved files in the _real_ working > directory? Sure they did, they just remembered to set it manually :-) > How about a convention that if the working directory from > the xsane file is the null string the program would use the > OS's CWD? It already does that doesn't it? The problem (from your point of view) is that xsane writes the CWD into xsane.rc and uses it next time. How about xsane leaving a null string null unless it is explicitly set? Martin From rm.riches@verizon.net Mon Jan 26 21:52:13 2004 From: rm.riches@verizon.net (Robert M. Riches Jr.) Date: Mon, 26 Jan 2004 13:52:13 -0800 Subject: [sane-devel] (resend) how to undo saved working directory? Message-ID: <200401262152.i0QLqDFB008864@one.localnet> > From: Martin Collins > Date: Mon, 26 Jan 2004 21:37:34 +0000 > > On Mon, 26 Jan 2004 12:52:40 -0800 > "Robert M. Riches Jr." wrote: > > > Nobody else wanted the saved files in the _real_ working > > directory? > > Sure they did, they just remembered to set it manually :-) > > > How about a convention that if the working directory from > > the xsane file is the null string the program would use the > > OS's CWD? > > It already does that doesn't it? The problem (from your point of view) > is that xsane writes the CWD into xsane.rc and uses it next time. How > about xsane leaving a null string null unless it is explicitly set? Good point. I had forgotten about that side of the process. That may take a few more lines of code, and a state variable set when the xsane.rc file is read, used when the file is written. If that might be acceptable for inclusion into the main code stream, that would still be worth doing. Any guidance on where the state variable should be declared? (I haven't yet unpacked and looked at the source code.) Thanks. Robert Riches rm.riches@verizon.net From khk@khk.net Mon Jan 26 22:07:11 2004 From: khk@khk.net (Karl Heinz Kremer) Date: Mon, 26 Jan 2004 17:07:11 -0500 Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <401566B0.70109@gmx.net> References: <401566B0.70109@gmx.net> Message-ID: I assume this is an EPSON CX-3100. In this case, the scanner does not send anything when you press the button. The Windows software checks every half second or second or so to find out if the button was pressed. The problem with handling buttons with Sane is that we don't have an API for this, so every backend would potentially handle this differently. Also, there is no official way to communicate a button event to a frontend. The EPSON backend has a mode where you can setup your scan, and then configure it to wait for a button event. This would not allow you to send the scans to another application, but it's a start :-) On Jan 26, 2004, at 2:12 PM, Till Kamppeter wrote: > I recommend that you post this on the SANE mailing list > (http://www.sane-project.org/), as this is a scanning problem. I am > CCing this posting to there. > > AFAIK noone has written a driver for scanner buttons yet (also not for > other scanner models). The scanner probably sends a certain signal > through the USB which is caught by a background process under Windows. > This process then starts a program to do the scan. The best way to > write a similar program under Linux is to use a USB sniffer to analyze > how the signal looks like and then write a daemon which listens for > such signals. > > Till > > Alton Hernandez wrote: >> Hi, >> Can anyone tell me how I can link the Scan Button of CX3100 to a Linux >> application? I believe in the Windows environment, you can just >> press this >> button and the printer will scan the document and send it to your >> application >> of choice. But in Linux, this button seems to be useless because it >> does not >> do anything. > > > > -- > 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-request@lists.alioth.debian.org From mattias.ellert@tsl.uu.se Mon Jan 26 22:42:26 2004 From: mattias.ellert@tsl.uu.se (Mattias Ellert) Date: Mon, 26 Jan 2004 23:42:26 +0100 Subject: [sane-devel] MacOS X and pthread_cancel Message-ID: <401597D2.7050305@tsl.uu.se> Hi! I have made a new binary package for MacOS X from a fresh CVS checkout and with a new version of the pthread_cancel workaround patch. The new version of the patch mimics the behaviour of the original code very closely (but without calling pthred_cancel) and does not change the stucture of the thread implementation as the previous patch did. If you have experienced any thread related problems with SANE on MacOS X the new version might help you. Some backends have also been updated to use the sanei_thread routines instead of fork since the release, so this package based on the CVS checkout should work better for scanners using such backends. The packages are available on http://www.ellert.se/twain-sane/ together with a new version of the TWAIN SANE Interface. Mattias -- ________________________________________________________________________ mattias.ellert@tsl.uu.se tel: +46 18 471 32 58 http://www.tsl.uu.se/~ellert/ fax: +46 18 471 35 13 ________________________________________________________________________ From martin@mkcollins.org Mon Jan 26 22:45:51 2004 From: martin@mkcollins.org (Martin Collins) Date: Mon, 26 Jan 2004 22:45:51 +0000 Subject: [sane-devel] (resend) how to undo saved working directory? In-Reply-To: <200401262152.i0QLqDFB008864@one.localnet> References: <200401262152.i0QLqDFB008864@one.localnet> Message-ID: <20040126224551.0ac4e71c.martin@mkcollins.org> On Mon, 26 Jan 2004 13:52:13 -0800 "Robert M. Riches Jr." wrote: > Any > guidance on where the state variable should be declared? Shouldn't be necessary. Just change the code in xsane.c that checks preferences.working_directory to not set it if it is null. Not tested, DYOR etc. Martin From olaf@epkowa.co.jp Tue Jan 27 05:32:10 2004 From: olaf@epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 27 Jan 2004 14:32:10 +0900 Subject: [sane-devel] iscan: "Could not send command to scanner" In-Reply-To: <200401241315.47918.ojt@gexcon.com> (Ole Jacob Taraldset's message of "Sat, 24 Jan 2004 13:15:47 +0100") References: <200401241315.47918.ojt@gexcon.com> Message-ID: <87n08a5545.fsf@zen.epkowa.co.jp> Ole Jacob Taraldset writes: > Hi, Hi, > I have an Epson Perfection 1650 Photo which I have been using with > iscan. Now suddenly iscan doesn't work any more and just give me a > dialog box saying "Could not send command to scanner". Xsane still > works and recognizes my scanner without any problems. > > My system is a RedHat 9 box with freshrpms updates and the following: > sane-backends-1.0.9-5.1 > sane-frontends-1.0.9-2 > xsane-0.89-3 > iscan-1.5.2-1.redhat.8.0 Hmm, that ought to work provided the libsane.so symlink points to the right library. There is a known bug on RH9 where /usr/lib/libsane.so points to the v4l SANE backend. Check if this is the case and fix it if so. To check: $ ls -l /usr/lib/libsane.so To fix (requires root permissions): # ln -fs libsane.so.1.0.9 /usr/lib/libsane.so > I've also tried iscan 1.4, but get the same result. Never mind that version. It was very much not nice in that it quietly overwrote the epson backend. > My /etc/sane.d/epkowa.conf contains: > > usb /dev/usb/scanner0 That should be fine. > My /etc/sane.d/epson.conf contains: > > usb /dev/usb/scanner0 For the record, iscan does not use the epson backend. It is *not* a proper SANE frontend in that respect. > I have tried to remove one or the other but this doesn't seem to help. Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From olaf@epkowa.co.jp Tue Jan 27 05:35:10 2004 From: olaf@epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 27 Jan 2004 14:35:10 +0900 Subject: [sane-devel] sane frontend questions In-Reply-To: <20040124215651.GA8359@obiwan.csl.uiuc.edu> (Andy Mitofsky's message of "Sat, 24 Jan 2004 15:56:51 -0600") References: <20040113053607.GB10111@obiwan.csl.uiuc.edu> <87wu7vqqa7.fsf@zen.epkowa.co.jp> <20040124215651.GA8359@obiwan.csl.uiuc.edu> Message-ID: <87isiy54z5.fsf@zen.epkowa.co.jp> Andy Mitofsky writes: > I just wanted to say thanks for the help from about a week ago, > especially to Olaf Meeuwissen. I was able to get iscan to work on my computer. > For the record, to get it to work, I installed an older version of gtk, > gtk+-1.2.10, and used the suggested version of iscan, iscan-1.5.2-1.redhat.8.0.tar.gz. I > At that point, I got compile errors relating to libgdk_imlib. I had the > file /usr/lib/libgdk_imlib.so.1 on my machine but not gdk_imlib.h. To > get around this, I deleted the lines including gdk_imlib.hfrom > pisa_structs.h. and pisa_view_manager.cc. I also changed some lines of > pisa_view_manager.cc from > ::gdk_imlib_init ( ); > ::gtk_widget_push_visual ( ::gdk_imlib_get_visual ( ) ); > ::gtk_widget_push_colormap ( ::gdk_imlib_get_colormap ( ) ); > to > ::gtk_widget_push_visual ( ::gdk_rgb_get_visual ( ) ); > ::gtk_widget_push_colormap ( ::gdk_rgb_get_cmap ( ) ); > I'm not sure what this did, but it seemed to work. Again, thanks > for your help. Bye, Andy Just so you know, you will not be able to use iscan as a GIMP plugin. You could have installed the gimp-devel package and leave the sources as they were instead. # FYI, Debian users need gdk-imlib1-dev. Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From olaf@epkowa.co.jp Tue Jan 27 06:02:23 2004 From: olaf@epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 27 Jan 2004 15:02:23 +0900 Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: (Karl Heinz Kremer's message of "Mon, 26 Jan 2004 17:07:11 -0500") References: <401566B0.70109@gmx.net> Message-ID: <87ektm53ps.fsf@zen.epkowa.co.jp> Karl Heinz Kremer writes: > I assume this is an EPSON CX-3100. In this case, the scanner does not > send anything when you press the button. The Windows software checks > every half second or second or so to find out if the button was > pressed. With most of the more recent scanners and all-in-ones, including the 3200PHOTO and the CX-3100, pressing the scan button starts the EPSON Smart Panel application under Windows. Obviously, doing something like this under a Unix-like OS, or any true multi-user OS for that matter, is just plain ... eh ... stupid because there is absolutely no knowing for which user you need to fire up the app. Let alone trying to figure at on which terminal. Per user daemons polling for a button event to start an application won't work either because there may be any number of such daemons running (so you might as well use a single system-wide one). If anyone thinks otherwise, I'd like to know. The best one can probably do is what Karl has done in the epson backend (and I merged into the epkowa backend with iscan-1.6.0) is have the user set up the scan and tell the backend to wait until the button is pressed before commencing the scan. We are contemplating additional GUI bells and whistles for "Image Scan! for Linux" for this functionality but haven't quite made up our minds as to the most natural way of doing this. There's also the case of the most desired behaviour when using the ADF ... Needless to say, your suggestions are welcome ;-) > The problem with handling buttons with Sane is that we don't have an > API for this, so every backend would potentially handle this > differently. Also, there is no official way to communicate a button > event to a frontend. > > The EPSON backend has a mode where you can setup your scan, and then > configure it to wait for a button event. This would not allow you to > send the scans to another application, but it's a start :-) > > > On Jan 26, 2004, at 2:12 PM, Till Kamppeter wrote: > >> I recommend that you post this on the SANE mailing list >> (http://www.sane-project.org/), as this is a scanning problem. I am >> CCing this posting to there. >> >> AFAIK noone has written a driver for scanner buttons yet (also not >> for other scanner models). The scanner probably sends a certain >> signal through the USB which is caught by a background process under >> Windows. This process then starts a program to do the scan. The best >> way to write a similar program under Linux is to use a USB sniffer >> to analyze how the signal looks like and then write a daemon which >> listens for such signals. >> >> Till >> >> Alton Hernandez wrote: >>> Hi, >>> Can anyone tell me how I can link the Scan Button of CX3100 to a Linux >>> application? I believe in the Windows environment, you can just >>> press this >>> button and the printer will scan the document and send it to your >>> application >>> of choice. But in Linux, this button seems to be useless because >>> it does not >>> do anything. -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From ojt@gexcon.com Tue Jan 27 08:04:38 2004 From: ojt@gexcon.com (Ole Jacob Taraldset) Date: Tue, 27 Jan 2004 09:04:38 +0100 Subject: [sane-devel] iscan: "Could not send command to scanner" In-Reply-To: <87n08a5545.fsf@zen.epkowa.co.jp> References: <200401241315.47918.ojt@gexcon.com> <87n08a5545.fsf@zen.epkowa.co.jp> Message-ID: <200401270904.38164.ojt@gexcon.com> This might have been an easier fix, but I got a hint in a previous post. I downloaded an experimental sane-backends package and now iscan works just fine. -Ole Jacob On Tuesday 27 January 2004 6:32 am, Olaf Meeuwissen wrote: > Ole Jacob Taraldset writes: > > Hi, > > Hi, > > > I have an Epson Perfection 1650 Photo which I have been using with > > iscan. Now suddenly iscan doesn't work any more and just give me a > > dialog box saying "Could not send command to scanner". Xsane still > > works and recognizes my scanner without any problems. > > > > My system is a RedHat 9 box with freshrpms updates and the following: > > sane-backends-1.0.9-5.1 > > sane-frontends-1.0.9-2 > > xsane-0.89-3 > > iscan-1.5.2-1.redhat.8.0 > > Hmm, that ought to work provided the libsane.so symlink points to the > right library. There is a known bug on RH9 where /usr/lib/libsane.so > points to the v4l SANE backend. Check if this is the case and fix it > if so. > > To check: > > $ ls -l /usr/lib/libsane.so > > To fix (requires root permissions): > > # ln -fs libsane.so.1.0.9 /usr/lib/libsane.so > > > I've also tried iscan 1.4, but get the same result. > > Never mind that version. It was very much not nice in that it quietly > overwrote the epson backend. > > > My /etc/sane.d/epkowa.conf contains: > > > > usb /dev/usb/scanner0 > > That should be fine. > > > My /etc/sane.d/epson.conf contains: > > > > usb /dev/usb/scanner0 > > For the record, iscan does not use the epson backend. It is *not* a > proper SANE frontend in that respect. > > > I have tried to remove one or the other but this doesn't seem to help. > > Hope this helps, -- Process and Safetey, Dept. of Physics, PGP key : ICQ 5366306 | Jabber ojt@jabber.org | AIM ojtaraldset Yahoo ojtaraldset | MSN ojt@gexcon.com From anoah@pfeiffer.edu Tue Jan 27 16:10:35 2004 From: anoah@pfeiffer.edu (m. allan noah) Date: Tue, 27 Jan 2004 11:10:35 -0500 (EST) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <87ektm53ps.fsf@zen.epkowa.co.jp> Message-ID: this also is an issue for any other scanners that have buttons, esp. the adf models. unfortunately, i dont see a good way to handle multiple scanners, since a frontend would have to load and unload multiple backends many times per minute to monitor buttons... what about a simple frontend that forks a separate child to load each backend, and the child exit(1) if no scanners are found, or stays running if there are. (might have to fork off child for each scanner not just each backend) then each child could monitor it's scanner by looking at the option descriptor for each button (we would have to decide what to call them) every couple seconds. when a child decides a button is pressed, it would exec() to a program of the user's choice. problems with this idea include: what to do on a multi-user system, esp w/ regard to X windows, how do we decide which scanning frontend to run on which button event for each scanner, and what to do about scanners with lots of buttons and wheels and such. allan On Tue, 27 Jan 2004, Olaf Meeuwissen wrote: > Karl Heinz Kremer writes: > > > I assume this is an EPSON CX-3100. In this case, the scanner does not > > send anything when you press the button. The Windows software checks > > every half second or second or so to find out if the button was > > pressed. > > With most of the more recent scanners and all-in-ones, including the > 3200PHOTO and the CX-3100, pressing the scan button starts the EPSON > Smart Panel application under Windows. > > Obviously, doing something like this under a Unix-like OS, or any true > multi-user OS for that matter, is just plain ... eh ... stupid because > there is absolutely no knowing for which user you need to fire up the > app. Let alone trying to figure at on which terminal. > > Per user daemons polling for a button event to start an application > won't work either because there may be any number of such daemons > running (so you might as well use a single system-wide one). > > If anyone thinks otherwise, I'd like to know. > > The best one can probably do is what Karl has done in the epson > backend (and I merged into the epkowa backend with iscan-1.6.0) is > have the user set up the scan and tell the backend to wait until the > button is pressed before commencing the scan. > > We are contemplating additional GUI bells and whistles for "Image > Scan! for Linux" for this functionality but haven't quite made up our > minds as to the most natural way of doing this. There's also the case > of the most desired behaviour when using the ADF ... > > Needless to say, your suggestions are welcome ;-) > > > The problem with handling buttons with Sane is that we don't have an > > API for this, so every backend would potentially handle this > > differently. Also, there is no official way to communicate a button > > event to a frontend. > > > > The EPSON backend has a mode where you can setup your scan, and then > > configure it to wait for a button event. This would not allow you to > > send the scans to another application, but it's a start :-) > > > > > > On Jan 26, 2004, at 2:12 PM, Till Kamppeter wrote: > > > >> I recommend that you post this on the SANE mailing list > >> (http://www.sane-project.org/), as this is a scanning problem. I am > >> CCing this posting to there. > >> > >> AFAIK noone has written a driver for scanner buttons yet (also not > >> for other scanner models). The scanner probably sends a certain > >> signal through the USB which is caught by a background process under > >> Windows. This process then starts a program to do the scan. The best > >> way to write a similar program under Linux is to use a USB sniffer > >> to analyze how the signal looks like and then write a daemon which > >> listens for such signals. > >> > >> Till > >> > >> Alton Hernandez wrote: > >>> Hi, > >>> Can anyone tell me how I can link the Scan Button of CX3100 to a Linux > >>> application? I believe in the Windows environment, you can just > >>> press this > >>> button and the printer will scan the document and send it to your > >>> application > >>> of choice. But in Linux, this button seems to be useless because > >>> it does not > >>> do anything. > > -- "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 bruce@brucebertrand.com Tue Jan 27 16:11:31 2004 From: bruce@brucebertrand.com (Bruce Bertrand) Date: Tue, 27 Jan 2004 11:11:31 -0500 Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <401566B0.70109@gmx.net> References: <401566B0.70109@gmx.net> Message-ID: <40168DB3.7030604@brucebertrand.com> Till Kamppeter wrote: > I recommend that you post this on the SANE mailing list > (http://www.sane-project.org/), as this is a scanning problem. I am > CCing this posting to there. > > AFAIK noone has written a driver for scanner buttons yet (also not for > other scanner models). The scanner probably sends a certain signal > through the USB which is caught by a background process under Windows. > This process then starts a program to do the scan. The best way to > write a similar program under Linux is to use a USB sniffer to analyze > how the signal looks like and then write a daemon which listens for > such signals. > > Till If this is the case, then it would only take one sniffer for all scanners that operate in this manner. Sort of like those universal "learning" remotes, where you hold up an existing remote to the learning remote, hit a "listen" button and then press a button on the old one, assigning whatever signal it receives to some function on the learning remote. Bruce From anoah@pfeiffer.edu Tue Jan 27 16:27:19 2004 From: anoah@pfeiffer.edu (m. allan noah) Date: Tue, 27 Jan 2004 11:27:19 -0500 (EST) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <40168DB3.7030604@brucebertrand.com> Message-ID: On Tue, 27 Jan 2004, Bruce Bertrand wrote: > Till Kamppeter wrote: > > > I recommend that you post this on the SANE mailing list > > (http://www.sane-project.org/), as this is a scanning problem. I am > > CCing this posting to there. > > > > AFAIK noone has written a driver for scanner buttons yet (also not for > > other scanner models). The scanner probably sends a certain signal > > through the USB which is caught by a background process under Windows. > > This process then starts a program to do the scan. The best way to > > write a similar program under Linux is to use a USB sniffer to analyze > > how the signal looks like and then write a daemon which listens for > > such signals. > > > > Till > > If this is the case, then it would only take one sniffer for all > scanners that operate in this manner. Sort of like those universal > "learning" remotes, where you hold up an existing remote to the learning > remote, hit a "listen" button and then press a button on the old one, > assigning whatever signal it receives to some function on the learning > remote. > Bruce not so simple as that. for machines with adf, you will usually have a couple other sensors like paper thickness, input or output hopper empty/full, cover open, lamp warm, etc. if the scanner sends all those as a bitmask in one packet, then the user doing a button-press might show up as a dozen different codes, based on those other flags. your 'generic' button monitor would have to know a whole lot more about each individual model than you would want (esp when things like which usb endpoint to use and bulk v/s interrupt are taken into account) all-in-all this sort of thing (reading the raw output from the scanner) belongs in the backend, with suitable abstraction that a frontend could use. finding that abstraction is more problematic... allan > > -- "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 brill@fs.math.uni-frankfurt.de Tue Jan 27 18:00:42 2004 From: brill@fs.math.uni-frankfurt.de (Bjoern Brill) Date: Tue, 27 Jan 2004 19:00:42 +0100 (CET) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <87ektm53ps.fsf@zen.epkowa.co.jp> References: <401566B0.70109@gmx.net> <87ektm53ps.fsf@zen.epkowa.co.jp> Message-ID: [I've cut CCs to people who I know to be on sane-devel] On Tue, 27 Jan 2004, Olaf Meeuwissen wrote: > Karl Heinz Kremer writes: > > > I assume this is an EPSON CX-3100. In this case, the scanner does not > > send anything when you press the button. The Windows software checks > > every half second or second or so to find out if the button was > > pressed. > > With most of the more recent scanners and all-in-ones, including the > 3200PHOTO and the CX-3100, pressing the scan button starts the EPSON > Smart Panel application under Windows. > > Obviously, doing something like this under a Unix-like OS, or any true > multi-user OS for that matter, is just plain ... eh ... stupid because > there is absolutely no knowing for which user you need to fire up the > app. Let alone trying to figure at on which terminal. > Yes. > Per user daemons polling for a button event to start an application > won't work either because there may be any number of such daemons > running (so you might as well use a single system-wide one). > AFAIR, the SANE 2 proposal contains a provision whereby a frontend would have to obtain an exclusive lock on a scanner's buttons before polling them (and a mechanism to steal the lock after a timeout so noone can block the device forever by forgetting to close the frontend). I didn't like the technical implementation in the proposal, but the idea seems OK. > If anyone thinks otherwise, I'd like to know. > I think it is OK to cover only a few common setups. Two which come to mind: 1.) "home use": scanner is accessible only from the PC it's attached to, and that PC has no more than one user logged in at any given time (typically with an X session). In this case, a per user daemon with session lifetime does the job even without locking. 2.) "large office": scanner is networked, accessible from many different terminals. People have to walk several metres to the scanner, maybe even into a different room. In this case, a simple remote control feature like the one described below (set up scan parameters from terminal, scan once for every scanner button press) would be extremely useful. With increasing distance from terminal to scanner, more complex remote control functionality becomes convenient, e.g. walk up to the scanner with a bunch of documents and route them to different applications right from the scanner. Given the scanner has enough buttons of course :) Here, locking is a Good Thing, but it may suffice to implement it inside saned. > The best one can probably do is what Karl has done in the epson > backend (and I merged into the epkowa backend with iscan-1.6.0) is > have the user set up the scan and tell the backend to wait until the > button is pressed before commencing the scan. > > We are contemplating additional GUI bells and whistles for "Image > Scan! for Linux" for this functionality but haven't quite made up our > minds as to the most natural way of doing this. There's also the case > of the most desired behaviour when using the ADF ... > > Needless to say, your suggestions are welcome ;-) > > > The problem with handling buttons with Sane is that we don't have an > > API for this, so every backend would potentially handle this > > differently. Also, there is no official way to communicate a button > > event to a frontend. > > > > The EPSON backend has a mode where you can setup your scan, and then > > configure it to wait for a button event. This would not allow you to > > send the scans to another application, but it's a start :-) > > > > > > On Jan 26, 2004, at 2:12 PM, Till Kamppeter wrote: > > > >> I recommend that you post this on the SANE mailing list > >> (http://www.sane-project.org/), as this is a scanning problem. I am > >> CCing this posting to there. > >> > >> AFAIK noone has written a driver for scanner buttons yet (also not > >> for other scanner models). The scanner probably sends a certain > >> signal through the USB which is caught by a background process under > >> Windows. This process then starts a program to do the scan. The best > >> way to write a similar program under Linux is to use a USB sniffer > >> to analyze how the signal looks like and then write a daemon which > >> listens for such signals. > >> > >> Till > >> > >> Alton Hernandez wrote: > >>> Hi, > >>> Can anyone tell me how I can link the Scan Button of CX3100 to a Linux > >>> application? I believe in the Windows environment, you can just > >>> press this > >>> button and the printer will scan the document and send it to your > >>> application > >>> of choice. But in Linux, this button seems to be useless because > >>> it does not > >>> do anything. > Best regards, Bjoern Brill -- Bj"orn Brill Frankfurt am Main, Germany From christopherlmarshall@yahoo.com Tue Jan 27 20:21:11 2004 From: christopherlmarshall@yahoo.com (Christopher Marshall) Date: Tue, 27 Jan 2004 12:21:11 -0800 (PST) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: Message-ID: <20040127202111.74633.qmail@web41508.mail.yahoo.com> > > not so simple as that. for machines with adf, you will usually have a > couple other sensors like paper thickness, input or output hopper > empty/full, cover open, lamp warm, etc. if the scanner sends all those as > a bitmask in one packet, then the user doing a button-press might show up > as a dozen different codes, based on those other flags. your 'generic' > button monitor would have to know a whole lot more about each individual > model than you would want (esp when things like which usb endpoint to use > and bulk v/s interrupt are taken into account) > > all-in-all this sort of thing (reading the raw output from the scanner) > belongs in the backend, with suitable abstraction that a frontend could > use. finding that abstraction is more problematic... > > allan > How about adding a front-end switch that instead of requesting a scan, requests the backend to sit and listen for button events and write them out to stdout? The format of the message written could vary by backend. For example, the command scanimage -d plustek:libusb:001:004 -report-button would wait for the next button press. Pressing a button would cause the command to exit and write a text description of the button pressed to stdout. This would allow the user to write bash scripts to respond to the button presses. This style of interaction is close to how xmessage works when invoked with -print. button=$(scanimage -d plustek:libusb:001:004 -report-buttons) if [ "$button" == "copy" ] ; then # scan and print scanimage -d plustek:libusb:001:004 > image.pnm pnmtops iamge.pnm > image.ps lpr print.ps elif ... else echo "unrecognized button" exit 1 fi This scheme might not solve all problems but it would be a big step up from no support at all. Chris Marshall __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From anoah@pfeiffer.edu Tue Jan 27 21:01:48 2004 From: anoah@pfeiffer.edu (m. allan noah) Date: Tue, 27 Jan 2004 16:01:48 -0500 (EST) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <20040127202111.74633.qmail@web41508.mail.yahoo.com> Message-ID: On Tue, 27 Jan 2004, Christopher Marshall wrote: > > > > not so simple as that. for machines with adf, you will usually have a > > couple other sensors like paper thickness, input or output hopper > > empty/full, cover open, lamp warm, etc. if the scanner sends all those as > > a bitmask in one packet, then the user doing a button-press might show up > > as a dozen different codes, based on those other flags. your 'generic' > > button monitor would have to know a whole lot more about each individual > > model than you would want (esp when things like which usb endpoint to use > > and bulk v/s interrupt are taken into account) > > > > all-in-all this sort of thing (reading the raw output from the scanner) > > belongs in the backend, with suitable abstraction that a frontend could > > use. finding that abstraction is more problematic... > > > > allan > > > > How about adding a front-end switch that instead of requesting a scan, requests the backend to sit > and listen for button events and write them out to stdout? The format of the message written > could vary by backend. > > For example, the command > > scanimage -d plustek:libusb:001:004 -report-button > > would wait for the next button press. Pressing a button would cause the command to exit and write > a text description of the button pressed to stdout. > > This would allow the user to write bash scripts to respond to the button presses. This style of > interaction is close to how xmessage works when invoked with -print. > > button=$(scanimage -d plustek:libusb:001:004 -report-buttons) > if [ "$button" == "copy" ] ; then > # scan and print > scanimage -d plustek:libusb:001:004 > image.pnm > pnmtops iamge.pnm > image.ps > lpr print.ps > elif ... > else > echo "unrecognized button" > exit 1 > fi > > This scheme might not solve all problems but it would be a big step up from no support at all. you could have a flag to a front-end that told it to load the backend, but instead of scan, constantly check the option descriptor for a button's status. the front-end could print this, or even take a series of command line switches that tell it what to do in case of a particular event. but in all cases, this front-end would have to disconnect from the scanner, so that the second front-end could load the backend and connect. but, it would have to still run, so that it could re-connect and continue monitoring. unless, you wanted to re-start it from your script. but you definately dont want backends printing. allan > > Chris Marshall > > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > > -- "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 christopherlmarshall@yahoo.com Tue Jan 27 22:50:20 2004 From: christopherlmarshall@yahoo.com (Christopher Marshall) Date: Tue, 27 Jan 2004 14:50:20 -0800 (PST) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: Message-ID: <20040127225020.24544.qmail@web41502.mail.yahoo.com> > you could have a flag to a front-end that told it to load the backend, but > instead of scan, constantly check the option descriptor for a button's > status. the front-end could print this, or even take a series of command > line switches that tell it what to do in case of a particular event. but > in all cases, this front-end would have to disconnect from the scanner, so > that the second front-end could load the backend and connect. but, it > would have to still run, so that it could re-connect and continue > monitoring. unless, you wanted to re-start it from your script. > > but you definately dont want backends printing. > > allan > Is there a problem with restarting it from a script? That seems a natural way to me to separate mechanism from policy and I can imagine a lot of nice uses of what I described. I had assumed that when you pushed a button on a usb scanner, it send a message over the usb that the backend, if it was listening, would get. The way you describe it, the scanner sets a flag internally, meaning something like "button 1 pushed", and the flag stays in that state until the backend asks for its button status, then tells it to reset the status back to "button 1 unpushed". Is that correct? Assuming I've got it, then I think what you described is the way to go. Have the front-end disconnect and exit, printing out a message as to which button was pressed. The script could then invoke scanimage again to scan an image and print the result (if the script author wants to interpret the pressed button that way). You seem to be worried about what would happen if the user pressed a button twice, and the second button press was missed because the controlling script had exited the first front-end invocation and began another to scan. I take it the second button press would be either be dropped, or you wouldn't be able to process it until after the first scan finished, which would mean you couldn't use one of the buttons as a "cancel" button to cancel the scan in progress. If not being able to implement a cancel button bothers you, then how about this? Have another front-end flag that lets you name a file you want button events written to that occur during a scan. Then you could implement the cancel button by specifying a fifo for the file argument, and having a background process read lines from the file, interpret them, and kill the scan in progress in the event of a cancel button push. That's very straight forward in bash. Even without the ability to implement a cancel button, I would love to be able to map scanner buttons to mean things like "scan low res, gray, and write to a spool directory", "scan high res, color, to a spool directory" and "print the next scan". That's assuming I have 3 buttons to work with, of course. So if I want to do a low res scan and have it printed, I hit button 3, wait a second, then hit button 1. If I didn't want it printed, I'd just his button 1 or 2. Hmmm. Would it be possible to push-and-hold button 1, then push-and-release button2, and then release button 1, and have the backend tell the difference from push-and-release 1 followed by push-and-release 2? What exactly generates an event (usb message sent device-to-host) in the case of button presses and releases? Does anyone know? Chris Marshall __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From david_b_brown@mac.com Wed Jan 28 11:31:14 2004 From: david_b_brown@mac.com (David B Brown) Date: Wed, 28 Jan 2004 11:31:14 +0000 Subject: [sane-devel] SANE - Mac OS X 10.3.2 and Microtek Scanmaker Message-ID: <7B669FF7-5185-11D8-98EA-000A278D424C@mac.com> --Apple-Mail-13-345510911 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hi, I tried out SANE a couple of months back just after Mac OS X SCSI support was added. At the time it didn't work and I posted a few notes and worked off line with Guy Brooker but we didn't fix the issues. Now I saw that Mattias Ellert was offering per-compiled Mac OS X packages, built form CVS as off 25-01-2004 so I though I'd give it another go. Unfortunately it still doesn't appear to work. The good news from my point of view is that unlike before I don't have to re-boot between tests. Here's the latest trace :- [microtek] .wait_ready 0... [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1 [sanei_scsi] isWrite src_size:0 [sanei_scsi] Executing command [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes [microtek] .start_scan... [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1 [sanei_scsi] isWrite src_size:0 [sanei_scsi] Executing command [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes [microtek] .get_scan_status 0... [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:6 isWrite:0 [sanei_scsi] isRead dst_size:6 [sanei_scsi] Executing command [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes [microtek] get_scan_status(0): 0, 0, 0 -> #0 [microtek] > 0 0 0 0 0 0 [microtek] sane_start: SCSI buffer smaller that one scan line! [microtek] end_scan... [microtek] .stop_scan... [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1 [sanei_scsi] isWrite src_size:0 [sanei_scsi] Executing command [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes scanimage: sane_start: Out of memory [microtek] sane_cancel... [microtek] end_scan... [microtek] sane_close... [microtek] sane_exit... [microtek] sane_exit: MICROTEK says goodbye. [MacCoylton:~] dave% Cheers David --Apple-Mail-13-345510911 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGHjCCAtcw ggJAoAMCAQICAwtFyDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDMxMjA1MDkzODM3WhcNMDQxMjA0MDkzODM3WjBHMR8wHQYDVQQD ExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSQwIgYJKoZIhvcNAQkBFhVkYXZpZF9iX2Jyb3duQG1h Yy5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC0b6rHkfXZ63RUPvNy+ubvwc8w s8Aj8qqHP/g/47aQWHGozv2dUNDWk7GsprJUh6bVMZq6k5TaXkAbbjR0vcyd9rD5nP3XOK2YNVjE xIjDq1jr2RLpE1ue/s956sv+bLlv37uWfD3XfGqIEqcS/vo93dWmNP0pzaSIwDfrMhkDoL56x/hJ ObBD639ANrOtp8Yiv3sDLQsQDNZimlo8g/6cZL3oveYg9kbsh2kRxUVrXY+/fH2NS6mQRMigM0qa YJ7yj55qpq37+O7JLPunCioQZAxftSwYhY+etPiG9AQIKdWhd8/RyOlGJQ+dT0/SJk3DuMuScjIG +7Rrye5y2wVxAgMBAAGjMjAwMCAGA1UdEQQZMBeBFWRhdmlkX2JfYnJvd25AbWFjLmNvbTAMBgNV HRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBAGDb+a4KUHFcqJNzwtwGUiNcyitED7lgyEBm0uzs NKEme28RpAav6Mov6LE90/08OrFo5+5Bd/YVpkd5qV97ztMRpZ2wl0iytfZ7mHOvWZKXFWlrLkcf wfKPPOfkImg6IZ3QR0yK26smzH+gugKkhUMzwGOZP8VWMzEZkoaFu/1rMIIDPzCCAqigAwIBAgIB DTANBgkqhkiG9w0BAQUFADCB0TELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTES MBAGA1UEBxMJQ2FwZSBUb3duMRowGAYDVQQKExFUaGF3dGUgQ29uc3VsdGluZzEoMCYGA1UECxMf Q2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFs IEZyZWVtYWlsIENBMSswKQYJKoZIhvcNAQkBFhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29t MB4XDTAzMDcxNzAwMDAwMFoXDTEzMDcxNjIzNTk1OVowYjELMAkGA1UEBhMCWkExJTAjBgNVBAoT HFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBG cmVlbWFpbCBJc3N1aW5nIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEpjxVc1X7TrnK mVoeaMB1BHCd3+n/ox7svc31W/Iadr1/DDph8r9RzgHU5VAKMNcCY1osiRVwjt3J8CuFWqo/cVbL rzwLB+fxH5E2JCoTzyvV84J3PQO+K/67GD4Hv0CAAmTXp6a7n2XRxSpUhQ9IBH+nttE8YQRAHmQZ cmC3+wIDAQABo4GUMIGRMBIGA1UdEwEB/wQIMAYBAf8CAQAwQwYDVR0fBDwwOjA4oDagNIYyaHR0 cDovL2NybC50aGF3dGUuY29tL1RoYXd0ZVBlcnNvbmFsRnJlZW1haWxDQS5jcmwwCwYDVR0PBAQD AgEGMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwyLTEzODANBgkqhkiG9w0B AQUFAAOBgQBIjNFQg+oLLswNo2asZw9/r6y+whehQ5aUnX9MIbj4Nh+qLZ82L8D0HFAgk3A8/a3h YWLD2ToZfoSxmRsAxRoLgnSeJVCUYsfbJ3FXJY3dqZw5jowgT2Vfldr394fWxghOrvbqNOUQGls1 TXfjViF4gtwhGTXeJLHTHUb/XV9lTzGCAucwggLjAgEBMGkwYjELMAkGA1UEBhMCWkExJTAjBgNV BAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25h bCBGcmVlbWFpbCBJc3N1aW5nIENBAgMLRcgwCQYFKw4DAhoFAKCCAVMwGAYJKoZIhvcNAQkDMQsG CSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDQwMTI4MTEzMTE1WjAjBgkqhkiG9w0BCQQxFgQU 8LYpz5fhhVq5Yak5CZeV69Cm1TkweAYJKwYBBAGCNxAEMWswaTBiMQswCQYDVQQGEwJaQTElMCMG A1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECAwtFyDB6BgsqhkiG9w0BCRACCzFroGkwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1Ro YXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMLRcgwDQYJKoZIhvcNAQEBBQAEggEA n3a94qc+TiAETV2wu+TrErjn42nrGscIKQpdjEwItvfeaIVbCyZTi9XtpfVT3C4rzEuDxSbLkD02 /6Jgp8oRkdr5DzNZwSSP4+4bA1uHSczgDoMBJv0//fczv/Nf0pd0yAcdr13VqdE+wqUfqpDEBVnf PsdnxCrS2qdZ5JdrcJQB14E/rwwhSzXckE76Y6M+TNxSbhNWFM2yH5J8TtCOo+PPLvipP8zAEyAV oyYSPLION+Qu2sl3ZPG4wtlGq8lD1+fSGm6WbQCJz3bvlsqyJaQkJLcrjEjWS1jjOhI03ZteLPgd 38CMTjDUYTzXIWMuAu9OFewnDuiZsgPJAxzp6QAAAAAAAA== --Apple-Mail-13-345510911-- From anoah@pfeiffer.edu Wed Jan 28 14:30:51 2004 From: anoah@pfeiffer.edu (m. allan noah) Date: Wed, 28 Jan 2004 09:30:51 -0500 (EST) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <20040127225020.24544.qmail@web41502.mail.yahoo.com> Message-ID: On Tue, 27 Jan 2004, Christopher Marshall wrote: > > you could have a flag to a front-end that told it to load the backend, but > > instead of scan, constantly check the option descriptor for a button's > > status. the front-end could print this, or even take a series of command > > line switches that tell it what to do in case of a particular event. but > > in all cases, this front-end would have to disconnect from the scanner, so > > that the second front-end could load the backend and connect. but, it > > would have to still run, so that it could re-connect and continue > > monitoring. unless, you wanted to re-start it from your script. > > > > but you definately dont want backends printing. > > > > allan > > > > Is there a problem with restarting it from a script? That seems a natural way to me to separate > mechanism from policy and I can imagine a lot of nice uses of what I described. perhaps it would be ok. cant see all the implications at this second... > > I had assumed that when you pushed a button on a usb scanner, it send a message over the usb that > the backend, if it was listening, would get. to be technically accurate, all usb communications start at the host. that said, it is possible if the device supports it, to sometimes setup an interrupt pipe between the host and the device to 'automatically' request data from the device at certain time intervals. some scanners work this way. many do not. The way you describe it, the scanner sets a flag > internally, meaning something like "button 1 pushed", and the flag stays in that state until the > backend asks for its button status, then tells it to reset the status back to "button 1 unpushed". > Is that correct? yes, it seems that many more scanners, especially ones that use an existing parallel or scsi model with usb grafted onto them, just store a bitmask of sensor statuses (stati?) until a timer runs out (3 secs on fujitsu) or until the backend requests the current status. > > Assuming I've got it, then I think what you described is the way to go. Have the front-end > disconnect and exit, printing out a message as to which button was pressed. The script could then > invoke scanimage again to scan an image and print the result (if the script author wants to > interpret the pressed button that way). that would work for trivial cases, and only for certain events. for more complex situations: ie: the stock fujitsu windows software will read the status of the hopper paper sensor, and begin scanning the papers without any button press. if you want to emulate this, then your 'scanmonitor' frontend would have to report that event and exit. but, if your wrapper script does not care about paper insertion, then it will never get the button press, cause scanmonitor has already exited. so your wrapper would have to handle this by restarting the scanmonitor on any unknown events. which is fine, except that re-loading the backend again can be time consuming and can clear the status of any buttons, meaning that the button pressed right after the paper was inserted, gets lost. > > You seem to be worried about what would happen if the user pressed a button twice, and the second > button press was missed because the controlling script had exited the first front-end invocation > and began another to scan. I take it the second button press would be either be dropped, or you > wouldn't be able to process it until after the first scan finished, which would mean you couldn't > use one of the buttons as a "cancel" button to cancel the scan in progress. > among other things, this is a concern, yes. > If not being able to implement a cancel button bothers you, then how about this? Have another > front-end flag that lets you name a file you want button events written to that occur during a > scan. Then you could implement the cancel button by specifying a fifo for the file argument, and > having a background process read lines from the file, interpret them, and kill the scan in > progress in the event of a cancel button push. That's very straight forward in bash. ok, lets talk about that idea. any backend that has button support could open a fifo and print 'events' to that as they happen. so all you need is either a flag to the frontend to constantly call a function in the backend that will do this, or a flag to the backend that causes it to while(1) in one of the early sane_* functions. now you still need some way for your bash wrapper to signal the frontend/backend to stop watching the device so that you can fire-up a specific program. that would be alot easier if bash wrapper was not involved, and instead your monitor front-end was smart enough to read a config file of programs to run, and it could perhaps 'control' the backend a bit better. and, even better than that, the frontend could perhaps handle some of the events internally, so it would not have to disconnect the backend, just to have another front-end re-load it. > > Even without the ability to implement a cancel button, I would love to be able to map scanner > buttons to mean things like "scan low res, gray, and write to a spool directory", "scan high res, > color, to a spool directory" and "print the next scan". That's assuming I have 3 buttons to work > with, of course. So if I want to do a low res scan and have it printed, I hit button 3, wait a > second, then hit button 1. If I didn't want it printed, I'd just his button 1 or 2. that last one is tough to do via this whole bash script thing, unless you have the backend buffer the button presses for a couple seconds to see if anymore happen (like 3 button mouse emulation). much easier to get a scanner with more inputs. fujitsu has a user-setable seven-element led char and two scan buttons, making for 20 possible combinations. > > Hmmm. Would it be possible to push-and-hold button 1, then push-and-release button2, and then > release button 1, and have the backend tell the difference from push-and-release 1 followed by > push-and-release 2? depends entirely on the scanner. > > What exactly generates an event (usb message sent device-to-host) in the case of button presses > and releases? Does anyone know? > depends entirely on the scanner, hell even on different firmware revsion of the same scanner it can change. hence why this needs to be handled in the backend. > Chris Marshall > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > -- "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 christian.poetsch@schott.com Wed Jan 28 14:35:46 2004 From: christian.poetsch@schott.com (Poetsch, Christian) Date: Wed, 28 Jan 2004 15:35:46 +0100 Subject: [sane-devel] HiRes scanning with external lamp Message-ID: hello, For a special application I wanted to use a Epson 2400 Perfection Scanner with a external lamp. Therefore I need to turn off the internal lamp. Karl Heinz Kremer kindly answered that there is no possibility to do this with software in modern scanners. For my application I need a resolution of at least 1.200dpi, preferebly 2.400dpi . Is there anyone, who have experience in things like that? Is there a scanner that is more matching for my purposes? Some ideas? Thanks From henning@meier-geinitz.de Wed Jan 28 17:50:45 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Wed, 28 Jan 2004 18:50:45 +0100 Subject: [sane-devel] HiRes scanning with external lamp In-Reply-To: References: Message-ID: <20040128175045.GC3551@meier-geinitz.de> Hi, On Wed, Jan 28, 2004 at 03:35:46PM +0100, Poetsch, Christian wrote: > For a special application I wanted to use a Epson 2400 Perfection Scanner > with a external lamp. Therefore I need to turn off the internal lamp. > Karl Heinz Kremer kindly answered that there is no possibility to do this > with software in modern scanners. Actually that's not a problem of "modern" or old. It depends on the level of intelligence of the scanner. The intelligent (and usually more expensive) scanners use their own firmware and get commands like "scan image with resolution foo". Most cheaper scanners need lower level commands like "move scan slider 300 motor steps". In the latter case, turning off the lamp is usually no problem. Example: Scanners using the GT6801 and GT6816 chips. Also any scanners using external lamps for scanning films/negatives/transparencies may be used for your perpose. Maybe it's necessary to cheat the scanner into thinking that an external transparency adapter is connected. Bye, Henning From svoltz@wanadoo.fr Thu Jan 29 01:10:37 2004 From: svoltz@wanadoo.fr (svoltz@wanadoo.fr) Date: Wed, 28 Jan 2004 20:10:37 -0500 Subject: [sane-devel] HiRes scanning with external lamp In-Reply-To: References: Message-ID: <20040129011037.GA1922@wanadoo.fr> On Wed, Jan 28, 2004 at 03:35:46PM +0100, Poetsch, Christian wrote: > hello, > For a special application I wanted to use a Epson 2400 Perfection Scanner > with a external lamp. Therefore I need to turn off the internal lamp. > Karl Heinz Kremer kindly answered that there is no possibility to do this > with software in modern scanners. For my application I need a resolution of > at least 1.200dpi, preferebly 2.400dpi . Is there anyone, who have > experience in things like that? Is there a scanner that is more matching > for my purposes? Some ideas? > > Thanks > > The Umax astra 1220P can do such a thing. Unfortunatly, it is only able to scan at 600x1200 dpi max. Regards, Stef From karsten.festag@gmx.de Thu Jan 29 20:42:20 2004 From: karsten.festag@gmx.de (Karsten Festag) Date: Thu, 29 Jan 2004 21:42:20 +0100 Subject: [sane-devel] Re: Micortek SANE USB Config In-Reply-To: References: Message-ID: <200401292142.20849.karsten.festag@gmx.de> Hi Race, i'm afraid you will not be able to use the USB interface with this scanner and SANE under OSX. The microtek2 backend was written for SCSI scanners and the way some of the Microtek USB scanners work under Linux is a special kernel module called 'microtek.o' which makes the USB scanner appear as a SCSI device. I don't know if there is a similar possibility in OSX and I don't have the possibilitiy to include libusb support to the microtek2 backend because I don't have an USB scanner available and I have not enough leisure time left for such kind of project. But maybe someone else would like to do this? Best regards Karsten On Tuesday 27 January 2004 23:58, you wrote: > I have installed all the appropriate software to utilize your SANE Microtek > backend with my Scanmaker V6USL but I am having a hell of a time > configuring it to work at all. I want to use the USB interface. > > I am on on OSX X.3.2 and have installed > TWAIN-SANE-Interface.pkg v0.4 > sane-backends.pkg 1.0.13-cvs 2004-01-25 > libusb.pkg 0.1.8 beta 2004-01-25 > > > > When Running sane-find-scanner I receive: > > > Race:~ race$ sane-find-scanner > > # No SCSI scanners found. If you expected something different, make sure > that > # you have loaded a SCSI driver for your SCSI adapter. > > found USB scanner (vendor=0x05da, product=0x00a3) at > libusb:002:002-05da-00a3-ff-03 > # Your USB scanner was (probably) detected. It may or may not be > supported by > # SANE. Try scanimage -L and read the backend's manpage. > > # Scanners connected to the parallel port or other proprietary ports > can't be > # detected by this program. > > # You may want to run this program as root to find all devices. Once you > # found the scanner devices, be sure to adjust access permissions as > # necessary. > Race:~ race$ > > > > The Config. File microtek2.config is set to: > > # See sane-microtek2(5) for a description of the options > > option dump 1 > option strip-height 14.0 > option no-backtrack-option on > option lightlid-35 on > option toggle-lamp on > option lineart-autoadjust on > option backend-calibration on > #option colorbalance-adjust on > scsi * * Scanner > > > > > > > Can you please advise. > > > > > > Race From Oliver.Rauch@Rauch-Domain.DE Thu Jan 29 21:20:18 2004 From: Oliver.Rauch@Rauch-Domain.DE (Oliver Rauch) Date: Thu, 29 Jan 2004 22:20:18 +0100 Subject: [sane-devel] sane-umax backend works on Mac OS-X Message-ID: <200401292220.19457.Oliver.Rauch@Rauch-Domain.DE> Hello. I just got the feedback that the sane-umax patch for Mac OS-X that is in the sane-cvs since 2004-01-12 does work. The user was able to do a scan with scanimage. He also sent a link to a sane-backends binary that includes the sane-umax patch: =09http://www.ellert.se/twain-sane/ If someone knows a link to a xsane binary for Mac OS-X please post it here! Oliver --=20 http://www.xsane.org http://www.rauch-domain.de http://www.sane-project.org From mattias.ellert@tsl.uu.se Fri Jan 30 10:03:14 2004 From: mattias.ellert@tsl.uu.se (Mattias Ellert) Date: Fri, 30 Jan 2004 11:03:14 +0100 Subject: [sane-devel] sane-umax backend works on Mac OS-X In-Reply-To: <200401292220.19457.Oliver.Rauch@Rauch-Domain.DE> References: <200401292220.19457.Oliver.Rauch@Rauch-Domain.DE> Message-ID: <401A2BE2.9080305@tsl.uu.se> Oliver Rauch wrote: > Hello. > > I just got the feedback that the sane-umax patch for Mac OS-X > that is in the sane-cvs since 2004-01-12 does work. The user was > able to do a scan with scanimage. > > He also sent a link to a sane-backends binary that includes the > sane-umax patch: > > http://www.ellert.se/twain-sane/ Please note that these binaries were compiled with the (new version of) the pthread_cancel workaround patch attached to the bug report at: https://alioth.debian.org/tracker/index.php?func=detail&aid=300434&group_id=1308&atid=410366 The status of the bug report is "Pending", so hopefully the patch should go into CVS soon. Mattias Ellert From gerhard@gjaeger.de Fri Jan 30 15:52:51 2004 From: gerhard@gjaeger.de (Gerhard Jaeger) Date: Fri, 30 Jan 2004 16:52:51 +0100 Subject: [sane-devel] sane-umax backend works on Mac OS-X In-Reply-To: <401A2BE2.9080305@tsl.uu.se> References: <200401292220.19457.Oliver.Rauch@Rauch-Domain.DE> <401A2BE2.9080305@tsl.uu.se> Message-ID: <200401301652.51918.gerhard@gjaeger.de> Hi, On Friday 30 January 2004 11:03, Mattias Ellert wrote: [SNIPSNAP] > https://alioth.debian.org/tracker/index.php?func=detail&aid=300434&group_id >=1308&atid=410366 > > The status of the bug report is "Pending", so hopefully the patch should > go into CVS soon. It will... please be patient, probably this weekend... Ciao, Gerhard From henning@meier-geinitz.de Fri Jan 30 17:13:09 2004 From: henning@meier-geinitz.de (Henning Meier-Geinitz) Date: Fri, 30 Jan 2004 18:13:09 +0100 Subject: [sane-devel] Unsupported: Mustek BearPaw 4800TA Pro II In-Reply-To: References: Message-ID: <20040130171309.GD5384@meier-geinitz.de> Hi, On Thu, Jan 22, 2004 at 07:46:59PM +0100, joerg.pr@olivfabric.de wrote: > I've just encountered the following unsupported scanner: > MUSTEK Be@rPaw 4800TA Pro II Thanks for your information. I've added that to our lists: I don't know which chipset that is. http://www.sane-project.org/unsupported/mustek-bearpaw-4800ta-pro-ii.html Bye, Henning From legendary_fox@aliceposta.it Sat Jan 31 09:38:48 2004 From: legendary_fox@aliceposta.it (Dario Berzano) Date: Sat, 31 Jan 2004 10:38:48 +0100 Subject: [sane-devel] Mustek 1200CP scanner does not release parallel port Message-ID: <401B77A8.8060807@aliceposta.it> Hi, I own a Mustek 1200CP flatbed scanner connected via a parallel port.=20 After scanning, it seems that the SANE backend mustek_pp hangs and waits=20 for some data from the scanner, locking the parallel port. As a result,=20 the scanning head's lamp stays turned on and it does not return to its=20 home position. The only way to unlock the port is to kill the scanning=20 program (e.g. scanimage or xsane). I do not use saned. Another strange aspect is that I had to set up the cis600 driver=20 instead of the proper cis1200 one. With cis1200 (or cis1200+), the=20 scanned image is vertically stretched, and the scanning head tries to=20 scan out of range, making a loud, awful noise and damaging my hardware. Any ideas? Thanks in advance. --=20 dario berzano :: la volpe leggendaria :: http://flemma.knows.it/ =20 ,-, _.-=3D;~ /_ _-~ ' ;. _.-~ ' .-~-~`-._ .--~~:. --.____88 __....-~~' .' . . _..-----~~ _..--~~~~' .' .' ,' _.-~ . . ` ,' .' :. ./ .: ,/ ` ::. ,' .:' ,( ;. ::. ,-' .' ./'.`. . . /::._... _/:.o/ / ./'. . .) . _.,' `88;?88| ,' . .,/'._,-~ /_.o8P' 88P ?8b _,'' . .,/',-~ d888P' 88' 88| _.'~ . .,:oP' ?88b _..--- 88.--'8b.--..__ : ...' 88o __,------.88o _.=3D~- . `~~ `~~ ~-._ `.;;;:=3D' ~~ ~~~ ~- - - - =20 =BB proud and happy linux user =AB From charlie@cgrosvenor.co.uk Sat Jan 31 13:38:35 2004 From: charlie@cgrosvenor.co.uk (Charlie Grosvenor) Date: Sat, 31 Jan 2004 13:38:35 -0000 Subject: [sane-devel] scanmagic 1200 CU Plus reset device Message-ID: I have a scanmagic 1200 CU Plus, I have this set up for use with sane. Sometimes when it fails to scan, the scanner head get left not in its rest place. When this occurs I have to unplug the scanner from the Linux machine, plug it into a windows machine and scan something, to get it to reset. Is there any way to get sane to reset the scanner? Thank you Charlie From jochen@penguin-breeder.org Sat Jan 31 17:26:51 2004 From: jochen@penguin-breeder.org (Jochen Eisinger) Date: Sat, 31 Jan 2004 18:26:51 +0100 Subject: [sane-devel] Mustek 1200CP scanner does not release parallel port In-Reply-To: <401B77A8.8060807@aliceposta.it> References: <401B77A8.8060807@aliceposta.it> Message-ID: <401BE55B.4060504@penguin-breeder.org> Hi, The bug you're describing should be fixed in CVS. Please try using CVS snapshot version. Why it behaves like a 600 CP scanner, I have no idea. best regards -- jochen From legendary_fox@aliceposta.it Sat Jan 31 17:59:21 2004 From: legendary_fox@aliceposta.it (Dario Berzano) Date: Sat, 31 Jan 2004 18:59:21 +0100 Subject: [sane-devel] Mustek 1200CP scanner does not release parallel port In-Reply-To: <401BE55B.4060504@penguin-breeder.org> References: <401B77A8.8060807@aliceposta.it> <401BE55B.4060504@penguin-breeder.org> Message-ID: <401BECF9.8060701@aliceposta.it> Jochen Eisinger wrote: >The bug you're describing should be fixed in CVS. Please try using CVS >snapshot version. > It is actually fixed. My scanner now works fine - I mean: the scanning=20 head returns to its starting position when I cancel the operation and=20 when the operation finishes. Thank you. --=20 dario berzano :: la volpe leggendaria :: http://flemma.knows.it/ =20 ,-, _.-=3D;~ /_ _-~ ' ;. _.-~ ' .-~-~`-._ .--~~:. --.____88 __....-~~' .' . . _..-----~~ _..--~~~~' .' .' ,' _.-~ . . ` ,' .' :. ./ .: ,/ ` ::. ,' .:' ,( ;. ::. ,-' .' ./'.`. . . /::._... _/:.o/ / ./'. . .) . _.,' `88;?88| ,' . .,/'._,-~ /_.o8P' 88P ?8b _,'' . .,/',-~ d888P' 88' 88| _.'~ . .,:oP' ?88b _..--- 88.--'8b.--..__ : ...' 88o __,------.88o _.=3D~- . `~~ `~~ ~-._ `.;;;:=3D' ~~ ~~~ ~- - - - =20 =BB proud and happy linux user =AB From edg1@tiscali.be Sat Jan 31 19:45:01 2004 From: edg1@tiscali.be (edg1@tiscali.be) Date: Sat, 31 Jan 2004 20:45:01 +0100 Subject: [sane-devel] Mustek 1200CP scanner does not release parallel port In-Reply-To: <401BECF9.8060701@aliceposta.it>; from legendary_fox@aliceposta.it on za, jan 31, 2004 at 18:59:21 +0100 References: <401B77A8.8060807@aliceposta.it> <401BE55B.4060504@penguin-breeder.org> <401BECF9.8060701@aliceposta.it> Message-ID: <20040131194501.GA4675@reddot.erps-kwerps.be> Dario Berzano wrote: > Jochen Eisinger wrote: > >> The bug you're describing should be fixed in CVS. Please try using >> CVS snapshot version. >> > It is actually fixed. My scanner now works fine - I mean: the > scanning head returns to its starting position when I cancel the > operation and when the operation finishes. Thank you. Great! I had just put up a web page describing the bug and possible solutions: http://home.tiscali.be/EddyDeGreef/Sane/bug-1.0.13.html but it looks like Jochen already helped you out (thanks, Jochen). Best regards, Eddy From edg1@tiscali.be Sat Jan 31 21:25:23 2004 From: edg1@tiscali.be (edg1@tiscali.be) Date: Sat, 31 Jan 2004 22:25:23 +0100 Subject: [sane-devel] Mustek 1200CP scanner does not release parallel port In-Reply-To: <20040131200732.GC4675@reddot.erps-kwerps.be>; from edg1@tiscali.be on za, jan 31, 2004 at 21:07:32 +0100 References: <401B77A8.8060807@aliceposta.it> <20040131200732.GC4675@reddot.erps-kwerps.be> Message-ID: <20040131212523.GF4675@reddot.erps-kwerps.be> Dario Berzano wrote: > Another strange aspect is that I had to set up the cis600 driver > instead of the proper cis1200 one. With cis1200 (or cis1200+), the > scanned image is vertically stretched, and the scanning head tries to > scan out of range, making a loud, awful noise and damaging my > hardware. Sorry, I forgot this in my previous message: Most likely, your scanner is not a true 1200CP. It looks like there are 600CP's out there that are labeled as 1200CP's. I have had a few similar reports before. I don't know who is responsible for this, ie., whether it is Mustek itself or some reseller. If your scanner works fine with the cis600 setting, then it's indeed better not to try the cis1200 or cis1200+ settings, because that can be damaging to your scanner, as you found out. Best regards, Eddy From jim.george at blueyonder.co.uk Sun Jan 4 20:14:22 2004 From: jim.george at blueyonder.co.uk (Jim George) Date: Sun, 4 Jan 2004 20:14:22 -0000 Subject: Fw: [sane-devel] mustek_pp trouble Message-ID: <000401c3d2ff$5857d330$0400a8c0@jav.co.uk> Re: [sane-devel] mustek_pp trouble ----- Original Message ----- From: jim.george at blueyonder.co.uk To: jochen at penguin-breeder.org Cc: jim.george at blueyonder.co.uk ; sane-devel at lists.alioth.debian.org Sent: Friday, January 02, 2004 8:25 PM Subject: Re: [sane-devel] mustek_pp trouble > Hi, > > Jim George wrote: >> [sanei_pa4s2] sanei_pa4s2_open: could not find scanner >> [sanei_pa4s2] sanei_pa4s2_open: reported ASIC id 0xb5 > this looks like the backend couldn't find your scanner (0xa5 would =ave > been a valid ID for example) > >> [sanei_pa4s2] sanei_pa4s2_enable: called for fd 0 with value = >> [sanei_pa4s2] sanei_pa4s2_enable: disable port 'parport0' > here the port is released again (at least it should be) > > can you actually scan with SANE and your scanner? This looks all =ery > strange to me... > > regards > -- jochen Jochen, yes I have been able to scan but after an apparently sucessful scan =he parallel port locks up (such that I can neither scan again nor print =gain until I have rebooted). I have sent logs up previously that Henning took a look at before suggesting that you or Eddy might be able to help. Eddy has asked =e to install gdb (if I have the room on my very small system) and run it =gain and send the output up. I'll do this some time over the weekend =I've literally just got back off holiday though so it'll take a couple of =ays to get myself settled). Thanks for your interest. Jim ) -------------- next part -------------- An HTML attachment was scrubbed... URL: From gerhard at gjaeger.de Fri Jan 2 12:37:06 2004 From: gerhard at gjaeger.de (Jaeger, Gerhard) Date: Fri, 2 Jan 2004 13:37:06 +0100 Subject: [sane-devel] strange thread code? In-Reply-To: References: Message-ID: <200401021337.06363.gerhard@gjaeger.de> Hi, On Mittwoch, 31. Dezember 2003 18:10, m. allan noah wrote: > i am converting the fujitsu backend to use sanei_thread instead of fork. okay - good ;-) > > in reading the threading code, i found something that i dont understand, > and was hoping someone who knows a bit more could explain it to me: let's try. > in the function sanei_thread_waitpid(), the #ifdef PTHREAD section always > returns pid (around line 354). but farther down, in the #else section, the > return val from the waitpid() call is returned (which is the pid on > success, but 0 or -1 otherwise) > > so if you are calling sanei_thread_waitpid() and there is an error, you > might, or might not, get a negative return value? The idea is, that sanei_thread_waitpid should be some replacement for waitpid, and if this waitpid fails, you should get back exactly the code it delivers... Only the case ECHILD is handled different (guess it was because of some internals in the plustek backend ;-) ) In case of the pthread_join stuff, there's no proper replacement for waitpid, and that's why this part always returns the pid (maybe this can also be done better, but currently I don't see any problems there) So you can use sanei_thread_waitpid the same way you have used it in your backend... > am i not reading this code correctly? no, you're reading it correctly... Hope this helps a bit, Gerhard From karsten.festag at gmx.de Sat Jan 3 20:52:24 2004 From: karsten.festag at gmx.de (Karsten Festag) Date: Sat, 3 Jan 2004 21:52:24 +0100 Subject: [sane-devel] problems with microtek X6 scanner in TMA mode In-Reply-To: <200312212000.41268.joheid@ttiger.in-berlin.de> References: <200312152206.08204.joheid@ttiger.in-berlin.de> <200312201723.10871.karsten.festag@gmx.de> <200312212000.41268.joheid@ttiger.in-berlin.de> Message-ID: <200401032027.15111.karsten.festag@gmx.de> Hi Joachim, I hope I found the bug. It is in the function 'attach'. There are several calls like status = scsi_read_attributes(&md->info[MD_SOURCE_ADF], md->name, MD_SOURCE_ADF); They all must have the first parameter &md->info[0] so that they look like: status = scsi_read_attributes(&md->info[0], md->name, MD_SOURCE_ADF); Are you able to check if this is the solution to the problem by recompiling SANE with this modification? (The best thing is to use the source rpm provided by SUSE and modify them.) Karsten On Sunday 21 December 2003 20:00, you wrote: > Am Samstag, 20. Dezember 2003 17:23 schrieben Sie: > > Hi Joachim, > > > > thanks for the logfiles, it looks like the backend uses the wrong > > values, I'll have to check this. > > > > Do you remember which SANE version the TMA used to work with > > before? > > Hi Karsten, > I'm not 100% shure, but I think that it worked up to at least SuSE > 7.3. > I'n the beginning (around 1998/99) there were some problems with the > microtek firmware (at least V 1.6 was required) but then everything > worked o.k. > Yours From henning at meier-geinitz.de Mon Jan 5 18:44:29 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 5 Jan 2004 19:44:29 +0100 Subject: [sane-devel] Cannot connect to saned In-Reply-To: <1072726235.11758.13.camel@hauke.coltzimski> References: <1072715179.8227.14.camel@hauke.coltzimski> <20031229164525.GD1280@meier-geinitz.de> <1072726235.11758.13.camel@hauke.coltzimski> Message-ID: <20040105184429.GF1651@meier-geinitz.de> Hi, On Mon, Dec 29, 2003 at 08:31:07PM +0100, Hauke Coltzau wrote: > > > On the other hand, the sane server itself seems to be fine, > > > since I can run scanimage -L on localhost and telnet to > > > port 6566 from both localhost and remote. > > > > So it doesn't look like a saned problem on first sight. What happens > > when you do: > > scanimage -d net:192.168.0.1 -T > > The client says that it is out of memory. It shouldn't be since > there's lots of free mem available. The same thing happens, if > I try scanimage -d net:192.168.0.1 -t on the server. > Can it be a bug? Yes. Probably in the backend on the server. Please show us the exact error message. You may also get some debug messages like this: SANE_DEBUG_NET=255 scanimage -d net:192.168.0.1 -T > > Does scanning work? I.e. id you start saned in debug mode on the > > server, does "scanimage -d net:192.168.0.1 >image.pnm" on the client > > scan something? If not, what's the error message? > > As above, out of memory. Nothing more, nothing in /var/log/messages Nothing? At least when running in (x)inetd mode, daned does print some messages into syslog. In debug mode, it prints the messages to stderr. Bye, Henning From henning at meier-geinitz.de Mon Jan 5 18:50:47 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 5 Jan 2004 19:50:47 +0100 Subject: [sane-devel] Visioneer OneTouch Pro 8820 USB In-Reply-To: <3FF119FB.7030909@vonostingroup.com> References: <3FF119FB.7030909@vonostingroup.com> Message-ID: <20040105185047.GG1651@meier-geinitz.de> Hi, On Tue, Dec 30, 2003 at 01:23:55AM -0500, Frank Laszlo wrote: > I have the above scanner, And I wondered if it was supported by sane? > (or anything in linux) > > I believe this model is discontinued, though im not 100% sure. please > let me know of any effort for a driver to be developed. Thanks At least our lists don't know anything about that scanner which is usually bad. If nobody cries out loudly I'll add this scanner to the "unsupported" list. Bye, Henning From henning at meier-geinitz.de Mon Jan 5 18:54:44 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 5 Jan 2004 19:54:44 +0100 Subject: [sane-devel] Umax 2200 smearing/dangerous options In-Reply-To: <20031231140600.F744@green.nat.fasttrackmonkey.com> References: <20031231140600.F744@green.nat.fasttrackmonkey.com> Message-ID: <20040105185444.GH1651@meier-geinitz.de> Hi, On Wed, Dec 31, 2003 at 02:16:40PM -0500, Charles Sprickman wrote: > Also, is there a wiki-type thing somewhere where people can share > information about their particular models? It seems that I stumbled all > over things that just aren't documented on the site, but are common > knowledge once you're on the list for a while (ie: don't use the OS > driver, use libusb, scanner won't work w/o quality control disabled, etc.) As far as I know there is no wiki. This is information that should really be added to the backend's manpage. In case of options that should be disabled: ideally, the backend should do that automatically. I suggest to add a (wishlist) bug for that backend on our bug-tracking system. Bye, Henning From edg1 at tiscali.be Sat Jan 3 20:06:48 2004 From: edg1 at tiscali.be (edg1 at tiscali.be) Date: Sat, 3 Jan 2004 21:06:48 +0100 Subject: [sane-devel] mustek_pp trouble (was: saned doesn't release the parallel port when finished) In-Reply-To: <20040103193953.GB4122@reddot.erps-kwerps.be>; from edg1@tiscali.be on za, jan 03, 2004 at 20:39:53 +0100 References: <4240.192.168.0.4.1072433618.squirrel@tassi.local> <20031226093600.GJ1498@meier-geinitz.de> <4549.192.168.0.4.1072448029.squirrel@tassi.local> <20031226131822.GK1498@meier-geinitz.de> <1177.192.168.0.4.1072455738.squirrel@tassi.local> <20031226153605.GL1498@meier-geinitz.de> <20031226230048.GA3250@reddot.erps-kwerps.be> <3613.192.168.0.4.1073080152.squirrel@tassi.local> <20040103193953.GB4122@reddot.erps-kwerps.be> Message-ID: <20040103200648.GC4768@reddot.erps-kwerps.be> On 02-01-04 22:49:12 Jim George wrote: > I tried that but got the following before I'd had a chance to run > scanimage. > > Have a lot of fun... > tassi:~ # SANE_DEBUG_MUSTEK_PP=255 gdb saned > ... > (gdb) r -d128 > Starting program: /usr/sbin/saned -d128 > [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. > > Program exited with code 01. > (gdb) > > Any ideas as to how I can progress this? Sorry, I forgot to mention that you first have to stop xinetd: /etc/rc.d/init.d/xinetd stop Best regards, Eddy From jim.george at blueyonder.co.uk Mon Jan 5 21:46:39 2004 From: jim.george at blueyonder.co.uk (Jim George) Date: Mon, 5 Jan 2004 21:46:39 -0000 (GMT) Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port Message-ID: <1687.192.168.0.4.1073339199.squirrel@tassi.local> Eddy and Joachen, when I tried to run saned under gdb I got the following output. Doesn't look good does it? Can you tell me what I should do now? SANE_DEBUG_MUSTEK_PP=255 gdb GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux". (gdb) exec-file /usr/sbin/saned (gdb) r -d128 Starting program: /usr/sbin/saned -d128 [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. Program exited with code 01. (gdb) TIA, Jim From jb at jblache.org Mon Jan 5 20:50:31 2004 From: jb at jblache.org (Julien BLACHE) Date: Mon, 05 Jan 2004 21:50:31 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <1687.192.168.0.4.1073339199.squirrel@tassi.local> (Jim George's message of "Mon, 5 Jan 2004 21:46:39 -0000 (GMT)") References: <1687.192.168.0.4.1073339199.squirrel@tassi.local> Message-ID: <87r7ye3yso.fsf@frigate.technologeek.org> "Jim George" wrote: Hi, > [saned] main: [0] bind failed: Address already in use > [saned] main: [1] bind failed: Address already in use > [saned] main: couldn't bind an address. Exiting. > > Program exited with code 01. I guess you have (x)inetd configured to listen on port 6566 ... ? JB. -- Julien BLACHE GPG KeyID 0xF5D65169 From gerhard at gjaeger.de Mon Jan 5 21:07:59 2004 From: gerhard at gjaeger.de (Jaeger, Gerhard) Date: Mon, 5 Jan 2004 22:07:59 +0100 Subject: [sane-devel] Plustek OpticPro U12 (product-id:0x0001) Message-ID: <200401052207.59219.gerhard@gjaeger.de> Hi list, finally we now have a backend called U12 which should support the following scanner: Plustek OpticPro U12 Plustek OpticPro UT12 Plustek OpticPro 1212U (all having the product-ID 0x0001) also the Genius ColorPage Vivid III V2 USB should work (Plustek vendor & product id) and Genius HR6 USB V1 (vendor-ID: 0x0458, product-ID: 0x2004) should work. The backend currently is in alpha state, which means, that only color scanning will work and we have some other problems, which require sometimes a restart of the backend - I hope to improve this ASAP. As I have only a U12 as test-device, the others are not tested... To test it with your device, you have to download the latest CVS-version of SANE and to activate the u12 backend... Have fun, Gerhard From henning at meier-geinitz.de Mon Jan 5 21:43:08 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 5 Jan 2004 22:43:08 +0100 Subject: [sane-devel] Plustek OpticPro U12 (product-id:0x0001) In-Reply-To: <200401052207.59219.gerhard@gjaeger.de> References: <200401052207.59219.gerhard@gjaeger.de> Message-ID: <20040105214308.GJ1651@meier-geinitz.de> Hi, On Mon, Jan 05, 2004 at 10:07:59PM +0100, Jaeger, Gerhard wrote: > finally we now have a backend called U12 which should support the following > scanner: > Genius ColorPage Vivid III V2 USB should work (Plustek vendor & product id) > Genius HR6 USB V1 (vendor-ID: 0x0458, product-ID: 0x2004) should work. I don't have any of these scanners but the " Genius Colorpage Vivid III V2 USB" was reported to me as supported by the gt68xx backend. According to that report the scanner has the same ids as the Genius Colorpage Vivid 3x. The ids are reported to be 0x0458/0x2011. Two scanners with the same name? The "Genius Colorpage Vivid III" (without the "V2") is however reported to have these ids: 0x07b3 0x0001 (see unsupported.desc). So I guess that one IS supported by your backend. Good work! Don't forget to update sane.man :-) Bye, Henning From henning at meier-geinitz.de Mon Jan 5 21:58:37 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 5 Jan 2004 22:58:37 +0100 Subject: [sane-devel] Umax 2200 smearing/dangerous options In-Reply-To: <20031231140600.F744@green.nat.fasttrackmonkey.com> References: <20031231140600.F744@green.nat.fasttrackmonkey.com> Message-ID: <20040105215837.GL1651@meier-geinitz.de> Hi, On Wed, Dec 31, 2003 at 02:16:40PM -0500, Charles Sprickman wrote: > This will hopefully be the last time I bother the list. My Umax 2200 is > now basically working, but the scans look pretty bad. They have what I > could best describe as "banding" or "smearing". An example from a 300dpi > scan is here (white areas on the left are the scanner lid and show the > pattern rather well - looks like the output of a really bad inkjet > printer): > > http://home.manymonkeys.com/out.png (approx. 1MB png) On first sight I would have said: the image is ok. When I looked with gimp and it's magnifying option I found two effects: a) There is a small line distance correction error. That means that the colors are not exactly centered vertically. You can see that effect best at the top edge of the photo. There is a blue/brown stripe. Possible causes: Bug in the backend or scanner firmware. Or low quality scanner. b) High noise. The colors of two adjacent pixels should be (mostly) the same in the white area. Possible causes: Low quality sensor. Defective or old lamp. Bug in the backend or firmware (calibration). I guess the horizontal lines that look like an old inkjet print are cause by problem a). As I don't own such a scanner I have no clue how to solve it (if possible), however. Bye, Henning From benedict.prescott at virgin.net Mon Jan 5 23:15:01 2004 From: benedict.prescott at virgin.net (Ben Prescott) Date: Mon, 5 Jan 2004 23:15:01 +0000 Subject: [sane-devel] Trust Imagery 9600 Message-ID: <20040105231501.35fe567c.benedict.prescott@virgin.net> I'm having problems getting this working. I've searched the archive and there's nothing in there apart from the announcement when the teco3 backend was released. I also note that the man pages states that it is untested. I would hypothesise that they've littered the output from /inquiry/ with some extra spaces, which is why its failing. FCC ID is, BTW, 'E8OVM3552' The final test I did is as follows: # export SANE_DEBUG_TECO3=128 # scanimage -d teco3:/dev/sg3 The output is attached in a plain text file; my email client is wrapping it and making a mess. The error returned from all the front ends is 'invalid argument', as in: scanimage: open of device teco3:/dev/sg3 failed: Invalid argument I'm guessing the key lines in the debug are as follows: [teco3] device is "Aashima " "IMAGERY 9600SP " "1.07" "TECO VM6552" [teco3] teco_identify_scanner: exit, device not supported [teco3] ERROR: attach_scanner: scanner-identification failed Some background ... I stripped out the backend config file (I'm running Suse 8.2; YAST has filled it with other stuffas well) as per the man page's statement about what it should contain, but I would guess that is irrelevant given the way I ran it. # cat /etc/sane.d/teco3.conf /dev/sg3 Versions: scanimage --version scanimage (sane-backends) 1.0.11; backend version 1.0.11 /usr/lib/sane/libsane-teco3.so.1.0.11 The SCSI adapter is an on-board Adaptec aic7895. Also on the same bus are: Vendor: COMPAQ Model: ST32171W Rev: 0682 Type: Direct-Access ANSI SCSI revision: 02 blk: queue c1b67c18, I/O limit 4095Mb (mask 0xffffffff) Vendor: SCANNER Model: Rev: 2.00 Type: Scanner ANSI SCSI revision: 01 blk: queue c1b67618, I/O limit 4095Mb (mask 0xffffffff) Vendor: PLEXTOR Model: CD-ROM PX-40TS Rev: 1.00 Type: CD-ROM ANSI SCSI revision: 02 blk: queue c1b67218, I/O limit 4095Mb (mask 0xffffffff) The Trust unit registers as follows: Vendor: Aashima Model: IMAGERY 9600SP Rev: 1.07 Type: Scanner ANSI SCSI revision: 02 blk: queue c1b33a18, I/O limit 4095Mb (mask 0xffffffff) And the following is generated by the host adapter driver for this device: <4>(scsi0:A:5:0): refuses synchronous negotiation. Using asynchronous All other devices work correctly. The main reason why the other scanner is there (Mustek A3 SP, works a treat in Linux, blue screens NT - thankyou very much for SANE!!) is to do with the combination of cables and terminators I've got. Thankyou in advance for your help. If I/we can get it working, I'm happy to put the thing through a test cycle so it can acquire 'tested' status. Assuming anyone cares, of course! regards, Ben -------------- next part -------------- A non-text attachment was scrubbed... Name: imagery.txt Type: application/octet-stream Size: 1968 bytes Desc: not available URL: From ecr959 at yahoo.com Tue Jan 6 00:56:23 2004 From: ecr959 at yahoo.com (Eddie Colon) Date: Mon, 5 Jan 2004 16:56:23 -0800 (PST) Subject: [sane-devel] 4600 scanner info Message-ID: <20040106005623.14529.qmail@web41408.mail.yahoo.com> I just sent you a message with some info on this model. I'm sorry that I used my other email, please accept my info, I really am a new member of your DEV list, but I registered with this email, not my othere one. Eddie ===== Eddie Colon Bayamon, PR 00959 "The best things in life are not things" __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From gerhard at gjaeger.de Tue Jan 6 09:39:13 2004 From: gerhard at gjaeger.de (Jaeger, Gerhard) Date: Tue, 6 Jan 2004 10:39:13 +0100 Subject: [sane-devel] Plustek OpticPro U12 (product-id:0x0001) In-Reply-To: <20040105214308.GJ1651@meier-geinitz.de> References: <200401052207.59219.gerhard@gjaeger.de> <20040105214308.GJ1651@meier-geinitz.de> Message-ID: <200401061039.14088.gerhard@gjaeger.de> Moin, On Montag, 5. Januar 2004 22:43, Henning Meier-Geinitz wrote: [SNIPSNAP] > I don't have any of these scanners but the " Genius Colorpage Vivid > III V2 USB" was reported to me as supported by the gt68xx backend. > According to that report the scanner has the same ids as the Genius > Colorpage Vivid 3x. The ids are reported to be 0x0458/0x2011. Two scanners > with the same name? > > The "Genius Colorpage Vivid III" (without the "V2") is however > reported to have these ids: 0x07b3 0x0001 (see unsupported.desc). So I > guess that one IS supported by your backend. Okay, no problem! I only searched through some older mails here on the plustek list and that's why I decided to use Vivid III V2... But you're right, the 0x07b3 0x0001 is the correct one (obviously, because of the Plustek vendor ID ;-) > Good work! > > Don't forget to update sane.man :-) Hmmmmpf, I think this already happens :-)))))))))))) Ciao, Gerhard BTW.: Any progress on the GL646 stuff?? From jochen at penguin-breeder.org Tue Jan 6 10:54:50 2004 From: jochen at penguin-breeder.org (Jochen Eisinger) Date: Tue, 06 Jan 2004 11:54:50 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <1687.192.168.0.4.1073339199.squirrel@tassi.local> References: <1687.192.168.0.4.1073339199.squirrel@tassi.local> Message-ID: <3FFA93FA.80103@penguin-breeder.org> Hello, I've thought long about your problem but I still don't get how your parport can be locked that badly. What kernel version are you using? What Linux distribution? Could you please send the output of (after rebooting - that is in a state where the scan will work?) SANE_DEBUG_SANEI_PA4S2=6 scanimage --test regards -- jochen From eddiecr at caribe.net Tue Jan 6 00:40:30 2004 From: eddiecr at caribe.net (Eddie Colon) Date: Mon, 05 Jan 2004 19:40:30 -0500 Subject: [sane-devel] here is info for the HP scanjet 4600 scanner Message-ID: <1073349630.2585.17.camel@localhost.localdomain> Hello everybody, Happy New Year to all. this is my first contribution to this forum. I just bought an HP scanjet 4600 scanner, it has USB connection. I really like it, want to use it on my Mandrake PC, here is the "cat /proc/bus/usb/devices " printout. I hope this helps create a driver for it. [root at localhost /]# cat /proc/bus/usb/devices T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.04 S: Manufacturer=Linux 2.4.22-10mdk ehci_hcd S: Product=VIA Technologies, Inc. USB 2.0 S: SerialNumber=00:10.3 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms T: Bus=04 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=03f0 ProdID=3005 Rev= 1.00 S: Manufacturer=Hewlett-Packard. S: Product=hp scanjet S: SerialNumber=CN3B4B502993 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=500us T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=e400 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=e800 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ec00 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms [root at localhost /]# -- Eddie Colon Bayamon, Puerto Rico "The best things in life are not things." From anoah at pfeiffer.edu Tue Jan 6 15:15:12 2004 From: anoah at pfeiffer.edu (m. allan noah) Date: Tue, 6 Jan 2004 10:15:12 -0500 (EST) Subject: [sane-devel] strange thread code? In-Reply-To: <200401021337.06363.gerhard@gjaeger.de> Message-ID: On Fri, 2 Jan 2004, Jaeger, Gerhard wrote: > Hi, > > On Mittwoch, 31. Dezember 2003 18:10, m. allan noah wrote: > > i am converting the fujitsu backend to use sanei_thread instead of fork. > > okay - good ;-) > > > > > in reading the threading code, i found something that i dont understand, > > and was hoping someone who knows a bit more could explain it to me: > > let's try. > > > in the function sanei_thread_waitpid(), the #ifdef PTHREAD section always > > returns pid (around line 354). but farther down, in the #else section, the > > return val from the waitpid() call is returned (which is the pid on > > success, but 0 or -1 otherwise) > > > > so if you are calling sanei_thread_waitpid() and there is an error, you > > might, or might not, get a negative return value? > > The idea is, that sanei_thread_waitpid should be some replacement for waitpid, > and if this waitpid fails, you should get back exactly the code it delivers... > Only the case ECHILD is handled different (guess it was because of some > internals in the plustek backend ;-) ) ok, i understand this, sanei_thread_waitpid should mimic waitpid() functionality.... > In case of the pthread_join stuff, there's no proper replacement for waitpid, > and that's why this part always returns the pid (maybe this can also be > done better, but currently I don't see any problems there) > ok, so sanei_thread_waitpid does not mimic waitpid, in the case of threading? > So you can use sanei_thread_waitpid the same way you have used it in > your backend... unless threading is used, cause i cant use the return val in that case, instead i must use the status pointer? seems like this abstraction layer is not quite abstracted enough... > > > am i not reading this code correctly? > > no, you're reading it correctly... > > Hope this helps a bit, > Gerhard > > thanks for the tips, thought i was missing something... allan -- "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 henning at meier-geinitz.de Tue Jan 6 17:46:49 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Tue, 6 Jan 2004 18:46:49 +0100 Subject: [sane-devel] here is info for the HP scanjet 4600 scanner In-Reply-To: <1073349630.2585.17.camel@localhost.localdomain> References: <1073349630.2585.17.camel@localhost.localdomain> Message-ID: <20040106174649.GE1515@meier-geinitz.de> Hi, On Mon, Jan 05, 2004 at 07:40:30PM -0500, Eddie Colon wrote: > Happy New Year to all. this is my first contribution to this > forum. I just bought an HP scanjet 4600 scanner, it has USB > connection. I really like it, want to use it on my Mandrake PC, here > is the "cat /proc/bus/usb/devices " printout. I hope this helps > create a driver for it. Thanks. I'll add that scanner to our list. However, that won't help much until someone (you?) starts to write a driver :-) Can you really see the image while it's scanned? The description of that scanner looks a bit strange. Bye, Henning From joheid at ttiger.in-berlin.de Tue Jan 6 21:20:45 2004 From: joheid at ttiger.in-berlin.de (joachim heidemeier) Date: Tue, 6 Jan 2004 22:20:45 +0100 Subject: [sane-devel] problems with microtek X6 scanner in TMA mode In-Reply-To: <200401032027.15111.karsten.festag@gmx.de> References: <200312152206.08204.joheid@ttiger.in-berlin.de> <200312212000.41268.joheid@ttiger.in-berlin.de> <200401032027.15111.karsten.festag@gmx.de> Message-ID: <200401062220.45298.joheid@ttiger.in-berlin.de> Am Samstag, 3. Januar 2004 21:52 schrieb Karsten Festag: > Hi Joachim, > > I hope I found the bug. It is in the function 'attach'. There are > several calls like > > status = scsi_read_attributes(&md->info[MD_SOURCE_ADF], md->name, > MD_SOURCE_ADF); > > They all must have the first parameter &md->info[0] so that they > look like: > > status = scsi_read_attributes(&md->info[0], md->name, > MD_SOURCE_ADF); > > Are you able to check if this is the solution to the problem by > recompiling SANE with this modification? (The best thing is to use > the source rpm provided by SUSE and modify them.) > > Karsten > > On Sunday 21 December 2003 20:00, you wrote: > > Am Samstag, 20. Dezember 2003 17:23 schrieben Sie: > > > Hi Joachim, > > > > > > thanks for the logfiles, it looks like the backend uses the > > > wrong values, I'll have to check this. > > > > > > Do you remember which SANE version the TMA used to work with > > > before? > > > > Hi Karsten, > > I'm not 100% shure, but I think that it worked up to at least > > SuSE 7.3. > > I'n the beginning (around 1998/99) there were some problems with > > the microtek firmware (at least V 1.6 was required) but then > > everything worked o.k. > > Yours Hi Karsten, I checked your patches and everything is o.k. :-). Yours -- Dr. J. Heidemeier Email: joheid at ttiger.in-berlin.de From jochen at penguin-breeder.org Tue Jan 6 22:21:27 2004 From: jochen at penguin-breeder.org (Jochen Eisinger) Date: Tue, 06 Jan 2004 23:21:27 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <1687.192.168.0.4.1073339199.squirrel@tassi.local> References: <1687.192.168.0.4.1073339199.squirrel@tassi.local> Message-ID: <3FFB34E7.3080107@penguin-breeder.org> Hello, another idea. May it be, that there are any saned or scanimage running after the first scan attempt? regards -- jochen Jim George wrote: > Eddy and Joachen, > > when I tried to run saned under gdb I got the following output. Doesn't > look good does it? Can you tell me what I should do now? > > SANE_DEBUG_MUSTEK_PP=255 gdb > GNU gdb 5.2.1 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are welcome to change it and/or distribute copies of it under certain > conditions. Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. This GDB was configured as "i586-suse-linux". > (gdb) exec-file /usr/sbin/saned > (gdb) r -d128 > Starting program: /usr/sbin/saned -d128 > [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. > > Program exited with code 01. > (gdb) > > > TIA, > > Jim > > > > From olaf at epkowa.co.jp Wed Jan 7 00:25:20 2004 From: olaf at epkowa.co.jp (Olaf Meeuwissen) Date: Wed, 07 Jan 2004 09:25:20 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <20031231100823.GI1003@meier-geinitz.de> (Henning Meier-Geinitz's message of "Wed, 31 Dec 2003 11:08:23 +0100") References: <1072823795.721.38.camel@invigiator.invigiator.com> <2EF6A039-3B1F-11D8-B259-000A957E40E8@khk.net> <1072829396.721.49.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> Message-ID: <878ykkehan.fsf@zen.epkowa.co.jp> Henning Meier-Geinitz writes: > Hi, > > On Wed, Dec 31, 2003 at 09:09:56AM +0900, Julian Gough wrote: >> Under windows it is reported as an Epson Perfection 1270, and seems to >> work, but the software is in Japanese. >> >> I can see that the 1250 and 1260 use the plustek driver. I've configured >> /etc/sane.d/plustek.conf as follows: >> [usb] 0x04B8 0x0120 >> device auto >> >> but still I get nothing detected. I can see no way to try to *force* the >> plustek driver to be used so that I can see if it works. > > You may also try the snapscan backend. At least the 1670 is supported > by that backend. Maybe these scanners are similar? But you will need > the latest development version of SANE. Maybe the manintainer of the > snapscan backend has heard baout that scanner: Oliver Schwartz > Sorry for the late follow-up. I've checked around a little bit and found some tidbits of information that seems to indicate that the GT-7400U is the little sister of the GT-8400U. There is a reasonable chance that this scanner works with the snapscan backend. You will probably have to muck around a bit to get it to load the right firmware file and copy that file from the Windoze software. No guarantees though ;-) -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From kent-cdr at greendot.com.ph Wed Jan 7 00:45:17 2004 From: kent-cdr at greendot.com.ph (kent E.) Date: Wed, 07 Jan 2004 08:45:17 +0800 Subject: [sane-devel] using saned Message-ID: <1073436317.916.4.camel@leprechaun.cdr.com> does any have any docs on how to setup a network scanner using saned, i am following the one in http://www.penguin-breeder.org/sane/saned/ but still i am confused, i am using rh9 and my 3-in-1 model is hp1100a any ideas? TIA Kent From vhodge at sympatico.ca Wed Jan 7 03:32:12 2004 From: vhodge at sympatico.ca (vhodge at sympatico.ca) Date: Tue, 6 Jan 2004 22:32:12 -0500 Subject: [sane-devel] Mustek 1200USB scanner (VID 055F PID 0003) Message-ID: <20040107033212.WHRT23150.tomts13-srv.bellnexxia.net@[67.68.54.6]> January 6, 2004 Hi, I've just bought this unboxed, at least I already had a power brick, now I'm looking to program it. I turn to Linux, which leads me to this SANE forum, and the statement that this scanner is unsupported but "programming information is available". Do I have to sign anything? Background: I'm building USB drivers under DOS as a hobby, have written UHCI mouse, drawing tablet drivers. My only product will be a confirmation that the information was found to be correct. Victor Hodge From edg1 at tiscali.be Wed Jan 7 08:50:02 2004 From: edg1 at tiscali.be (edg1 at tiscali.be) Date: Wed, 7 Jan 2004 09:50:02 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <3FFB34E7.3080107@penguin-breeder.org> Message-ID: <3FFB29D700000243@ocpmta2.freegates.net> Hi, as I said before (but I don't know whether it came through because of the mail hickups), the problem in gdb is almost certainly caused by xinetd that is still running and listening to port 6566. xinetd has to be stopped first before running saned in gdb: /etc/rc.d/init.d/xinetd stop After that, it should be possible to get a stack trace of the point where saned hangs. Eddy Jochen Eisinger wrote: > Hello, > > another idea. May it be, that there are any saned or scanimage running > after the first scan attempt? > > regards > -- jochen > > Jim George wrote: > > Eddy and Joachen, > > > > when I tried to run saned under gdb I got the following output. Does > >'t > > look good does it? Can you tell me what I should do now? > > > > SANE_DEBUG_MUSTEK_PP=255 gdb > > GNU gdb 5.2.1 > > Copyright 2002 Free Software Foundation, Inc. > > GDB is free software, covered by the GNU General Public License, and you > > are wel > >ome to change it and/or distribute copies of it under certain > > conditions. Type "show copying" to see the conditions. > > There is absolutely no warranty for GDB. Type "show warranty" for > > details. This GDB was configured as "i586-suse-linux". > > ( > >db) exec-file /usr/sbin/saned > > (gdb) r -d128 > > Starting program: /usr/sbin/saned -d128 > > [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. > > > > Program exited with code 01. > > (gdb) > > > > > > TIA, > > > > Jim --------------------------------------------------------------- Tiscali ADSL: 12 maanden aan 29,50 ?/maand! Snel Internet, en voor iedereen. http://reg.tiscali.be/default.asp?lg=nl From jim.george at blueyonder.co.uk Wed Jan 7 10:20:39 2004 From: jim.george at blueyonder.co.uk (Jim George) Date: Wed, 7 Jan 2004 10:20:39 -0000 (GMT) Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <3FFB29D700000243@ocpmta2.freegates.net> References: <3FFB34E7.3080107@penguin-breeder.org> <3FFB29D700000243@ocpmta2.freegates.net> Message-ID: <1856.192.168.0.4.1073470839.squirrel@tassi.local> > Hi, > > as I said before (but I don't know whether it came through because of > the mail hickups), the problem in gdb is almost certainly caused by > xinetd that is still running and listening to port 6566. xinetd has to > be stopped first before running saned in gdb: > > /etc/rc.d/init.d/xinetd stop > > After that, it should be possible to get a stack trace of the point > where saned hangs. > > Eddy > Eddy, I have now run saned through gdb and done two scans. The first appeared to complete successfully so I ran the second but the client timed out and eventually saned quit (as you will see from the attached). Thanks for your continued help, Jim -------------- next part -------------- A non-text attachment was scrubbed... Name: ZOC0401.zip Type: application/x-zip-compressed Size: 11671 bytes Desc: not available URL: From gerard at gkall.hobby.nl Wed Jan 7 12:00:18 2004 From: gerard at gkall.hobby.nl (gerard klaver) Date: Wed, 07 Jan 2004 11:00:18 -0100 Subject: [sane-devel] Trust Imagery 9600 In-Reply-To: <20040105231501.35fe567c.benedict.prescott@virgin.net> References: <20040105231501.35fe567c.benedict.prescott@virgin.net> Message-ID: <1073476817.1987.29.camel@gk-lex3> On Mon, 2004-01-05 at 22:15, Ben Prescott wrote: > I'm having problems getting this working. > > I've searched the archive and there's nothing in there apart from the > announcement when the teco3 backend was released. see the teco mailinglist at yahoo, also mail archive is present. http://groups.yahoo.com/group/teco-sane-devel/ teco3 homepage http://www.zago.net/sane/#teco > > I'm guessing the key lines in the debug are as follows: > > [teco3] device is "Aashima " "IMAGERY 9600SP " "1.07" "TECO VM6552" > [teco3] teco_identify_scanner: exit, device not supported > [teco3] ERROR: attach_scanner: scanner-identification failed > To get this scanner working you have to patch the following files teco3.conf with the name of the scanner: scsi "Aashima" "IMAGERY 9600SP" teco3.h change TECO_VM3552 to TECO_VM3552, TECO_VM6552 teco3.c for a start add something like: { 6, "TECO VM6552", TECO_VM6552, "Aashima", IMAGERY 9600SP", (.. .. ..), values for your resolution ...., .... your max x and y resolution } There should more be changed to get the scanner working, but this should be a start (maybe scsi traces are needed to get a correct working scanner) some example on http://gkall.hobby.nl/notes1.html Frank Zago (teco3 maintaniner) should be able to tell more about the changes which are needed to get this scanner working. -- ---------- m.vr.gr. Gerard Klaver From jochen at penguin-breeder.org Wed Jan 7 12:50:43 2004 From: jochen at penguin-breeder.org (jochen) Date: Wed, 7 Jan 2004 13:50:43 +0100 Subject: [sane-devel] using saned In-Reply-To: <1073436317.916.4.camel@leprechaun.cdr.com> References: <1073436317.916.4.camel@leprechaun.cdr.com> Message-ID: <20040107125043.GA6660@coffee.homeunix.org> hello, what exactly is confusing you? please give some more details, so we can probably help you. regards -- jochen On Wed, Jan 07, 2004 at 08:45:17AM +0800, kent E. wrote: > does any have any docs on how to setup a network scanner using saned, i > am following the one in http://www.penguin-breeder.org/sane/saned/ but > still i am confused, i am using rh9 and my 3-in-1 model is hp1100a > > any ideas? > TIA > > Kent > > > -- > 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 > > From edg1 at tiscali.be Wed Jan 7 12:54:29 2004 From: edg1 at tiscali.be (edg1 at tiscali.be) Date: Wed, 7 Jan 2004 13:54:29 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <1856.192.168.0.4.1073470839.squirrel@tassi.local> Message-ID: <3FFB29D70000062E@ocpmta2.freegates.net> Jim George wrote: > Eddy, > > I have now run saned through gdb and done two scans. The first appeared > to complete successfully so I ran the second but the client timed out and > eventually saned quit (as you will see from the attached). > > Thanks for your continued help, > > Jim > Hi Jim, I think it's normal that saned exits after one scan. Normally, it's xinetd that restarts saned when a new request comes in. To restart saned in gdb, you only have to enter "r" at the prompt and then you can perform another scan. What surprises me is that, now, saned doesn't hang at the end. IIRC, when you started saned -d128 without gdb, it did hang. I'm getting confused. Could you repeat the following tests, such that I get a clear picture: 1) With xinetd - Make sure xinetd is running (/etc/rc.d/init.d/xinetd restart). - scanimage -d net:localhost:mustek_pp:Mustek-1200CP > test.pnm * Does scanimage hang? * If it hangs and you kill scanimage, is saned still running? (ps aux | grep saned) * If saned still runs, just kill it. 2) Without xinetd, no gdb - Make sure xinetd is stopped (/etc/rc.d/init.d/xinetd stop). - SANE_DEBUG_MUSTEK_PP=255 saned -d128 - In another window: scanimage -d net:localhost:mustek_pp:Mustek-1200CP > test.pnm * Does scanimage hang? * Does saned exit? (It should). * If it hangs, please show the last few lines of debug output. 3) Without xinetd, in gdb - Make sure xinetd is stopped (/etc/rc.d/init.d/xinetd stop). - SANE_DEBUG_MUSTEK_PP=255 gdb saned - At the gdb prompt: r -d128 - In another window: scanimage -d net:localhost:mustek_pp:Mustek-1200CP > test.pnm * Does scanimage hang? * Does saned exit (ie., do you get the gdb prompt back)? * If saned hangs, hit Ctrl-C in the gdb window and request a stack trace: bt * To restart saned: just enter "r" at the gdb prompt. If a certain test doesn't give any problems, please repeat it a few times to make sure it isn't just luck. Best regards, Eddy --------------------------------------------------------------- Tiscali ADSL: 12 maanden aan 29,50 ?/maand! Snel Internet, en voor iedereen. http://reg.tiscali.be/default.asp?lg=nl From mattias.ellert at tsl.uu.se Wed Jan 7 16:09:11 2004 From: mattias.ellert at tsl.uu.se (Mattias Ellert) Date: Wed, 07 Jan 2004 17:09:11 +0100 Subject: [sane-devel] TWAIN SANE Interface for Mac OS X version 0.3 Message-ID: <3FFC2F27.4000303@tsl.uu.se> Release notes, version 0.3, 2004-01-05 * All mandatory TWAIN operations have been implemented. * This version has been tested with the OmniPage application. * New localization: Japanese (Thanks to RedGecko for the contribution). * Fixed a bug where the TWAIN capability containers were not dereferenced correctly. * Fixed a bug where the TWAIN image info reported planar rather than chunky byteorder. * Black and white images are now sent inverted w.r.t. the previous version because OmniPage wants it that way and GraphicConverter has an option that can be set to invert black and white images from TWAIN sources. With this option set in GraphicConverter the new version works with both applications. * Compiled on MacOS X 10.3.2 using the cross-compilation SDKs to provide binary packages for older versions of MacOS X. * A patch to the sane-backend package has been applied the work around the broken implementation of pthread_cancel in MacOS X. With the patch the test backend works again. * A new libusb package is provided, since a number of new MacOS X specific changes have been done in the cvs repository since the last release. * sane-backends 1.0.13 (patched), libusb 0.1.8 beta (2004-01-05) and gettext 0.11.5. * maciconv 1.0 (for the 10.1 and 10.2 builds only) The packages are available on http://www.ellert.se/twain-sane/ Mattias Ellert -- ________________________________________________________________________ mattias.ellert at tsl.uu.se tel: +46 18 471 32 58 http://www.tsl.uu.se/~ellert/ fax: +46 18 471 35 13 ________________________________________________________________________ From jim.george at blueyonder.co.uk Wed Jan 7 21:39:06 2004 From: jim.george at blueyonder.co.uk (Jim George) Date: Wed, 7 Jan 2004 21:39:06 -0000 (GMT) Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <3FFB29D70000062E@ocpmta2.freegates.net> References: <1856.192.168.0.4.1073470839.squirrel@tassi.local> <3FFB29D70000062E@ocpmta2.freegates.net> Message-ID: <2581.192.168.0.4.1073511546.squirrel@tassi.local> Hi Eddy, see in-line below. Jim > Hi Jim, > > I think it's normal that saned exits after one scan. Normally, it's > xinetd that restarts saned when a new request comes in. > To restart saned in gdb, you only have to enter "r" at the prompt and > then you can perform another scan. > > What surprises me is that, now, saned doesn't hang at the end. > IIRC, when you started saned -d128 without gdb, it did hang. > > I'm getting confused. Could you repeat the following tests, such > that I get a clear picture: > > 1) With xinetd > SuSE uses inetd not xinetd > - Make sure xinetd is running (/etc/rc.d/init.d/xinetd restart). - > scanimage -d net:localhost:mustek_pp:Mustek-1200CP > test.pnm > > * Does scanimage hang? Yes > * If it hangs and you kill scanimage, is saned still running? > (ps aux | grep saned) Yes > * If saned still runs, just kill it. > Done > 2) Without xinetd, no gdb > > - Make sure xinetd is stopped (/etc/rc.d/init.d/xinetd stop). > - SANE_DEBUG_MUSTEK_PP=255 saned -d128 > - In another window: > scanimage -d net:localhost:mustek_pp:Mustek-1200CP > test.pnm > > * Does scanimage hang? It didn't even get started. I got the following error message: scanimage: open of device net:localhost:mustek_pp:Mustek-1200CP failed: Invalid argument > * Does saned exit? (It should). This was all the output from saned when it exited (it didn't hang). [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] listen () [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: waiting for control connection [saned] saned (AF-indep+IPv6) from sane-backends 1.0.13 ready [saned] check_host: access by remote host: ::1 [saned] check_host: remote host is IN6_LOOPBACK: access granted [saned] init: access granted [saned] init: access granted to jgeorge@::1 [saned] process_request: waiting for request [saned] process_request: got request 2 [saned] process_request: access to resource `mustek_pp' granted [sanei_debug] Setting debug level of mustek_pp to 255. [mustek_pp] sane-mustek_pp, version 0.12-alpha. build for SANE 1.0.13 [mustek_pp] backend by Jochen Eisinger [mustek_pp] cis_attach: couldn't attach to `parport0' (Invalid argument) [mustek_pp] sane_open: unknown devicename ``Mustek-1200CP'' [saned] process_request: waiting for request [saned] process_request: got request 10 [mustek_pp] sane_exit: all drivers unloaded [saned] quit: exiting > * If it hangs, please show the last few lines of debug output. > > 3) Without xinetd, in gdb > > - Make sure xinetd is stopped (/etc/rc.d/init.d/xinetd stop). > - SANE_DEBUG_MUSTEK_PP=255 gdb saned > - At the gdb prompt: r -d128 > - In another window: > scanimage -d net:localhost:mustek_pp:Mustek-1200CP > test.pnm > > * Does scanimage hang? No it exits immediately with the following error message: scanimage: open of device net:localhost:mustek_pp:Mustek-1200CP failed: Invalid argument > * Does saned exit (ie., do you get the gdb prompt back)? Yes it exited and I did get back to the gdb prompt. Here is the output. GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"... (gdb) r -d128 Starting program: /usr/sbin/saned -d128 [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] listen () [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: waiting for control connection [saned] saned (AF-indep+IPv6) from sane-backends 1.0.13 ready [saned] check_host: access by remote host: ::1 [saned] check_host: remote host is IN6_LOOPBACK: access granted [saned] init: access granted [saned] init: access granted to jgeorge@::1 [saned] process_request: waiting for request [saned] process_request: got request 2 [saned] process_request: access to resource `mustek_pp' granted [sanei_debug] Setting debug level of mustek_pp to 255. [mustek_pp] sane-mustek_pp, version 0.12-alpha. build for SANE 1.0.13 [mustek_pp] backend by Jochen Eisinger [mustek_pp] cis_attach: couldn't attach to `parport0' (Invalid argument) [mustek_pp] sane_open: unknown devicename ``Mustek-1200CP'' [saned] process_request: waiting for request [saned] process_request: got request 10 [mustek_pp] sane_exit: all drivers unloaded [saned] quit: exiting Program exited normally. (gdb) > * If saned hangs, hit Ctrl-C in the gdb window and request a > stack trace: bt > * To restart saned: just enter "r" at the gdb prompt. > > If a certain test doesn't give any problems, please repeat it a few > times to make sure it isn't just luck. > All three tests gave problems as you can see. > Best regards, > > Eddy > > > --------------------------------------------------------------- > Tiscali ADSL: 12 maanden aan 29,50 ?/maand! Snel Internet, en voor > iedereen. http://reg.tiscali.be/default.asp?lg=nl From oliver.rauch at rauch-domain.de Wed Jan 7 23:07:04 2004 From: oliver.rauch at rauch-domain.de (Oliver Rauch) Date: Thu, 8 Jan 2004 00:07:04 +0100 Subject: [sane-devel] UMAX Astra 2200 SU via USB Message-ID: <200401080007.07136.oliver.rauch@rauch-domain.de> 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 -- http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:Oliver.Rauch at Rauch-Domain.DE From ecr959 at yahoo.com Thu Jan 8 00:16:35 2004 From: ecr959 at yahoo.com (Eddie Colon) Date: Wed, 7 Jan 2004 16:16:35 -0800 (PST) Subject: [sane-devel] Re: (sane-devel) info HP scanjet 4600 scanner In-Reply-To: <20040107053536.20689.18784.Mailman@quantz.debian.org> Message-ID: <20040108001635.98501.qmail@web41405.mail.yahoo.com> Hello Henning I'm glad you are including this scanner into your project list. I would love to start the ball rolling and bang out a rough driver, but I don't know any programming at all. Sorry. :-) But I'm not shy with hardware, if you give me some instruction, tell me what to type at the command prompt, I can try a few things for you. About your other question, I haven't been able to scan at all. Mandrake will detect the scanner, and say "it is not supported. Would you like to install it manually ?" When I say yes, I choose a driver, (usually another model from the HP list) then Mandrake says "not supported" and stops right there. Like a loop. If it helps this forum at all, I searched on the web for any info and someone had written that this scanner is actually manufactured by another company, and that's why the HP drivers won't work. I looked all around and couldn't find another company name. What do you suggest ===== Eddie Colon Bayamon, PR 00959 "The best things in life are not things" __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From harri.jarvi at ajatus.org Thu Jan 8 09:45:03 2004 From: harri.jarvi at ajatus.org (=?iso-8859-1?Q?Harri_J=E4rvi?=) Date: Thu, 8 Jan 2004 11:45:03 +0200 Subject: [sane-devel] Finnish translation for backends Message-ID: <20040108094503.GA17111@kirja.lake> Hi, I'm starting to translate the backends .po file into Finnish. I'm also interested in translating the xsane frontend. So I'll probably do that too. Yours, Harri J?rvi From adrianpj at users.sourceforge.net Thu Jan 8 11:13:08 2004 From: adrianpj at users.sourceforge.net (Adrian Perez Jorge) Date: Thu, 08 Jan 2004 11:13:08 +0000 Subject: [sane-devel] Re: (sane-devel) info HP scanjet 4600 scanner In-Reply-To: <20040108001635.98501.qmail@web41405.mail.yahoo.com> References: <20040108001635.98501.qmail@web41405.mail.yahoo.com> Message-ID: <3FFD3B44.40100@users.sourceforge.net> Hi Eddie, Some years ago I was in the same situation as you, but fortunatelly I know about programming (more or less ;) I had to develop hp4200 backend and I could obtain some results without too much documentation available (later I could get much more docs and then improve my results). Some guys here were able to do the same and develop a SANE backend for its scanner. There are some standard steps to solve the situation: * find out what chipset is using your scanner: - open the scanner and read big-chip numbers, or - sometimes .inf files or file names from the window$ drivers will help, or - using a sniffer like USBSnoopy (http://www.wingmanteam.com/usbsnoopy/) in a window$ machine to look at the protocol and somebody in the list could identify if (usbsnoopy log files can be real big; don't send that stuff to the list; give some URL; log for few seconds, not the entire page). * look for a backend that supports the chipset and use it * if there is no backend, then develop a new backend using chipset manufacturer information, the log files from snoopy, imagination, reverse-engeneering (disassembling window$ drivers; there are PE disassemblers for linux available) and help from the list. That's my suggestion. Cheers, Adrian P. Eddie Colon wrote: >Hello Henning > >I'm glad you are including this scanner into your project list. I >would love to start the ball rolling and bang out a rough driver, but I >don't know any programming at all. Sorry. :-) But I'm not shy >with hardware, if you give me some instruction, tell me what to type at >the command prompt, I can try a few things for you. > >About your other question, I haven't been able to scan at all. >Mandrake will detect the scanner, and say "it is not supported. Would >you like to install it manually ?" When I say yes, I choose a driver, >(usually another model from the HP list) then Mandrake says "not >supported" and stops right there. Like a loop. > >If it helps this forum at all, I searched on the web for any info and >someone had written that this scanner is actually manufactured by >another company, and that's why the HP drivers won't work. I looked >all around and couldn't find another company name. > >What do you suggest > >===== >Eddie Colon >Bayamon, PR 00959 > >"The best things in life are not things" > >__________________________________ >Do you Yahoo!? >Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes >http://hotjobs.sweepstakes.yahoo.com/signingbonus > > > From edg1 at tiscali.be Thu Jan 8 12:09:06 2004 From: edg1 at tiscali.be (edg1 at tiscali.be) Date: Thu, 8 Jan 2004 13:09:06 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <2581.192.168.0.4.1073511546.squirrel@tassi.local> Message-ID: <3FFB28C9000013A4@ocpmta1.freegates.net> Jim George wrote: > > 2) Without xinetd, no gdb > > * Does scanimage hang? > It didn't even get started. I got the following error message: > scanimage: open of device net:localhost:mustek_pp:Mustek-1200CP failed: > Invalid argument Sorry, I forgot to mention this: you have to run saned as root. Did you do that? > [mustek_pp] cis_attach: couldn't attach to `parport0' (Invalid argument) This is probably because saned didn't run as root. > > 3) Without xinetd, in gdb > > * Does scanimage hang? > No it exits immediately with the following error message: > scanimage: open of device net:localhost:mustek_pp:Mustek-1200CP failed: > Invalid argument Probably the same problem here: gdb has to be started as root. Please try tests 2 and 3 again, running saned/gdb as root (unless you already did that). Sorry for not being clear the first time. Eddy --------------------------------------------------------------- Tiscali ADSL: 12 maanden aan 29,50 ?/maand! Snel Internet, en voor iedereen. http://reg.tiscali.be/default.asp?lg=nl From christopherlmarshall at yahoo.com Thu Jan 8 14:52:19 2004 From: christopherlmarshall at yahoo.com (Christopher Marshall) Date: Thu, 8 Jan 2004 06:52:19 -0800 (PST) Subject: [sane-devel] CanoScan LiDE 30 mysteriously stopped working on me in linux Message-ID: <20040108145219.31849.qmail@web41507.mail.yahoo.com> I had it working great through libusb on three different linux machines (all running slackware 9.0) for a week or so and now, all of a sudden, it either gives me black scans (vertical bands of black and white), or it makes a hideous noise (as if it is trying to move the motor in the wrong direction). I wondered if perhaps I did something to get the scanner in a wierd state, so I did a scan on a windows machine (using the software that came with the scanner) and it worked normally. Then I put it back on the nearest linux machine and got the same hideous noise. I'm crushed :-( Any ideas? __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From henning at meier-geinitz.de Thu Jan 8 16:54:02 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 8 Jan 2004 17:54:02 +0100 Subject: [sane-devel] Finnish translation for backends In-Reply-To: <20040108094503.GA17111@kirja.lake> References: <20040108094503.GA17111@kirja.lake> Message-ID: <20040108165402.GA1191@meier-geinitz.de> Hi, On Thu, Jan 08, 2004 at 11:45:03AM +0200, Harri J?rvi wrote: > I'm starting to translate the backends .po file into Finnish. > I'm also interested in translating the xsane frontend. So I'll probably > do that too. That's cool! Once you have finished the translation for sane-backends, please send it to me for inclusion. The translation for xsane should be sent to Oliver Rauch. Bye, Henning From christopherlmarshall at yahoo.com Thu Jan 8 17:24:51 2004 From: christopherlmarshall at yahoo.com (Christopher Marshall) Date: Thu, 8 Jan 2004 09:24:51 -0800 (PST) Subject: [sane-devel] CanoScan LiDE 30 mystery solved In-Reply-To: <20040108145219.31849.qmail@web41507.mail.yahoo.com> Message-ID: <20040108172451.2266.qmail@web41508.mail.yahoo.com> --- Christopher Marshall wrote: > I had it working great through libusb on three different linux machines (all running slackware > 9.0) for a week or so and now, all of a sudden, it either gives me black scans (vertical bands > of > black and white), or it makes a hideous noise (as if it is trying to move the motor in the wrong > direction). > > I wondered if perhaps I did something to get the scanner in a wierd state, so I did a scan on a > windows machine (using the software that came with the scanner) and it worked normally. Then I > put it back on the nearest linux machine and got the same hideous noise. > > I'm crushed :-( > > Any ideas? > I figured it out. I was not copying my plustek.conf file to the proper place (in my case /usr/local/etc/sane.d/plustek.conf). However, since I was working in the same directory I had written the correct plustek.conf file in, scanimage was working there. When I would go to another directory, it would stop working. That's because the plustek backend looks in the current directory and if it finds a plustek.conf file there, uses it instead of the one in /etc or /usr/local/etc. That really threw me for a loop. The man page for sane-plustek doesn't mention that it looks in the current directory for plustek.conf. Chris Marshall __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From henning at meier-geinitz.de Thu Jan 8 17:51:08 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 8 Jan 2004 18:51:08 +0100 Subject: [sane-devel] CanoScan LiDE 30 mystery solved In-Reply-To: <20040108172451.2266.qmail@web41508.mail.yahoo.com> References: <20040108145219.31849.qmail@web41507.mail.yahoo.com> <20040108172451.2266.qmail@web41508.mail.yahoo.com> Message-ID: <20040108175108.GC1191@meier-geinitz.de> Hi, On Thu, Jan 08, 2004 at 09:24:51AM -0800, Christopher Marshall wrote: > That's because the plustek backend looks in the current directory and if it finds a plustek.conf > file there, uses it instead of the one in /etc or /usr/local/etc. That really threw me for a > loop. All SANE configuration files are searched in the current directory first. > The man page for sane-plustek doesn't mention that it looks in the current directory for > plustek.conf. True. Most man pages contain something like this: ENVIRONMENT SANE_CONFIG_DIR This environment variable specifies the list of directories that may contain the configuration file. Under UNIX, the directories are separated by a colon (:'), under OS/2, they are separated by a semi-colon (;'). If this variable is not set, the configuration file is searched in two default directories: first, the current working directory (".") and then in /usr/local/etc/sane.d. If the value of the environment variable ends with the directory separator character, then the default directories are searched after the explicitly specified directories. For example, setting SANE_CONFIG_DIR to "/tmp/config:" would result in directories "tmp/config", ".", and "/usr/local/etc/sane.d" being searched (in this order). I guess that should be added to sane-plustek.man. Also there is no mention of "SANE_DEBUG_PLUSTEK". Bye, Henning From ndaniels at mac.com Thu Jan 8 19:17:24 2004 From: ndaniels at mac.com (Noah Daniels) Date: Thu, 08 Jan 2004 14:17:24 -0500 Subject: [sane-devel] Re: TWAIN SANE Interface for Mac OS X version 0.3 Message-ID: <13617772.1073589444350.JavaMail.ndaniels@mac.com> Hi, I'm still having the same problem with the plustek backend that several people have reported, even using this latest build of the various SANE packages. Basically, sane-find-scanner finds the scanner, but scanimage -L does not. However, if I set SANE_DEBUG_PLUSTEK to a high number, the scanner DOES start working, and scans a partial low-res image before hanging. I know this behavior has been reported before, by Henrik Rintala. I can provide a debug log if anyone's interested... I'd love to be able to get this working (printing to a Canoscan 650). thanks! -- Noah Daniels ndaniels at mac.com From henning at meier-geinitz.de Thu Jan 8 19:26:15 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 8 Jan 2004 20:26:15 +0100 Subject: [sane-devel] Re: TWAIN SANE Interface for Mac OS X version 0.3 In-Reply-To: <13617772.1073589444350.JavaMail.ndaniels@mac.com> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> Message-ID: <20040108192615.GG1191@meier-geinitz.de> Hi, On Thu, Jan 08, 2004 at 02:17:24PM -0500, Noah Daniels wrote: > Basically, sane-find-scanner finds the scanner, but scanimage -L does > not. However, if I set SANE_DEBUG_PLUSTEK to a high number, the > scanner DOES start working, and scans a partial low-res image before > hanging. I know this behavior has been reported before, by Henrik > Rintala. Wasn't that a bug in libusb, not in SANE? Has anyone contacted the libusb maintainers? Bye, Henning From gklaver at wanadoo.nl Thu Jan 8 21:14:21 2004 From: gklaver at wanadoo.nl (gerard klaver) Date: Thu, 08 Jan 2004 20:14:21 -0100 Subject: [sane-devel] patch for include/sane/saneopts.h Message-ID: <1073596460.3309.24.camel@gk-lex3> Hello, For the teco2 backend i use at the moment the white_level option for manual changing the calibration value downloaded to the scanner. To improve the calibration part i made a patch to add the white_value_r, white_value_g and white_value_b to the saneopts.h file. With this when for example the red calibration is not correct the user can change this by changing the value of the white_level_r used as a advanced option. See the attached file for the patch. Before adding the patch to the saneopts.h file in cvs i like to know if there are any comments about it. -- ---------- m.vr.gr. Gerard Klaver -------------- next part -------------- A non-text attachment was scrubbed... Name: saneopts-08122004.diff Type: text/x-patch Size: 1771 bytes Desc: not available URL: From henning at meier-geinitz.de Thu Jan 8 21:12:03 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 8 Jan 2004 22:12:03 +0100 Subject: [sane-devel] patch for include/sane/saneopts.h In-Reply-To: <1073596460.3309.24.camel@gk-lex3> References: <1073596460.3309.24.camel@gk-lex3> Message-ID: <20040108211203.GI1191@meier-geinitz.de> Hi, On Thu, Jan 08, 2004 at 08:14:21PM -0100, gerard klaver wrote: > For the teco2 backend i use at the moment the white_level option for > manual changing the calibration value downloaded to the scanner. > > To improve the calibration part i made a patch to add the white_value_r, > white_value_g and white_value_b to the saneopts.h file. > > With this when for example the red calibration is not correct the user > can change this by changing the value of the white_level_r used as a > advanced option. > > See the attached file for the patch. > > Before adding the patch to the saneopts.h file in cvs i like to know > if there are any comments about it. Looks ok for me. Is there any need for a per-color black level? Bye, Henning From jim.george at blueyonder.co.uk Thu Jan 8 23:27:57 2004 From: jim.george at blueyonder.co.uk (Jim George) Date: Thu, 8 Jan 2004 23:27:57 -0000 (GMT) Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <3FFB28C9000013A4@ocpmta1.freegates.net> References: <2581.192.168.0.4.1073511546.squirrel@tassi.local> <3FFB28C9000013A4@ocpmta1.freegates.net> Message-ID: <1174.192.168.0.7.1073604477.squirrel@tassi.local> Eddy, Without inetd... scanimage hung and when I ctrl-c'd out of scanimage I get the following "scanimage: received signal 2 scanimage: trying to stop scanner " saned did not quit. When I killed it, the saned window showed these last few lines "[saned] do_scan: read 0 bytes from scanner [saned] do_scan: status = `End of file reached' [saned] do_scan: statuscode `End of file reached' was added to buffer [saned] do_scan: select_fd was closed --> EOF [saned] do_scan: trying to write 9 bytes to client [saned] do_scan: wrote 9 bytes to client [saned] do_scan: done, status=End of file reached [saned] process_request: waiting for request [saned] process_request: got request 8 [saned] process_request: waiting for request [saned] process_request: got request 3 [mustek_pp] sane_close: maybe waiting for lamp... [mustek_pp] cis_close: resetting device.[mustek_pp] cis_reset_device: resetting device [mustek_pp] cis_set_dpi_value: dpi: 300 -> value 0x20 [mustek_pp] cis_config_ccd: Skip count: 67 (x32) [mustek_pp] cis_config_ccd: skipcount: 12 imagebytes: 0 [mustek_pp] cis_config_ccd: adjust skip: 0 bytecount: 3 [mustek_pp] cis_return_home: returning home; nowait: 1 [mustek_pp] cis_set_dpi_value: dpi: 300 -> value 0x20 [mustek_pp] cis_config_ccd: Skip count: 67 (x32) [mustek_pp] cis_config_ccd: skipcount: 12 imagebytes: 0 [mustek_pp] cis_config_ccd: adjust skip: 0 bytecount: 3 Terminated" and scanimage window showed "scanimage: received signal 13 scanimage: aborting" without inetd running but with gdb......... scanimage hung and when I crtl-c'd out I get the following "scanimage: received signal 2 scanimage: trying to stop scanner" saned didn't quit. When I pressed ctrl-c in gdb I got "[saned] do_scan: select_fd was closed --> EOF [saned] do_scan: trying to write 9 bytes to client [saned] do_scan: wrote 9 bytes to client [saned] do_scan: done, status=End of file reached [saned] process_request: waiting for request [saned] process_request: got request 8 [saned] process_request: waiting for request [saned] process_request: got request 3 [mustek_pp] sane_close: maybe waiting for lamp... [mustek_pp] cis_close: resetting device.[mustek_pp] cis_reset_device: resetting device [mustek_pp] cis_set_dpi_value: dpi: 300 -> value 0x20 [mustek_pp] cis_config_ccd: Skip count: 67 (x32) [mustek_pp] cis_config_ccd: skipcount: 12 imagebytes: 0 [mustek_pp] cis_config_ccd: adjust skip: 0 bytecount: 3 [mustek_pp] cis_return_home: returning home; nowait: 1 [mustek_pp] cis_set_dpi_value: dpi: 300 -> value 0x20 [mustek_pp] cis_config_ccd: Skip count: 67 (x32) [mustek_pp] cis_config_ccd: skipcount: 12 imagebytes: 0 [mustek_pp] cis_config_ccd: adjust skip: 0 bytecount: 3 Program received signal SIGINT, Interrupt. 0x4027786d in sanei_debug_sanei_pa4s2_call () from /usr/lib/sane/libsane-mustek_pp.so.1 " I then did 'bt' and got "#0 0x4027786d in sanei_debug_sanei_pa4s2_call () from /usr/lib/sane/libsane-mustek_pp.so.1 #1 0x40279090 in sanei_pa4s2_readbyte () from /usr/lib/sane/libsane-mustek_pp.so.1 #2 0x4026ff0e in Mustek_PP_1015_wait_bit () from /usr/lib/sane/libsane-mustek_pp.so.1 #3 0x4027219c in cis_motor_control () from /usr/lib/sane/libsane-mustek_pp.so.1 #4 0x402721fb in cis_return_home () from /usr/lib/sane/libsane-mustek_pp.so.1 #5 0x40272d0c in cis_drv_close () from /usr/lib/sane/libsane-mustek_pp.so.1 #6 0x4026ef62 in sane_mustek_pp_close () from /usr/lib/sane/libsane-mustek_pp.so.1 #7 0x4003bd31 in sane_dll_close () from /usr/lib/libsane.so.1 #8 0x08049d1d in close_handle () #9 0x0804b6d0 in process_request () #10 0x0804bc92 in main () #11 0x401594c2 in __libc_start_main () from /lib/i686/libc.so.6" I hope this helps. Jim From sampln at sbcglobal.net Fri Jan 9 05:43:24 2004 From: sampln at sbcglobal.net (Lincoln Peters) Date: Thu, 08 Jan 2004 21:43:24 -0800 Subject: [sane-devel] Cannot set up an EPSON Perfection 2400 PHOTO Message-ID: <1073627002.30821.10634.camel@odysseus> I had heard that my EPSON Perfection 2400 scanner was supported by SANE. I plugged it into the USB port on a computer running Red Hat Linux 9.0, installed SANE from source, and then ran the "sane-find-scanner" program. I got the following output: # sane-find-scanner # No SCSI scanners found. If you expected something different, make sure that # you have loaded a SCSI driver for your SCSI adapter. # Also you need support for SCSI Generic (sg) in your operating system. # If using Linux, try "modprobe sg". found USB scanner (vendor=0x04b8, product=0x011b) at /dev/usb/scanner0 found USB scanner (vendor=0x04b8 [EPSON], product=0x011b [EPSON Scanner]) at libusb:001:002 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Scanners connected to the parallel port or other proprietary ports can't be # detected by this program. As the "sane-find-scanner" program suggested, I ran "scanimage -L", and got the following: # scanimage -L No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). As the HOWTO suggested, I tried it again: # scanimage -L device `epson:/dev/usb/scanner0' is a Epson GT-9300 flatbed scanner I know that my scanner is NOT an Epson GT-9300! I seem to be able to scan pictures even when the scanner is incorrectly identified, but they come out as line art (perhaps this is because I haven't yet looked up the EPSON-specific command line options). I have commented out every driver listed in /etc/sane.d/dll.conf *except* the "epson" driver, to minimize the chance of SANE using the wrong driver. Furthermore, the /etc/sane.d/epson.conf file has every line commented out except for: usb /dev/usb/scanner0 I also double-checked that libusb is installed. I don't have any other USB devices connected to the computer, but I am reasonably sure that the USB interface itself is properly configured (I wouldn't expect a misconfigured USB interface to be able to report that I have an EPSON scanner). I am also sure that the problem does not lie in the permissions (I'm using it while logged in as root). I have also found that, for some reason, if I leave it and come back a few minutes later, SANE will fail to find my scanner. The "sane-find-scanner" command works as before, but "scanimage -L" fails to detect a scanner no matter how many times I try it. If I try to scan the image using the command: # scanimage -d epson:/dev/usb/scanner0 --format tiff > new.tiff I get the following error: scanimage: open of device /dev/usb/scanner0 failed: Invalid argument According to both the website and the mailing list archives, the EPSON Perfection 2400 PHOTO scanner works with SANE, but I cannot figure out how. What am I doing wrong? -- Lincoln Peters From gene.heskett at verizon.net Fri Jan 9 05:58:49 2004 From: gene.heskett at verizon.net (Gene Heskett) Date: Fri, 9 Jan 2004 00:58:49 -0500 Subject: [sane-devel] 2.6.1-rc3 lost scanner, gnomeradio's gui segfaults Message-ID: <200401090058.49513.gene.heskett@verizon.net> Greets everyone; I'm setup to use libusb here, rahter than drivers/usb/scanner in the kernel config. Up to 2.6.1-rc1-mm1 and possibly a little later, my scanner worked just fine. But now on 2.6.1-rc3 its disappeared. I also have everything in the i2c category except i2c-dev (builtin) as modules trying to find some combination that will let sensors run. I had all that compiled in the last time it worked. Also, gnomeradio just segfaulted on startup and left the radio on when it did. That also worked previously. Ideas? -- Cheers, Gene AMD K6-III at 500mhz 320M Athlon1600XP at 1400mhz 512M 99.22% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2003 by Maurice Eugene Heskett, all rights reserved. From olaf at epkowa.co.jp Fri Jan 9 06:09:52 2004 From: olaf at epkowa.co.jp (Olaf Meeuwissen) Date: Fri, 09 Jan 2004 15:09:52 +0900 Subject: [sane-devel] Cannot set up an EPSON Perfection 2400 PHOTO In-Reply-To: <1073627002.30821.10634.camel@odysseus> (Lincoln Peters's message of "Thu, 08 Jan 2004 21:43:24 -0800") References: <1073627002.30821.10634.camel@odysseus> Message-ID: <87y8shejpr.fsf@zen.epkowa.co.jp> Lincoln Peters writes: > I had heard that my EPSON Perfection 2400 scanner was supported by > SANE. Rest assured, it is. > # scanimage -L > device `epson:/dev/usb/scanner0' is a Epson GT-9300 flatbed scanner > > I know that my scanner is NOT an Epson GT-9300! You may know that, but your scanner doesn't ;-) The problem is that EPSON decided to market the same scanner under a different name abroad (here is Japan it's a GT-9300), but didn't bother to change the name returned by the scanner. The epson (and epkowa) backend(s) use the name returned by the scanner, not what is printed on the label (for rather obvious reasons). > [snip] Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From sampln at sbcglobal.net Fri Jan 9 06:30:40 2004 From: sampln at sbcglobal.net (Lincoln Peters) Date: Thu, 08 Jan 2004 22:30:40 -0800 Subject: [sane-devel] Cannot set up an EPSON Perfection 2400 PHOTO In-Reply-To: <87y8shejpr.fsf@zen.epkowa.co.jp> References: <1073627002.30821.10634.camel@odysseus> <87y8shejpr.fsf@zen.epkowa.co.jp> Message-ID: <1073629832.30821.10880.camel@odysseus> On Thu, 2004-01-08 at 22:09, Olaf Meeuwissen wrote: > > # scanimage -L > > device `epson:/dev/usb/scanner0' is a Epson GT-9300 flatbed scanner > > > > I know that my scanner is NOT an Epson GT-9300! > > You may know that, but your scanner doesn't ;-) > The problem is that EPSON decided to market the same scanner under a > different name abroad (here is Japan it's a GT-9300), but didn't > bother to change the name returned by the scanner. The epson (and > epkowa) backend(s) use the name returned by the scanner, not what is > printed on the label (for rather obvious reasons). That is reassuring. However, having made one (low-res) scan, "scanimage" now fails to detect the scanner. I don't know what I might have done to cause it to stop working. -- Lincoln Peters From mattias.ellert at tsl.uu.se Fri Jan 9 08:31:42 2004 From: mattias.ellert at tsl.uu.se (Mattias Ellert) Date: Fri, 09 Jan 2004 09:31:42 +0100 Subject: [sane-devel] Re: TWAIN SANE Interface for Mac OS X version 0.3 In-Reply-To: <13617772.1073589444350.JavaMail.ndaniels@mac.com> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> Message-ID: <3FFE66EE.2020503@tsl.uu.se> Noah Daniels wrote: > Hi, > > I'm still having the same problem with the plustek backend that several people have reported, even using this latest build of the various SANE packages. > > Basically, sane-find-scanner finds the scanner, but scanimage -L does not. However, if I set SANE_DEBUG_PLUSTEK to a high number, the scanner DOES start working, and scans a partial low-res image before hanging. I know this behavior has been reported before, by Henrik Rintala. > > I can provide a debug log if anyone's interested... I'd love to be able to get this working (printing to a Canoscan 650). > > thanks! > > -- > Noah Daniels Using the latest version of libusb from CVS (or the binary packages from 2004-01-05) has been reported to fix the problem that scanimage -L does not see the scanner unless the DEBUG environment is used. The following gdb log of the state of scanimage at the time it freezes after a scan was provided by a user having a Canon N670U scanner that uses the Plustek backend on MacOS X. To me it looks like the reader process has finished and is waiting to be killed, but the main process is still trying to read from it. Note that the patch in the bug report https://alioth.debian.org/tracker/index.php?func=detail&aid=300434&group_id=1308&atid=410366 has been applied here, in order to avoid calling pthread_cancel which is broken on MacOS X. Mattias -- ________________________________________________________________________ mattias.ellert at tsl.uu.se tel: +46 18 471 32 58 http://www.tsl.uu.se/~ellert/ fax: +46 18 471 35 13 ________________________________________________________________________ -------------- next part -------------- (gdb) info threads 2 process 799 thread 0x1c43 0x90017048 in semaphore_wait_signal_trap () * 1 process 799 thread 0x307 0x9000ebc4 in read () (gdb) thread 1 [Switching to thread 1 (process 799 thread 0x307)] #0 0x9000ebc4 in read () (gdb) backtrace #0 0x9000ebc4 in read () #1 0x0021ab44 in sane_plustek_read (handle=0xdd000, data=0xbfff7820 "xN,~K$fO*qT)f=$SR\"gV,", '?' , "???\215uM\\E,jF4\237~e", '?' ..., max_length=32768, length=0xbffff860) at plustek.c:2071 #2 0x00004600 in scan_it () at scanimage.c:1142 #3 0x00006078 in main (argc=45792, argv=0xa000104c) at scanimage.c:1975 (gdb) thread 2 [Switching to thread 2 (process 799 thread 0x1c43)] #0 0x90017048 in semaphore_wait_signal_trap () (gdb) backtrace #0 0x90017048 in semaphore_wait_signal_trap () #1 0x9000e890 in _pthread_cond_wait () #2 0x0021d91c in local_thread (arg=0x25bd1c) at sanei_thread.c:221 #3 0x900247e8 in _pthread_body () (gdb) From gerhard at gjaeger.de Fri Jan 9 08:44:20 2004 From: gerhard at gjaeger.de (Jaeger, Gerhard) Date: Fri, 9 Jan 2004 09:44:20 +0100 Subject: [sane-devel] Re: TWAIN SANE Interface for Mac OS X version 0.3 In-Reply-To: <13617772.1073589444350.JavaMail.ndaniels@mac.com> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> Message-ID: <200401090944.20977.gerhard@gjaeger.de> Hi, On Donnerstag, 8. Januar 2004 20:17, Noah Daniels wrote: [SNIPSNAP] > Basically, sane-find-scanner finds the scanner, but scanimage -L does not. > However, if I set SANE_DEBUG_PLUSTEK to a high number, the scanner DOES > start working, and scans a partial low-res image before hanging. I know > this behavior has been reported before, by Henrik Rintala. > > I can provide a debug log if anyone's interested... I'd love to be able to > get this working (printing to a Canoscan 650). you can send me these logs, but I'm pretty sure, that the backend itself is not the problem. Probably we can find some workaround, when doing some delays on the correct positions - but in the end, as you already noted, the scanner will hang during the scan... The best solution will be to contact the libusb guys and fix the problems, where they come from... Ciao, Gerhard From gerhard at gjaeger.de Fri Jan 9 08:48:40 2004 From: gerhard at gjaeger.de (Jaeger, Gerhard) Date: Fri, 9 Jan 2004 09:48:40 +0100 Subject: [sane-devel] CanoScan LiDE 30 mystery solved In-Reply-To: <20040108175108.GC1191@meier-geinitz.de> References: <20040108145219.31849.qmail@web41507.mail.yahoo.com> <20040108172451.2266.qmail@web41508.mail.yahoo.com> <20040108175108.GC1191@meier-geinitz.de> Message-ID: <200401090948.40198.gerhard@gjaeger.de> On Donnerstag, 8. Januar 2004 18:51, Henning Meier-Geinitz wrote: [SNIPSNAP] > True. Most man pages contain something like this: Okay, okay, I got it ;-))) The next version will contain this part. > > ENVIRONMENT > SANE_CONFIG_DIR > This environment variable specifies the list of > directories that may contain the configuration file. > Under UNIX, the directories are separated by a colon > (:'), under OS/2, they are separated by a semi-colon > (;'). If this variable is not set, the configuration > file is searched in two default directories: first, the > current working directory (".") and then in > /usr/local/etc/sane.d. If the value of the environment > variable ends with the directory separator character, > then the default directories are searched after the > explicitly specified directories. For example, setting > SANE_CONFIG_DIR to "/tmp/config:" would result in > directories "tmp/config", ".", and > "/usr/local/etc/sane.d" being searched (in this order). > > I guess that should be added to sane-plustek.man. Also there is no > mention of "SANE_DEBUG_PLUSTEK". This in fact is not true, have a look at "CONTACT AND BUG-REPORTS"... Ciao, Gerhard From gerhard at gjaeger.de Fri Jan 9 08:57:50 2004 From: gerhard at gjaeger.de (Jaeger, Gerhard) Date: Fri, 9 Jan 2004 09:57:50 +0100 Subject: [sane-devel] Re: TWAIN SANE Interface for Mac OS X version 0.3 In-Reply-To: <3FFE66EE.2020503@tsl.uu.se> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> <3FFE66EE.2020503@tsl.uu.se> Message-ID: <200401090957.50504.gerhard@gjaeger.de> Hi, I already got this report and check it here on my box... Ciao, Gerhard On Freitag, 9. Januar 2004 09:31, Mattias Ellert wrote: > Noah Daniels wrote: > > Hi, > > > > I'm still having the same problem with the plustek backend that several > > people have reported, even using this latest build of the various SANE > > packages. > > > > Basically, sane-find-scanner finds the scanner, but scanimage -L does > > not. However, if I set SANE_DEBUG_PLUSTEK to a high number, the scanner > > DOES start working, and scans a partial low-res image before hanging. I > > know this behavior has been reported before, by Henrik Rintala. > > > > I can provide a debug log if anyone's interested... I'd love to be able > > to get this working (printing to a Canoscan 650). > > > > thanks! > > > > -- > > Noah Daniels > > Using the latest version of libusb from CVS (or the binary packages from > 2004-01-05) has been reported to fix the problem that scanimage -L does > not see the scanner unless the DEBUG environment is used. > > The following gdb log of the state of scanimage at the time it freezes > after a scan was provided by a user having a Canon N670U scanner that > uses the Plustek backend on MacOS X. > > To me it looks like the reader process has finished and is waiting to be > killed, but the main process is still trying to read from it. > > Note that the patch in the bug report > https://alioth.debian.org/tracker/index.php?func=detail&aid=300434&group_id >=1308&atid=410366 > > has been applied here, in order to avoid calling pthread_cancel which is > broken on MacOS X. > > Mattias From khk at khk.net Fri Jan 9 12:17:53 2004 From: khk at khk.net (khk at khk.net) Date: Fri, 9 Jan 2004 07:17:53 -0500 (EST) Subject: [sane-devel] Cannot set up an EPSON Perfection 2400 PHOTO In-Reply-To: <1073627002.30821.10634.camel@odysseus> References: <1073627002.30821.10634.camel@odysseus> Message-ID: <39925.198.176.225.25.1073650673.squirrel@home.khk.net> The scanner is fully supported with Sane. It is also correctly identified: The GT-9300 is the internal name of the device. The name "Perfection 2400" is not stored anywhere in the firmware, it's just printed on the outside. The Sane backend only sees the internal name, and this is what it reports. If you change the scanning mode on the commmand line, you will be able to scan both grayscale and color in addition to the black&white (or lineart mode). Is it possible that RH9 unloads the driver if you are not scanning for a while and has a problem reloading it? This is very likely not a Sane problem, but a problem with your USB subsystem. I'm not familiar with RH9, so I'm not in a position to comment on that. Sorry. Karl Heinz > I had heard that my EPSON Perfection 2400 scanner was supported by > SANE. I plugged it into the USB port on a computer running Red Hat > Linux 9.0, installed SANE from source, and then ran the > "sane-find-scanner" program. I got the following output: > > # sane-find-scanner > > # No SCSI scanners found. If you expected something different, make sure > that > # you have loaded a SCSI driver for your SCSI adapter. > # Also you need support for SCSI Generic (sg) in your operating system. > # If using Linux, try "modprobe sg". > > found USB scanner (vendor=0x04b8, product=0x011b) at /dev/usb/scanner0 > found USB scanner (vendor=0x04b8 [EPSON], product=0x011b [EPSON Scanner]) > at libusb:001:002 > # Your USB scanner was (probably) detected. It may or may not be > supported by > # SANE. Try scanimage -L and read the backend's manpage. > > # Scanners connected to the parallel port or other proprietary ports > can't be > # detected by this program. > > As the "sane-find-scanner" program suggested, I ran "scanimage -L", and > got the following: > > # scanimage -L > > No scanners were identified. If you were expecting something different, > check that the scanner is plugged in, turned on and detected by the > sane-find-scanner tool (if appropriate). Please read the documentation > which came with this software (README, FAQ, manpages). > > As the HOWTO suggested, I tried it again: > > # scanimage -L > device `epson:/dev/usb/scanner0' is a Epson GT-9300 flatbed scanner > > I know that my scanner is NOT an Epson GT-9300! I seem to be able to > scan pictures even when the scanner is incorrectly identified, but they > come out as line art (perhaps this is because I haven't yet looked up > the EPSON-specific command line options). > > I have commented out every driver listed in /etc/sane.d/dll.conf > *except* the "epson" driver, to minimize the chance of SANE using the > wrong driver. Furthermore, the /etc/sane.d/epson.conf file has every > line commented out except for: > > usb /dev/usb/scanner0 > > I also double-checked that libusb is installed. I don't have any other > USB devices connected to the computer, but I am reasonably sure that the > USB interface itself is properly configured (I wouldn't expect a > misconfigured USB interface to be able to report that I have an EPSON > scanner). I am also sure that the problem does not lie in the > permissions (I'm using it while logged in as root). > > > I have also found that, for some reason, if I leave it and come back a > few minutes later, SANE will fail to find my scanner. The > "sane-find-scanner" command works as before, but "scanimage -L" fails to > detect a scanner no matter how many times I try it. If I try to scan > the image using the command: > > # scanimage -d epson:/dev/usb/scanner0 --format tiff > new.tiff > > I get the following error: > > scanimage: open of device /dev/usb/scanner0 failed: Invalid argument > > > According to both the website and the mailing list archives, the EPSON > Perfection 2400 PHOTO scanner works with SANE, but I cannot figure out > how. What am I doing wrong? > > -- > Lincoln Peters > > > -- > 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 > From md0josch at mdstud.chalmers.se Fri Jan 9 12:38:57 2004 From: md0josch at mdstud.chalmers.se (Christian Josefsson) Date: Fri, 9 Jan 2004 13:38:57 +0100 Subject: [sane-devel] HP Scanjet 3670... Message-ID: <20040109123857.GA27118@sugarpie> 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 ------------------------------------------------------------------------------- Christian Josefsson mail=md0josch@[mdstud,medic,cs,math,md,etek].chalmers.se God made machine language; all the rest is the work of man. ------------------------------------------------------------------------------- From edg1 at tiscali.be Fri Jan 9 14:57:53 2004 From: edg1 at tiscali.be (edg1 at tiscali.be) Date: Fri, 9 Jan 2004 15:57:53 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <1174.192.168.0.7.1073604477.squirrel@tassi.local> Message-ID: <3FFB28C9000021E0@ocpmta1.freegates.net> Jim George wrote: > without inetd running but with gdb......... > > scanimage hung and when I crtl-c'd out I get the following > "scanimage: received signal 2 > scanimage: trying to stop scanner" > > saned didn't quit. When I pressed ctrl-c in gdb I got > > [...] > > Program received signal SIGINT, Interrupt. > 0x4027786d in sanei_debug_sanei_pa4s2_call () > from /usr/lib/sane/libsane-mustek_pp.so.1 " > > I then did 'bt' and got > "#0 0x4027786d in sanei_debug_sanei_pa4s2_call () > from /usr/lib/sane/libsane-mustek_pp.so.1 > #1 0x4079090 in sanei_pa4s2_readbyte () > from /usr/lib/sane/libsane-mustek_pp.so.1 > #2 0x4026ff0e in Mustek_PP_1015_wait_bit () > from /usr/lib/sane/libsane-mustek_pp.so.1 > #3 0x4027219c in cis_motor_control () > from /usr/lib/sane/libsane-mustek_pp.so.1 > #4 0x402721fb in cis_return_home () from /usr/lib/sane/libsane-mustek_pp.so.1 > #5 0x40272d0c in cis_drv_close () from /usr/lib/sane/libsane-mustek_pp.so.1 > #6 0x4026ef62 in sane_mustek_pp_close () from /usr/lib/sane/libsane-mustek_pp.so.1 > #7 0x4003bd31 in sane_dll_close () from /usr/lib/libsane.so.1 > #8 0x08049d1d in close_handle () > #9 0x0804b6d0 in process_request () > #10 0x0804bc92 in main () > #11 0x401594c2 in __libc_start_main () from /lib/i686/libc.so.6" > > I hope this helps. Hi Jim, now we are getting somewhere. It looks like the driver is waiting for the scanner motor to stabilize, but it waits forever, either because it doesn't stabilize, or because the communication with the scanner is somehow messed up. Do you have libieee1284 installed? If so, what version is it? It would be useful to also see the debug output of sanei_pa4s2. I know you are short of disk space, so I won't ask you to collect all output. Just let it scroll off the screen. I'm only interested in the last few tens of lines or so (as long as the last few lines of mustek_pp output are included): - stop inetd - as root: SANE_DEBUG_MUSTEK_PP=128 SANE_DEBUG_SANEI_PA4S2=255 saned -d128 - in another window: scanimage -d net:localhost:mustek_pp:Mustek-1200CP > /dev/null Best regards, Eddy --------------------------------------------------------------- Tiscali ADSL: 12 maanden aan 29,50 ?/maand! Snel Internet, en voor iedereen. http://reg.tiscali.be/default.asp?lg=nl From henning at meier-geinitz.de Fri Jan 9 17:34:53 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Fri, 9 Jan 2004 18:34:53 +0100 Subject: [sane-devel] CanoScan LiDE 30 mystery solved In-Reply-To: <200401090948.40198.gerhard@gjaeger.de> References: <20040108145219.31849.qmail@web41507.mail.yahoo.com> <20040108172451.2266.qmail@web41508.mail.yahoo.com> <20040108175108.GC1191@meier-geinitz.de> <200401090948.40198.gerhard@gjaeger.de> Message-ID: <20040109173453.GB1416@meier-geinitz.de> Hi, On Fri, Jan 09, 2004 at 09:48:40AM +0100, Jaeger, Gerhard wrote: > > I guess that should be added to sane-plustek.man. Also there is no > > mention of "SANE_DEBUG_PLUSTEK". > > This in fact is not true, have a look at "CONTACT AND BUG-REPORTS"... Ah, ok. I just looked at the environment section. :-) Bye, Henning From henning at meier-geinitz.de Fri Jan 9 18:03:33 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Fri, 9 Jan 2004 19:03:33 +0100 Subject: [sane-devel] HP Scanjet 3670... In-Reply-To: <20040109123857.GA27118@sugarpie> References: <20040109123857.GA27118@sugarpie> Message-ID: <20040109180333.GC1416@meier-geinitz.de> Hi, On Fri, Jan 09, 2004 at 01:38:57PM +0100, Christian Josefsson wrote: > 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... I haven't heard from mancio_and at libero.it after his initial posting (http://lists.alioth.debian.org/pipermail/sane-devel/2003-November/009360.html). If he doesn't answer on this list, try to contact him directly. > 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. At least I don't remember anyone posted a link to code or a website for that scanner. If that doesn't happen some weeks after the first announcement, this usually menas that the project is dead. But I like to be surprised otherwise :-) Anyway, even if someone worked on this project, you could still try to write a backend for any of the other unsupported scanners. The list is so long, you shouldn't have trouble to find one :-) Bye, Henning From jim.george at blueyonder.co.uk Sat Jan 10 00:03:17 2004 From: jim.george at blueyonder.co.uk (Jim George) Date: Sat, 10 Jan 2004 00:03:17 -0000 (GMT) Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port Message-ID: <2750.192.168.0.7.1073692997.squirrel@tassi.local> > Hi Jim, > > now we are getting somewhere. > It looks like the driver is waiting for the scanner motor to stabilize, but it waits forever, either because it doesn't stabilize, or because the communication with the scanner is somehow messed up. > > Do you have libieee1284 installed? If so, what version is it? > > It would be useful to also see the debug output of sanei_pa4s2. > I know you are short of disk space, so I won't ask you to collect all output. Just let it scroll off the screen. I'm only interested in the last few tens of lines or so (as long as the last few lines of mustek_pp output are included): > > - stop inetd > - as root: > SANE_DEBUG_MUSTEK_PP=128 SANE_DEBUG_SANEI_PA4S2=255 saned -d128 > - in another window: > scanimage -d net:localhost:mustek_pp:Mustek-1200CP > /dev/null > > Best regards, > > Eddy Eddy, I am running libieee1284-0.2.8-0.pm.0 As root I stopped inetd, and executed the above commands. The first time I did this I got the contents of first.txt. So I rebooted the server and tried again but didn't appear to get any output from scanimage (I didn't use > /dev/null but > test.pnm which didn't appear to grow at all). So I ran SANE_DEBUG_MUSTEK_PP=128 SANE_DEBUG_SANEI_PA4S2=255 saned -d128 and scanimage -d net:localhost:mustek_pp:Mustek-1200CP -T but there appeared to be no output from the scanimage -T. So I then ran saned -d128 and scanimage -d net:localhost:mustek_pp:Mustek-1200CP and got the output found in the attachment sanedonly.txt I then tried again with the original commands you requested but, in the end I lost my courage because it didn't appear to be doing anything still so I stopped. Finally I tried ANE_DEBUG_MUSTEK_PP=128 SANE_DEBUG_SANEI_PA4S2=255 scanimage -d mustek_pp:Mustek-1200CP > test.pnm but again there is was no file generated so I decided to stop the output for fear of breaking my scanner. Hope this helps. Jim -------------- next part -------------- A non-text attachment was scrubbed... Name: first.LOG Type: application/octet-stream Size: 5384 bytes Desc: not available URL: -------------- next part -------------- saned -d128 [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] listen () [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: waiting for control connection [saned] saned (AF-indep+IPv6) from sane-backends 1.0.13 ready [saned] check_host: access by remote host: ::1 [saned] check_host: remote host is IN6_LOOPBACK: access granted [saned] init: access granted [saned] init: access granted to root@::1 [saned] process_request: waiting for request [saned] process_request: got request 2 [saned] process_request: access to resource `mustek_pp' granted [sanei_debug] Setting debug level of mustek_pp to 2. [saned] process_request: waiting for request [saned] process_request: got request 4 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 5 [saned] process_request: waiting for request [saned] process_request: got request 7 [saned] start_scan: using port 1088 for data [saned] process_request: waiting for data connection [saned] process_request: access to data port from ::1 [saned] do_scan: start [saned] do_scan: processing RPC request on fd 4 [saned] process_request: waiting for request [saned] process_request: got request 6 [mustek_pp] sane_get_parameters: can't set parameters while scanning [saned] do_scan: trying to read 8188 bytes from scanner [saned] do_scan: read 4096 bytes from scanner [saned] do_scan: trying to write 4100 bytes to client [saned] do_scan: wrote 4100 bytes to client [saned] do_scan: trying to read 4088 bytes from scanner [saned] do_scan: read 4088 bytes from scanner [saned] do_scan: trying to write 4092 bytes to client [saned] do_scan: wrote 4092 bytes to client [saned] do_scan: trying to read 8188 bytes from scanner [saned] do_scan: read 8 bytes from scanner [saned] do_scan: processing RPC request on fd 4 [saned] process_request: waiting for request [saned] process_request: got request 8 [saned] do_scan: done, status=Success [saned] process_request: waiting for request [saned] process_request: got request 3 [saned] process_request: waiting for request [saned] process_request: got request 10 [saned] quit: exiting tassi:~ # From olaf at epkowa.co.jp Sat Jan 10 00:31:52 2004 From: olaf at epkowa.co.jp (Olaf Meeuwissen) Date: Sat, 10 Jan 2004 09:31:52 +0900 Subject: [sane-devel] Cannot set up an EPSON Perfection 2400 PHOTO In-Reply-To: <1073629832.30821.10880.camel@odysseus> (Lincoln Peters's message of "Thu, 08 Jan 2004 22:30:40 -0800") References: <1073627002.30821.10634.camel@odysseus> <87y8shejpr.fsf@zen.epkowa.co.jp> <1073629832.30821.10880.camel@odysseus> Message-ID: <87u134od8n.fsf@zen.epkowa.co.jp> Lincoln Peters writes: > On Thu, 2004-01-08 at 22:09, Olaf Meeuwissen wrote: >> > # scanimage -L >> > device `epson:/dev/usb/scanner0' is a Epson GT-9300 flatbed scanner >> > >> > I know that my scanner is NOT an Epson GT-9300! >> >> You may know that, but your scanner doesn't ;-) >> The problem is that EPSON decided to market the same scanner under a >> different name abroad (here is Japan it's a GT-9300), but didn't >> bother to change the name returned by the scanner. The epson (and >> epkowa) backend(s) use the name returned by the scanner, not what is >> printed on the label (for rather obvious reasons). > > That is reassuring. However, having made one (low-res) scan, > "scanimage" now fails to detect the scanner. I don't know what I might > have done to cause it to stop working. Neither do I, but you might try replugging the scanner and making sure that the kernel hasn't loaded the scanner module (which forces the use of libusb). Check with '/sbin/lsmod | grep scanner'. You can use 'rmmod scanner' to remove the module. Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From khk at khk.net Sat Jan 10 00:49:14 2004 From: khk at khk.net (Karl Heinz Kremer) Date: Fri, 9 Jan 2004 19:49:14 -0500 Subject: [sane-devel] Cannot set up an EPSON Perfection 2400 PHOTO In-Reply-To: <87u134od8n.fsf@zen.epkowa.co.jp> References: <1073627002.30821.10634.camel@odysseus> <87y8shejpr.fsf@zen.epkowa.co.jp> <1073629832.30821.10880.camel@odysseus> <87u134od8n.fsf@zen.epkowa.co.jp> Message-ID: To permanently disable the kernel scanner driver, you probably have to modify the hotplug configuration so that the module is no longer automatically loaded. One crude way of doing this is to rename the scanner.o file. Karl Heinz On Jan 9, 2004, at 7:31 PM, Olaf Meeuwissen wrote: > Lincoln Peters writes: > >> On Thu, 2004-01-08 at 22:09, Olaf Meeuwissen wrote: >>>> # scanimage -L >>>> device `epson:/dev/usb/scanner0' is a Epson GT-9300 flatbed scanner >>>> >>>> I know that my scanner is NOT an Epson GT-9300! >>> >>> You may know that, but your scanner doesn't ;-) >>> The problem is that EPSON decided to market the same scanner under a >>> different name abroad (here is Japan it's a GT-9300), but didn't >>> bother to change the name returned by the scanner. The epson (and >>> epkowa) backend(s) use the name returned by the scanner, not what is >>> printed on the label (for rather obvious reasons). >> >> That is reassuring. However, having made one (low-res) scan, >> "scanimage" now fails to detect the scanner. I don't know what I >> might >> have done to cause it to stop working. > > Neither do I, but you might try replugging the scanner and making sure > that the kernel hasn't loaded the scanner module (which forces the use > of libusb). > > Check with '/sbin/lsmod | grep scanner'. You can use 'rmmod scanner' > to remove the module. > > Hope this helps, > -- > Olaf Meeuwissen EPSON KOWA Corporation, ECS > GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 > Penguin's lib! -- I hack, therefore I am -- LPIC-2 > > -- > 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 From dave at dminor.com Sat Jan 10 06:53:01 2004 From: dave at dminor.com (David Minor) Date: Sat, 10 Jan 2004 00:53:01 -0600 Subject: [sane-devel] OS X and umax 1220u Message-ID: Using the new version of libusb that Mattias Ellert packaged with his twain interface, OS X 10.3 is responding much friendlier towards the 1220u. Unfortunately, it still doesn't scan. However, it first sees the scanner and reports that it knows what it is, then when you try to scan, it complains about an Invalid argument. The output of scanimage with SANE_DEBUG_UMAX1220U=128 is below. Any ideas on why it is dumping or what I might try? Thanks, dm dminor at ginger:~$ scanimage [sanei_debug] Setting debug level of umax1220u to 128. [umax1220u] sane_init: version_code != 0, authorize != 0 [umax1220u] sane_init: SANE umax1220u backend version 1.0.1 from sane-backends 1.0.13 [umax1220u] reading configure file umax1220u.conf [umax1220u] attach_matching_devices(usb 0x1606 0x0010) [umax1220u] attach_scanner: libusb:001:005 [umax1220u] attach_scanner: opening libusb:001:005 [umax1220u] UMAX_open_device: `libusb:001:005' [umax1220u] csend: cmd = 0 [umax1220u] usync: len = 0, cmd = 0 [umax1220u] usync: s0 = 0x53 s4 = 0xc8 [umax1220u] doing xxxops [umax1220u] UMAX_close_device: [umax1220u] attach_matching_devices(usb 0x1606 0x0030) [umax1220u] attach_matching_devices(usb 0x1606 0x0130) [umax1220u] finished reading configure file [umax1220u] sane_get_devices(local_only = 0) [umax1220u] sane_open [umax1220u] sane_open: devicename=libusb:001:005 [umax1220u] UMAX_open_device: `libusb:001:005' [umax1220u] UMAX_open_device: couldn't open device `libusb:001:005': Invalid argument scanimage: open of device umax1220u:libusb:001:005 failed: Invalid argument [umax1220u] sane_exit From jonathan at buzzard.me.uk Sat Jan 10 08:13:50 2004 From: jonathan at buzzard.me.uk (Jonathan Buzzard) Date: Sat, 10 Jan 2004 08:13:50 +0000 Subject: [sane-devel] USB/Parallel Scanner pages Message-ID: Due to problems with the ISP that was hosting my domain these pages have probably been unavailable for at least the last week and remain so. I have managed to wrestle one of my domains from this bunch of jokers and you should now be able to find the pages at http://www.buzzard.me.uk/jonathan/scanners.html http://www.buzzard.me.uk/jonathan/scanners-usb.html As I am off abroad skiing, it will be sometime before the buzzard.org.uk domain is sorted out and they can be viewed on their original page. Even when it does I intend to make these the primary URL's for the said pages so if you could update any URL's to these I would be grateful. There is no major rush other than buzzard.org.uk is unreachable at the moment) as I intend to keep the domain indefinitely. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Northumberland, United Kingdom. Tel: +44 1661-832195 From henning at meier-geinitz.de Sat Jan 10 10:01:50 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 10 Jan 2004 11:01:50 +0100 Subject: [sane-devel] USB/Parallel Scanner pages In-Reply-To: References: Message-ID: <20040110100149.GA978@meier-geinitz.de> Hi, On Sat, Jan 10, 2004 at 08:13:50AM +0000, Jonathan Buzzard wrote: > Due to problems with the ISP that was hosting my domain these pages have > probably been unavailable for at least the last week and remain so. > > I have managed to wrestle one of my domains from this bunch of jokers > and you should now be able to find the pages at > > http://www.buzzard.me.uk/jonathan/scanners.html > http://www.buzzard.me.uk/jonathan/scanners-usb.html > > As I am off abroad skiing, it will be sometime before the buzzard.org.uk > domain is sorted out and they can be viewed on their original page. I've changed the links on our supported scanners page. I'm a bit surprised that nobody complained to us about the broken link. I guess I have to rerun the link checker, maybe there are other broken links. Bye, Henning From henning at meier-geinitz.de Sat Jan 10 10:06:40 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 10 Jan 2004 11:06:40 +0100 Subject: [sane-devel] OS X and umax 1220u In-Reply-To: References: Message-ID: <20040110100640.GB978@meier-geinitz.de> Hi, On Sat, Jan 10, 2004 at 12:53:01AM -0600, David Minor wrote: > dminor at ginger:~$ scanimage > [sanei_debug] Setting debug level of umax1220u to 128. > [umax1220u] sane_init: version_code != 0, authorize != 0 > [umax1220u] sane_init: SANE umax1220u backend version 1.0.1 from sane-backends 1.0.13 > [umax1220u] reading configure file umax1220u.conf > [umax1220u] attach_matching_devices(usb 0x1606 0x0010) > [umax1220u] attach_scanner: libusb:001:005 > [umax1220u] attach_scanner: opening libusb:001:005 > [umax1220u] UMAX_open_device: `libusb:001:005' > [umax1220u] csend: cmd = 0 > [umax1220u] usync: len = 0, cmd = 0 > [umax1220u] usync: s0 = 0x53 s4 = 0xc8 > [umax1220u] doing xxxops > [umax1220u] UMAX_close_device: Ok, the device was closed and open successfully. That's in sane_init, when SANE scans for devices. > [umax1220u] attach_matching_devices(usb 0x1606 0x0030) > [umax1220u] attach_matching_devices(usb 0x1606 0x0130) Some other USB devices (non-scanners). > [umax1220u] sane_get_devices(local_only = 0) The frontend asks for a list of devices ... > [umax1220u] sane_open > [umax1220u] sane_open: devicename=libusb:001:005 > [umax1220u] UMAX_open_device: `libusb:001:005' ...and wants to sane_open the device (the same as above). > [umax1220u] UMAX_open_device: couldn't open device `libusb:001:005': Invalid argument Bu this time the open fails. I don't know why and I'm not thte backend maintainer but maybe you get more information if you enable debugging for USB also (in addition to SANEI_USB_UAMX1220): SANE_DEBUG_SANEI_USB=255 To reduce the amount of data you get, you should disabel everything but umax1220u in dll.conf. Bye, Henning From gerhard at gjaeger.de Sat Jan 10 15:09:16 2004 From: gerhard at gjaeger.de (Jaeger, Gerhard) Date: Sat, 10 Jan 2004 16:09:16 +0100 Subject: [sane-devel] pthread_cancel and MacOS X (was: TWAIN SANE Interface for Mac OS X version 0.3) In-Reply-To: <3FFE66EE.2020503@tsl.uu.se> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> <3FFE66EE.2020503@tsl.uu.se> Message-ID: <200401101609.16585.gerhard@gjaeger.de> Hi again, in the meantime (even Henning urged me to do something with that sanei_thread stuff ;-) I've included Mattias patch within sanei_thread_kill() and checked it here on my box with a CanoScan 650. Result: It will not work - it hangs. Why? Because the plustek backend and also the plustek_pp and u12 didn't use the pthread_cancel function. As I do really like the "graceful shutdown" of a process or thread, the reader_process in the plustek backend terminates, when it has done it's work. But when using the patch, it is urged to wait on a point where it does not expect to wait. That's the difference to the test-backend. The test-backend implements also a "hanging" backend. After it has done it's work it's sleeping... When writing the sanei_thread stuff, I expected pthread_cancel to work correctly, and probably it will work correctly in the near future. I also think, that pthread_cancel should normally not be needed by any backend to shutdown a reader-process, when this one is done. It's only needed to cancel such a thread... I also think, that a working test-backend is not that essential, as working "real" backends. So what to do? I suggest to skip the sanei_thread-patch from Mattias Ellert, as this patch is not really a workaround for the buggy pthread_cancel on OSX. It only tries to cure one symptome. My 2 cents on that, Gerhard On Freitag, 9. Januar 2004 09:31, Mattias Ellert wrote: > Noah Daniels wrote: > > Hi, > > > > I'm still having the same problem with the plustek backend that several > > people have reported, even using this latest build of the various SANE > > packages. > > > > Basically, sane-find-scanner finds the scanner, but scanimage -L does > > not. However, if I set SANE_DEBUG_PLUSTEK to a high number, the scanner > > DOES start working, and scans a partial low-res image before hanging. I > > know this behavior has been reported before, by Henrik Rintala. > > > > I can provide a debug log if anyone's interested... I'd love to be able > > to get this working (printing to a Canoscan 650). > > > > thanks! > > > > -- > > Noah Daniels > > Using the latest version of libusb from CVS (or the binary packages from > 2004-01-05) has been reported to fix the problem that scanimage -L does > not see the scanner unless the DEBUG environment is used. > > The following gdb log of the state of scanimage at the time it freezes > after a scan was provided by a user having a Canon N670U scanner that > uses the Plustek backend on MacOS X. > > To me it looks like the reader process has finished and is waiting to be > killed, but the main process is still trying to read from it. > > Note that the patch in the bug report > https://alioth.debian.org/tracker/index.php?func=detail&aid=300434&group_id >=1308&atid=410366 > > has been applied here, in order to avoid calling pthread_cancel which is > broken on MacOS X. > > Mattias From jim.george at blueyonder.co.uk Sat Jan 10 20:59:13 2004 From: jim.george at blueyonder.co.uk (Jim George) Date: Sat, 10 Jan 2004 20:59:13 -0000 (GMT) Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port Message-ID: <1729.192.168.0.7.1073768353.squirrel@tassi.local> Hi Eddy, I do have a printer connected to the same port. It's an Epson Photo Stylus 820cxi if that makes any difference. I tried turning off/on my scanner but that made no difference, then I rebooted and when I tried again I got the attached (which was the same as when I had to turn the scanner off/on). Could it be a simple configuration issue, something like using EPP on the port? Anyway please find the SANE?I_PA4S2 output from this aborted attempted attached. Best Regards, Jim -------------- next part -------------- /etc/init.d/inetd stop SANE_DEBUG_MUSTEK_PP=128 SANE_DEBUG_SANEI_PA4S2=255 saned -d128 [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] listen () [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: waiting for control connection [saned] saned (AF-indep+IPv6) from sane-backends 1.0.13 ready [saned] check_host: access by remote host: ::1 [saned] check_host: remote host is IN6_LOOPBACK: access granted [saned] init: access granted [saned] init: access granted to root@::1 [saned] process_request: waiting for request [saned] process_request: got request 2 [saned] process_request: access to resource `mustek_pp' granted [sanei_debug] Setting debug level of mustek_pp to 128. [mustek_pp] sane-mustek_pp, version 0.12-alpha. build for SANE 1.0.13 [mustek_pp] backend by Jochen Eisinger [sanei_debug] Setting debug level of sanei_pa4s2 to 255. [sanei_pa4s2] sanei_pa4s2: interface called for the first time [sanei_pa4s2] sanei_pa4s2_open: called for device 'parport0' [sanei_pa4s2] sanei_pa4s2_open: trying to connect to port [sanei_pa4s2] pa4s2_open: trying to attach dev `parport0` [sanei_pa4s2] pa4s2_init: static int first_time = 1 [sanei_pa4s2] pa4s2_init: called for the first time [sanei_pa4s2] pa4s2_init: initializing libieee1284 [sanei_pa4s2] pa4s2_init: 1 ports reported by IEEE 1284 library [sanei_pa4s2] pa4s2_init: port 0 is `parport0` [sanei_pa4s2] pa4s2_init: allocating port list [sanei_pa4s2] pa4s2_init: initialized successfully [sanei_pa4s2] pa4s2_open: looking up port in list [sanei_pa4s2] pa4s2_open: port is in list at port[0] [sanei_pa4s2] pa4s2_open: setting up port data [sanei_pa4s2] pa4s2_open: name=parport0 in_use=SANE_TRUE [sanei_pa4s2] pa4s2_open: enabled=SANE_FALSE mode=PA4S2_MODE_NIB [sanei_pa4s2] pa4s2_open: opening device [sanei_pa4s2] pa4s2_open: device `parport0` opened... [sanei_pa4s2] pa4s2_open: returning SANE_STATUS_GOOD [sanei_pa4s2] pa4s2_open: open dev `parport0` as fd 0 [sanei_pa4s2] sanei_pa4s2_open: connected to device using fd 0 [sanei_pa4s2] sanei_pa4s2_open: checking for scanner [sanei_pa4s2] sanei_pa4s2_enable: called for fd 0 with value 1 [sanei_pa4s2] sanei_pa4s2_enable: enable port 'parport0' [sanei_pa4s2] pa4s2_enable: prelock[] = {0x04, 0xd8, 0x0c} [sanei_pa4s2] sanei_pa4s2_enable: returning SANE_STATUS_GOOD [sanei_pa4s2] sanei_pa4s2_open: reading ASIC id [sanei_pa4s2] sanei_pa4s2_readbegin: called for fd 0 and register 0 [sanei_pa4s2] sanei_pa4s2_readbegin: NIB readbegin [sanei_pa4s2] pa4s2_readbegin_nib: selecting register 0 at 'parport0' [sanei_pa4s2] sanei_pa4s2_readbegin: returning SANE_STATUS_GOOD [sanei_pa4s2] sanei_pa4s2_readbyte: called with fd 0 [sanei_pa4s2] sanei_pa4s2_readbyte: we hope, the backend called [sanei_pa4s2] sanei_pa4s2_readbyte: readbegin, so the port is ok... [sanei_pa4s2] sanei_pa4s2_readbyte: this means, I did not check it - it's [sanei_pa4s2] sanei_pa4s2_readbyte: not my fault, if your PC burns down. [sanei_pa4s2] sanei_pa4s2_readbyte: read in NIB mode [sanei_pa4s2] pa4s2_readbyte_nib: reading value 0xb5 from 'parport0' [sanei_pa4s2] sanei_pa4s2_readbyte: read finished [sanei_pa4s2] sanei_pa4s2_readbyte: got value 0xb5 [sanei_pa4s2] sanei_pa4s2_readbyte: returning SANE_STATUS_GOOD [sanei_pa4s2] sanei_pa4s2_readend: called for fd 0 [sanei_pa4s2] sanei_pa4s2_readend: we hope, the backend called [sanei_pa4s2] sanei_pa4s2_readend: readbegin, so the port is ok... [sanei_pa4s2] sanei_pa4s2_readend: this means, I did not check it - it's [sanei_pa4s2] sanei_pa4s2_readend: not my fault, if your PC burns down. [sanei_pa4s2] sanei_pa4s2_readend: NIB mode readend [sanei_pa4s2] pa4s2_readend_nib: end of reading sequence for fd 0 [sanei_pa4s2] sanei_pa4s2_readend: returning SANE_STATUS_GOOD [sanei_pa4s2] sanei_pa4s2_open: could not find scanner [sanei_pa4s2] sanei_pa4s2_open: reported ASIC id 0xb5 [sanei_pa4s2] sanei_pa4s2_enable: called for fd 0 with value 0 [sanei_pa4s2] sanei_pa4s2_enable: disable port 'parport0' [sanei_pa4s2] pa4s2_disable: state restored [sanei_pa4s2] sanei_pa4s2_enable: returning SANE_STATUS_GOOD [sanei_pa4s2] sanei_pa4s2_open: closing port [sanei_pa4s2] sanei_pa4s2_close: fd = 0 [sanei_pa4s2] sanei_pa4s2_close: freeing resources [sanei_pa4s2] pa4s2_close: fd=0 [sanei_pa4s2] pa4s2_close: this is port 'parport0' [sanei_pa4s2] pa4s2_close: checking whether port is enabled [sanei_pa4s2] pa4s2_close: trying to free io port [sanei_pa4s2] pa4s2_close: marking port as unused [sanei_pa4s2] pa4s2_close: returning SANE_STATUS_GOOD [sanei_pa4s2] sanei_pa4s2_close: finished [sanei_pa4s2] sanei_pa4s2_open: returning SANE_STATUS_INVAL [mustek_pp] cis_attach: couldn't attach to `parport0' (Invalid argument) [mustek_pp] sane_open: unknown devicename ``Mustek-1200CP'' [saned] process_request: waiting for request [saned] process_request: got request 10 [mustek_pp] sane_exit: all drivers unloaded [saned] quit: exiting From dave at dminor.com Sat Jan 10 22:38:59 2004 From: dave at dminor.com (David Minor) Date: Sat, 10 Jan 2004 16:38:59 -0600 Subject: [sane-devel] OS X and umax 1220u In-Reply-To: <20040110100640.GB978@meier-geinitz.de> References: <20040110100640.GB978@meier-geinitz.de> Message-ID: On Jan 10, 2004, at 4:06 AM, Henning Meier-Geinitz wrote: > The frontend asks for a list of devices ... > >> [umax1220u] sane_open >> [umax1220u] sane_open: devicename=libusb:001:005 >> [umax1220u] UMAX_open_device: `libusb:001:005' > > ...and wants to sane_open the device (the same as above). > >> [umax1220u] UMAX_open_device: couldn't open device `libusb:001:005': >> Invalid argument > > Bu this time the open fails. > > I don't know why and I'm not thte backend maintainer but maybe you get > more information if you enable debugging for USB also (in addition to > SANEI_USB_UAMX1220): SANE_DEBUG_SANEI_USB=255 > > To reduce the amount of data you get, you should disabel everything > but umax1220u in dll.conf. > I commented out everything in dll.conf but umax1220u, set USB debug output to 255 in addition to the umax1220u debug at 128 as before. I also disconnected all other USB devices to simplify matters. I'm not going to pretend to being able to interpret the output, but I will attach for anyone to look over and see if the problem can be isolated. Thanks, dm -------------- next part -------------- [sanei_debug] Setting debug level of umax1220u to 128. [umax1220u] sane_init: version_code != 0, authorize != 0 [umax1220u] sane_init: SANE umax1220u backend version 1.0.1 from sane-backends 1.0.13 [sanei_debug] Setting debug level of sanei_usb to 255. usb_set_debug: Setting debugging level to 255 (on) usb_os_find_busses: Found 001 usb_os_find_busses: Found 002 usb_os_find_devices: Found USB device at location 0x18000000 usb_os_find_devices: Found 001 on 001 at location 0x18000000 usb_os_find_devices: Found USB device at location 0x18100000 usb_os_find_devices: Found 003 on 001 at location 0x18100000 usb_os_find_devices: Found USB device at location 0x19000000 usb_os_open: 1606:0010 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 512 0 0xbfffeab8 8 1000 usb_control_msg: 128 6 512 0 0x300a00 39 1000 usb_os_close: 1606:0010 usb_os_open: 05ac:8005 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 512 0 0xbfffeab8 8 1000 usb_control_msg: 128 6 512 0 0x300ab0 27 1000 usb_os_close: 05ac:8005 usb_os_find_devices: Found USB device at location 0x18000000 usb_os_find_devices: Found USB device at location 0x18100000 usb_os_find_devices: Found USB device at location 0x19000000 usb_os_find_devices: Found 001 on 002 at location 0x19000000 usb_os_open: 05ac:8005 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 512 0 0xbfffeab8 8 1000 usb_control_msg: 128 6 512 0 0x300f00 27 1000 usb_os_close: 05ac:8005 [sanei_usb] sanei_usb_init: device 0x05ac/0x8005, interface 0 doesn't look like a scanner (9/9) [sanei_usb] sanei_usb_init: device 0x05ac/0x8005: no suitable interfaces [sanei_usb] sanei_usb_init: found libusb device (0x1606/0x0010) interface 0 at libusb:001:003 [sanei_usb] sanei_usb_init: device 0x05ac/0x8005, interface 0 doesn't look like a scanner (9/9) [sanei_usb] sanei_usb_init: device 0x05ac/0x8005: no suitable interfaces [sanei_usb] sanei_usb_init: found 1 devices [umax1220u] reading configure file umax1220u.conf [umax1220u] attach_matching_devices(usb 0x1606 0x0010) [sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0010 [umax1220u] attach_scanner: libusb:001:003 [umax1220u] attach_scanner: opening libusb:001:003 [umax1220u] UMAX_open_device: `libusb:001:003' [sanei_usb] sanei_usb_open: trying to open device `libusb:001:003' usb_os_open: 1606:0010 usb_set_configuration: called for config 1 usb_claim_interface: called for interface 0 Interface 0 of device is 0x130b claim_interface: Interface 0 of device from QueryInterface is 0x3020d0 [sanei_usb] sanei_usb_open: found bulk-out endpoint (address 1) [sanei_usb] sanei_usb_open: found bulk-in endpoint (address 2) [sanei_usb] sanei_usb_open: found interupt-in endpoint (address 3) [sanei_usb] sanei_usb_open: opened usb device `libusb:001:003' (*dn=0) [sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x1606, productID: 0x0010 [umax1220u] csend: cmd = 0 [umax1220u] usync: len = 0, cmd = 0 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 2, index = 0, len = 0 usb_control_msg: 64 3 2 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes [sanei_usb] 0000: 55 AA U............... Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=2 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffaeb0 1 30000 [sanei_usb] 0000: C8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 4, index = 0, len = 0 usb_control_msg: 64 3 4 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes [sanei_usb] 0000: 00 00 00 00 ................ Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=4 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbfffaf20 1 30000 [sanei_usb] 0000: 53 S............... [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffaf21 1 30000 [sanei_usb] 0000: C8 ................ [umax1220u] usync: s0 = 0x53 s4 = 0xc8 [umax1220u] doing xxxops [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 2, index = 3, len = 0 usb_control_msg: 64 1 2 3 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 14, index = 2, len = 0 usb_control_msg: 64 1 14 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 64, index = 0, len = 0 usb_control_msg: 64 1 64 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 6, index = 2, len = 0 usb_control_msg: 64 1 6 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffaee0 1 30000 [sanei_usb] 0000: 38 8............... [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 7, index = 2, len = 0 usb_control_msg: 64 1 7 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffaee0 1 30000 [sanei_usb] 0000: 38 8............... [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 4, index = 2, len = 0 usb_control_msg: 64 1 4 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffaee0 1 30000 [sanei_usb] 0000: F8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 5, index = 2, len = 0 usb_control_msg: 64 1 5 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 2, len = 1 usb_control_msg: 192 0 0 2 0xbfffaee0 1 30000 [sanei_usb] 0000: 05 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 4, index = 2, len = 0 usb_control_msg: 64 1 4 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 30, index = 3, len = 0 usb_control_msg: 64 1 30 3 0x0 0 30000 [umax1220u] UMAX_close_device: [sanei_usb] sanei_usb_close: closing device 0 usb_os_close: 1606:0010 [umax1220u] attach_matching_devices(usb 0x1606 0x0030) [sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0030 [umax1220u] attach_matching_devices(usb 0x1606 0x0130) [sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0130 [umax1220u] finished reading configure file [umax1220u] sane_get_devices(local_only = 0) [umax1220u] sane_open [umax1220u] sane_open: devicename=libusb:001:003 [umax1220u] UMAX_open_device: `libusb:001:003' [sanei_usb] sanei_usb_open: trying to open device `libusb:001:003' usb_os_open: 1606:0010 usb_set_configuration: called for config 1 usb_claim_interface: called for interface 0 Interface 0 of device is 0x1313 claim_interface: Interface 0 of device from QueryInterface is 0x302470 [sanei_usb] sanei_usb_open: found bulk-out endpoint (address 1) [sanei_usb] sanei_usb_open: we already have a bulk-out endpoint (address: 1), ignoring the new one [sanei_usb] sanei_usb_open: found bulk-in endpoint (address 2) [sanei_usb] sanei_usb_open: we already have a bulk-in endpoint (address: 130), ignoring the new one [sanei_usb] sanei_usb_open: found interupt-in endpoint (address 3) [sanei_usb] sanei_usb_open: we already have a int-in endpoint (address: 131), ignoring the new one [sanei_usb] sanei_usb_open: opened usb device `libusb:001:003' (*dn=0) [sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x1606, productID: 0x0010 [umax1220u] csend: cmd = 0 [umax1220u] usync: len = 0, cmd = 0 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 2, index = 0, len = 0 usb_control_msg: 64 3 2 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes [sanei_usb] 0000: 55 AA U............... Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=2 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff3b0 1 30000 [sanei_usb] 0000: C8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 4, index = 0, len = 0 usb_control_msg: 64 3 4 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes [sanei_usb] 0000: 00 00 00 00 ................ Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=4 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbffff420 1 30000 [sanei_usb] 0000: 53 S............... [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff421 1 30000 [sanei_usb] 0000: C8 ................ [umax1220u] usync: s0 = 0x53 s4 = 0xc8 [umax1220u] doing xxxops [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 2, index = 3, len = 0 usb_control_msg: 64 1 2 3 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 14, index = 2, len = 0 usb_control_msg: 64 1 14 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 64, index = 0, len = 0 usb_control_msg: 64 1 64 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 6, index = 2, len = 0 usb_control_msg: 64 1 6 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff3e0 1 30000 [sanei_usb] 0000: 38 8............... [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 7, index = 2, len = 0 usb_control_msg: 64 1 7 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff3e0 1 30000 [sanei_usb] 0000: 38 8............... [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 4, index = 2, len = 0 usb_control_msg: 64 1 4 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff3e0 1 30000 [sanei_usb] 0000: F8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 5, index = 2, len = 0 usb_control_msg: 64 1 5 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 2, len = 1 usb_control_msg: 192 0 0 2 0xbffff3e0 1 30000 [sanei_usb] 0000: 05 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 4, index = 2, len = 0 usb_control_msg: 64 1 4 2 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 1, value = 30, index = 3, len = 0 usb_control_msg: 64 1 30 3 0x0 0 30000 [umax1220u] sane_control_option: handle=0x1a000, opt=0, act=0, val=0xbffff9ec, info=0x0 [umax1220u] sane_control_option: handle=0x1a000, opt=0, act=0, val=0xbffff540, info=0x0 [umax1220u] sane_get_option_descriptor: option = 0 [umax1220u] sane_get_option_descriptor: option = 1 [umax1220u] sane_get_option_descriptor: option = 2 [umax1220u] sane_get_option_descriptor: option = 3 [umax1220u] sane_get_option_descriptor: option = 4 [umax1220u] sane_get_option_descriptor: option = 5 [umax1220u] sane_control_option: handle=0x1a000, opt=5, act=0, val=0xb34c, info=0x0 [umax1220u] sane_get_option_descriptor: option = 6 [umax1220u] sane_control_option: handle=0x1a000, opt=6, act=0, val=0xb350, info=0x0 [umax1220u] sane_get_option_descriptor: option = 7 [umax1220u] sane_control_option: handle=0x1a000, opt=3, act=0, val=0xbffff544, info=0x0 [umax1220u] sane_control_option: handle=0x1a000, opt=4, act=0, val=0xbffff544, info=0x0 [umax1220u] sane_control_option: handle=0x1a000, opt=3, act=0, val=0xbffff9f0, info=0x0 [umax1220u] sane_get_option_descriptor: option = 5 [umax1220u] sane_control_option: handle=0x1a000, opt=5, act=1, val=0xbffff9f4, info=0xbffff568 [umax1220u] sane_control_option: handle=0x1a000, opt=4, act=0, val=0xbffff9f0, info=0x0 [umax1220u] sane_get_option_descriptor: option = 6 [umax1220u] sane_control_option: handle=0x1a000, opt=6, act=1, val=0xbffff9f4, info=0xbffff568 [umax1220u] sane_start [umax1220u] UMAX_set_scan_parameters: [umax1220u] color = 1 [umax1220u] xo = 0, yo = 0 [umax1220u] w = 0, h = 0 [umax1220u] xres = 75, yres = 75 [umax1220u] left = 0, top = 0 [umax1220u] right = 0, bottom = 0 scanimage: sane_start: Invalid argument [umax1220u] sane_cancel: handle = 0x1a000 [umax1220u] sane_cancel: canceling is unsupported in this backend [umax1220u] sane_close [umax1220u] UMAX_set_lamp_state: state = 0 [umax1220u] csend: cmd = 0 [umax1220u] usync: len = 0, cmd = 0 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 2, index = 0, len = 0 usb_control_msg: 64 3 2 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes [sanei_usb] 0000: 55 AA U............... Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=2 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff820 1 30000 [sanei_usb] 0000: C8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 4, index = 0, len = 0 usb_control_msg: 64 3 4 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes [sanei_usb] 0000: 00 00 00 00 ................ Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=4 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbffff890 1 30000 [sanei_usb] 0000: 53 S............... [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbffff891 1 30000 [sanei_usb] 0000: C8 ................ [umax1220u] usync: s0 = 0x53 s4 = 0xc8 [umax1220u] cwritev_opc1: set lamp state = off [umax1220u] cwrite: cmd = 2, len = 16 [umax1220u] usync: len = 16, cmd = 130 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 2, index = 0, len = 0 usb_control_msg: 64 3 2 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes [sanei_usb] 0000: 55 AA U............... Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=2 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb6f0 1 30000 [sanei_usb] 0000: C8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 4, index = 0, len = 0 usb_control_msg: 64 3 4 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes [sanei_usb] 0000: 00 00 10 82 ................ Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=4 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbfffb760 1 30000 [sanei_usb] 0000: 53 S............... [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb761 1 30000 [sanei_usb] 0000: C8 ................ [umax1220u] usync: s0 = 0x53 s4 = 0xc8 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb760 1 30000 [sanei_usb] 0000: C8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 16, index = 0, len = 0 usb_control_msg: 64 3 16 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 16 bytes [sanei_usb] 0000: 01 00 01 70 00 00 60 2F 13 05 00 00 00 80 90 00 ...p..`/........ Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=16 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 16 bytes, wrote 16 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb7d1 1 30000 [sanei_usb] 0000: C0 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbfffb7d0 1 30000 [sanei_usb] 0000: 53 S............... [umax1220u] cwrite: s0 = 0x53 s4 = 0xc0 [umax1220u] cread: cmd = 2, len = 16 [umax1220u] usync: len = 16, cmd = 194 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 2, index = 0, len = 0 usb_control_msg: 64 3 2 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 2 bytes [sanei_usb] 0000: 55 AA U............... Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=2 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 2 bytes, wrote 2 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb6f0 1 30000 [sanei_usb] 0000: C8 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 0, index = 0, len = 0 usb_control_msg: 64 4 0 0 0x0 0 30000 [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 3, value = 4, index = 0, len = 0 usb_control_msg: 64 3 4 0 0x0 0 30000 [sanei_usb] sanei_usb_write_bulk: trying to write 4 bytes [sanei_usb] 0000: 00 00 10 C2 ................ Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: pipeRef for ep address 0x01 found: 0x01 usb_bulk_write: endpoint=0x01 size=4 TO=30000 write completed [sanei_usb] sanei_usb_write_bulk: wanted 4 bytes, wrote 4 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbfffb760 1 30000 [sanei_usb] 0000: 53 S............... [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb761 1 30000 [sanei_usb] 0000: D0 ................ [umax1220u] usync: s0 = 0x53 s4 = 0xd0 [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb760 1 30000 [sanei_usb] 0000: D0 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 2, value = 16, index = 0, len = 0 usb_control_msg: 64 2 16 0 0x0 0 30000 [sanei_usb] sanei_usb_read_bulk: trying to read 16 bytes usb_bulk_read: ep addr = 0x82 Converting ep address to pipeRef. ep_to_pipeRef: Pipe 1: DIR: 0 number: 1 ep_to_pipeRef: Pipe 2: DIR: 1 number: 2 ep_to_pipeRef: pipeRef for ep address 0x82 found: 0x02 usb_bulk_read: endpoint=0x82 size=16 timeout=30.000000sec [sanei_usb] 0000: 01 00 01 70 00 00 60 2F 13 05 00 00 00 80 90 00 ...p..`/........ [sanei_usb] sanei_usb_read_bulk: wanted 16 bytes, got 16 bytes [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 4, len = 1 usb_control_msg: 192 0 0 4 0xbfffb7d1 1 30000 [sanei_usb] 0000: C0 ................ [sanei_usb] sanei_usb_control_msg: rtype = 0xc0, req = 0, value = 0, index = 0, len = 1 usb_control_msg: 192 0 0 0 0xbfffb7d0 1 30000 [sanei_usb] 0000: 53 S............... [umax1220u] cwrite: s0 = 0x53 s4 = 0xc0 [umax1220u] UMAX_close_device: [sanei_usb] sanei_usb_close: closing device 0 usb_os_close: 1606:0010 [umax1220u] sane_exit -------------- next part -------------- From gilles at ffii.org Sun Jan 11 02:29:54 2004 From: gilles at ffii.org (gilles at ffii.org) Date: Sun, 11 Jan 2004 03:29:54 +0100 Subject: [sane-devel] HP5370C - Distorted image Message-ID: <20040111022954.GA24214@ffii.org> Hello. First: Thanks a lot for your continuous efforts to make this scanner work with Linux! [Last time I had tried it (several months ago), with 'hpusbscsi', I had to quickly power off the scanner as the awful noise and erratic motion of the scanning made me believe it would fall apart... Today I compiled kernel 2.6.0, and reading that 'hpusbscsci' was now obsolete, I thought I could give it a try.] Now the scanner doesn't seem to suffer anymore :-) but the image produced is distorted: I'm among the unlucky ones who get a 45 degrees shifted-wrapped image (cf. a post from November 26). Is the source of the problem known? Any chance that the scanner will be working properly? [Scanning is the last and only thing which I must do on M$-Windows!] Best regards, Gilles P.S. System info: # scanimage --version scanimage (sane-backends) 1.0.13; backend version 1.0.13 Debian GNU/Linux testing/unstable From kleptog at svana.org Sun Jan 11 03:15:39 2004 From: kleptog at svana.org (Martijn van Oosterhout) Date: Sun, 11 Jan 2004 14:15:39 +1100 Subject: [sane-devel] HP5370C - Distorted image In-Reply-To: <20040111022954.GA24214@ffii.org> References: <20040111022954.GA24214@ffii.org> Message-ID: <20040111031539.GA19236@svana.org> While I can't really tell you how to fix it, what causes the problem is actually trivial. Lets say that the scanning software is expecting the scanner to send 541 pixels per line and the scanner actually sends 542, each row gets offset by one leading to a very nice 45 degree slant to the right. If it sends 540 you get a slant to the left. It's a very simple off-by-one error. Maybe if you try scanning different sizes to see which ones work and which ones don't you can get some kind of idea of where the discrepancy lies. Hope this helps, On Sun, Jan 11, 2004 at 03:29:54AM +0100, gilles at ffii.org wrote: > Hello. > > First: Thanks a lot for your continuous efforts to make this scanner work with > Linux! > > [Last time I had tried it (several months ago), with 'hpusbscsi', I had to > quickly power off the scanner as the awful noise and erratic motion of the > scanning made me believe it would fall apart... > Today I compiled kernel 2.6.0, and reading that 'hpusbscsci' was now > obsolete, I thought I could give it a try.] > > Now the scanner doesn't seem to suffer anymore :-) but the image produced > is distorted: I'm among the unlucky ones who get a 45 degrees > shifted-wrapped image (cf. a post from November 26). > > Is the source of the problem known? Any chance that the scanner will be > working properly? [Scanning is the last and only thing which I must do on > M$-Windows!] > > > Best regards, > > Gilles > > P.S. System info: > # scanimage --version > scanimage (sane-backends) 1.0.13; backend version 1.0.13 > > Debian GNU/Linux testing/unstable > > -- > 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 -- Martijn van Oosterhout http://svana.org/kleptog/ > (... have gone from d-i being barely usable even by its developers > anywhere, to being about 20% done. Sweet. And the last 80% usually takes > 20% of the time, too, right?) -- Anthony Towns, debian-devel-announce -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available URL: From mancio_and at libero.it Sun Jan 11 14:07:26 2004 From: mancio_and at libero.it (mancio_and at libero.it) Date: Sun, 11 Jan 2004 15:07:26 +0100 Subject: [sane-devel] HP Scanjet 3670... Message-ID: > > I haven't heard from mancio_and at libero.it after his initial posting > (http://lists.alioth.debian.org/pipermail/sane-devel/2003-November/009360.html). > If he doesn't answer on this list, try to contact him directly. > Hi, I'm sorry, I had no time enough to begin the project. Bye. From henning at meier-geinitz.de Sun Jan 11 14:15:41 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Sun, 11 Jan 2004 15:15:41 +0100 Subject: [sane-devel] OS X and umax 1220u In-Reply-To: References: <20040110100640.GB978@meier-geinitz.de> Message-ID: <20040111141541.GB683@meier-geinitz.de> Hi, On Sat, Jan 10, 2004 at 04:38:59PM -0600, David Minor wrote: > I commented out everything in dll.conf but umax1220u, set USB debug > output to 255 in addition to the umax1220u debug at 128 as before. I > also disconnected all other USB devices to simplify matters. I'm not > going to pretend to being able to interpret the output, but I will > attach for anyone to look over and see if the problem can be isolated. I'm not the author of that backend so I may be completely wrong... However, this time you get a completely different error. Openeing the scanner works, but starting the scan doesn't: > [umax1220u] sane_start > [umax1220u] UMAX_set_scan_parameters: > [umax1220u] color = 1 > [umax1220u] xo = 0, yo = 0 > [umax1220u] w = 0, h = 0 > [umax1220u] xres = 75, yres = 75 > [umax1220u] left = 0, top = 0 > [umax1220u] right = 0, bottom = 0 > scanimage: sane_start: Invalid argument There is no tranfer to the scanner involved at all. Looks like a backend bug. It sets widths and height to 0 by default. Try again with scanimage but set width and height explicitely to e.g. 10 mm (see scanimage --help for details). Bye, Henning From mbwdbuit at gmx.net Sat Jan 10 23:08:46 2004 From: mbwdbuit at gmx.net (M.B.W.D. Buitenhuis) Date: Sun, 11 Jan 2004 00:08:46 +0100 Subject: [sane-devel] RX500 MFP scanner Message-ID: <1073776126.3316.1.camel@localhost.localdomain> Could someone help me to get the scanner part of this device working? I haven't got it working although I've got it recognised as a RX500. The problem is that it somehow cannot switch the device on. output of command "lsusb" is: Bus 001 Device 002: ID 04b8:0807 Seiko Epson Corp. output of "sane-find-scanner" is: # No SCSI scanners found. If you expected something different, make sure that # you have loaded a SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b8 [EPSON], product=0x0807 [USB2.0 MFP]) at libusb:001:002 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Scanners connected to the parallel port or other proprietary ports can't be # detected by this program. output of scanimage -L [epson] Unknown type R or level d, using B3 device `v4l:/dev/video0' is a Noname Terratec Cinergy 400 TV virtual device device `epson:libusb:001:002' is a Epson RX500 flatbed scanner If I start xsane as a user I don't get to see the device, but as root it gives me the option of using my TV-card or the RX500 device. After selecting the RX500 xsane starts well. Now if I want to make a scan or a prescan it generates a message that it cant switch on the device. "wrong/false argument". Seems I close but I haven't got enough administrator experience with these type of devices. Am I missing something simple here? //Marcellino From thomas.pasch at gmx.de Sun Jan 11 13:34:24 2004 From: thomas.pasch at gmx.de (Thomas Pasch) Date: Sun, 11 Jan 2004 14:34:24 +0100 Subject: [sane-devel] Sane USB problem with HP ScanJet 5300C on FreeBSD-5.2-RC2/amd64 Message-ID: <200401111434.24177.thomas.pasch@gmx.de> Hello, I'm trying to get my scanner to work on FreeBSD 5.2-RC2/amd64. I can "see" the scanner with sane-find-scanner and usbdevs but scanimage seems to hang. I'm using the sane-backends-1.0.12_3 and sane-frontends-1.0.11 and libusb-0.1.7_1 from the package tree (but also tried ports and a newer backends version as well). See attached the DEBUG output of "scanimage -L". For me it looks like the scanner is found and a request is written to it, but there is never an anwer. Beside, how do I use libusb on 5.2? The man pages are saying something about creating /dev/ugen* but as 5.2 uses devfs, you can't create it and it isn't there. Cheers, aanno -------------- next part -------------- A non-text attachment was scrubbed... Name: scanimage.log.gz Type: application/x-gzip Size: 779 bytes Desc: not available URL: From edg1 at tiscali.be Sun Jan 11 14:14:59 2004 From: edg1 at tiscali.be (Eddy De Greef) Date: Sun, 11 Jan 2004 15:14:59 +0100 Subject: [sane-devel] Problems with mustek_pp and releasing the parallel port In-Reply-To: <1729.192.168.0.7.1073768353.squirrel@tassi.local>; from jim.george@blueyonder.co.uk on za, jan 10, 2004 at 21:59:13 +0100 References: <1729.192.168.0.7.1073768353.squirrel@tassi.local> Message-ID: <20040111141459.GA3254@reddot.erps-kwerps.be> Op 10-01-04 21:59:13 schreef Jim George: > Hi Eddy, > > I do have a printer connected to the same port. It's an Epson Photo > Stylus 820cxi if that makes any difference. Have you tried disconnecting it? > I tried turning off/on my scanner but that made no difference, then I > rebooted and when I tried again I got the attached (which was the > same as when I had to turn the scanner off/on). > > Could it be a simple configuration issue, something like using EPP on > the port? That's unlikely, but you never know. You can try changing the port settings in the BIOS. You can usually choose between EPP, ECP, ... Maybe it makes a difference. > Anyway please find the SANE?I_PA4S2 output from this aborted > attempted attached. The scanner still isn't recognized. Can you still scan at all in non-debug mode? Best regards, Eddy From mattias.ellert at tsl.uu.se Sun Jan 11 14:28:40 2004 From: mattias.ellert at tsl.uu.se (Mattias Ellert) Date: Sun, 11 Jan 2004 15:28:40 +0100 Subject: [sane-devel] Re: pthread_cancel and MacOS X In-Reply-To: <200401101609.16585.gerhard@gjaeger.de> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> <3FFE66EE.2020503@tsl.uu.se> <200401101609.16585.gerhard@gjaeger.de> Message-ID: <40015D98.1030907@tsl.uu.se> Jaeger, Gerhard wrote: > Hi again, > > I also think, that a working test-backend is not that essential, as working > "real" backends. Here I must strongly disagree. A working test backend is extremely essential. It is a very important tool in debugging. If a frontend works with the test backend, but not with some other backend, you know that the problem is (most probably) in that backend and not in the frontend itself. If you can change the test backend in some other way so that the patch is not needed, that would be fine, but giving up a working test backend is not a viable solution to the problem. Mattias -- ________________________________________________________________________ mattias.ellert at tsl.uu.se tel: +46 18 471 32 58 http://www.tsl.uu.se/~ellert/ fax: +46 18 471 35 13 ________________________________________________________________________ From Oliver.Schwartz at gmx.de Sun Jan 11 14:35:29 2004 From: Oliver.Schwartz at gmx.de (Oliver Schwartz) Date: Sun, 11 Jan 2004 15:35:29 +0100 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <878ykkehan.fsf@zen.epkowa.co.jp> References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> Message-ID: <200401111535.31596.Oliver.Schwartz@gmx.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, > > You may also try the snapscan backend. At least the 1670 is > > supported by that backend. Maybe these scanners are similar? But > > you will need the latest development version of SANE. Maybe the > > manintainer of the snapscan backend has heard baout that scanner: > > Oliver Schwartz > > I've checked around a little bit and found some tidbits of > information that seems to indicate that the GT-7400U is the little > sister of the GT-8400U. There is a reasonable chance that this > scanner works with the snapscan backend. You will probably have to > muck around a bit to get it to load the right firmware file and > copy that file from the Windoze software. With a bit of luck it's sufficient to add the USB IDs in snapscan.conf and edit the path to the firmware file in snapscan.conf. The firmware file is installed with your windows driver, it's probably named *.bin and located somewhere under WINNT/Twain32. If possible please send me a debug log from "SANE_DEBUG_SNAPSCAN scanimage -L > debug.log" - -Oliver -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQFAAV8x/V6sbrmfIuMRAnWqAJ9fqP+YuDyqG+0jEnbFAs6MtNMbXwCffAJP GhiyguWWkjD6DnEOEs5+VSE= =zEd0 -----END PGP SIGNATURE----- From mike at alezan.org Sun Jan 11 14:50:36 2004 From: mike at alezan.org (Mickael Profeta) Date: Sun, 11 Jan 2004 15:50:36 +0100 Subject: [sane-devel] HP Scanjet 3670... In-Reply-To: <20040109123857.GA27118@sugarpie> References: <20040109123857.GA27118@sugarpie> Message-ID: <400162BC.5040308@alezan.org> Hi, Sanjay.Chigurupati at lntinfotech.com has a HP scanjet 2400 and it seems to be the same driver. After the mail of mancio_and at 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 From gerhard at gjaeger.de Sun Jan 11 17:57:09 2004 From: gerhard at gjaeger.de (Jaeger, Gerhard) Date: Sun, 11 Jan 2004 18:57:09 +0100 Subject: [sane-devel] Re: pthread_cancel and MacOS X In-Reply-To: <40015D98.1030907@tsl.uu.se> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> <200401101609.16585.gerhard@gjaeger.de> <40015D98.1030907@tsl.uu.se> Message-ID: <200401111857.09710.gerhard@gjaeger.de> Hoh, hoh... stop, I don't say, that it is not needed or not useful!!! I only mean, that we should not spend too much time on a problem which needs to be fixed outside of SANE. Also please remember: Using the pthread approach instead of the Unix process stuff has also been done, because of MacOSX is not able to inherit file descriptors to a child process. Now that the sanei_thread stuff seems to work for quite a lot of platforms, we ran into the next MacOSX trouble... What comes next? I mean I appreciate your work as I think it is useful to spread SANE over another platform, but I don't think that SANE should work around each OS bug, especially here, when there's no clean solution for this problem. This needs to be solved by the guys, that implemented the pthread stuff there. Henning, what do you think about changing the test-backend. As far as I understood, the test-backend simulates, when the reader-process has finished, a "hanging" backend, that is "killed" by the parent process. Probably we can accept a workaround only for the MacOS platform... Hope we find a good solution on that. I'll recheck some other approaches... Ciao, Gerhard On Sonntag, 11. Januar 2004 15:28, Mattias Ellert wrote: > Jaeger, Gerhard wrote: > > Hi again, > > > > I also think, that a working test-backend is not that essential, as > > working "real" backends. > > Here I must strongly disagree. A working test backend is extremely > essential. It is a very important tool in debugging. > > If a frontend works with the test backend, but not with some other > backend, you know that the problem is (most probably) in that backend > and not in the frontend itself. > > If you can change the test backend in some other way so that the patch > is not needed, that would be fine, but giving up a working test backend > is not a viable solution to the problem. > > Mattias From henning at meier-geinitz.de Sun Jan 11 18:39:02 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Sun, 11 Jan 2004 19:39:02 +0100 Subject: [sane-devel] Re: pthread_cancel and MacOS X In-Reply-To: <200401111857.09710.gerhard@gjaeger.de> References: <13617772.1073589444350.JavaMail.ndaniels@mac.com> <200401101609.16585.gerhard@gjaeger.de> <40015D98.1030907@tsl.uu.se> <200401111857.09710.gerhard@gjaeger.de> Message-ID: <20040111183902.GF683@meier-geinitz.de> Hi, On Sun, Jan 11, 2004 at 06:57:09PM +0100, Jaeger, Gerhard wrote: > Henning, what do you think about changing the test-backend. As far > as I understood, the test-backend simulates, when the reader-process > has finished, a "hanging" backend, that is "killed" by the parent process. > Probably we can accept a workaround only for the MacOS platform... I think that generally there should be no OS-specific code in the backends at all. The whole idea of sanei_thread and the other sanei_ code is to abstract the OS and hardware access. The idea behind the "hanging" reader process is that the SANE standard wants the backend to close the select filedescriptor at the end of the scan. That's done by the test backend. Some time ago we had trouble with frontends that couldn't cope with closing the select file descriptor. This descriptor is usually a pipe and is it not enough to close the reader process part of that pipe. The parent process side has to be close and that's the signal for the frontend that scanning is finished (no more data). If the reader process doesn't hang until sane_cancel, there is a race condition between closing both sides of the pipe. To make sure that all frontends can cope with closing only the main process side of the pipe, the reader process waits. So if a frontend (or sanei_ implementation) can't cope with that, there is usually a general problem that just don't happen that often with other backends because most of the time the reader process terminates too fast. However, with threads I guess a file descriptor isn't closed after exiting the thread (?). In this case we can ignore that problem so I don't mind removing the endless loop if we are using threads in the test backend. I don't know about the patch concerning sanei_thread itsself as I'm rather clueless about threads :-) Generally speaking, this should be fixed where it is broken. If there are simple and not too ugly workarounds in SANE, that's ok for me. But otherwise I guess it's "not our fault". Bye, Henning From henrik at rintala.de Sun Jan 11 20:54:53 2004 From: henrik at rintala.de (Henrik Rintala) Date: Sun, 11 Jan 2004 21:54:53 +0100 Subject: [sane-devel] Scanning with CanoScan N650U under Mac OS X 10.3.2 Message-ID: <67AF90F8-4478-11D8-BA9F-0030655567DA@rintala.de> I could not get sane to work. But I by chance found another solution for me. Anyone who has a .mac membership can get the Mac OS X version of ArcSoft Photostudio for free. And if you download the appropriate Photoshop plugin from Canon for the N650U you can put the plug-in file into Photostudio's plugin folder and scan with Photostudio for free. Works for basic scanning. The plugin also works with Graphicconverter (shareware app). // \\ Henrik Rintala // From dave at dminor.com Sun Jan 11 22:03:47 2004 From: dave at dminor.com (David Minor) Date: Sun, 11 Jan 2004 16:03:47 -0600 Subject: [sane-devel] Re: OS X and umax 1220u In-Reply-To: <20040111141541.GB683@meier-geinitz.de> References: <20040110100640.GB978@meier-geinitz.de> <20040111141541.GB683@meier-geinitz.de> Message-ID: <07BBF9FD-4482-11D8-9548-000393B4CC12@dminor.com> some info may be repeated as I'm cross-posting to the backend devel list. On Jan 11, 2004, at 8:15 AM, Henning Meier-Geinitz wrote: > On Sat, Jan 10, 2004 at 04:38:59PM -0600, David Minor wrote: >> I commented out everything in dll.conf but umax1220u, set USB debug >> output to 255 in addition to the umax1220u debug at 128 as before. I >> also disconnected all other USB devices to simplify matters. I'm not >> going to pretend to being able to interpret the output, but I will >> attach for anyone to look over and see if the problem can be isolated. > > I'm not the author of that backend so I may be completely wrong... > > However, this time you get a completely different error. Openeing the > scanner works, but starting the scan doesn't: > >> [umax1220u] sane_start >> [umax1220u] UMAX_set_scan_parameters: >> [umax1220u] color = 1 >> [umax1220u] xo = 0, yo = 0 >> [umax1220u] w = 0, h = 0 >> [umax1220u] xres = 75, yres = 75 >> [umax1220u] left = 0, top = 0 >> [umax1220u] right = 0, bottom = 0 >> scanimage: sane_start: Invalid argument > > There is no tranfer to the scanner involved at all. Looks like a > backend bug. It sets widths and height to 0 by default. > > Try again with scanimage but set width and height explicitely to e.g. > 10 mm (see scanimage --help for details). > versions: scanner: umax 1220u system: OS X 10.3.2 scanimage (sane-backends) 1.0.13; backend version 1.0.13 (patched) TWAIN SANE interface: 0.3 libusb: 0.1.8 beta 2004-01-05 $ scanimage -L device `umax1220u:libusb:001:004' is a UMAX Astra 1220U flatbed scanner $ scanimage -T scanimage: sane_start: Invalid argument $ scanimage -x 200 -y 200 I can successfully scan if I pass width/height params. What a great sound to hear this old dust collector chugging away! Using TWAIN Acquire in Graphic Convertor still does not work. No feedback from it at all. So it works, but not out of the box. It would be great if I could find a way to 1) get TWAIN working and 2) get the backend automatically come up with the dimensions needed. Thanks, Henning, for your consistent review and prompt reply on this list. Thanks to all the developers related to this process for keeping at it. I would be happy to continue to test/try things for the os x/umax 1220u environment. dm From benedict.prescott at virgin.net Sun Jan 11 20:42:09 2004 From: benedict.prescott at virgin.net (Ben Prescott) Date: Sun, 11 Jan 2004 20:42:09 +0000 Subject: [sane-devel] Trust Imagery 9600 In-Reply-To: <1073476817.1987.29.camel@gk-lex3> References: <20040105231501.35fe567c.benedict.prescott@virgin.net> <1073476817.1987.29.camel@gk-lex3> Message-ID: <20040111204209.6db53bfd.benedict.prescott@virgin.net> On Wed, 07 Jan 2004 11:00:18 -0100 gerard klaver wrote: > see the teco mailinglist at yahoo, also mail archive is present. > To get this scanner working you have to patch the following files > teco3.conf with the name of the scanner: > scsi "Aashima" "IMAGERY 9600SP" > Frank Zago (teco3 maintaniner) should be able to tell more about the > changes which are needed to get this scanner working. thanks; gives me something to be getting on with. It'll be a while, but I guess no-one else is missing it! regards, Ben. From Sanjay.Chigurupati at lntinfotech.com Mon Jan 12 04:18:40 2004 From: Sanjay.Chigurupati at lntinfotech.com (Sanjay Chigurupati) Date: Mon, 12 Jan 2004 09:48:40 +0530 Subject: [sane-devel] HP Scanjet 3670... Message-ID: 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 at lists.alioth .debian.org Subject: Re: [sane-devel] HP Scanjet 3670... 11/01/2004 08:20 PM Hi, Sanjay.Chigurupati at lntinfotech.com has a HP scanjet 2400 and it seems to be the same driver. After the mail of mancio_and at 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 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 From bruce at brucebertrand.com Mon Jan 12 08:37:19 2004 From: bruce at brucebertrand.com (Bruce Bertrand) Date: Mon, 12 Jan 2004 03:37:19 -0500 Subject: [sane-devel] problem connecting to saned over network Message-ID: <40025CBF.7030406@brucebertrand.com> 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 From jochen at penguin-breeder.org Mon Jan 12 08:55:39 2004 From: jochen at penguin-breeder.org (Jochen Eisinger) Date: Mon, 12 Jan 2004 09:55:39 +0100 Subject: [sane-devel] problem connecting to saned over network In-Reply-To: <40025CBF.7030406@brucebertrand.com> References: <40025CBF.7030406@brucebertrand.com> Message-ID: <4002610B.4020101@penguin-breeder.org> 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 From adrianpj at users.sourceforge.net Mon Jan 12 10:08:31 2004 From: adrianpj at users.sourceforge.net (Adrian Perez Jorge) Date: Mon, 12 Jan 2004 10:08:31 +0000 Subject: [sane-devel] HP Scanjet 3670... In-Reply-To: <400162BC.5040308@alezan.org> References: <20040109123857.GA27118@sugarpie> <400162BC.5040308@alezan.org> Message-ID: <4002721F.6020302@users.sourceforge.net> 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.Chigurupati at lntinfotech.com has a HP scanjet 2400 and it seems > to be the same driver. > After the mail of mancio_and at 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 > From rainer.Lay at informatik.uni-erlangen.de Mon Jan 12 14:27:11 2004 From: rainer.Lay at informatik.uni-erlangen.de (Rainer Lay) Date: Mon, 12 Jan 2004 15:27:11 +0100 Subject: [sane-devel] Re: UMAX Astra 2200 SU via USB Message-ID: <4002AEBF.2040302@informatik.uni-erlangen.de> 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.Rauch at Rauch-Domain.DE From blackdir at yahoo.com Mon Jan 12 16:49:00 2004 From: blackdir at yahoo.com (Lone Directory) Date: Mon, 12 Jan 2004 08:49:00 -0800 (PST) Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040112164101.24551.12478.Mailman@quantz.debian.org> Message-ID: <20040112164900.64053.qmail@web10411.mail.yahoo.com> 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 From henning at meier-geinitz.de Mon Jan 12 17:26:35 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 12 Jan 2004 18:26:35 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040112164900.64053.qmail@web10411.mail.yahoo.com> References: <20040112164101.24551.12478.Mailman@quantz.debian.org> <20040112164900.64053.qmail@web10411.mail.yahoo.com> Message-ID: <20040112172635.GB1558@meier-geinitz.de> 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 From gough at gsc.riken.jp Mon Jan 12 15:03:57 2004 From: gough at gsc.riken.jp (Julian Gough) Date: 13 Jan 2004 00:03:57 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <200401111535.31596.Oliver.Schwartz@gmx.de> References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> Message-ID: <1073919837.4417.8.camel@localhost.localdomain> Thanks for the info. firstly there's no file ending in .bin in the windows directory. The best I could find is "estwm.exe", so I used that. I couuld find on the installation disk "LAYOUT.BIN", but that doesn't look useful to me. I also just copied the file (estwm.exe) across to linux because my kernel doesn't support the windows filesystem so I can't mount it. I changed the snapscan.conf to include the line: usb 0x04b8 0x0120 I didn't understand this: > If possible please send me a debug log from > "SANE_DEBUG_SNAPSCAN scanimage -L > debug.log" since SANE_DEBUG_SNAPSCAN looks like a variable not a command, however executing "scanimage -L" yields the usual: No scanners were identified Thanks for your help, I really want to get somewhere with this but nothing I do seems to make a blind bit of difference. I'd be happier if I was getting some errors. Julian. > > - -Oliver > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) > > iD8DBQFAAV8x/V6sbrmfIuMRAnWqAJ9fqP+YuDyqG+0jEnbFAs6MtNMbXwCffAJP > GhiyguWWkjD6DnEOEs5+VSE= > =zEd0 > -----END PGP SIGNATURE----- -- ~~~~~~~~~~~~~~~~~~ Julian Gough RIKEN Genomic Sciences Centre W121 1-7-22 Suehiro-cho, Tsurumi-ku Yokohama 230-0045, Japan Tel: +81 45 503 9341 From mlone at forevers.de Mon Jan 12 17:26:38 2004 From: mlone at forevers.de (Steffen Evers) Date: Mon, 12 Jan 2004 18:26:38 +0100 Subject: [sane-devel] vendor linux drivers for Epson scanners Message-ID: <20040112172638.GA1254@newage.cs.tu-berlin.de> 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 From oliver.rauch at rauch-domain.de Mon Jan 12 17:49:12 2004 From: oliver.rauch at rauch-domain.de (Oliver Rauch) Date: Mon, 12 Jan 2004 18:49:12 +0100 Subject: [sane-devel] sanei_thread: pthread test on linux possible? Message-ID: <200401121849.15192.oliver.rauch@rauch-domain.de> 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=yes ;; *) use_pthread=no Oliver -- http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:Oliver.Rauch at Rauch-Domain.DE From henning at meier-geinitz.de Mon Jan 12 18:11:42 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 12 Jan 2004 19:11:42 +0100 Subject: [sane-devel] vendor linux drivers for Epson scanners In-Reply-To: <20040112172638.GA1254@newage.cs.tu-berlin.de> References: <20040112172638.GA1254@newage.cs.tu-berlin.de> Message-ID: <20040112181142.GC1558@meier-geinitz.de> 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 From henning at meier-geinitz.de Mon Jan 12 18:12:59 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 12 Jan 2004 19:12:59 +0100 Subject: [sane-devel] sanei_thread: pthread test on linux possible? In-Reply-To: <200401121849.15192.oliver.rauch@rauch-domain.de> References: <200401121849.15192.oliver.rauch@rauch-domain.de> Message-ID: <20040112181259.GD1558@meier-geinitz.de> 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 From oliver.rauch at rauch-domain.de Mon Jan 12 18:34:27 2004 From: oliver.rauch at rauch-domain.de (Oliver Rauch) Date: Mon, 12 Jan 2004 19:34:27 +0100 Subject: [sane-devel] sanei_thread: pthread test on linux possible? In-Reply-To: <20040112181259.GD1558@meier-geinitz.de> References: <200401121849.15192.oliver.rauch@rauch-domain.de> <20040112181259.GD1558@meier-geinitz.de> Message-ID: <200401121934.30971.oliver.rauch@rauch-domain.de> Hello Henning > ./configure --enable-fork-process=no I already found it out :). 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? Oliver -- http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:Oliver.Rauch at Rauch-Domain.DE From oliver.rauch at rauch-domain.de Mon Jan 12 18:42:42 2004 From: oliver.rauch at rauch-domain.de (Oliver Rauch) Date: Mon, 12 Jan 2004 19:42:42 +0100 Subject: [sane-devel] Q: threads and pipes Message-ID: <200401121942.45040.oliver.rauch@rauch-domain.de> 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 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? Oliver -- http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:Oliver.Rauch at Rauch-Domain.DE From henning at meier-geinitz.de Mon Jan 12 18:47:58 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 12 Jan 2004 19:47:58 +0100 Subject: [sane-devel] sanei_thread: pthread test on linux possible? In-Reply-To: <200401121934.30971.oliver.rauch@rauch-domain.de> References: <200401121849.15192.oliver.rauch@rauch-domain.de> <20040112181259.GD1558@meier-geinitz.de> <200401121934.30971.oliver.rauch@rauch-domain.de> Message-ID: <20040112184758.GE1558@meier-geinitz.de> 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 From henning at meier-geinitz.de Mon Jan 12 19:00:02 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 12 Jan 2004 20:00:02 +0100 Subject: [sane-devel] Q: threads and pipes In-Reply-To: <200401121942.45040.oliver.rauch@rauch-domain.de> References: <200401121942.45040.oliver.rauch@rauch-domain.de> Message-ID: <20040112190002.GG1558@meier-geinitz.de> 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 From oliver.rauch at rauch-domain.de Mon Jan 12 19:17:35 2004 From: oliver.rauch at rauch-domain.de (Oliver Rauch) Date: Mon, 12 Jan 2004 20:17:35 +0100 Subject: [sane-devel] sanei_thread: pthread test on linux possible? In-Reply-To: <20040112184758.GE1558@meier-geinitz.de> References: <200401121849.15192.oliver.rauch@rauch-domain.de> <200401121934.30971.oliver.rauch@rauch-domain.de> <20040112184758.GE1558@meier-geinitz.de> Message-ID: <200401122017.37458.oliver.rauch@rauch-domain.de> 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_cancel, e.g. because a user executed a kill command for the reader_process or because of a malfunction. Oliver -- http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:Oliver.Rauch at Rauch-Domain.DE From oliver.rauch at rauch-domain.de Mon Jan 12 19:56:38 2004 From: oliver.rauch at rauch-domain.de (Oliver Rauch) Date: Mon, 12 Jan 2004 20:56:38 +0100 Subject: [sane-devel] Q: threads and pipes In-Reply-To: <20040112190002.GG1558@meier-geinitz.de> References: <200401121942.45040.oliver.rauch@rauch-domain.de> <20040112190002.GG1558@meier-geinitz.de> Message-ID: <200401122056.40071.oliver.rauch@rauch-domain.de> 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 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 I tried what happens when the pipe is closed when threads are used. It is better to keep the pipe opened :) Oliver -- http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:Oliver.Rauch at Rauch-Domain.DE From oliver.rauch at rauch-domain.de Mon Jan 12 20:00:16 2004 From: oliver.rauch at rauch-domain.de (Oliver Rauch) Date: Mon, 12 Jan 2004 21:00:16 +0100 Subject: [sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try! Message-ID: <200401122100.19300.oliver.rauch@rauch-domain.de> 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! Best regards Oliver -- http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:Oliver.Rauch at Rauch-Domain.DE From spork at fasttrackmonkey.com Mon Jan 12 20:16:17 2004 From: spork at fasttrackmonkey.com (Charles Sprickman) Date: Mon, 12 Jan 2004 15:16:17 -0500 (EST) Subject: [sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try! In-Reply-To: <200401122100.19300.oliver.rauch@rauch-domain.de> References: <200401122100.19300.oliver.rauch@rauch-domain.de> Message-ID: 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.Rauch at Rauch-Domain.DE > > -- > 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 > From olaf at epkowa.co.jp Tue Jan 13 00:42:16 2004 From: olaf at epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 13 Jan 2004 09:42:16 +0900 Subject: [sane-devel] vendor linux drivers for Epson scanners In-Reply-To: <20040112172638.GA1254@newage.cs.tu-berlin.de> (Steffen Evers's message of "Mon, 12 Jan 2004 18:26:38 +0100") References: <20040112172638.GA1254@newage.cs.tu-berlin.de> Message-ID: <87smiku1av.fsf@zen.epkowa.co.jp> Steffen Evers writes: > 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. Nitpicking, I guess, but anyway ... I hate it when people confuse EPSON KOWA with EPSON. EPSON does not officially support Linux. They do however, pay EPSON KOWA to do the job for them (well part of it at least :-). To get at least basic support for the RX500, all you would have to do is add the USB id to epson_usb.c and recompile. If that's too much of a hassle, you could also add usb 0x04b8 0x0807 to your epson.conf file. Support for the RX500 (aka RX510) is planned for iscan-1.7.0. > 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 ! As Henning already mentioned, part of the code of "Image Scan! for Linux" is covered under the EPSON KOWA Public Licence. While this licence is compatible with the LGPL, most people would not call it a free licence. It is most certainly not DFSG free :-( However, the epkowa backend does not *link* with any EKPL'd code and comes under the same licensing conditions as most of the other SANE backends. What the backend does is dynamically load modules for the Perfection 1250 and Perfection 1260 if required. People that do not use these scanners do not need these non-free modules. People that do, can use the plustek backend. With the upcoming release of iscan-1.6.0 (scheduled January 16), it also loads a non-free module for the Perfection 3170. The frontend provided by "Image Scan! for Linux" links with a EKPL'd library, making it essentially non-free. > So, you could use it for SANE, can't you? > > Have fun! > > I will check the scanner drivers for the 2400 tonight... The Perfection 2400 is supported by both the epson and epkowa backends so you should have no trouble getting it to work. -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From olaf at epkowa.co.jp Tue Jan 13 00:48:09 2004 From: olaf at epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 13 Jan 2004 09:48:09 +0900 Subject: [sane-devel] RX500 MFP scanner In-Reply-To: <1073776126.3316.1.camel@localhost.localdomain> (M. B. W. D. Buitenhuis's message of "Sun, 11 Jan 2004 00:08:46 +0100") References: <1073776126.3316.1.camel@localhost.localdomain> Message-ID: <87oet8u112.fsf@zen.epkowa.co.jp> "M.B.W.D. Buitenhuis" writes: > Could someone help me to get the scanner part of this device working? > I haven't got it working although I've got it recognised as a RX500. > The problem is that it somehow cannot switch the device on. For a sufficiently new version of sane-backends all that should be needed is adding usb 0x04b8 0x0807 to your epson.conf. Alternatively, you can add an entry for it in epson_usb.c and recompile. That would make the addition to epson.conf superfluous. You should at least be able to scan, other functionality may not be fully supported. > If I start xsane as a user I don't get to see the device, but as root it > gives me the option of using my TV-card or the RX500 device. > After selecting the RX500 xsane starts well. Now if I want to make a > scan or a prescan it generates a message that it cant switch on the > device. "wrong/false argument". I doubt the v4l backend (using your TV-card) will work. Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From olaf at epkowa.co.jp Tue Jan 13 00:50:36 2004 From: olaf at epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 13 Jan 2004 09:50:36 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <1073919837.4417.8.camel@localhost.localdomain> (Julian Gough's message of "13 Jan 2004 00:03:57 +0900") References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> Message-ID: <87k73wu0wz.fsf@zen.epkowa.co.jp> Julian Gough writes: > Thanks for the info. > > firstly there's no file ending in .bin in the windows directory. The > best I could find is "estwm.exe", so I used that. I couuld find on the > installation disk "LAYOUT.BIN", but that doesn't look useful to me. I > also just copied the file (estwm.exe) across to linux because my kernel > doesn't support the windows filesystem so I can't mount it. The file you are looking for is esfw3e.bin. > I didn't understand this: >> If possible please send me a debug log from >> "SANE_DEBUG_SNAPSCAN scanimage -L > debug.log" Looks like Oliver forget to add a value there. He probably meant SANE_DEBUG_SNAPSCAN=255 scanimage -> > debug.log > since SANE_DEBUG_SNAPSCAN looks like a variable not a command, however > executing "scanimage -L" yields the usual: > No scanners were identified Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From olaf at epkowa.co.jp Tue Jan 13 02:54:43 2004 From: olaf at epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 13 Jan 2004 11:54:43 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <1073960870.4410.4.camel@localhost.localdomain> (Julian Gough's message of "13 Jan 2004 11:27:50 +0900") References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> <1073960870.4410.4.camel@localhost.localdomain> Message-ID: <873caktv64.fsf@zen.epkowa.co.jp> Julian Gough writes: > On Tue, 2004-01-13 at 09:50, Olaf Meeuwissen wrote: > >> The file you are looking for is esfw3e.bin. > > Graet! I got it. It was in a different place. > >> SANE_DEBUG_SNAPSCAN=255 scanimage -> > debug.log I meant to write -L, not ->, up there but I think you figured that much. > Same old, same old. > I just get No scanners were identified. Did you also update the firmware line near the top of snapscan.conf. Note that it can only handle *one* such line. If you dumped your esfw3e.bin in /usr/local/share, you should have firmware /usr/local/share/esfw3e.bin in there. > I am kind of getting the feeling it's not even trying. Should I delete > all '.conf' files and remove all entries except the one for my scanner? No, don't. If you don't want SANE to try all the backends installed, comment out the ones you don't want in dll.conf. So if you only want to try the snapscan backend, comment out all the others. > Am I right to use > usb 0x04b8 0x0120 > or should I be using > libusb:001:003 You should be using "usb 0x04b8 0x0120". That is assuming the USB product ID is 0x0120 (I don't remember off the top of my head). > Thanks for the help thus far. You're welcome. -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From saneuser at sportingwheelies.org.au Tue Jan 13 06:10:11 2004 From: saneuser at sportingwheelies.org.au (Brad) Date: Tue, 13 Jan 2004 16:10:11 +1000 Subject: [sane-devel] Wanted Linux scanner... Message-ID: <40038BC3.1030601@sportingwheelies.org.au> Can anyone recommend a scanner that runs with Linux? We had an HP6300 SCSI scanner that worked PERFECTLY with Red Hat 9 out of the box using xsane, but it has failed and HP are no longer repairing them. We need a high quality unit with high scanning speed. I have been to: http://www.sane-project.org/sane-mfgs.html but all the compatible scanners listed are on longer available. I have rung HP, but in spite of their crowing about how they are now supporting Linux in a big way, they apparently don't have anything. Can anyone offer any advice? Regards, Brad From blackdir at yahoo.com Tue Jan 13 06:27:55 2004 From: blackdir at yahoo.com (Lone Directory) Date: Mon, 12 Jan 2004 22:27:55 -0800 (PST) Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040112172635.GB1558@meier-geinitz.de> Message-ID: <20040113062755.40285.qmail@web10402.mail.yahoo.com> --- 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 From gerhard at gjaeger.de Tue Jan 13 06:51:24 2004 From: gerhard at gjaeger.de (Gerhard Jaeger) Date: Tue, 13 Jan 2004 07:51:24 +0100 Subject: [sane-devel] Q: threads and pipes In-Reply-To: <200401122056.40071.oliver.rauch@rauch-domain.de> References: <200401121942.45040.oliver.rauch@rauch-domain.de> <20040112190002.GG1558@meier-geinitz.de> <200401122056.40071.oliver.rauch@rauch-domain.de> Message-ID: <200401130751.24520.gerhard@gjaeger.de> Hi, On Monday 12 January 2004 20:56, Oliver Rauch wrote: [SNIPSNAP] > > 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 :) indeed it is better ;-) You should always keep in mind, that when using threads you still live in the same process-space - per definition. This means, that nothing will be inheritet like in the fork case. In your reader thread you have the same pipe-descriptors, like in the main programm context. If you close it in the thread, then it's closed for the whole process. That's why I introduced the sanei_thread_is_forked() function. That's also, why the MacOSX guys want to use threads instead of fork, because of the buggy fork implementation, the descriptors are not inheritet to the child process... Good luck... Gerhard From gerhard at gjaeger.de Tue Jan 13 06:56:45 2004 From: gerhard at gjaeger.de (Gerhard Jaeger) Date: Tue, 13 Jan 2004 07:56:45 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040113062755.40285.qmail@web10402.mail.yahoo.com> References: <20040113062755.40285.qmail@web10402.mail.yahoo.com> Message-ID: <200401130756.45794.gerhard@gjaeger.de> On Tuesday 13 January 2004 07:27, Lone Directory wrote: [SNIPSNAP] > > 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? Probably not, should be the scanners' memory... Can't you see, what's printed on the others? Ciao, Gerhard > > Maybe it's possible to find out the chipset used > > that way. > > please give me other advices to identify the chipset. From randolph at panix.com Tue Jan 13 09:17:21 2004 From: randolph at panix.com (Randolph Fritz) Date: Tue, 13 Jan 2004 01:17:21 -0800 Subject: [sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try! In-Reply-To: <200401122100.19300.oliver.rauch@rauch-domain.de> References: <200401122100.19300.oliver.rauch@rauch-domain.de> Message-ID: <20040113091720.GA584@thedoor.local.> On Mon, Jan 12, 2004 at 09:00:16PM +0100, Oliver Rauch wrote: > > 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. > "Failed to start scanner: Unknown SANE status code -1." Stops in the same place it always has. I am wondering if the Umax Vista-S6E SCSI scanner works with any recent version of SANE or if I have a really, really version of that model. MacOS 10.2.8. Debugging log attached. Randolph -------------- next part -------------- A non-text attachment was scrubbed... Name: debugging_output_3.gz Type: application/x-gunzip Size: 7481 bytes Desc: not available URL: From mike at alezan.org Tue Jan 13 13:49:45 2004 From: mike at alezan.org (Mickael Profeta) Date: Tue, 13 Jan 2004 14:49:45 +0100 Subject: [sane-devel] HP Scanjet 3670... In-Reply-To: <4002721F.6020302@users.sourceforge.net> References: <20040109123857.GA27118@sugarpie> <400162BC.5040308@alezan.org> <4002721F.6020302@users.sourceforge.net> Message-ID: <4003F779.5020804@alezan.org> Hi 1. I put my log obtaines with Snoopypro (0.22) here: http://www.alezan.org/hp3670/ 2. The scan is still running correctly after the preview, but I have no logs anymore in Snoopy (can test another usb sniffer maybe...) 3. and 4. Yes all is working correctly with the scanner, just no logs anymore... Mike Adrian Perez Jorge wrote: > 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. From mike at alezan.org Tue Jan 13 13:51:54 2004 From: mike at alezan.org (Mickael Profeta) Date: Tue, 13 Jan 2004 14:51:54 +0100 Subject: [sane-devel] HP Scanjet 3670... In-Reply-To: References: Message-ID: <4003F7FA.6000305@alezan.org> Hi Great Job! I know that Hp is not producing all the chipset, but in fact if we can know who is this 3rd party would be a first step... After it will be better of course if we can have an agreement with them and have the doc... thanks for your investigations Mike Sanjay Chigurupati wrote: > 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 From oliver.rauch at rauch-domain.de Tue Jan 13 15:40:03 2004 From: oliver.rauch at rauch-domain.de (Oliver Rauch) Date: Tue, 13 Jan 2004 16:40:03 +0100 Subject: [sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try! In-Reply-To: <20040113091720.GA584@thedoor.local.> References: <200401122100.19300.oliver.rauch@rauch-domain.de> <20040113091720.GA584@thedoor.local.> Message-ID: <200401131640.05761.oliver.rauch@rauch-domain.de> Hello Randolph, your problem has nothing to do with fork(), the backend does not reach to the position where the reader_process is started, the problem already oocurs while calibration: [umax] scanner reserved [umax] sending 3 * 256 bytes of gamma data for RGB [umax] send_gamma_data [umax] using gamma download curve format type 2 [umax] set_window_param [umax] window descriptor block created with 82 bytes [umax] window(s) set [umax] start_scan [umax] starting scan [umax] do_calibration [umax] wait_scanner [umax] scanner reports Error during device I/O, waiting ... [umax] scanner does not get ready [umax] trying to release scanner ... But to answer your other question at first: the scanner IS supported. There are some possible reasons for the problem like - bad scsi buffer size - bad scsi driver - bad scsi cables or termination Please redo the test with export SANE_DEBUG_SANEI_SCSI=128 and please also take a look at the kernel log file if you find any scsi errors there. Oliver On Tuesday 13 January 2004 10:17, Randolph Fritz wrote: > On Mon, Jan 12, 2004 at 09:00:16PM +0100, Oliver Rauch wrote: > > 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. > > "Failed to start scanner: Unknown SANE status code -1." > > Stops in the same place it always has. I am wondering if the Umax > Vista-S6E SCSI scanner works with any recent version of SANE or if I > have a really, really version of that model. > > MacOS 10.2.8. Debugging log attached. > > Randolph -- http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:Oliver.Rauch at Rauch-Domain.DE From oliver.rauch at rauch-domain.de Tue Jan 13 15:50:28 2004 From: oliver.rauch at rauch-domain.de (Oliver Rauch) Date: Tue, 13 Jan 2004 16:50:28 +0100 Subject: [sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try! In-Reply-To: References: <200401122100.19300.oliver.rauch@rauch-domain.de> Message-ID: <200401131650.30485.oliver.rauch@rauch-domain.de> Hello Charles. I can not help you compiling sane-backends on Mac OS-X. Please ask somone who already did it. Oliver On Monday 12 January 2004 21:16, Charles Sprickman wrote: > 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.Rauch at Rauch-Domain.DE > > > > -- > > 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 -- http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:Oliver.Rauch at Rauch-Domain.DE From christopherlmarshall at yahoo.com Tue Jan 13 16:47:53 2004 From: christopherlmarshall at yahoo.com (Christopher Marshall) Date: Tue, 13 Jan 2004 08:47:53 -0800 (PST) Subject: [sane-devel] meaning of "--contrast" option to backend In-Reply-To: <200401131650.30485.oliver.rauch@rauch-domain.de> Message-ID: <20040113164753.21832.qmail@web41508.mail.yahoo.com> I was just curious if specifying a contrast argument to the backend is different from doing a default scan and adjusting the contrast in the gimp after the scan. I would imagine that it does mean something different in that you would be setting the contrast before the A/D step in the scanner if you specified such a parameter to the backend. Using the gimp afterward to adjust the contrast would introduce additional quantization noise (over and above specifying it to the backend prior). Am I right? Or is the backend trying to save me an extra step (essentially a convienence feature)? Chris Marshall __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From anoah at pfeiffer.edu Tue Jan 13 16:53:49 2004 From: anoah at pfeiffer.edu (m. allan noah) Date: Tue, 13 Jan 2004 11:53:49 -0500 (EST) Subject: [sane-devel] meaning of "--contrast" option to backend In-Reply-To: <20040113164753.21832.qmail@web41508.mail.yahoo.com> Message-ID: depends on the scanner. more expensive models will change the lut the a/d uses inside the scanner. cheaper models will do this in the backend. which scanner/backend are you using? allan On Tue, 13 Jan 2004, Christopher Marshall wrote: > I was just curious if specifying a contrast argument to the backend is different from doing a > default scan and adjusting the contrast in the gimp after the scan. > > I would imagine that it does mean something different in that you would be setting the contrast > before the A/D step in the scanner if you specified such a parameter to the backend. Using the > gimp afterward to adjust the contrast would introduce additional quantization noise (over and > above specifying it to the backend prior). > > Am I right? Or is the backend trying to save me an extra step (essentially a convienence > feature)? > > Chris Marshall > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > > -- "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 christopherlmarshall at yahoo.com Tue Jan 13 17:02:36 2004 From: christopherlmarshall at yahoo.com (Christopher Marshall) Date: Tue, 13 Jan 2004 09:02:36 -0800 (PST) Subject: [sane-devel] meaning of "--contrast" option to backend In-Reply-To: Message-ID: <20040113170236.22868.qmail@web41509.mail.yahoo.com> allan: I am using the CanonScan LiDE 30 with the plustek backend. Chris __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From andras at users.sourceforge.net Tue Jan 13 17:15:40 2004 From: andras at users.sourceforge.net (Major A) Date: Tue, 13 Jan 2004 17:15:40 +0000 Subject: [sane-devel] meaning of "--contrast" option to backend In-Reply-To: <20040113164753.21832.qmail@web41508.mail.yahoo.com> References: <200401131650.30485.oliver.rauch@rauch-domain.de> <20040113164753.21832.qmail@web41508.mail.yahoo.com> Message-ID: <20040113171538.GB8015@discus> > I was just curious if specifying a contrast argument to the backend > is different from doing a default scan and adjusting the contrast in > the gimp after the scan. The contrast argument is not a standard option, so it depends on the backend. Gamma curve adjustment is often better done in the scanner, simply because the scanner often has a deeper A/D converter than the 8 bits per channel of the data you get from it. Therefore performing the adjustment in the scanner gives better results. On a slow computer, you can also save time by having the scanner do the adjustment. Andras =========================================================================== Major Andras e-mail: andras at users.sourceforge.net www: http://andras.webhop.org/ =========================================================================== From hanke at volny.cz Tue Jan 13 19:44:22 2004 From: hanke at volny.cz (Hynek Hanke) Date: Tue, 13 Jan 2004 20:44:22 +0100 Subject: [sane-devel] Packard Bell 2450 works with gt68xx (and problems) Message-ID: <20040113194422.GD2159@volny.cz> Hi all, the Packard Bell Diamond 2450, which you didn't have any information about if I understand correctly, seems to work with the gt68xx driver! My girlfriend received it as a pressent so I had no other choice than to try ;) I copied the firmvare .usb file from the CD with MS Windows drivers into the right location, as described in the manpage to gt68xx. It's normally available on the CD, it's not compressed in an .exe or something. Then I uncommented gt68xx in /etc/sane.d/dll.conf. Now it's detected by sane-something or what is the detection tool for USB scanners called (I don't have a scanner myself and I'm not sitting at that box). scanimage -L also reports the device and driver correctly and I was able to scan some images through scanimage both grayscale and in color. The quality of the resulting image is perfect, max. resolution is also ok. On the other hand, it does some strange things: -- it's heating the lamp for a long time (like 10 seconds or so) before scanning. -- when scanning is over, the lamp doesn't return smoothly, but moves like 1/3 of the distance, than stops for some time and makes some strange sound, than moves another 1/3 and another one (2 or 3 stops total). it doesn't hurt anything, but it's annoying to wait all the time. is there some simple workaround? Under these circumstances, until the above problems are solved, I think you can put Packard Bell Diamond 2450 as supported in the list in alpha state or what's your scale. I'm happy to help you if I can, but only as a user. I speak C :), but currently I don't have time to work on this unfortunatelly Now I thing this is more of a user configuration problem (mine), but I wasn't able to set her some nice X scanning application. I tried xsane, but after I agree to the license, it displays some "searching for available devices" and then immediatelly "no device found". I have no chance to specify the device manually or something, I just have to click OK. To scanimage, I can pass the -d option, but what can I do about xsane if it doesn't find the device immediatelly? Is there a configuration file where I can specify something like gt68xx:/dev/usb/scanner0? I then installed xscanimage to gimp successfully, but again, when I want to "acquire image" it just prints that "no device available" or "no device found" or something like this. The manpage gives advice to specify it manually, but how do I do it when executing xscanimage under gimp? Do these two apps require "saned" running? I couldn't execute it for some reason, something like that the port can't be open or so, but I don't remember well. If you tell me saned is important, I'll go and look at the particular error message. It was on a RedHat 9 box with Sane 1.0.10 and the most recent stable tarball of xscanimage I could found on author's pages with Gimp 1.2. I'm sorry some of the information is such fuzzy. If you consider some of the details important, I'll go and look at the computer. So I hope the info about the status of Diamond 2450 helps you a little bit & many thanks for Sane and for your advices on my problems with the GUI, Hynek http://www.freebsoft.org Free Software for Blind and Visually Impaired From gough at gsc.riken.jp Tue Jan 13 02:27:50 2004 From: gough at gsc.riken.jp (Julian Gough) Date: 13 Jan 2004 11:27:50 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <87k73wu0wz.fsf@zen.epkowa.co.jp> References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> Message-ID: <1073960870.4410.4.camel@localhost.localdomain> On Tue, 2004-01-13 at 09:50, Olaf Meeuwissen wrote: > The file you are looking for is esfw3e.bin. Graet! I got it. It was in a different place. > SANE_DEBUG_SNAPSCAN=255 scanimage -> > debug.log Same old, same old. I just get No scanners were identified. I am kind of getting the feeling it's not even trying. Should I delete all '.conf' files and remove all entries except the one for my scanner? Am I right to use usb 0x04b8 0x0120 or should I be using libusb:001:003 Thanks for the help thus far. Julian From gough at gsc.riken.go.jp Tue Jan 13 03:15:01 2004 From: gough at gsc.riken.go.jp (Julian Gough) Date: 13 Jan 2004 12:15:01 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <873caktv64.fsf@zen.epkowa.co.jp> References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> <1073960870.4410.4.camel@localhost.localdomain> <873caktv64.fsf@zen.epkowa.co.jp> Message-ID: <1073963701.4558.90.camel@tao> On Tue, 2004-01-13 at 11:54, Olaf Meeuwissen wrote: > I meant to write -L, not ->, up there but I think you figured that > much. yep! Got it this time, > > > Same old, same old. > > I just get No scanners were identified. > > Did you also update the firmware line near the top of snapscan.conf. > Note that it can only handle *one* such line. If you dumped your > esfw3e.bin in /usr/local/share, you should have > > firmware /usr/local/share/esfw3e.bin Yes. /home/gough/download/ESFW3E.BIN that's where it is > No, don't. If you don't want SANE to try all the backends installed, > comment out the ones you don't want in dll.conf. So if you only want > to try the snapscan backend, comment out all the others. OK, I'll try that tonight. > > You should be using "usb 0x04b8 0x0120". That is assuming the USB > product ID is 0x0120 (I don't remember off the top of my head). Yes. as reported by lsusb, and sane-find-scanner. That's what I've been using. So it's a dead-end then? Julian From amitofsk at obiwan.csl.uiuc.edu Tue Jan 13 05:36:07 2004 From: amitofsk at obiwan.csl.uiuc.edu (Andy Mitofsky) Date: Mon, 12 Jan 2004 23:36:07 -0600 Subject: [sane-devel] sane frontend questions Message-ID: <20040113053607.GB10111@obiwan.csl.uiuc.edu> 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 From blackdir at yahoo.com Tue Jan 13 19:22:00 2004 From: blackdir at yahoo.com (Lone Directory) Date: Tue, 13 Jan 2004 11:22:00 -0800 (PST) Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <200401130756.45794.gerhard@gjaeger.de> Message-ID: <20040113192200.83238.qmail@web10409.mail.yahoo.com> --- Gerhard Jaeger wrote: > > > > 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? > > Probably not, should be the scanners' memory... > Can't you see, what's printed on the others? > Well the smaller chip says EliteMT 100Mhz while the bigger one shows only numbers on two diffrent lines as shown below: 26-00204-00A 0314FGKC9-10 The manual that is available on HP site (www2.hp.com/en/taskPageSelect.jhtml?reg=&plc=&lc=en&cc=us&prodId=hpscanjet3298544&pagetype=manual&docparent=manual) is mentioning also another model: Scanjet 370. Attached you can find the output of sane-find-scanner and /proc : Is there anything else that I can do to make it work? Shall I make some specific test (maybe with snoopy) and post here the outcome? regards, Timur >sane-find-scanner -v -v [SNIP] bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 9 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 0.00 iManufacturer 0 () iProduct 2 ((null)) iSerialNumber 1 ((null)) bNumConfigurations 1 bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 64 (Self-powered) MaxPower 0 mA bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 () bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 3 (interrupt) wMaxPacketSize 8 bInterval 255 ms bRefresh 0 bSynchAddress 0 bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 255 bDeviceSubClass 255 bDeviceProtocol 255 bMaxPacketSize0 8 idVendor 0x03F0 idProduct 0x1405 bcdDevice 1.00 iManufacturer 1 ((null)) iProduct 2 ((null)) iSerialNumber 12 ((null)) bNumConfigurations 1 bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 192 (Self-powered) MaxPower 48 mA bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 bInterfaceSubClass 255 bInterfaceProtocol 255 iInterface 0 () bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 2 (bulk) wMaxPacketSize 64 bInterval 0 ms bRefresh 0 bSynchAddress 0 bLength 7 bDescriptorType 5 bEndpointAddress 0x02 (out 0x02) bmAttributes 2 (bulk) wMaxPacketSize 64 bInterval 0 ms bRefresh 0 bSynchAddress 0 bLength 7 bDescriptorType 5 bEndpointAddress 0x83 (in 0x03) bmAttributes 3 (interrupt) wMaxPacketSize 1 bInterval 8 ms bRefresh 0 bSynchAddress 0 checking for GT-6801 ... this is not a GT-6801 (bNumEndpoints = 3) checking for GT-6816 ... this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255) checking for MA-1017 ... this is not a MA-1017 (bDeviceClass = 255, bInterfaceClass = 255) checking for MA-1015 ... this is not a MA-1015 (bcdUSB = 0x110) checking for MA-1509 ... this is not a MA-1509 (bEndpointAddress = 0x81, bmAttributes = 0x2, wMaxPacketSize = 0x40, bInterval = 0x0) checking for LM983[1,2,3] ... this is not a LM983x (bDeviceSubClass = 0xff) checking for GL646 ... this is not a GL646 (bDeviceClass = 255, bInterfaceClass = 255) checking for GL660+GL646 ... this is not a GL660+GL646 (bDeviceClass = 255, bInterfaceClass = 255) found USB scanner (vendor=0x03f0, product=0x1405) at libusb:005:003 bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 9 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 0.00 iManufacturer 0 () iProduct 2 ((null)) iSerialNumber 1 ((null)) bNumConfigurations 1 bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 64 (Self-powered) MaxPower 0 mA bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 () bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 3 (interrupt) wMaxPacketSize 8 bInterval 255 ms bRefresh 0 bSynchAddress 0 bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 9 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 0.00 iManufacturer 0 () iProduct 2 ((null)) iSerialNumber 1 ((null)) bNumConfigurations 1 bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 64 (Self-powered) MaxPower 0 mA bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 () bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 3 (interrupt) wMaxPacketSize 8 bInterval 255 ms bRefresh 0 bSynchAddress 0 bLength 18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass 9 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 0.00 iManufacturer 0 () iProduct 2 ((null)) iSerialNumber 1 ((null)) bNumConfigurations 1 bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 64 (Self-powered) MaxPower 0 mA bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 () bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 3 (interrupt) wMaxPacketSize 8 bInterval 255 ms bRefresh 0 bSynchAddress 0 bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 bDeviceSubClass 0 bDeviceProtocol 1 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.04 iManufacturer 3 ((null)) iProduct 2 ((null)) iSerialNumber 1 ((null)) bNumConfigurations 1 bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 64 (Self-powered) MaxPower 0 mA bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 () bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 3 (interrupt) wMaxPacketSize 2 bInterval 12 ms bRefresh 0 bSynchAddress 0 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Scanners connected to the parallel port or other proprietary ports can't be # detected by this program. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary. done ---------- >cat /proc/bus/usb/devices T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ef80 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=05 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1 P: Vendor=03f0 ProdID=1405 Rev= 1.00 S: Manufacturer=Hewlett-Packard S: Product=HP Scanjet Scanner S: SerialNumber=CN36CS24D4 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 48mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=8ms T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ef40 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ef20 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ef00 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.04 S: Manufacturer=Linux 2.4.21-166-smp4G ehci_hcd S: Product=Intel Corp. 82801EB USB2 Enhanced Host Controller S: SerialNumber=00:1d.7 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From adrianpj at users.sourceforge.net Tue Jan 13 20:03:01 2004 From: adrianpj at users.sourceforge.net (Adrian Perez Jorge) Date: Tue, 13 Jan 2004 20:03:01 +0000 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040113192200.83238.qmail@web10409.mail.yahoo.com> References: <20040113192200.83238.qmail@web10409.mail.yahoo.com> Message-ID: <40044EF5.9090202@users.sourceforge.net> Hi! Just for today I could get access to a HP3670 scanner- If you execute this command line in linux, and using the files supplied in the CD-ROM: strings hpgt2436.dll | more you will find those strings: Device_638_A07 GL646U Sparrow GL646 Setting so at first it's possible the scanner is using Genesys Logic's single-chip GeneScan? II or similar. I also opened the scanner. The EliteMT chip is memory, and the L6219DS is the power driver for stepper motor. The bigger one says 26-00204-00A 0323FGSPW-10 So it seems the key is 26-00204-00. There are also some mentions to something called Tulip Driver in the dll files. More to come. Adrian P.J. Lone Directory wrote: >Well the smaller chip says EliteMT 100Mhz while the >bigger one shows only numbers on two diffrent lines as >shown below: > >26-00204-00A >0314FGKC9-10 > >The manual that is available on HP site >(www2.hp.com/en/taskPageSelect.jhtml?reg=&plc=&lc=en&cc=us&prodId=hpscanjet3298544&pagetype=manual&docparent=manual) >is mentioning also another model: Scanjet 370. > >Attached you can find the output of sane-find-scanner >and /proc : > >Is there anything else that I can do to make it work? >Shall I make some specific test (maybe with snoopy) >and post here the outcome? > >regards, >Timur > > From henning at meier-geinitz.de Tue Jan 13 20:05:49 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Tue, 13 Jan 2004 21:05:49 +0100 Subject: [sane-devel] Packard Bell 2450 works with gt68xx (and problems) In-Reply-To: <20040113194422.GD2159@volny.cz> References: <20040113194422.GD2159@volny.cz> Message-ID: <20040113200549.GN1926@meier-geinitz.de> Hi, On Tue, Jan 13, 2004 at 08:44:22PM +0100, Hynek Hanke wrote: > the Packard Bell Diamond 2450, which you didn't have > any information about if I understand correctly, Actually it's not even in our lists. > seems to work with the gt68xx driver! My girlfriend received it as a > pressent so I had no other choice than to try ;) Cool! > I copied the firmvare .usb file from the CD with MS Windows > drivers into the right location, as described in the manpage > to gt68xx. It's normally available on the CD, it's not compressed > in an .exe or something. Ok. Please tell me the name of that file. Also please send me an output of "sane-find-scanner -q" and "scanimage -L". Your scanner is probably detected because Packard Bell just put their label on a different already supported scanner. > Now it's detected by sane-something or what is the > detection tool for USB scanners called (I don't have > a scanner myself and I'm not sitting at that box). sane-find-scanner > scanimage -L also reports the device and driver correctly I guess it doesn't say "Packard Bell 2450", however :-) > and I was able to scan some images through scanimage both > grayscale and in color. The quality of the resulting image > is perfect, max. resolution is also ok. Ok. > On the other hand, it does some strange things: > -- it's heating the lamp for a long time (like 10 seconds or so) > before scanning. That's normal. Actually, it should heat upto 30 seconds at least for the first scan. If you use a tool like xsane instead of scanimage, heating should only happen before the first scan. > -- when scanning is over, the lamp doesn't return smoothly, but > moves like 1/3 of the distance, than stops for some time and makes some > strange sound, than moves another 1/3 and another one (2 or 3 > stops total). it doesn't hurt anything, but it's annoying to > wait all the time. I haven't headr abou this yet. I think returning the scanhead is done by the firmware, not the backend but I haven't actually looked at the code. No idea how to change that. > Under these circumstances, until the above problems are solved, > I think you can put Packard Bell Diamond 2450 as supported in the > list in alpha state or what's your scale. I'm happy to help you if > I can, but only as a user. I speak C :), but currently I don't have > time to work on this unfortunatelly Thanks for your report. I'll add this scanner to the lists. > Now I thing this is more of a user configuration problem (mine), > but I wasn't able to set her some nice X scanning application. > I tried xsane, but after I agree to the license, it displays > some "searching for available devices" and then immediatelly > "no device found". I have no chance to specify the device > manually or something, I just have to click OK. To scanimage, > I can pass the -d option, but what can I do about xsane if > it doesn't find the device immediatelly? Is there a configuration > file where I can specify something like gt68xx:/dev/usb/scanner0? Do you need the "-d" for scanimage? You shouldn't need it. If you need it, "gt68xx" is usually not listed in dll.conf. If you don't need it for scanimage but xsane doesn't find your scanner it may be a permission problem (if you run scanimage as root but not xsane). See "man sane-usb" for some details. If that's also not the case you may have installed two different versions of SANE, e.g. the one from your distribution and one that you compiled yourself. xsane uses the old one... You can specify the device manually, e.g. "xsane gt68xx:/dev/usb/scanner". But that shouldn't be necessary. > I then installed xscanimage to gimp successfully, but again, > when I want to "acquire image" it just prints that "no device > available" or "no device found" or something like this. The > manpage gives advice to specify it manually, but how do I do it > when executing xscanimage under gimp? I think that's not possible. > Do these two apps require "saned" running? No. > It was on a RedHat 9 box with Sane 1.0.10 and the most recent > stable tarball of xscanimage I could found on author's pages > with Gimp 1.2. 1.0.11 is the latest sane-frontends version but 1.0.10 should be also ok. Thanks for your detailed report! Bye, Henning From henning at meier-geinitz.de Tue Jan 13 20:27:09 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Tue, 13 Jan 2004 21:27:09 +0100 Subject: [sane-devel] Sane USB problem with HP ScanJet 5300C on FreeBSD-5.2-RC2/amd64 In-Reply-To: <200401111434.24177.thomas.pasch@gmx.de> References: <200401111434.24177.thomas.pasch@gmx.de> Message-ID: <20040113202709.GO1926@meier-geinitz.de> Hi, On Sun, Jan 11, 2004 at 02:34:24PM +0100, Thomas Pasch wrote: > I'm trying to get my scanner to work on FreeBSD 5.2-RC2/amd64. I can "see" > the scanner with sane-find-scanner and usbdevs but scanimage seems to hang. > > I'm using the sane-backends-1.0.12_3 and sane-frontends-1.0.11 and > libusb-0.1.7_1 from the package tree (but also tried ports and a newer > backends version as well). > > See attached the DEBUG output of "scanimage -L". For me it looks like > the scanner is found and a request is written to it, but there is never an > anwer. [...] [avision] attach: sending INQUIRY [avision] try to write cmd, count: 6. [sanei_usb] sanei_usb_write_bulk: trying to write 6 bytes [sanei_usb] 0000: 12 00 00 00 60 00 ............... I'm really no avision expert but that's the first command that's sent to the scanner. While the uscanner driver can't cope with control messages, bulk messages should be ok. So I'm a bit surprised that it fails there. > Beside, how do I use libusb on 5.2? The man pages are saying something > about creating /dev/ugen* but as 5.2 uses devfs, you can't create it and it > isn't there. At least on Linux, libusb only works if the scanner is not claimed by a different driver, e.g. uscanner. So you must tell uscanner not to detect your scanner. I don't know if that works without recompiling without uscanner support. I guess ugen will getect the scanner once uscnner doesn't and the device will show up. Bye, Henning From jb at jblache.org Tue Jan 13 20:30:52 2004 From: jb at jblache.org (Julien BLACHE) Date: Tue, 13 Jan 2004 21:30:52 +0100 Subject: [sane-devel] sane frontend questions In-Reply-To: <20040113053607.GB10111@obiwan.csl.uiuc.edu> (Andy Mitofsky's message of "Mon, 12 Jan 2004 23:36:07 -0600") References: <20040113053607.GB10111@obiwan.csl.uiuc.edu> Message-ID: <87k73vmw03.fsf@frigate.technologeek.org> Andy Mitofsky wrote: Hi, > 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. By default, sane-frontends up to 1.0.11 will build the gimp1.2 plugin and thus will use GTK 1.2. You have GTK 2 installed. If you want to build with GTK 2, run configure --disable-gimp. This will change in the next version of sane-frontends. It'll default to GIMP 2.0 and GTK 2. (sane-frontends 1.0.12 will probably be released after GIMP 2.0 final, unless Henning decides to make a release sooner) JB. -- Julien BLACHE GPG KeyID 0xF5D65169 From henning at meier-geinitz.de Tue Jan 13 20:42:10 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Tue, 13 Jan 2004 21:42:10 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040113192200.83238.qmail@web10409.mail.yahoo.com> References: <200401130756.45794.gerhard@gjaeger.de> <20040113192200.83238.qmail@web10409.mail.yahoo.com> Message-ID: <20040113204210.GP1926@meier-geinitz.de> Hi, On Tue, Jan 13, 2004 at 11:22:00AM -0800, Lone Directory wrote: > The manual that is available on HP site > (www2.hp.com/en/taskPageSelect.jhtml?reg=&plc=&lc=en&cc=us&prodId=hpscanjet3298544&pagetype=manual&docparent=manual) > is mentioning also another model: Scanjet 370. 3670? These scanners (their descriptors) really look identical. That's what I have noted until now: http://www.sane-project.org/unsupported/hp-scanjet-3690.html http://www.sane-project.org/unsupported/hp-scanjet-3670c.html Additions welcome. Bye, Henning From henning at meier-geinitz.de Tue Jan 13 20:44:30 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Tue, 13 Jan 2004 21:44:30 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <40044EF5.9090202@users.sourceforge.net> References: <20040113192200.83238.qmail@web10409.mail.yahoo.com> <40044EF5.9090202@users.sourceforge.net> Message-ID: <20040113204430.GQ1926@meier-geinitz.de> Hi, On Tue, Jan 13, 2004 at 08:03:01PM +0000, Adrian Perez Jorge wrote: > strings hpgt2436.dll | more > > you will find those strings: > > Device_638_A07 > GL646U > Sparrow > GL646 Setting > > so at first it's possible the scanner is using Genesys Logic's > single-chip GeneScan? II or similar. The USB device descriptor does not look like gl646 or gl841, however. > The bigger one says > > 26-00204-00A > 0323FGSPW-10 > > So it seems the key is 26-00204-00. Same as on 3670. If it's a GL646, "sane-find-scanner -v -v" should be abale to detect the chipset. Bye, Henning From oliver.rauch at rauch-domain.de Tue Jan 13 20:52:36 2004 From: oliver.rauch at rauch-domain.de (Oliver Rauch) Date: Tue, 13 Jan 2004 21:52:36 +0100 Subject: [sane-devel] sane frontend questions In-Reply-To: <20040113053607.GB10111@obiwan.csl.uiuc.edu> References: <20040113053607.GB10111@obiwan.csl.uiuc.edu> Message-ID: <200401132152.39992.oliver.rauch@rauch-domain.de> When I remeber right then sane-frontends needs gtk+-1.0 or gtk+-1.2, as far as I know gtk+-2.0. and 2.2 are not supported. May be you like to try xsane: http://www.xsane.org or quiteinsane or any other frontend. Oliver On Tuesday 13 January 2004 06:36, Andy Mitofsky wrote: > 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 -- http://www.xsane.org http://www.mostang.com/sane http://www.rauch-domain.de mailto:Oliver.Rauch at Rauch-Domain.DE From henning at meier-geinitz.de Tue Jan 13 20:56:38 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Tue, 13 Jan 2004 21:56:38 +0100 Subject: [sane-devel] sane frontend questions In-Reply-To: <200401132152.39992.oliver.rauch@rauch-domain.de> References: <20040113053607.GB10111@obiwan.csl.uiuc.edu> <200401132152.39992.oliver.rauch@rauch-domain.de> Message-ID: <20040113205638.GR1926@meier-geinitz.de> Hi, On Tue, Jan 13, 2004 at 09:52:36PM +0100, Oliver Rauch wrote: > When I remeber right then sane-frontends needs gtk+-1.0 or gtk+-1.2, > as far as I know gtk+-2.0. and 2.2 are not supported. Correct. The development version of xscanimage supports gtk2, howver. Bye, Henning From khk at khk.net Tue Jan 13 22:40:29 2004 From: khk at khk.net (Karl Heinz Kremer) Date: Tue, 13 Jan 2004 17:40:29 -0500 Subject: [sane-devel] Wanted Linux scanner... In-Reply-To: <40038BC3.1030601@sportingwheelies.org.au> References: <40038BC3.1030601@sportingwheelies.org.au> Message-ID: <7D6E9037-4619-11D8-A5BE-000A957E40E8@khk.net> The EPSON Perfection 3200, 2450 and 2400 are fully supported by the EPSON backend. Other scanners are supported by e.g. the snapscan or the plusteck backend, but I cannot comment on how good they work (I don't have access to any of these). The EPSON KOWA IScan software (available at http://www.epkowa.co.jp/english/linux_e/index.html) supports most current EPSON scanners. Karl Heinz On Jan 13, 2004, at 1:10 AM, Brad wrote: > Can anyone recommend a scanner that runs with Linux? > > We had an HP6300 SCSI scanner that worked PERFECTLY with Red Hat 9 out > of the box using xsane, but it has failed and HP are no longer > repairing them. We need a high quality unit with high scanning speed. > > I have been to: > > http://www.sane-project.org/sane-mfgs.html > > but all the compatible scanners listed are on longer available. I have > rung HP, but in spite of their crowing about how they are now > supporting Linux in a big way, they apparently don't have anything. > > Can anyone offer any advice? > > Regards, > Brad > > -- > 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 From dveatch at woh.rr.com Tue Jan 13 23:04:03 2004 From: dveatch at woh.rr.com (Dennis Veatch) Date: Tue, 13 Jan 2004 18:04:03 -0500 Subject: [sane-devel] Wanted Linux scanner... In-Reply-To: <7D6E9037-4619-11D8-A5BE-000A957E40E8@khk.net> References: <40038BC3.1030601@sportingwheelies.org.au> <7D6E9037-4619-11D8-A5BE-000A957E40E8@khk.net> Message-ID: <200401131804.03385.dveatch@woh.rr.com> On Tuesday 13 January 2004 05:40 pm, Karl Heinz Kremer wrote: > The EPSON Perfection 3200, 2450 and 2400 are fully supported by the > EPSON backend. Other scanners are supported by e.g. the snapscan or the > plusteck backend, but I cannot comment on how good they work (I don't > have access to any of these). The EPSON KOWA IScan software (available > at http://www.epkowa.co.jp/english/linux_e/index.html) supports most > current EPSON scanners. > > Karl Heinz I have the EPSON 2400 and it works extremely well with xsane. > > On Jan 13, 2004, at 1:10 AM, Brad wrote: > > Can anyone recommend a scanner that runs with Linux? > > > > We had an HP6300 SCSI scanner that worked PERFECTLY with Red Hat 9 out > > of the box using xsane, but it has failed and HP are no longer > > repairing them. We need a high quality unit with high scanning speed. > > > > I have been to: > > > > http://www.sane-project.org/sane-mfgs.html > > > > but all the compatible scanners listed are on longer available. I have > > rung HP, but in spite of their crowing about how they are now > > supporting Linux in a big way, they apparently don't have anything. > > > > Can anyone offer any advice? > > > > Regards, > > Brad > > > > -- > > 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 -- Registered Linux user 193414 http://counter.li.org "Trying"? My contribution was much closer to a "feeble wave in the general direction of something that might lead you one step closer to a solution if you squint really hard and do all of the work." From fbakan at gmx.net Tue Jan 13 23:29:24 2004 From: fbakan at gmx.net (Franz Bakan) Date: Wed, 14 Jan 2004 00:29:24 +0100 (CET) Subject: [sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try! In-Reply-To: <200401122100.19300.oliver.rauch@rauch-domain.de> Message-ID: On Mon, 12 Jan 2004 21:00:16 +0100, Oliver Rauch wrote: >Please could some Mac OS-X and OS/2 users test this version! It still compiles on OS/2. I will ask in the sane-os/2 mailing-list for a tester. Regards Franz From olaf at epkowa.co.jp Wed Jan 14 01:20:48 2004 From: olaf at epkowa.co.jp (Olaf Meeuwissen) Date: Wed, 14 Jan 2004 10:20:48 +0900 Subject: [sane-devel] sane frontend questions In-Reply-To: <20040113053607.GB10111@obiwan.csl.uiuc.edu> (Andy Mitofsky's message of "Mon, 12 Jan 2004 23:36:07 -0600") References: <20040113053607.GB10111@obiwan.csl.uiuc.edu> Message-ID: <87wu7vqqa7.fsf@zen.epkowa.co.jp> Andy Mitofsky writes: > 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 If you insist on compiling from "source" with gcc-3.2 or later, please get the correct tar-ball: iscan-1.5.2-1.redhat.8.0.tar.gz. The C++ ABI changed a few times between 2.9x and 3.2 and the iscan "sources" contain several closed C++ source based binary objects. The regular iscan-1.5.2-1.tar.gz is for g++-2.9x, the one mentioned above is for g++-3.2 or later. Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From color at goodcoffee.ca Wed Jan 14 07:17:53 2004 From: color at goodcoffee.ca (Jonah) Date: Wed, 14 Jan 2004 00:17:53 -0700 (MST) Subject: [sane-devel] scanning negatives, epson perfection 1670 Message-ID: <35452.192.168.0.197.1074064673.squirrel@mail.goodcoffee.ca> Hi. I've searched through the archives and discovered good reports regarding normal scaning with the epson perfection 1670. My main use of this scanner would be for scanning negatives. Has the drivers reached the point where it can scan negatives at the highest resolution? Thanks for the information, Jonah From gerhard at gjaeger.de Wed Jan 14 07:55:28 2004 From: gerhard at gjaeger.de (Gerhard Jaeger) Date: Wed, 14 Jan 2004 08:55:28 +0100 Subject: [sane-devel] meaning of "--contrast" option to backend In-Reply-To: <20040113170236.22868.qmail@web41509.mail.yahoo.com> References: <20040113170236.22868.qmail@web41509.mail.yahoo.com> Message-ID: <200401140855.28697.gerhard@gjaeger.de> On Tuesday 13 January 2004 18:02, Christopher Marshall wrote: > allan: > > I am using the CanonScan LiDE 30 with the plustek backend. > > Chris Then the contrast option manipulates the lut, as well as the brightness option. The analog front end values are not touched. Ciao, Gerhard From adrianpj at users.sourceforge.net Wed Jan 14 22:44:06 2004 From: adrianpj at users.sourceforge.net (adrianpj at users.sourceforge.net) Date: Wed, 14 Jan 2004 23:44:06 +0100 Subject: [sane-devel] HP Scanjet 3690 support Message-ID: Hi! Henning, could you take a look to the hp3670 SnoopyPro logs? It seems to follow the low level protocol of the gl646; at least the protocol in genesys_bulk_write_register() (genesys_low.c:131): outdata[0] = BULK_OUT; /* 0x01 */ outdata[1] = BULK_REGISTER; /* 0x00 */ outdata[2] = 0x00; outdata[3] = 0x00; outdata[4] = (size & 0xff); /* length of the bulk data stuff */ outdata[5] = ((size >> 8) & 0xff); outdata[6] = ((size >> 16) & 0xff); outdata[7] = ((size >> 24) & 0xff); The logs are in http://www.alezan.org/hp3670/, in SnoopyPro binary format. I tried to use usblogdump in Linux but it doesn't work very well for me. I had to analyze them in Windoze using SnoopyPro. So maybe if sane-find-scanner.c ignores device descriptors and just probe the gl646 protocol using the present USB endpoints it will tell us if really HP3690, HP2300, HP2400 and maybe other scanners are based in such chipset? Cheers, Adrian P.J. From jarillon at abul.org Thu Jan 15 10:59:38 2004 From: jarillon at abul.org (Pierre Jarillon) Date: Thu, 15 Jan 2004 11:59:38 +0100 Subject: [sane-devel] Scanner EPSON Perfection 1670 Message-ID: <200401151159.38172.jarillon@abul.org> Wrote in french http://www.abul.org/article121.html Can be useful ... -- Pierre Jarillon - http://pjarillon.free.fr/ Vice-pr?sident de l'ABUL : http://abul.org/ From christopherlmarshall at yahoo.com Thu Jan 15 15:53:11 2004 From: christopherlmarshall at yahoo.com (Christopher Marshall) Date: Thu, 15 Jan 2004 07:53:11 -0800 (PST) Subject: [sane-devel] scanners with document feeders Message-ID: <20040115155311.4193.qmail@web41508.mail.yahoo.com> Can anyone recommend a scanner that works with sane and has a document feeder? Assuming there is such a scanner... I would like to be able to invoke scanimage so that it loads a new page, scans it, and exits. With that, it is a simple matter to write scripts to handle the naming of each separate image in different ways according to application. I am trying to improve my paper filing system at home to use less paper and more image files. Being able to put a stack of paper in a scanner and have it scan one page after another under the control of a bash script would be a god-send. Chris Marshall __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From anoah at pfeiffer.edu Thu Jan 15 16:19:51 2004 From: anoah at pfeiffer.edu (m. allan noah) Date: Thu, 15 Jan 2004 11:19:51 -0500 (EST) Subject: [sane-devel] scanners with document feeders In-Reply-To: <20040115155311.4193.qmail@web41508.mail.yahoo.com> Message-ID: my company does something similar to what you describe. we started out using scanimage called from a perl script to scan individual pages. but, we needed to monitor the status of various sensors and buttons in the hardware, which sane does not give access to. so now, we dont use sane, but for your purposes, it will work. scanner we use is fujitsu fi-4120C it has scsi and usb 1.1 ports, is very small, and quite tough. but it's pretty expensive (~900 bucks retail). the older scsi fujitsu's are pretty good too (3091, 3092, etc) though they tend to not support the range of resolutions of the newer models. they also sell a less expensive fi-4110, which seems pretty good, but it uses a completely different chip, and is not really suported by sane. allan On Thu, 15 Jan 2004, Christopher Marshall wrote: > Can anyone recommend a scanner that works with sane and has a document feeder? > > Assuming there is such a scanner... > > I would like to be able to invoke scanimage so that it loads a new page, scans it, and exits. > With that, it is a simple matter to write scripts to handle the naming of each separate image in > different ways according to application. > > I am trying to improve my paper filing system at home to use less paper and more image files. > Being able to put a stack of paper in a scanner and have it scan one page after another under the > control of a bash script would be a god-send. > > Chris Marshall > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > > -- "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 john at netpurgatory.com Thu Jan 15 16:38:40 2004 From: john at netpurgatory.com (John C. Vernaleo) Date: Thu, 15 Jan 2004 11:38:40 -0500 (EST) Subject: [sane-devel] scanners with document feeders In-Reply-To: <20040115155311.4193.qmail@web41508.mail.yahoo.com> References: <20040115155311.4193.qmail@web41508.mail.yahoo.com> Message-ID: I've been using an Epson Perfection 1640 with sane for a while. It has a document feeder although it gets stuck occasionally, so probably isn't suitable for very high volume scanning. I think it was in the $300 range. On Thu, 15 Jan 2004, Christopher Marshall wrote: > Can anyone recommend a scanner that works with sane and has a document feeder? > > Assuming there is such a scanner... > > I would like to be able to invoke scanimage so that it loads a new page, scans it, and exits. > With that, it is a simple matter to write scripts to handle the naming of each separate image in > different ways according to application. > > I am trying to improve my paper filing system at home to use less paper and more image files. > Being able to put a stack of paper in a scanner and have it scan one page after another under the > control of a bash script would be a god-send. > > Chris Marshall > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > > From christopherlmarshall at yahoo.com Thu Jan 15 17:21:41 2004 From: christopherlmarshall at yahoo.com (Christopher Marshall) Date: Thu, 15 Jan 2004 09:21:41 -0800 (PST) Subject: [sane-devel] scanners with document feeders In-Reply-To: Message-ID: <20040115172141.20587.qmail@web41505.mail.yahoo.com> That sounds perfect! As for high volume, I don't need that high. If I had a good shot at scanning 20 pages at a time, I'd be willing to spend $300 to get that capability. Thanks for the steer. So, how does sane-epson handle document feeding? If I invoke scanimage, would it feed one page, scan it, and exit? That would be perfect. Chris Marshall --- "John C. Vernaleo" wrote: > I've been using an Epson Perfection 1640 with sane for a while. It has a > document feeder although it gets stuck occasionally, so probably isn't > suitable for very high volume scanning. I think it was in the $300 > range. > __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From christopherlmarshall at yahoo.com Thu Jan 15 17:23:05 2004 From: christopherlmarshall at yahoo.com (Christopher Marshall) Date: Thu, 15 Jan 2004 09:23:05 -0800 (PST) Subject: [sane-devel] scanners with document feeders In-Reply-To: Message-ID: <20040115172305.98846.qmail@web41502.mail.yahoo.com> > scanner we use is fujitsu fi-4120C it has scsi and usb 1.1 ports, is > very small, and quite tough. but it's pretty expensive (~900 bucks > retail). the older scsi fujitsu's are pretty good too (3091, 3092, etc) > though they tend to not support the range of resolutions of the newer > models. > $900 is a bit steep for me. Thanks for pointing it out, though. Chris Marshall __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From kladit at t-online.de Thu Jan 15 17:28:00 2004 From: kladit at t-online.de (Klaus Dittrich) Date: Thu, 15 Jan 2004 18:28:00 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 Message-ID: <20040115172800.GA648@xeon2.local.here> linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 After power-up of the scanner sane-find-scanner finds the sanner. sane-backends-1.0.13 scanimage -d epson:/dev/usb/scanner0 --test hangs. After scanimage was killed neither sane-find-scanner nor scanimage -L -d epson:/dev/usb/scanner0 find the sanner again. That is because of a oops of the usb-driver. Jan 15 15:37:44 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:37:59 xeon2 kernel: usb 2-1: USB disconnect, address 2 Jan 15 15:38:17 xeon2 kernel: hub 2-0:1.0: new USB device on port 1, assigned address 3 Jan 15 15:38:18 xeon2 /sbin/hotplug: Detected usb product 4b8/10a/106 Jan 15 15:38:18 xeon2 /sbin/hotplug: detected Epson_Perfection_1640SU Jan 15 15:38:18 xeon2 /sbin/hotplug: /proc/bus/usb/002/003 Jan 15 15:38:18 xeon2 /sbin/hotplug: Needed actions are done by the scanner driver of the kernel. Jan 15 15:38:18 xeon2 kernel: drivers/usb/image/scanner.c: USB scanner device (0x04b8/0x010a) now attached to usb/scanner0 Jan 15 15:40:09 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:41:09 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:43:09 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:43:42 xeon2 kernel: request_module: failed /sbin/modprobe -- net-pf-10. error = 256 Jan 15 15:44:23 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:45:23 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:47:23 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:49:23 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:51:23 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:53:23 xeon2 kernel: usb 2-1: bulk timeout on ep1in Jan 15 15:53:57 xeon2 kernel: drivers/usb/image/scanner.c: read_scanner(48): funky result:-71. Consult Documentation/usb/scanner.txt. Jan 15 15:53:57 xeon2 kernel: usb 2-1: USB disconnect, address 3 Jan 15 15:53:57 xeon2 kernel: Unable to handle kernel NULL pointer dereference at virtual address 0000001e Jan 15 15:53:57 xeon2 kernel: printing eip: Jan 15 15:53:57 xeon2 kernel: c03b0845 Jan 15 15:53:57 xeon2 kernel: *pde = 00000000 Jan 15 15:53:57 xeon2 kernel: Oops: 0000 [#1] Jan 15 15:53:57 xeon2 kernel: CPU: 1 Jan 15 15:53:57 xeon2 kernel: EIP: 0060:[] Not tainted Jan 15 15:53:57 xeon2 kernel: EFLAGS: 00010282 Jan 15 15:53:57 xeon2 kernel: EIP is at disconnect_scanner+0x2c/0x66 Jan 15 15:53:57 xeon2 kernel: eax: c26e1080 ebx: c26e1094 ecx: c03b0819 edx: 00000000 Jan 15 15:53:57 xeon2 kernel: esi: 00000000 edi: f6d729ac ebp: c058e7dc esp: f7d55e50 Jan 15 15:53:57 xeon2 kernel: ds: 007b es: 007b ss: 0068 Jan 15 15:53:57 xeon2 kernel: Process khubd (pid: 18, threadinfo=f7d54000 task=f7d57940) Jan 15 15:53:57 xeon2 kernel: Stack: c26e1080 c058e858 c26e1080 c058e8c0 c0390d0b c26e1080 c26e1080 c26e10c0 Jan 15 15:53:57 xeon2 kernel: c26e1094 c058e8e0 c02d9a2b c26e1094 c26e10c0 f6d729c4 f6d72980 c03b01b6 Jan 15 15:53:57 xeon2 kernel: c26e1094 c26e1080 f6d729c4 c058e7f0 00000000 00000000 c026c843 f6d729c4 Jan 15 15:53:57 xeon2 kernel: Call Trace: Jan 15 15:53:57 xeon2 kernel: [] usb_unbind_interface+0x7b/0x7d Jan 15 15:53:57 xeon2 kernel: [] device_release_driver+0x64/0x66 Jan 15 15:53:57 xeon2 kernel: [] destroy_scanner+0x51/0xa8 Jan 15 15:53:57 xeon2 kernel: [] kobject_cleanup+0x98/0x9a Jan 15 15:53:57 xeon2 kernel: [] usb_unbind_interface+0x7b/0x7d Jan 15 15:53:57 xeon2 kernel: [] device_release_driver+0x64/0x66 Jan 15 15:53:57 xeon2 kernel: [] bus_remove_device+0x56/0x98 Jan 15 15:53:57 xeon2 kernel: [] device_del+0x5f/0x9d Jan 15 15:53:57 xeon2 kernel: [] usb_disable_device+0x71/0xac Jan 15 15:53:57 xeon2 kernel: [] usb_disconnect+0x9c/0xeb Jan 15 15:53:57 xeon2 kernel: [] hub_port_connect_change+0x311/0x316 Jan 15 15:53:57 xeon2 kernel: [] hub_port_status+0x45/0xb0 Jan 15 15:53:57 xeon2 kernel: [] hub_events+0x2e9/0x364 Jan 15 15:53:57 xeon2 kernel: [] hub_thread+0x2d/0xe8 Jan 15 15:53:57 xeon2 kernel: [] ret_from_fork+0x6/0x14 Jan 15 15:53:57 xeon2 kernel: [] default_wake_function+0x0/0x12 Jan 15 15:53:57 xeon2 kernel: [] hub_thread+0x0/0xe8 Jan 15 15:53:57 xeon2 kernel: [] kernel_thread_helper+0x5/0xb Jan 15 15:53:57 xeon2 kernel: Jan 15 15:53:57 xeon2 kernel: Code: 80 7e 1e 00 75 27 85 f6 74 17 8d 46 44 8b 5c 24 08 8b 74 24 No such problems with sane-backends-1.0.12. (yes I always removed all that was installed before) Hope that help to fix the bugs. (please cc me, I'm not subscribed) -- Klaus ~ ~ From john at netpurgatory.com Thu Jan 15 17:41:22 2004 From: john at netpurgatory.com (John C. Vernaleo) Date: Thu, 15 Jan 2004 12:41:22 -0500 (EST) Subject: [sane-devel] scanners with document feeders In-Reply-To: <20040115172141.20587.qmail@web41505.mail.yahoo.com> References: <20040115172141.20587.qmail@web41505.mail.yahoo.com> Message-ID: I just checked (since I usually use xsane instead of scanimage), but when I do: scanimage --source "Automatic Document Feeder" > image.pnm it scans one page from the feeder, then gives me the prompt back. And 20 pages work fine in the feeder (the manual says more than that, but 20 seems to be about the most I can put in without increasing the number of jams). I have already scanned a few hundred pages of notes from old grad school classes I took with this scanner, and it (and sane, so thanks guys) has done a great job so far. John On Thu, 15 Jan 2004, Christopher Marshall wrote: > That sounds perfect! > > As for high volume, I don't need that high. If I had a good shot at scanning 20 pages at a time, > I'd be willing to spend $300 to get that capability. > > Thanks for the steer. > > So, how does sane-epson handle document feeding? If I invoke scanimage, would it feed one page, > scan it, and exit? That would be perfect. > > Chris Marshall > > --- "John C. Vernaleo" wrote: > > I've been using an Epson Perfection 1640 with sane for a while. It has a > > document feeder although it gets stuck occasionally, so probably isn't > > suitable for very high volume scanning. I think it was in the $300 > > range. > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > From mattias at kregert.se Thu Jan 15 11:06:44 2004 From: mattias at kregert.se (Mattias Kregert) Date: Thu, 15 Jan 2004 12:06:44 +0100 Subject: [sane-devel] Recommendation: Image deskewing Message-ID: <022c01c3db57$a97a2d20$09000a0a@kregert.se> I guess most of you have the same problem as I had: how to deskew scanned images. I use Leptonica, it is fast and free (as in free beer): Leptonica (leptonlib) www.leptonica.com It reads/writes pnm, jpg, png, bmp, detects angle and deskews, crops, scales, transforms, convolves, blurs, maps colors, draws, merges, enhances, despeckles, rotates, inverts, duplicates, emboss, oilify, whatever. More functions than pnm*/pbm*/pgm*/ppm*, uses less memory than ImageMagick... If you need to deskew for free, then try this. /Mattias From grocchi at studiolegalegrassi.it Thu Jan 15 17:00:04 2004 From: grocchi at studiolegalegrassi.it (avv. Giovanni Rocchi) Date: Thu, 15 Jan 2004 18:00:04 +0100 Subject: [sane-devel] scanners with document feeders In-Reply-To: References: Message-ID: <4399F577-477C-11D8-B915-000A95A08EA4@studiolegalegrassi.it> Il giorno 15/gen/04, alle 17:19, m. allan noah ha scritto: > scanner we use is fujitsu fi-4120C it has scsi and usb 1.1 ports Allan: Are you still converting fuijtsu backend to use sanei_thread instead of fork? Ciao Giovanni From henning at meier-geinitz.de Thu Jan 15 20:08:54 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 15 Jan 2004 21:08:54 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040114092159.33918.qmail@web10404.mail.yahoo.com> References: <20040113204210.GP1926@meier-geinitz.de> <20040114092159.33918.qmail@web10404.mail.yahoo.com> Message-ID: <20040115200854.GA1768@meier-geinitz.de> Hi, I'm cc'ing sane-devel because I'm not a HP guy :-) On Wed, Jan 14, 2004 at 01:21:59AM -0800, Lone Directory wrote: > It might sound a stupid question, but is there any > reason why we assume that HP is not willing to tell us > some technical info on their HW? > At the end if we make SANE work with it it could > increase the adoption of their scanner? I might sound > romantic, but did anyone tried to ask some technical > details to them? If not I'll give it a try... I haven't ever personally tried to contact HP. Trying doesn't harm I guess :-) Bye, Henning From henning at meier-geinitz.de Thu Jan 15 20:17:30 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 15 Jan 2004 21:17:30 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: References: Message-ID: <20040115201730.GB1768@meier-geinitz.de> Hi, On Wed, Jan 14, 2004 at 11:44:06PM +0100, adrianpj at users.sourceforge.net wrote: > Henning, could you take a look to the hp3670 SnoopyPro logs? It seems to > follow the low level protocol of the gl646; at least the protocol in > genesys_bulk_write_register() (genesys_low.c:131): > > outdata[0] = BULK_OUT; /* 0x01 */ > outdata[1] = BULK_REGISTER; /* 0x00 */ > outdata[2] = 0x00; > outdata[3] = 0x00; > outdata[4] = (size & 0xff); /* length of the bulk data stuff */ > outdata[5] = ((size >> 8) & 0xff); > outdata[6] = ((size >> 16) & 0xff); > outdata[7] = ((size >> 24) & 0xff); If that were all that's similar I wouldn't be sure. I think I have seen SCSI-over-USB like protocols that are similar. Are the values used for the actual control message the same (they can be found i the "setup packet")? Do the register numbers and values make sense according to the gl646 spec? > The logs are in http://www.alezan.org/hp3670/, in SnoopyPro binary format. I > tried to use usblogdump in Linux but it doesn't work very well for me. I had to > analyze them in Windoze using SnoopyPro. I'll check later. I don't have a working Windows or WINE installation currently. > So maybe if sane-find-scanner.c ignores device descriptors and just probe > the gl646 protocol using the present USB endpoints it will tell us if really > HP3690, HP2300, HP2400 and maybe other scanners are based in such chipset? You can try that for testing. But this can't be used in the published version because control messages like that will confuse non-gl646 scanners. That's the reason we use the descriptor to identify the chipset first and then send specific commands. That's not absolutely safe either but better then writing directly. Bye, Henning From henning at meier-geinitz.de Thu Jan 15 20:19:28 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 15 Jan 2004 21:19:28 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040115172800.GA648@xeon2.local.here> References: <20040115172800.GA648@xeon2.local.here> Message-ID: <20040115201928.GC1768@meier-geinitz.de> Hi, On Thu, Jan 15, 2004 at 06:28:00PM +0100, Klaus Dittrich wrote: > linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 > > After power-up of the scanner sane-find-scanner finds the sanner. > > sane-backends-1.0.13 scanimage -d epson:/dev/usb/scanner0 --test hangs. > > After scanimage was killed neither sane-find-scanner nor scanimage -L -d epson:/dev/usb/scanner0 > find the sanner again. > > That is because of a oops of the usb-driver. It's actually an oops in the kernel scanner driver. I've seen another similar report and will have a look at it. Until now it didn't happen here but I don't use SMP. Does using libusb instead work for you? Bye, Henning From bertrik at zonnet.nl Thu Jan 15 21:00:35 2004 From: bertrik at zonnet.nl (Bertrik Sikken) Date: Thu, 15 Jan 2004 22:00:35 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: References: Message-ID: <4006FF73.2000006@zonnet.nl> adrianpj at users.sourceforge.net wrote: > Hi! > > Henning, could you take a look to the hp3670 SnoopyPro logs? It seems to > follow the low level protocol of the gl646; at least the protocol in > genesys_bulk_write_register() (genesys_low.c:131): > > outdata[0] = BULK_OUT; /* 0x01 */ > outdata[1] = BULK_REGISTER; /* 0x00 */ > outdata[2] = 0x00; > outdata[3] = 0x00; > outdata[4] = (size & 0xff); /* length of the bulk data stuff */ > outdata[5] = ((size >> 8) & 0xff); > outdata[6] = ((size >> 16) & 0xff); > outdata[7] = ((size >> 24) & 0xff); > > The logs are in http://www.alezan.org/hp3670/, in SnoopyPro binary format. I > tried to use usblogdump in Linux but it doesn't work very well for me. I had to > analyze them in Windoze using SnoopyPro. > > So maybe if sane-find-scanner.c ignores device descriptors and just probe > the gl646 protocol using the present USB endpoints it will tell us if really > HP3690, HP2300, HP2400 and maybe other scanners are based in such chipset? I know this format. It's also used in some other USB scanners to start bulk transfers for image data (haven't been able to look at the other logfiles, they're binary, do you have text files?). You may have some luck searching the archives for canon 630u, hewlett packard hp2300c, hp3300c, hp3400c, hp4300c, pacific image electronics primefilm 1800i, agfa snapscan touch. There are some perl-scripts floating around that can do simple analysis of the original USB snoopy text files, to make them much more readable. I also have a modified version of the original snoopy that does not log USB bulk transfer contents, thereby preventing log overflow. Bertrik From anoah at pfeiffer.edu Thu Jan 15 21:12:57 2004 From: anoah at pfeiffer.edu (m. allan noah) Date: Thu, 15 Jan 2004 16:12:57 -0500 (EST) Subject: [sane-devel] scanners with document feeders In-Reply-To: <4399F577-477C-11D8-B915-000A95A08EA4@studiolegalegrassi.it> Message-ID: as soon as i find a spare minute :) allan On Thu, 15 Jan 2004, avv. Giovanni Rocchi wrote: > Il giorno 15/gen/04, alle 17:19, m. allan noah ha scritto: > > > scanner we use is fujitsu fi-4120C it has scsi and usb 1.1 ports > > Allan: > Are you still converting fuijtsu backend to use sanei_thread instead > of fork? > > Ciao > > Giovanni > > > -- "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 kladit at t-online.de Thu Jan 15 21:19:49 2004 From: kladit at t-online.de (Klaus Dittrich) Date: Thu, 15 Jan 2004 22:19:49 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040115201928.GC1768@meier-geinitz.de> References: <20040115172800.GA648@xeon2.local.here> <20040115201928.GC1768@meier-geinitz.de> Message-ID: <20040115211724.GA12829@xeon2.local.here> On Thu, Jan 15, 2004 at 09:19:28PM +0100, Henning Meier-Geinitz wrote: > Hi, > > On Thu, Jan 15, 2004 at 06:28:00PM +0100, Klaus Dittrich wrote: > > linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 > > > > After power-up of the scanner sane-find-scanner finds the sanner. > > > > sane-backends-1.0.13 scanimage -d epson:/dev/usb/scanner0 --test hangs. > > > > After scanimage was killed neither sane-find-scanner nor scanimage -L -d epson:/dev/usb/scanner0 > > find the sanner again. > > > > That is because of a oops of the usb-driver. > > It's actually an oops in the kernel scanner driver. I've seen another > similar report and will have a look at it. Until now it didn't happen > here but I don't use SMP. > > Does using libusb instead work for you? > > Bye, > Henning > > -- > 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 Hi Henning, as far as I know libusb in no more necessary with linunx-2.6 so I have not installed it. I think it would things confuse even more. I have no probles to go with sane-backends-1.0.12 in the meantime. If you want test your changes I will do. I have made script to simplify build and install, so a switch between versions is a matter of a few seconds. -- Klaus From henning at meier-geinitz.de Thu Jan 15 21:30:53 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Thu, 15 Jan 2004 22:30:53 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040115211724.GA12829@xeon2.local.here> References: <20040115172800.GA648@xeon2.local.here> <20040115201928.GC1768@meier-geinitz.de> <20040115211724.GA12829@xeon2.local.here> Message-ID: <20040115213053.GA2282@meier-geinitz.de> Hi, On Thu, Jan 15, 2004 at 10:19:49PM +0100, Klaus Dittrich wrote: > > Does using libusb instead work for you? > as far as I know libusb in no more necessary with linunx-2.6 > so I have not installed it. In fact it's more the other way round. Ther kernel scanner driver is marked "obsolete" so it may go away anytime soon. So your only choice is to use libusb in future. Programs could also access USB devices directly by uing /proc/bus/usb/*, but libusb is just more portable and does this low level suff for us. > I think it would things confuse even more. If libusb worked, I would be sure that it's a bug in the kernel scanner driver and not the kernel USB low level drivers. > I have no probles to go with sane-backends-1.0.12 in the meantime. Tha one works? I don't think that there are any USB realted changes that may be able to cause oopses. Well, nothing should be able to generate kernels oopses anyway. > If you want test your changes I will do. It will take some time until I've found the bug in the kernel. Don't expect anything in the next 10 days. > I have made script to simplify build and install, > so a switch between versions is a matter of a few seconds. The kernel or sane-backends? Isn't it just a make; make install for both cases anyway? If you want to test libusb, just make sure that it's available (including its header files) when SANE is built. Bye, Henning From klemens.dickbauer at msk-informatik.at Thu Jan 15 22:07:02 2004 From: klemens.dickbauer at msk-informatik.at (Klemens Dickbauer) Date: Thu, 15 Jan 2004 23:07:02 +0100 Subject: [sane-devel] scanners with document feeders In-Reply-To: <20040115172141.20587.qmail@web41505.mail.yahoo.com> References: <20040115172141.20587.qmail@web41505.mail.yahoo.com> Message-ID: <200401152307.03078.klemens.dickbauer@msk-informatik.at> Hi Chris! I'm also using an Epson Perfection 1200 with the ADF option for several years for pretty the same purpose as you do. I am satisfied with its performance, only a hissing noise when it's idle is a little bit disturbing... (-; If you're going to purchase one if its sucessors and are interested, i can send you the script i'm using. at the moment i am also writing a java application to scan multiple-page documents in an easy way... ciao, ~klemens Am Donnerstag, 15. Januar 2004 18:21 schrieb Christopher Marshall: > That sounds perfect! > > As for high volume, I don't need that high. If I had a good shot at > scanning 20 pages at a time, I'd be willing to spend $300 to get that > capability. > > Thanks for the steer. > > So, how does sane-epson handle document feeding? If I invoke scanimage, > would it feed one page, scan it, and exit? That would be perfect. > > Chris Marshall > > --- "John C. Vernaleo" wrote: > > I've been using an Epson Perfection 1640 with sane for a while. It has a > > document feeder although it gets stuck occasionally, so probably isn't > > suitable for very high volume scanning. I think it was in the $300 > > range. > > __________________________________ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Klemens Dickbauer, MSK Informatik GesmbH mail: klemens.dickbauer at msk-informatik.at smail: A-1160 Wien, Zeillergasse 5/309 fon: +43 699 18181919 From khk at khk.net Thu Jan 15 22:32:41 2004 From: khk at khk.net (Karl Heinz Kremer) Date: Thu, 15 Jan 2004 17:32:41 -0500 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040115213053.GA2282@meier-geinitz.de> References: <20040115172800.GA648@xeon2.local.here> <20040115201928.GC1768@meier-geinitz.de> <20040115211724.GA12829@xeon2.local.here> <20040115213053.GA2282@meier-geinitz.de> Message-ID: If you want to try libusb, I have a page that describes the steps necessary to get it configured: http://khk.net/sane/libusb.html On Jan 15, 2004, at 4:30 PM, Henning Meier-Geinitz wrote: > Hi, > > On Thu, Jan 15, 2004 at 10:19:49PM +0100, Klaus Dittrich wrote: >>> Does using libusb instead work for you? > >> as far as I know libusb in no more necessary with linunx-2.6 >> so I have not installed it. > > In fact it's more the other way round. Ther kernel scanner driver is > marked "obsolete" so it may go away anytime soon. So your only choice > is to use libusb in future. > > Programs could also access USB devices directly by uing > /proc/bus/usb/*, but libusb is just more portable and does this low > level suff for us. > >> I think it would things confuse even more. > > If libusb worked, I would be sure that it's a bug in the kernel > scanner driver and not the kernel USB low level drivers. > >> I have no probles to go with sane-backends-1.0.12 in the meantime. > > Tha one works? I don't think that there are any USB realted changes > that may be able to cause oopses. Well, nothing should be able to > generate kernels oopses anyway. > >> If you want test your changes I will do. > > It will take some time until I've found the bug in the kernel. Don't > expect anything in the next 10 days. > >> I have made script to simplify build and install, >> so a switch between versions is a matter of a few seconds. > > The kernel or sane-backends? Isn't it just a make; make install for > both > cases anyway? > > If you want to test libusb, just make sure that it's available > (including its header files) when SANE is built. > > Bye, > Henning > > -- > 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 From olaf at epkowa.co.jp Fri Jan 16 01:27:17 2004 From: olaf at epkowa.co.jp (Olaf Meeuwissen) Date: Fri, 16 Jan 2004 10:27:17 +0900 Subject: [sane-devel] [Announce] Image Scan! for Linux (1.6.0) released In-Reply-To: <1073963701.4558.90.camel@tao> (Julian Gough's message of "13 Jan 2004 12:15:01 +0900") References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> <1073960870.4410.4.camel@localhost.localdomain> <873caktv64.fsf@zen.epkowa.co.jp> <1073963701.4558.90.camel@tao> Message-ID: <87k73shedm.fsf_-_@zen.epkowa.co.jp> Hello everyone, Although the announcement at http://www.epkowa.co.jp/english/linux_e/index.html has not been updated yet at the time of writing, this is to let you all informally know that a new release of "Image Scan! for Linux" is now available from http://www.epkowa.co.jp/english/linux_e/dl_scan.html and http://www.epkowa.co.jp/linux/dl_scan.html (in Japanese) The major changes are: - added support for the GT-15000 (aka ES-7000H) - added support for the Perfection 3170 PHOTO (aka GT-9400UF) - upgraded the SANE bits to sane-backends-1.0.12 The latter change means that "Image Scan! for Linux" now also should work with the Stylus CX5100/CX5200 (aka CC-600PX) although these have not been put through testing yet. Besides that a number of bugs have been fixed. Most notable amongst them is a serious memory corruption problem for the Perfection 1260 (aka GT-7300). TPU detection for this scanner should also be fixed, but there still is a known problem with the RPM packages with regards to this (somehow wrapping up a perfectly working iscan breaks the TPU detection; if you have trouble, try rebuilding from source). Taking a peek at the Japanese version at http://www.epkowa.co.jp/linux/index.html shows that support for the CC-600PX and PM-A850 (so far only available in Japan) is slated for release at the end of the month. That release will make the support for the Stylus CX5100/CX5200 officially tested. -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From olaf at epkowa.co.jp Fri Jan 16 03:04:27 2004 From: olaf at epkowa.co.jp (Olaf Meeuwissen) Date: Fri, 16 Jan 2004 12:04:27 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <1073963701.4558.90.camel@tao> (Julian Gough's message of "13 Jan 2004 12:15:01 +0900") References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> <1073960870.4410.4.camel@localhost.localdomain> <873caktv64.fsf@zen.epkowa.co.jp> <1073963701.4558.90.camel@tao> Message-ID: <871xq0h9vo.fsf@zen.epkowa.co.jp> Sorry for the late follow-up. Julian Gough writes: > On Tue, 2004-01-13 at 11:54, Olaf Meeuwissen wrote: >> >> > Same old, same old. >> > I just get No scanners were identified. >> >> Did you also update the firmware line near the top of snapscan.conf. >> Note that it can only handle *one* such line. If you dumped your >> esfw3e.bin in /usr/local/share, you should have >> >> firmware /usr/local/share/esfw3e.bin > > Yes. /home/gough/download/ESFW3E.BIN that's where it is >> You should be using "usb 0x04b8 0x0120". That is assuming the USB >> product ID is 0x0120 (I don't remember off the top of my head). > > Yes. as reported by lsusb, and sane-find-scanner. That's what I've been > using. > > So it's a dead-end then? I would not (yet) call it a dead-end. It just doesn't work for you at this point in time. It may very well be that a couple of tweaks here and there in the snapscan backend will make it work. Unfortunately, I am not familiar with this backend and lack time and access to a GT-7400. BTW, I haven't seen any 'SANE_DEBUG_SNAPSCAN=128 scanimage' output fly by, IIRC. Maybe that can shed some light on your problems. -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From christopherlmarshall at yahoo.com Fri Jan 16 15:04:16 2004 From: christopherlmarshall at yahoo.com (Christopher Marshall) Date: Fri, 16 Jan 2004 07:04:16 -0800 (PST) Subject: [sane-devel] scanners with document feeders In-Reply-To: <200401152307.03078.klemens.dickbauer@msk-informatik.at> Message-ID: <20040116150416.34125.qmail@web41501.mail.yahoo.com> Thanks! I would be interested to see your script. What's the exact model number on your epson? Chris Marshall --- Klemens Dickbauer wrote: > Hi Chris! > > I'm also using an Epson Perfection 1200 with the ADF option for several years > for pretty the same purpose as you do. I am satisfied with its performance, > only a hissing noise when it's idle is a little bit disturbing... (-; > If you're going to purchase one if its sucessors and are interested, i can > send you the script i'm using. > at the moment i am also writing a java application to scan multiple-page > documents in an easy way... > > ciao, > ~klemens > __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus From kladit at t-online.de Fri Jan 16 15:34:07 2004 From: kladit at t-online.de (Klaus Dittrich) Date: Fri, 16 Jan 2004 16:34:07 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040115201928.GC1768@meier-geinitz.de> References: <20040115172800.GA648@xeon2.local.here> <20040115201928.GC1768@meier-geinitz.de> Message-ID: <20040116153407.GA2115@xeon2.local.here> Using libusb I get no errors. So the bug seems to be with the kernel scanner driver. I noticed two system things. First /sbin/hotplug is now called every time I do a scanimage -L or -f. Second every time I switch the scanner on or off the device number gets incremented. scanimage -L now works. (worked not in sane-backend-1.0.12) device `epson:libusb:002:005' is a Epson Perfection1640 flatbed scanner The ADF is not detectable ? scanimage -d epson:libusb:002:005 --test works too. scanimage -d epson:libusb:002:005 --source 'Automatic Document Feeder' does _not_ work. After a long time I get .. scanimage: sane_start: Error during device I/O Any ideas ? -- Klaus From SCOTTNAVARRE at peoplepc.com Fri Jan 16 06:44:13 2004 From: SCOTTNAVARRE at peoplepc.com (Scott Navarre) Date: Thu, 15 Jan 2004 23:44:13 -0700 Subject: [sane-devel] How to set permissions on my scasnner device files? Message-ID: <001001c3dbfc$2868bc60$0100a8c0@cybertron> Hi, I am setting up an Epson Perfection 1260/Photo scanner thru USB (uses the Plustek driver). I have upgraded my Red Hat 8.0's SANE backend drivers to version 1.0.13. And now, I can see the scanner using both 'scanimage -L' and 'sane-find-scanner', as root only (I can also use 'xsane' as root only). If I am not root, 'scanimage -L' finds nothing, and 'sane-find-scanners' finds a scanner on the USB but doesn't identify it. The man page said something about not having the permissions of the device file set right if this happens. The thing is that when it is displayed, it only shows 'libusb:001:004' as the device name, not something in '/dev' (such as the '/dev/usbscanner0' or '/dev/sg0' as mentioned in the man page). So how or where do I go to change the permissions??? Out of frustration, I did a 'chmod -R 777 /dev' but it didn't help... Here are my outputs of the 2 commands by root: [root at tepeyac root]# scanimage -L device `plustek:libusb:001:004' is a Epson Perfection 1260/Photo USB flatbed sca nner [root at tepeyac root]# sane-find-scanner # No SCSI scanners found. If you expected something different, make sure that # you have loaded a SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b8 [EPSON], product=0x011d [EPSON Scanner], chip=L M9832/3) at libusb:001:004 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Scanners connected to the parallel port or other proprietary ports can't be # detected by this program. [root at tepeyac root]# And here are my outputs of the same 2 commands by a non-root user: [claudia at tepeyac claudia]$ scanimage -L No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). [claudia at tepeyac claudia]$ sane-find-scanner # No SCSI scanners found. If you expected something different, make sure that # you have loaded a SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b8, product=0x011d, chip=LM983x?) at libusb:001:00 4 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Scanners connected to the parallel port or other proprietary ports can't be # detected by this program. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary. [claudia at tepeyac claudia]$ Thanks in advance, Scott Navarre -------------- next part -------------- An HTML attachment was scrubbed... URL: From kladit at t-online.de Fri Jan 16 19:33:27 2004 From: kladit at t-online.de (Klaus Dittrich) Date: Fri, 16 Jan 2004 20:33:27 +0100 Subject: [sane-devel] How to set permissions on my scasnner device files? In-Reply-To: <001001c3dbfc$2868bc60$0100a8c0@cybertron> References: <001001c3dbfc$2868bc60$0100a8c0@cybertron> Message-ID: <20040116193327.GA27345@xeon2.local.here> On Thu, Jan 15, 2004 at 11:44:13PM -0700, Scott Navarre wrote: > Hi, > > I am setting up an Epson Perfection 1260/Photo scanner thru USB (uses the Plustek driver). I have upgraded my Red Hat 8.0's SANE backend drivers to version 1.0.13. > And now, I can see the scanner using both 'scanimage -L' and 'sane-find-scanner', as root only (I can also use 'xsane' as root only). If I am not root, 'scanimage -L' finds nothing, and 'sane-find-scanners' finds a scanner on the USB but doesn't identify it. The man page said something about not having the permissions of the device file set right if this happens. > The thing is that when it is displayed, it only shows 'libusb:001:004' as the device name, not something in '/dev' (such as the '/dev/usbscanner0' or '/dev/sg0' as mentioned in the man page). So how or where do I go to change the permissions??? Out of frustration, I did a 'chmod -R 777 /dev' but it didn't help... > > Here are my outputs of the 2 commands by root: > > [root at tepeyac root]# scanimage -L > device `plustek:libusb:001:004' is a Epson Perfection 1260/Photo USB flatbed sca > nner > [root at tepeyac root]# sane-find-scanner > > # No SCSI scanners found. If you expected something different, make sure that > # you have loaded a SCSI driver for your SCSI adapter. > > found USB scanner (vendor=0x04b8 [EPSON], product=0x011d [EPSON Scanner], chip=L > M9832/3) at libusb:001:004 > # Your USB scanner was (probably) detected. It may or may not be supported by > # SANE. Try scanimage -L and read the backend's manpage. > > # Scanners connected to the parallel port or other proprietary ports can't be > # detected by this program. > [root at tepeyac root]# > > And here are my outputs of the same 2 commands by a non-root user: > > [claudia at tepeyac claudia]$ scanimage -L > > No scanners were identified. If you were expecting something different, > check that the scanner is plugged in, turned on and detected by the > sane-find-scanner tool (if appropriate). Please read the documentation > which came with this software (README, FAQ, manpages). > [claudia at tepeyac claudia]$ sane-find-scanner > > # No SCSI scanners found. If you expected something different, make sure that > # you have loaded a SCSI driver for your SCSI adapter. > > found USB scanner (vendor=0x04b8, product=0x011d, chip=LM983x?) at libusb:001:00 > 4 > # Your USB scanner was (probably) detected. It may or may not be supported by > # SANE. Try scanimage -L and read the backend's manpage. > > # Scanners connected to the parallel port or other proprietary ports can't be > # detected by this program. > > # You may want to run this program as root to find all devices. Once you > # found the scanner devices, be sure to adjust access permissions as > # necessary. > [claudia at tepeyac claudia]$ > > Thanks in advance, > Scott Navarre In /etc/fstab change to none /proc/bus/usb usbfs defaults,devmode=0666 0 0 Source of information : Henning Meier-Geinitz + man sane-usb -- Klaus From jimquigley9 at eircom.net Sat Jan 17 01:52:18 2004 From: jimquigley9 at eircom.net (Jim Quigley) Date: Sat, 17 Jan 2004 01:52:18 +0000 Subject: [sane-devel] re epson perfection 1200 problems libusb kernel 2.6.1-rc1 Message-ID: <40089552.9060106@eircom.net> Hi I have installed the kernel 2.6.1-rc1 over Suse 9 and have as far as I know installed most usb drivers as modules except the scanner.o module since it is obsolete and I wanted to use libusb. I have an epson perfection 1200 photo scanner but I can not get it to work properly. It initialises but then crashes and then scanimage -L does not recognise it. Xsane also does the same. Below are some of the programs I use and some config files including sane, xsane, fstab, dmesg etc. Appreciate some help. Thanks rpm -q sane sane-1.0.10-243 rpm -q xsane xsane-0.91-135 rpm -q hotplug hotplug-2002_08_26-85 cat /etc/fstab /dev/hdc1 / ext2 defaults 1 1 /dev/hdc2 /home ext2 defaults 1 2 /dev/hdc3 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 none /proc/bus/usb usbfs defaults 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/dvd /media/dvd auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0 /dev/sr0 /media/sr0 auto ro,noauto,user,exec 0 0 /dev/sda1 /media/sda1 auto sync,noauto,user,exec 0 0 cat /proc/bus/usb/devices T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:10.2 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=07(print) Sub=01 Prot=02 MxPS=64 #Cfgs= 1 P: Vendor=04b8 ProdID=0001 Rev= 1.00 S: Manufacturer=EPSON S: Product=USB Printer C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:10.1 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 P: Vendor=04b8 ProdID=0104 Rev= 1.03 S: Manufacturer=EPSON S: Product=Perfection1200 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:10.0 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.1-rc1 ehci_hcd S: Product=EHCI Host Controller S: SerialNumber=0000:00:10.3 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0d49 ProdID=3005 Rev= 1.00 S: Manufacturer=Maxtor S: Product=3000LS v01.00.00 S: SerialNumber=DEF10647FBB9 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms sane-find-scanner # No SCSI scanners found. If you expected something different, make sure that # you have loaded a SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04b8, product=0x0104) at libusb:003:002 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Scanners connected to the parallel port or other proprietary ports can't be # detected by this program. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary. scanimage -L device `epson:libusb:003:002' is a Epson Perfection1200 flatbed scanner LmCogs -------------- next part -------------- An HTML attachment was scrubbed... URL: From kladit at t-online.de Sat Jan 17 11:33:05 2004 From: kladit at t-online.de (Klaus Dittrich) Date: Sat, 17 Jan 2004 12:33:05 +0100 Subject: [sane-devel] re epson perfection 1200 problems libusb kernel 2.6.1-rc1 In-Reply-To: <40089552.9060106@eircom.net> References: <40089552.9060106@eircom.net> Message-ID: <20040117113116.GB14513@xeon2.local.here> On Sat, Jan 17, 2004 at 01:52:18AM +0000, Jim Quigley wrote: > Hi I have installed the kernel 2.6.1-rc1 over Suse 9 and have as far as > I know installed most usb drivers as modules except the scanner.o module > since it is obsolete and I wanted to use libusb. I have an epson > perfection 1200 photo scanner but I can not get it to work properly. It > initialises but then crashes and then scanimage -L does not recognise > it. Xsane also does the same. Below are some of the programs I use and > some config files including sane, xsane, fstab, dmesg etc. Appreciate > some help. Thanks > > > rpm -q sane > sane-1.0.10-243 > > rpm -q xsane > xsane-0.91-135 > > rpm -q hotplug > hotplug-2002_08_26-85 > > cat /etc/fstab > /dev/hdc1 / ext2 > defaults 1 1 > /dev/hdc2 /home ext2 > defaults 1 2 > /dev/hdc3 swap swap > pri=42 0 0 > devpts /dev/pts devpts > mode=0620,gid=5 0 0 > proc /proc proc > defaults 0 0 > > none /proc/bus/usb usbfs defaults 0 0 > /dev/cdrom /media/cdrom auto > ro,noauto,user,exec 0 0 > /dev/dvd /media/dvd auto > ro,noauto,user,exec 0 0 > /dev/fd0 /media/floppy auto > noauto,user,sync 0 0 > /dev/sr0 /media/sr0 auto ro,noauto,user,exec 0 0 > /dev/sda1 /media/sda1 auto sync,noauto,user,exec 0 0 > > cat /proc/bus/usb/devices > > T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 2.06 > S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd > S: Product=UHCI Host Controller > S: SerialNumber=0000:00:10.2 > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 1.00 Cls=07(print) Sub=01 Prot=02 MxPS=64 #Cfgs= 1 > P: Vendor=04b8 ProdID=0001 Rev= 1.00 > S: Manufacturer=EPSON > S: Product=USB Printer > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA > I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp > E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 2.06 > S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd > S: Product=UHCI Host Controller > S: SerialNumber=0000:00:10.1 > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1 > P: Vendor=04b8 ProdID=0104 Rev= 1.03 > S: Manufacturer=EPSON > S: Product=Perfection1200 > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA > I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) > E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 2.06 > S: Manufacturer=Linux 2.6.1-rc1 uhci_hcd > S: Product=UHCI Host Controller > S: SerialNumber=0000:00:10.0 > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6 > B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 2.06 > S: Manufacturer=Linux 2.6.1-rc1 ehci_hcd > S: Product=EHCI Host Controller > S: SerialNumber=0000:00:10.3 > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms > > T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=0d49 ProdID=3005 Rev= 1.00 > S: Manufacturer=Maxtor > S: Product=3000LS v01.00.00 > S: SerialNumber=DEF10647FBB9 > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage > E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > > > sane-find-scanner > > # No SCSI scanners found. If you expected something different, make > sure that > # you have loaded a SCSI driver for your SCSI adapter. > > found USB scanner (vendor=0x04b8, product=0x0104) at libusb:003:002 > # Your USB scanner was (probably) detected. It may or may not be > supported by > # SANE. Try scanimage -L and read the backend's manpage. > > # Scanners connected to the parallel port or other proprietary ports > can't be > # detected by this program. > > # You may want to run this program as root to find all devices. Once you > # found the scanner devices, be sure to adjust access permissions as > # necessary. > > > scanimage -L > device `epson:libusb:003:002' is a Epson Perfection1200 flatbed scanner > > LmCogs Same here. Is your machine smp ? Do you have preemptive syscalls enabeld ? Do you use linuxthreads or nptl ? If you need a quick fix use the kernel scanner-driver of linux-2.6, _not_ libusb, and install backends-1.0.12. I tested backends-1.0.12 with libusb and it may damage the mechanics of your epson-scanner. -- Klaus From khk at khk.net Sat Jan 17 12:27:05 2004 From: khk at khk.net (Karl Heinz Kremer) Date: Sat, 17 Jan 2004 07:27:05 -0500 Subject: [sane-devel] re epson perfection 1200 problems libusb kernel 2.6.1-rc1 In-Reply-To: <20040117113116.GB14513@xeon2.local.here> References: <40089552.9060106@eircom.net> <20040117113116.GB14513@xeon2.local.here> Message-ID: <75C3A852-48E8-11D8-A5BE-000A957E40E8@khk.net> On Jan 17, 2004, at 6:33 AM, Klaus Dittrich wrote: [ ... ] > I tested backends-1.0.12 with libusb and it may damage the mechanics > of your epson-scanner. > It's actually very unlikely that you will damage your scanner if you have a "real" EPSON scanner (that is one that is natively supported by the EPSON backend). The hardware is not controlled directly by the commands that the backend sends to the device. There are no commands to position any of the moving parts directly, you just tell the scanner how and what to scan, and the scanner firmware then calculates the commands it sends to the motors. You have this one additional layer that protects the hardware from the user (or my software :-) Other scanners allow the frontend to control the motors directly, this is much more dangerous. From nicos at svinomatka.ru Sat Jan 17 12:29:06 2004 From: nicos at svinomatka.ru (Nikanorov Andrey) Date: Sat, 17 Jan 2004 15:29:06 +0300 Subject: [sane-devel] Mustek 1200 UB Plus Message-ID: <1074342546.4347.5.camel@localhost.localdomain> Is it posible to configure Mustek 1200 UB Plus scanner? When I run XSane I see an error (unable to open device 'gt68xx:/dev/usb/scanner0'). When I run scanimage: [root at localhost root]# scanimage -L device `gt68xx:/dev/usb/scanner0' is a Mustek BearPaw 1200 CU flatbed scanner From henning at meier-geinitz.de Sat Jan 17 15:26:22 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 17 Jan 2004 16:26:22 +0100 Subject: [sane-devel] Mustek 1200 UB Plus In-Reply-To: <1074342546.4347.5.camel@localhost.localdomain> References: <1074342546.4347.5.camel@localhost.localdomain> Message-ID: <20040117152622.GB5434@meier-geinitz.de> Hi, On Sat, Jan 17, 2004 at 03:29:06PM +0300, Nikanorov Andrey wrote: > Is it posible to configure Mustek 1200 UB Plus scanner? Yes, see man sane-gt68xx. > When I run XSane I see an error (unable to open device > 'gt68xx:/dev/usb/scanner0'). > > > When I run scanimage: > > [root at localhost root]# scanimage -L > device `gt68xx:/dev/usb/scanner0' is a Mustek BearPaw 1200 CU flatbed > scanner The firmware is placed in the right directory and you have enabled the override for that scanner in gt68xx.conf? Bye, Henning From jimquigley9 at eircom.net Sat Jan 17 14:15:08 2004 From: jimquigley9 at eircom.net (Jim Quigley) Date: Sat, 17 Jan 2004 14:15:08 +0000 Subject: [sane-devel] re epson perfection 1200 problems libusb kernel 2.6.1-rc1 Message-ID: <4009436C.1080901@eircom.net> Klaus Dittrich wrote: > Same here. > Is your machine smp ? > Do you have preemptive syscalls enabeld ? > Do you use linuxthreads or nptl ? > > If you need a quick fix use the kernel scanner-driver of linux-2.6, > _not_ libusb, and install backends-1.0.12. > I tested backends-1.0.12 with libusb and it may damage the mechanics > of your epson-scanner. > > -- > Klaus > > > > > Hi Don't know what 'smp' or linuxthreads' 'nptl' are but I did compile > the kernel with preemptive kernel. > > I recompiled the kernel with ISA support enabled and i20 device support but I still got errors like scanimage -d epson:libusb:003:002 --test scanimage: scanning image of size 424x584 pixels at 1 bits/pixel scanimage: acquiring gray frame, 1 bits/sample scanimage: reading one scanline, 53 bytes... FAIL Error: Error during device I/O[epson] option: fatal error I also had tried before loading scanner.o driver and that worked when I used 'modprobe scanner' but I then had problems with epson printer usblp and hotplug could not unload the module when closing down. I now have printer compiled into the kernel not as a module and I did not choose the scanner module which it says is obsolete. LmCogs From henning at meier-geinitz.de Sat Jan 17 15:58:45 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 17 Jan 2004 16:58:45 +0100 Subject: [sane-devel] re epson perfection 1200 problems libusb kernel 2.6.1-rc1 In-Reply-To: <4009436C.1080901@eircom.net> References: <4009436C.1080901@eircom.net> Message-ID: <20040117155845.GB6163@meier-geinitz.de> Hi, On Sat, Jan 17, 2004 at 02:15:08PM +0000, Jim Quigley wrote: > Klaus Dittrich wrote: > > >Is your machine smp ? > >Do you have preemptive syscalls enabeld ? > >Do you use linuxthreads or nptl ? I don't think that linuxthreads or nptl is involved as by default SANE uses processes (fork), not threads. >Hi Don't know what 'smp' SMP: Symmetric MultiProcessing = more than one processor. > or linuxthreads' 'nptl' are These are two different ways of using threads. > but I did compile the kernel with preemptive kernel. I suspect that this may be a possible reason for your problems. Also SMP may be a reason. I'll now try 2.6 with some of these options enabled. > scanimage -d epson:libusb:003:002 --test scanimage: scanning image of > size 424x584 pixels at 1 bits/pixel > scanimage: acquiring gray frame, 1 bits/sample > scanimage: reading one scanline, 53 bytes... > FAIL Error: Error during device I/O[epson] option: fatal error The kernel messages that occur when the scan fails for the first time may be important (e.g. in /var/log/messages). > I also had tried before loading scanner.o driver and that worked when I > used 'modprobe scanner' but I then had problems with epson printer usblp > and hotplug could not unload the module when closing down. I now have > printer compiled into the kernel not as a module and I did not choose > the scanner module which it says is obsolete. The scanner module should also work but may have the same problems as libusb with SMP and/or preemptible kernel. Bye, Henning From henning at meier-geinitz.de Sat Jan 17 16:06:17 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 17 Jan 2004 17:06:17 +0100 Subject: [sane-devel] Mustek 1200 UB Plus In-Reply-To: <1074355051.6126.7.camel@localhost.localdomain> References: <1074342546.4347.5.camel@localhost.localdomain> <20040117152622.GB5434@meier-geinitz.de> <1074355051.6126.7.camel@localhost.localdomain> Message-ID: <20040117160617.GC6163@meier-geinitz.de> Hi, I'm cc'ing to the mailing list just in case anyone has the same problem. On Sat, Jan 17, 2004 at 06:57:31PM +0300, Nikanorov Andrey wrote: > I've solved my problem. > > I am getting SBfw.usb file from CDROM (from scanner > disk[file:/mnt/cdrom/WinXP]). After I create directory 'gt68xx' in > '/usr/share/sane/' and put file > (SBfw.usb) in it. Then I renamed SBfw.usb to PS1fw.usb. This is an ugly hack but it may work in this case. Explanation: There are some different scanners which all use the same USB ids and they aren't distinguishable from each other by software. They also use different firmware files. That's why there are "override" directives in gt68xx.conf. By default it's assumed that you have a Mustek BearPaw 1200 CU and that one uses the firmware "PS1fw.usb". That's why the backend uses that name. If you had enabled the override "mustek-scanexpress-1200-ub-plus", it would search for sbfw.usb and the correct scanner name would be displayed. Bye, Henning From henning at meier-geinitz.de Sat Jan 17 18:01:26 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 17 Jan 2004 19:01:26 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040115172800.GA648@xeon2.local.here> References: <20040115172800.GA648@xeon2.local.here> Message-ID: <20040117180126.GB659@meier-geinitz.de> Hi, On Thu, Jan 15, 2004 at 06:28:00PM +0100, Klaus Dittrich wrote: > linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 [oops] Ok, some tests on my system with linux 2.6.1 and some Mustek USB scanners: - no problems with libusb - with the kernel scanner driver, I get an oops when unplugging a scanner - with the kernel scanner driver and "preemptible kernel" I get an oops when running scanimage -L So I guess for now the kernel scanner driver in 2.6 isn't really usable. It's marked "obsolete" anyway so better use libusb. Bye, Henning From till.kamppeter at gmx.net Sat Jan 17 20:04:40 2004 From: till.kamppeter at gmx.net (Till Kamppeter) Date: Sat, 17 Jan 2004 20:04:40 +0000 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040117180126.GB659@meier-geinitz.de> References: <20040115172800.GA648@xeon2.local.here> <20040117180126.GB659@meier-geinitz.de> Message-ID: <40099558.9010208@gmx.net> Is there a way to block the usage of the scanner.o module by means of the SAME package (compile-time config or so)? Or is it the best to ask our kernel maintainer to make a kernel package without scanner.o? Is it safe to publish a distro (Mandrake Linux 10.0) without scanner.o in its kernel? Would I loose compatibility for certain scanner models or not? And does the oops only appear with the SMP kernel 2.6.x or also with the standard kernel 2.6.x. Till Henning Meier-Geinitz wrote: > Hi, > > On Thu, Jan 15, 2004 at 06:28:00PM +0100, Klaus Dittrich wrote: > >>linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 > > > [oops] > > Ok, some tests on my system with linux 2.6.1 and some Mustek USB > scanners: > > - no problems with libusb > - with the kernel scanner driver, I get an oops when unplugging a > scanner > - with the kernel scanner driver and "preemptible kernel" I get an > oops when running scanimage -L > > So I guess for now the kernel scanner driver in 2.6 isn't really > usable. It's marked "obsolete" anyway so better use libusb. > > Bye, > > Henning > From henning at meier-geinitz.de Sat Jan 17 21:22:41 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Sat, 17 Jan 2004 22:22:41 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <40099558.9010208@gmx.net> References: <20040115172800.GA648@xeon2.local.here> <20040117180126.GB659@meier-geinitz.de> <40099558.9010208@gmx.net> Message-ID: <20040117212241.GD659@meier-geinitz.de> Hi, On Sat, Jan 17, 2004 at 08:04:40PM +0000, Till Kamppeter wrote: > Is there a way to block the usage of the scanner.o module by means of > the SAME package (compile-time config or so)? No and that wouldn't help. When the kernel scanner driver is loaded, it claims the USB devices it knows. libusb can't access them in this case. > Or is it the best to ask > our kernel maintainer to make a kernel package without scanner.o? Is it > safe to publish a distro (Mandrake Linux 10.0) without scanner.o in its > kernel? Would I loose compatibility for certain scanner models or not? To my knowledge, every scanner that works with the scanner module also works with libusb. But this is only true for SANE, I don't know if it's the same for other software like vuescan. If that's possible I would include the scanner driver, but not load it by default. So if the user really needs it, he can load it. I have no idea how to do that with hotplug, however. > And does the oops only appear with the SMP kernel 2.6.x or also with the > standard kernel 2.6.x. There seem to be two oopses (maybe related): One that happens on unplugging a scanner. That one happens also without SMP and without preemtible kernel. The other one that seems to accour when a scanner is accessed (e.g. scanimage -L) only occurs with preemption turned on. I haven't tested SMP. I can't reproduce any of the libusb problems but I use different scanners. Bye, Henning From neundorf at kde.org Sun Jan 18 11:28:59 2004 From: neundorf at kde.org (Alexander Neundorf) Date: Sun, 18 Jan 2004 12:28:59 +0100 Subject: [sane-devel] Question about the Canon Lide 30 behaviour Message-ID: <200401181228.59012.neundorf@kde.org> Hi, since some weeks I have a Canon Lide 30 scanner and everything works well. I have sane 1.0.13 installed. The only question I have is the following: when I start scanning (full or preview) the scanner starts doing some stuff, which takes several seconds, maybe up to 20 seconds or something, and after this it actually starts scanning, i.e. the scan line starts to move. What is it what is happening at the beginning ? Is this some kind of calibration ? Maybe white reference ? Is it required that this is done before every single scan ? Bye Alex -- Work: alexander.neundorf at jenoptik.com - http://www.jenoptik-los.de Home: neundorf at kde.org - http://www.kde.org alex at neundorf.net - http://www.neundorf.net From gerhard at gjaeger.de Sun Jan 18 12:12:29 2004 From: gerhard at gjaeger.de (Jaeger, Gerhard) Date: Sun, 18 Jan 2004 13:12:29 +0100 Subject: [sane-devel] linux-2.6.1-smp,usb,oops,sane-backends-1.0.13,epson-1640 In-Reply-To: <20040117212241.GD659@meier-geinitz.de> References: <20040115172800.GA648@xeon2.local.here> <40099558.9010208@gmx.net> <20040117212241.GD659@meier-geinitz.de> Message-ID: <200401181312.29525.gerhard@gjaeger.de> Hi, On Samstag, 17. Januar 2004 22:22, Henning Meier-Geinitz wrote: > Hi, > > On Sat, Jan 17, 2004 at 08:04:40PM +0000, Till Kamppeter wrote: > > Is there a way to block the usage of the scanner.o module by means of > > the SAME package (compile-time config or so)? > > No and that wouldn't help. When the kernel scanner driver is loaded, > it claims the USB devices it knows. libusb can't access them in this > case. > > > Or is it the best to ask > > our kernel maintainer to make a kernel package without scanner.o? Is it > > safe to publish a distro (Mandrake Linux 10.0) without scanner.o in its > > kernel? Would I loose compatibility for certain scanner models or not? > > To my knowledge, every scanner that works with the scanner module also > works with libusb. But this is only true for SANE, I don't know if > it's the same for other software like vuescan. AFAIK vuescan works only with the scanner module. > If that's possible I would include the scanner driver, but not load it > by default. So if the user really needs it, he can load it. I have no > idea how to do that with hotplug, however. Using hotplug, you should add the scanner module to the "blacklist" file in /etc/hotplug > > And does the oops only appear with the SMP kernel 2.6.x or also with the > > standard kernel 2.6.x. > > There seem to be two oopses (maybe related): One that happens on > unplugging a scanner. That one happens also without SMP and without > preemtible kernel. > > The other one that seems to accour when a scanner is accessed (e.g. > scanimage -L) only occurs with preemption turned on. I haven't tested > SMP. Probably you need to some spinlocks to protect the driver from being scheduled in some cases!? If I find some time, I'll check that... Ciao, Gerhard > I can't reproduce any of the libusb problems but I use different > scanners. > > Bye, > Henning From gerhard at gjaeger.de Sun Jan 18 12:16:19 2004 From: gerhard at gjaeger.de (Jaeger, Gerhard) Date: Sun, 18 Jan 2004 13:16:19 +0100 Subject: [sane-devel] Question about the Canon Lide 30 behaviour In-Reply-To: <200401181228.59012.neundorf@kde.org> References: <200401181228.59012.neundorf@kde.org> Message-ID: <200401181316.19815.gerhard@gjaeger.de> Hi, On Sonntag, 18. Januar 2004 12:28, Alexander Neundorf wrote: [SNIPSNAP] > when I start scanning (full or preview) the scanner starts doing some > stuff, which takes several seconds, maybe up to 20 seconds or something, > and after this it actually starts scanning, i.e. the scan line starts to > move. > > What is it what is happening at the beginning ? Is this some kind of > calibration ? Maybe white reference ? > Is it required that this is done before every single scan ? What you see is the calibration step. It consists of two parts: - coarse calibration - fine calibration In the end, the fine calibration needs to be done for each scan-step, the coarse calibration only for each scan-mode. The backend contains a configuratation switch (in plustek.conf), called option cacheCalData Try and set this to 1 and see if this helps. It should save the coarse-calibration results and reuse it. This feature is not very well tested... Ciao, Gerhard From jesper at pobox.com Sun Jan 18 14:38:53 2004 From: jesper at pobox.com (Jesper Anderson) Date: Sun, 18 Jan 2004 15:38:53 +0100 Subject: [sane-devel] xsane and Gimp 2.0 Message-ID: <20040118143853.GA13079@acheron.the-domination.com> Is it possible to compile xsane 0.92 against the Gimp 2.0 prerelease? I use this version exclusively, and it would be very nice to have xsane integrated in it. Thanks in advance, Jesper From jb at jblache.org Sun Jan 18 15:56:33 2004 From: jb at jblache.org (Julien BLACHE) Date: Sun, 18 Jan 2004 16:56:33 +0100 Subject: [sane-devel] xsane and Gimp 2.0 In-Reply-To: <20040118143853.GA13079@acheron.the-domination.com> (Jesper Anderson's message of "Sun, 18 Jan 2004 15:38:53 +0100") References: <20040118143853.GA13079@acheron.the-domination.com> Message-ID: <87d69h8d3i.fsf@frigate.technologeek.org> Jesper Anderson wrote: Hi, > Is it possible to compile xsane 0.92 against the Gimp 2.0 prerelease? > I use this version exclusively, and it would be very nice to have > xsane integrated in it. Yes, it is, with this patch that a few debian users have been using for the past months : Apply to a clean source tree with patch -p1, run configure, build. It defaults to GTK2+GIMP2.0. (you don't need to run autoconf) WARNING: the autoconf check that comes with GIMP 2.0 expects version strings of the form x.y.z, and GIMP 2.0 pre-versions have a version string of the form 2.0preX, so the check barfs. You'll have to edit either gimptool or the .pc file for GIMP 2.0 so that they return 2.0.0 as the version string. Oliver, this is the patch I wanted to send you, so feel free to take a look at it :) JB. -- Julien BLACHE GPG KeyID 0xF5D65169 From leoncogs at eircom.net Sun Jan 18 18:35:55 2004 From: leoncogs at eircom.net (Lm Cogs) Date: Sun, 18 Jan 2004 18:35:55 +0000 Subject: [sane-devel] re epson percection 1200 problems libusb kernel 2.6.1-rc1 Message-ID: <200401181835.55840.leoncogs@eircom.net> Well Its a success at last I tried without smp amd preemting complied but it was no success, then as you suggeste I looked in var/log/messages. and it seemed to suggest that it was looking for a module usbcore. I recompiled the kernel with a the option for 'support for usb' chosen to be compiled as a module. The scanner now works. I used xsane and all went well. I also change a line in fstab but I don't think this made a difference. When I get time I will try recompiling the kernel with 'preemptible kernel', I don't think I need smp. I would appeciate it if you take a look at my fstab and var/log/message files below I guess I don't need to set permission in epson_scanner if I set it in fstab globally. Another question where do I go to set up libusb and epson printer, it works if i modprobe usblp and then set it up in Yast? fstab /dev/hdc1 / ext2 defaults 1 1 /dev/hdc2 /home ext2 defaults 1 2 /dev/hdc3 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 none /proc/bus/usb usbfs devmode=0666 0 0 usbfs /proc/bus/usb usbfs defautls,noauto 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/dvd /media/dvd auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0 /dev/sr0 /media/sr0 auto ro,noauto,user,exec 0 0 /dev/sda1 /media/sda1 auto sync,noauto,user,exec 0 0 /var/log/messages Jan 18 16:35:33 desktop syslogd 1.4.1: restart. Jan 18 16:35:35 desktop /sbin/hotplug[692]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: loaded HCD: ehci-hcd Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: loaded HCD: ohci-hcd Jan 18 16:35:35 desktop /sbin/hotplug[733]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:35:35 desktop /sbin/hotplug[772]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:35:35 desktop /sbin/hotplug[811]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: loaded HCD: uhci-hcd Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: loaded HCD: ehci-hcd Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: FATAL: Module mousedev not found. Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: FATAL: Module keybdev not found. Jan 18 16:35:35 desktop /etc/hotplug/usb.rc[681]: FATAL: Module printer not found. Jan 18 16:35:38 desktop /etc/hotplug/usb.agent[895]: Bad USB agent invocation Jan 18 16:35:38 desktop kernel: klogd 1.4.1, log source = /proc/kmsg started. Jan 18 16:35:38 desktop kernel: Inspecting /boot/System.map-2.6.1-rc1 Jan 18 16:35:38 desktop kernel: Loaded 24789 symbols from /boot/ System.map-2.6.1-rc1. Jan 18 16:35:38 desktop kernel: Symbols match kernel version 2.6.1. Jan 18 16:35:38 desktop kernel: No module symbols loaded - kernel modules not enabled. Jan 18 16:35:38 desktop kernel: eth0: link down Jan 18 16:35:38 desktop kernel: NET: Registered protocol family 17 Jan 18 16:35:38 desktop kernel: raw1394: /dev/raw1394 device initialized Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: registered new driver usbfs Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: registered new driver hub Jan 18 16:35:38 desktop kernel: ehci_hcd: block sizes: qh 128 qtd 96 itd 128 sitd 64 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: EHCI Host Controller Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: reset hcs_params 0x3206 dbg=0 cc=3 pcc=2 ordered !ppc ports=6 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: reset hcc_params 6872 thresh 7 uframes 256/512/1024 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: capability 0001 at 68 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: irq 21, pci mem e089d000 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: init command 010009 (park)=0 ithresh=1 period=256 RUN Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13 Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: root hub device address 1 Jan 18 16:35:38 desktop kernel: usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:35:38 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:35:38 desktop kernel: usb usb1: Product: EHCI Host Controller Jan 18 16:35:38 desktop kernel: usb usb1: Manufacturer: Linux 2.6.1-rc1 ehci_hcd Jan 18 16:35:38 desktop kernel: usb usb1: SerialNumber: 0000:00:10.3 Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: usb usb1: registering 1-0:1.0 (config #1, interface 0) Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: usb_probe_interface Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: usb_probe_interface - got id Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: USB hub found Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: 6 ports detected Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: standalone hub Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: ganged power switching Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: individual port over-current protection Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: Single TT Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: TT requires at most 8 FS bit times Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: Port indicators are not supported Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: power on to power good time: 0ms Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: hub controller current requirement: 0mA Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: local power source is good Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: no over-current condition exists Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: enabling power on all ports Jan 18 16:35:38 desktop kernel: ohci_hcd: 2003 Oct 13 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) Jan 18 16:35:38 desktop kernel: ohci_hcd: block sizes: ed 64 td 64 Jan 18 16:35:38 desktop kernel: drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1 Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.0: UHCI Host Controller Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.0: irq 21, io base 0000d400 Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2 Jan 18 16:35:38 desktop kernel: drivers/usb/host/uhci-hcd.c: detected 2 ports Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.0: root hub device address 1 Jan 18 16:35:38 desktop kernel: usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:35:38 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:35:38 desktop kernel: usb usb2: Product: UHCI Host Controller Jan 18 16:35:38 desktop kernel: usb usb2: Manufacturer: Linux 2.6.1-rc1 uhci_hcd Jan 18 16:35:38 desktop kernel: usb usb2: SerialNumber: 0000:00:10.0 Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: usb usb2: registering 2-0:1.0 (config #1, interface 0) Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: usb_probe_interface Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: usb_probe_interface - got id Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: USB hub found Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: 2 ports detected Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: standalone hub Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: ganged power switching Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: global over-current protection Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: Port indicators are not supported Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: power on to power good time: 2ms Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: hub controller current requirement: 0mA Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: local power source is good Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: no over-current condition exists Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: enabling power on all ports Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.1: UHCI Host Controller Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 001803 POWER sig=j CSC CONNECT Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: port 5, status 501, change 1, 480 Mb/s Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.1: irq 21, io base 0000d800 Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3 Jan 18 16:35:38 desktop kernel: drivers/usb/host/uhci-hcd.c: detected 2 ports Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.1: root hub device address 1 Jan 18 16:35:38 desktop kernel: usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:35:38 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:35:38 desktop kernel: usb usb3: Product: UHCI Host Controller Jan 18 16:35:38 desktop kernel: usb usb3: Manufacturer: Linux 2.6.1-rc1 uhci_hcd Jan 18 16:35:38 desktop kernel: usb usb3: SerialNumber: 0000:00:10.1 Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: usb usb3: registering 3-0:1.0 (config #1, interface 0) Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: usb_probe_interface Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: usb_probe_interface - got id Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: USB hub found Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: 2 ports detected Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: standalone hub Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: ganged power switching Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: global over-current protection Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: Port indicators are not supported Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: power on to power good time: 2ms Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: hub controller current requirement: 0mA Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: local power source is good Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: no over-current condition exists Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: enabling power on all ports Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.2: UHCI Host Controller Jan 18 16:35:38 desktop kernel: hub 1-0:1.0: debounce: port 5: delay 100ms stable 4 status 0x501 Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.2: irq 21, io base 0000dc00 Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4 Jan 18 16:35:38 desktop kernel: drivers/usb/host/uhci-hcd.c: detected 2 ports Jan 18 16:35:38 desktop kernel: uhci_hcd 0000:00:10.2: root hub device address 1 Jan 18 16:35:38 desktop kernel: usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:35:38 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:35:38 desktop kernel: usb usb4: Product: UHCI Host Controller Jan 18 16:35:38 desktop kernel: usb usb4: Manufacturer: Linux 2.6.1-rc1 uhci_hcd Jan 18 16:35:38 desktop kernel: usb usb4: SerialNumber: 0000:00:10.2 Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: port 5 full speed --> companion Jan 18 16:35:38 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 003801 POWER OWNER sig=j CONNECT Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: port 1, status 100, change 3, 12 Mb/s Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: port 2, status 100, change 3, 12 Mb/s Jan 18 16:35:38 desktop kernel: usb usb4: registering 4-0:1.0 (config #1, interface 0) Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: usb_probe_interface Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: usb_probe_interface - got id Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: USB hub found Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: 2 ports detected Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: standalone hub Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: ganged power switching Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: global over-current protection Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: Port indicators are not supported Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: power on to power good time: 2ms Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: hub controller current requirement: 0mA Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: local power source is good Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: no over-current condition exists Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: enabling power on all ports Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: port 1, status 100, change 3, 12 Mb/s Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: port 2, status 100, change 3, 12 Mb/s Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: port 1 enable change, status 100 Jan 18 16:35:38 desktop kernel: hub 2-0:1.0: port 2 enable change, status 100 Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: port 1, status 101, change 3, 12 Mb/s Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x101 Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: new USB device on port 1, assigned address 2 Jan 18 16:35:38 desktop kernel: usb 4-1: new device strings: Mfr=1, Product=2, SerialNumber=0 Jan 18 16:35:38 desktop kernel: drivers/usb/core/message.c: USB device number 2 default language ID 0x409 Jan 18 16:35:38 desktop kernel: usb 4-1: Product: USB Printer Jan 18 16:35:38 desktop kernel: usb 4-1: Manufacturer: EPSON Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: usb 4-1: registering 4-1:1.0 (config #1, interface 0) Jan 18 16:35:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: port 2, status 100, change 3, 12 Mb/s Jan 18 16:35:38 desktop kernel: hub 4-0:1.0: port 2 enable change, status 100 Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: port 1 enable change, status 100 Jan 18 16:35:38 desktop kernel: hub 3-0:1.0: port 2 enable change, status 100 Jan 18 16:35:38 desktop kernel: drivers/usb/host/uhci-hcd.c: d400: suspend_hc Jan 18 16:35:38 desktop kernel: drivers/usb/host/uhci-hcd.c: d800: suspend_hc Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:35:41 desktop /etc/hotplug/usb.agent[942]: Bad USB agent invocation Jan 18 16:35:43 desktop modprobe: FATAL: Module battery not found. Jan 18 16:35:43 desktop kernel: via82xx: Assuming DXS channels with 48k fixed sample rate. Jan 18 16:35:43 desktop kernel: Please try dxs_support=1 option and report if it works on your machine. Jan 18 16:35:43 desktop kernel: PCI: Setting latency timer of device 0000:00:11.5 to 64 Jan 18 16:35:44 desktop kernel: ACPI: Power Button (FF) [PWRF] Jan 18 16:35:44 desktop kernel: ACPI: Processor [CPU0] (supports C1 C2, 2 throttling states) Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: modules.usbmap unparsable line: Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: . Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: modules.usbmap unparsable line: Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: . Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: modules.usbmap unparsable line: Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: . Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: modules.usbmap unparsable line: Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1060]: . Jan 18 16:35:44 desktop /etc/hotplug/usb.agent[1099]: Bad USB agent invocation Jan 18 16:35:44 desktop smpppd[1021]: smpppd version 1.06 started Jan 18 16:35:44 desktop kernel: NET: Registered protocol family 10 Jan 18 16:35:45 desktop kernel: Disabled Privacy Extensions on device c0386e20 (lo) Jan 18 16:35:45 desktop kernel: IPv6 over IPv4 tunneling driver Jan 18 16:35:45 desktop sshd[1106]: Server listening on :: port 22. Jan 18 16:35:45 desktop kernel: request_module: failed /sbin/modprobe -- snd-card-1. error = 256 Jan 18 16:35:47 desktop kernel: parport0: PC-style at 0x378 [PCSPP(,...)] Jan 18 16:35:47 desktop kernel: lp0: using parport0 (polling). Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: modules.usbmap unparsable line: Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: . Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: modules.usbmap unparsable line: Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: . Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: modules.usbmap unparsable line: Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: . Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: modules.usbmap unparsable line: Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1309]: . Jan 18 16:35:47 desktop /etc/hotplug/usb.agent[1354]: Bad USB agent invocation Jan 18 16:35:48 desktop kernel: request_module: failed /sbin/modprobe -- char-major-4-72. error = 256 Jan 18 16:35:48 desktop /usr/sbin/cron[1481]: (CRON) STARTUP (fork ok) Jan 18 16:35:49 desktop kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic Jan 18 16:35:49 desktop kernel: usbserial 4-1:1.0: usb_probe_interface Jan 18 16:35:49 desktop kernel: usbserial 4-1:1.0: usb_probe_interface - got id Jan 18 16:35:49 desktop kernel: drivers/usb/core/usb.c: registered new driver usbserial Jan 18 16:35:49 desktop kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0 Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: modules.usbmap unparsable line: Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: . Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: modules.usbmap unparsable line: Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: . Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: modules.usbmap unparsable line: Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: . Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: modules.usbmap unparsable line: Jan 18 16:35:50 desktop /etc/hotplug/usb.agent[1572]: . Jan 18 16:35:53 desktop kernel: request_module: failed /sbin/modprobe -- char-major-195-255. error = 256 Jan 18 16:35:54 desktop modprobe: FATAL: Module printer not found. Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: modules.usbmap unparsable line: Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: . Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: modules.usbmap unparsable line: Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: . Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: modules.usbmap unparsable line: Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: . Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: modules.usbmap unparsable line: Jan 18 16:35:54 desktop /etc/hotplug/usb.agent[1651]: . Jan 18 16:35:54 desktop kdm[1643]: IO Error in XOpenDisplay Jan 18 16:35:54 desktop kdm[1617]: Server for display :0 terminated unexpectedly Jan 18 16:35:55 desktop kernel: eth0: no IPv6 routers present Jan 18 16:35:55 desktop kernel: request_module: failed /sbin/modprobe -- char-major-195-255. error = 256 Jan 18 16:35:56 desktop kdm[1694]: IO Error in XOpenDisplay Jan 18 16:35:56 desktop kdm[1617]: Server for display :0 terminated unexpectedly Jan 18 16:35:56 desktop kdm[1617]: Display :0 cannot be opened Jan 18 16:35:56 desktop kernel: request_module: failed /sbin/modprobe -- char-major-195-255. error = 256 Jan 18 16:35:57 desktop kdm[1703]: IO Error in XOpenDisplay Jan 18 16:35:57 desktop kdm[1617]: Server for display :0 terminated unexpectedly Jan 18 16:35:57 desktop kdm[1617]: Display :0 cannot be opened Jan 18 16:35:57 desktop /etc/hotplug/usb.agent[1716]: Bad USB agent invocation Jan 18 16:35:57 desktop kernel: request_module: failed /sbin/modprobe -- char-major-195-255. error = 256 Jan 18 16:35:58 desktop kdm[1712]: IO Error in XOpenDisplay Jan 18 16:35:58 desktop kdm[1617]: Server for display :0 terminated unexpectedly Jan 18 16:35:58 desktop kdm[1617]: Display :0 cannot be opened Jan 18 16:35:58 desktop kdm[1617]: Display :0 is being disabled (restarting too fast) Jan 18 16:36:17 desktop login[1636]: FAILED LOGIN 1 FROM /dev/tty1 FOR UNKNOWN, User not known to the underlying authentication module Jan 18 16:38:35 desktop kernel: nvidia: module license 'NVIDIA' taints kernel. Jan 18 16:41:28 desktop init: Switching to runlevel: 6 Jan 18 16:41:34 desktop sshd[1106]: Received signal 15; terminating. Jan 18 16:41:34 desktop smpppd[1130]: terminating on signal 15 Jan 18 16:41:34 desktop kernel: request_module: failed /sbin/modprobe -- snd-card-1. error = 256 Jan 18 16:41:35 desktop kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver Generic Jan 18 16:41:35 desktop kernel: drivers/usb/core/usb.c: deregistering driver usbserial Jan 18 16:41:35 desktop kernel: Kernel logging (proc) stopped. Jan 18 16:41:35 desktop kernel: Kernel log daemon terminating. Jan 18 16:41:36 desktop exiting on signal 15 Jan 18 16:44:11 desktop syslogd 1.4.1: restart. Jan 18 16:44:13 desktop /sbin/hotplug[692]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:44:13 desktop /etc/hotplug/usb.rc[681]: loaded HCD: ehci-hcd Jan 18 16:44:13 desktop /etc/hotplug/usb.rc[681]: loaded HCD: ohci-hcd Jan 18 16:44:13 desktop /sbin/hotplug[733]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:44:13 desktop /sbin/hotplug[772]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:44:13 desktop /sbin/hotplug[811]: no runnable /etc/hotplug/ usb_host.agent is installed Jan 18 16:44:13 desktop /etc/hotplug/usb.rc[681]: loaded HCD: uhci-hcd Jan 18 16:44:13 desktop /etc/hotplug/usb.rc[681]: loaded HCD: ehci-hcd Jan 18 16:44:13 desktop /etc/hotplug/usb.rc[681]: FATAL: Module mousedev not found. Jan 18 16:44:14 desktop /etc/hotplug/usb.rc[681]: FATAL: Module keybdev not found. Jan 18 16:44:14 desktop /etc/hotplug/usb.rc[681]: FATAL: Module printer not found. Jan 18 16:44:16 desktop /etc/hotplug/usb.agent[895]: Bad USB agent invocation Jan 18 16:44:16 desktop kernel: klogd 1.4.1, log source = /proc/kmsg started. Jan 18 16:44:16 desktop kernel: Inspecting /boot/System.map-2.6.1-rc1 Jan 18 16:44:17 desktop kernel: Loaded 24789 symbols from /boot/ System.map-2.6.1-rc1. Jan 18 16:44:17 desktop kernel: Symbols match kernel version 2.6.1. Jan 18 16:44:17 desktop kernel: No module symbols loaded - kernel modules not enabled. Jan 18 16:44:17 desktop kernel: eth0: link down Jan 18 16:44:17 desktop kernel: NET: Registered protocol family 17 Jan 18 16:44:17 desktop kernel: raw1394: /dev/raw1394 device initialized Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: registered new driver usbfs Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: registered new driver hub Jan 18 16:44:17 desktop kernel: ehci_hcd: block sizes: qh 128 qtd 96 itd 128 sitd 64 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: EHCI Host Controller Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: reset hcs_params 0x3206 dbg=0 cc=3 pcc=2 ordered !ppc ports=6 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: reset hcc_params 6872 thresh 7 uframes 256/512/1024 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: capability 0001 at 68 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: irq 21, pci mem e089d000 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: init command 010009 (park)=0 ithresh=1 period=256 RUN Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: root hub device address 1 Jan 18 16:44:17 desktop kernel: usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:44:17 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:44:17 desktop kernel: usb usb1: Product: EHCI Host Controller Jan 18 16:44:17 desktop kernel: usb usb1: Manufacturer: Linux 2.6.1-rc1 ehci_hcd Jan 18 16:44:17 desktop kernel: usb usb1: SerialNumber: 0000:00:10.3 Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: usb usb1: registering 1-0:1.0 (config #1, interface 0) Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: usb_probe_interface Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: usb_probe_interface - got id Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: USB hub found Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: 6 ports detected Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: standalone hub Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: ganged power switching Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: individual port over-current protection Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: Single TT Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: TT requires at most 8 FS bit times Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: Port indicators are not supported Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: power on to power good time: 0ms Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: hub controller current requirement: 0mA Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: local power source is good Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: no over-current condition exists Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: enabling power on all ports Jan 18 16:44:17 desktop kernel: ohci_hcd: 2003 Oct 13 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) Jan 18 16:44:17 desktop kernel: ohci_hcd: block sizes: ed 64 td 64 Jan 18 16:44:17 desktop kernel: drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1 Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.0: UHCI Host Controller Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.0: irq 21, io base 0000d400 Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2 Jan 18 16:44:17 desktop kernel: drivers/usb/host/uhci-hcd.c: detected 2 ports Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.0: root hub device address 1 Jan 18 16:44:17 desktop kernel: usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:44:17 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:44:17 desktop kernel: usb usb2: Product: UHCI Host Controller Jan 18 16:44:17 desktop kernel: usb usb2: Manufacturer: Linux 2.6.1-rc1 uhci_hcd Jan 18 16:44:17 desktop kernel: usb usb2: SerialNumber: 0000:00:10.0 Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: usb usb2: registering 2-0:1.0 (config #1, interface 0) Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: usb_probe_interface Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: usb_probe_interface - got id Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: USB hub found Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: 2 ports detected Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: standalone hub Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: ganged power switching Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: global over-current protection Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: Port indicators are not supported Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: power on to power good time: 2ms Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: hub controller current requirement: 0mA Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: local power source is good Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: no over-current condition exists Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: enabling power on all ports Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.1: UHCI Host Controller Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 001803 POWER sig=j CSC CONNECT Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: port 5, status 501, change 1, 480 Mb/s Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.1: irq 21, io base 0000d800 Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3 Jan 18 16:44:17 desktop kernel: drivers/usb/host/uhci-hcd.c: detected 2 ports Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.1: root hub device address 1 Jan 18 16:44:17 desktop kernel: usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:44:17 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:44:17 desktop kernel: usb usb3: Product: UHCI Host Controller Jan 18 16:44:17 desktop kernel: usb usb3: Manufacturer: Linux 2.6.1-rc1 uhci_hcd Jan 18 16:44:17 desktop kernel: usb usb3: SerialNumber: 0000:00:10.1 Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: usb usb3: registering 3-0:1.0 (config #1, interface 0) Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: usb_probe_interface Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: usb_probe_interface - got id Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: USB hub found Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: 2 ports detected Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: standalone hub Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: ganged power switching Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: global over-current protection Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: Port indicators are not supported Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: power on to power good time: 2ms Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: hub controller current requirement: 0mA Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: local power source is good Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: no over-current condition exists Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: enabling power on all ports Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.2: UHCI Host Controller Jan 18 16:44:17 desktop kernel: hub 1-0:1.0: debounce: port 5: delay 100ms stable 4 status 0x501 Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.2: irq 21, io base 0000dc00 Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: port 5 full speed --> companion Jan 18 16:44:17 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 003801 POWER OWNER sig=j CONNECT Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4 Jan 18 16:44:17 desktop kernel: drivers/usb/host/uhci-hcd.c: detected 2 ports Jan 18 16:44:17 desktop kernel: uhci_hcd 0000:00:10.2: root hub device address 1 Jan 18 16:44:17 desktop kernel: usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1 Jan 18 16:44:17 desktop kernel: drivers/usb/core/message.c: USB device number 1 default language ID 0x409 Jan 18 16:44:17 desktop kernel: usb usb4: Product: UHCI Host Controller Jan 18 16:44:17 desktop kernel: usb usb4: Manufacturer: Linux 2.6.1-rc1 uhci_hcd Jan 18 16:44:17 desktop kernel: usb usb4: SerialNumber: 0000:00:10.2 Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: port 1, status 100, change 3, 12 Mb/s Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: port 2, status 100, change 3, 12 Mb/s Jan 18 16:44:17 desktop kernel: usb usb4: registering 4-0:1.0 (config #1, interface 0) Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: usb_probe_interface Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: usb_probe_interface - got id Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: USB hub found Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: 2 ports detected Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: standalone hub Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: ganged power switching Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: global over-current protection Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: Port indicators are not supported Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: power on to power good time: 2ms Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: hub controller current requirement: 0mA Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: local power source is good Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: no over-current condition exists Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: enabling power on all ports Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: port 1, status 100, change 3, 12 Mb/s Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: port 2, status 100, change 3, 12 Mb/s Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: port 1 enable change, status 100 Jan 18 16:44:17 desktop kernel: hub 2-0:1.0: port 2 enable change, status 100 Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: port 1, status 101, change 3, 12 Mb/s Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x101 Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: new USB device on port 1, assigned address 2 Jan 18 16:44:17 desktop kernel: usb 4-1: new device strings: Mfr=1, Product=2, SerialNumber=0 Jan 18 16:44:17 desktop kernel: drivers/usb/core/message.c: USB device number 2 default language ID 0x409 Jan 18 16:44:17 desktop kernel: usb 4-1: Product: USB Printer Jan 18 16:44:17 desktop kernel: usb 4-1: Manufacturer: EPSON Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: usb 4-1: registering 4-1:1.0 (config #1, interface 0) Jan 18 16:44:17 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: port 2, status 100, change 3, 12 Mb/s Jan 18 16:44:17 desktop kernel: hub 4-0:1.0: port 2 enable change, status 100 Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: port 1 enable change, status 100 Jan 18 16:44:17 desktop kernel: hub 3-0:1.0: port 2 enable change, status 100 Jan 18 16:44:17 desktop kernel: drivers/usb/host/uhci-hcd.c: d400: suspend_hc Jan 18 16:44:17 desktop kernel: drivers/usb/host/uhci-hcd.c: d800: suspend_hc Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: modules.usbmap unparsable line: Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[907]: . Jan 18 16:44:19 desktop /etc/hotplug/usb.agent[942]: Bad USB agent invocation Jan 18 16:44:22 desktop modprobe: FATAL: Module battery not found. Jan 18 16:44:22 desktop kernel: via82xx: Assuming DXS channels with 48k fixed sample rate. Jan 18 16:44:22 desktop kernel: Please try dxs_support=1 option and report if it works on your machine. Jan 18 16:44:22 desktop kernel: PCI: Setting latency timer of device 0000:00:11.5 to 64 Jan 18 16:44:22 desktop kernel: ACPI: Power Button (FF) [PWRF] Jan 18 16:44:22 desktop kernel: ACPI: Processor [CPU0] (supports C1 C2, 2 throttling states) Jan 18 16:44:22 desktop smpppd[1021]: smpppd version 1.06 started Jan 18 16:44:22 desktop kernel: NET: Registered protocol family 10 Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: modules.usbmap unparsable line: Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: . Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: modules.usbmap unparsable line: Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: . Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: modules.usbmap unparsable line: Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: . Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: modules.usbmap unparsable line: Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1059]: . Jan 18 16:44:22 desktop /etc/hotplug/usb.agent[1101]: Bad USB agent invocation Jan 18 16:44:22 desktop kernel: Disabled Privacy Extensions on device c0386e20 (lo) Jan 18 16:44:22 desktop kernel: IPv6 over IPv4 tunneling driver Jan 18 16:44:22 desktop sshd[1056]: Server listening on :: port 22. Jan 18 16:44:23 desktop kernel: request_module: failed /sbin/modprobe -- snd-card-1. error = 256 Jan 18 16:44:25 desktop kernel: parport0: PC-style at 0x378 [PCSPP(,...)] Jan 18 16:44:25 desktop kernel: lp0: using parport0 (polling). Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: modules.usbmap unparsable line: Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: . Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: modules.usbmap unparsable line: Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: . Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: modules.usbmap unparsable line: Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: . Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: modules.usbmap unparsable line: Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1340]: . Jan 18 16:44:25 desktop /etc/hotplug/usb.agent[1378]: Bad USB agent invocation Jan 18 16:44:26 desktop /usr/sbin/cron[1462]: (CRON) STARTUP (fork ok) Jan 18 16:44:27 desktop kernel: request_module: failed /sbin/modprobe -- char-major-4-72. error = 256 Jan 18 16:44:27 desktop kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic Jan 18 16:44:27 desktop kernel: usbserial 4-1:1.0: usb_probe_interface Jan 18 16:44:27 desktop kernel: usbserial 4-1:1.0: usb_probe_interface - got id Jan 18 16:44:27 desktop kernel: drivers/usb/core/usb.c: registered new driver usbserial Jan 18 16:44:27 desktop kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0 Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: modules.usbmap unparsable line: Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: . Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: modules.usbmap unparsable line: Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: . Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: modules.usbmap unparsable line: Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: . Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: modules.usbmap unparsable line: Jan 18 16:44:28 desktop /etc/hotplug/usb.agent[1574]: . Jan 18 16:44:32 desktop /etc/hotplug/usb.agent[1625]: Bad USB agent invocation Jan 18 16:44:33 desktop kernel: eth0: no IPv6 routers present Jan 18 16:44:35 desktop modprobe: FATAL: Module printer not found. Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: modules.usbmap unparsable line: Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: . Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: modules.usbmap unparsable line: Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: . Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: modules.usbmap unparsable line: Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: . Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: modules.usbmap unparsable line: Jan 18 16:44:35 desktop /etc/hotplug/usb.agent[1633]: . Jan 18 16:44:43 desktop login[1619]: FAILED LOGIN 1 FROM /dev/tty1 FOR UNKNOWN, User not known to the underlying authentication module Jan 18 16:45:03 desktop kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0). Jan 18 16:46:52 desktop kernel: nvidia: module license 'NVIDIA' taints kernel. Jan 18 16:46:52 desktop kernel: 0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4496 Wed Jul 16 19:03:09 PDT 2003 Jan 18 16:46:53 desktop modprobe: WARNING: Error inserting agpgart (/lib/ modules/2.6.1-rc1/kernel/drivers/char/agp/agpgart.ko): Unknown symbol in module, or unknown parameter (see dmesg) Jan 18 16:46:53 desktop kernel: agpgart: Unknown parameter `agp_try_unsupported' Jan 18 16:46:53 desktop kernel: 0: NVRM: AGPGART: unable to retrieve symbol table Jan 18 16:46:53 desktop kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0). Jan 18 16:47:45 desktop kernel: mtrr: no MTRR for d8000000,4000000 found Jan 18 16:48:34 desktop login[2248]: FAILED LOGIN 1 FROM /dev/tty1 FOR jim, Authentication failure Jan 18 16:48:46 desktop modprobe: WARNING: Error inserting agpgart (/lib/ modules/2.6.1-rc1/kernel/drivers/char/agp/agpgart.ko): Unknown symbol in module, or unknown parameter (see dmesg) Jan 18 16:48:46 desktop kernel: agpgart: Unknown parameter `agp_try_unsupported' Jan 18 16:48:46 desktop kernel: 0: NVRM: AGPGART: unable to retrieve symbol table Jan 18 16:48:47 desktop kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0). Jan 18 16:48:47 desktop kernel: atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0). Jan 18 16:49:07 desktop kernel: request_module: failed /sbin/modprobe -- sound-slot-1. error = 256 Jan 18 16:49:20 desktop kernel: request_module: failed /sbin/modprobe -- snd-card-1. error = 256 Jan 18 16:49:23 desktop kernel: request_module: failed /sbin/modprobe -- snd-card-1. error = 256 Jan 18 16:49:36 desktop kernel: hdh: ATAPI 48X DVD-ROM drive, 512kB Cache Jan 18 16:49:36 desktop kernel: Uniform CD-ROM driver Revision: 3.12 Jan 18 16:49:36 desktop /sbin/hotplug[2533]: no runnable /etc/hotplug/ block.agent is installed Jan 18 16:50:34 desktop su: (to root) jim on /dev/pts/1 Jan 18 16:50:34 desktop su: pam_unix2: session started for user root, service su Jan 18 16:52:38 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 3 status 001803 POWER sig=j CSC CONNECT Jan 18 16:52:38 desktop kernel: hub 1-0:1.0: port 3, status 501, change 1, 480 Mb/s Jan 18 16:52:38 desktop kernel: hub 1-0:1.0: debounce: port 3: delay 100ms stable 4 status 0x501 Jan 18 16:52:38 desktop kernel: ehci_hcd 0000:00:10.3: port 3 high speed Jan 18 16:52:38 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 3 status 001005 POWER sig=se0 PE CONNECT Jan 18 16:52:38 desktop kernel: hub 1-0:1.0: new USB device on port 3, assigned address 2 Jan 18 16:52:38 desktop kernel: usb 1-3: new device strings: Mfr=73, Product=80, SerialNumber=98 Jan 18 16:52:38 desktop kernel: drivers/usb/core/message.c: USB device number 2 default language ID 0x409 Jan 18 16:52:38 desktop kernel: usb 1-3: Product: USB CDRW6402EXT-B Jan 18 16:52:38 desktop kernel: usb 1-3: Manufacturer: Iomega Jan 18 16:52:38 desktop kernel: usb 1-3: SerialNumber: 5300000000032151 Jan 18 16:52:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:52:38 desktop kernel: usb 1-3: registering 1-3:2.0 (config #2, interface 0) Jan 18 16:52:38 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:52:38 desktop kernel: usbserial 1-3:2.0: usb_probe_interface Jan 18 16:52:38 desktop kernel: usbserial 1-3:2.0: usb_probe_interface - got id Jan 18 16:52:38 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 003802 POWER OWNER sig=j CSC Jan 18 16:52:38 desktop kernel: hub 1-0:1.0: port 5, status 0, change 1, 12 Mb/s Jan 18 16:52:41 desktop /etc/hotplug/usb.agent[2595]: Bad USB agent invocation Jan 18 16:52:45 desktop kernel: Initializing USB Mass Storage driver... Jan 18 16:52:45 desktop kernel: usb-storage 1-3:2.0: usb_probe_interface Jan 18 16:52:45 desktop kernel: usb-storage 1-3:2.0: usb_probe_interface - got id Jan 18 16:52:45 desktop kernel: scsi0 : SCSI emulation for USB Mass Storage devices Jan 18 16:52:45 desktop /sbin/hotplug[2632]: no runnable /etc/hotplug/ scsi_host.agent is installed Jan 18 16:52:47 desktop kernel: Vendor: IOMEGA Model: CDRW6402EXT-B Rev: OOX1 Jan 18 16:52:47 desktop kernel: Type: CD-ROM ANSI SCSI revision: 02 Jan 18 16:52:47 desktop /sbin/hotplug[2639]: no runnable /etc/hotplug/ scsi.agent is installed Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: modules.usbmap unparsable line: Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: . Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: modules.usbmap unparsable line: Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: . Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: modules.usbmap unparsable line: Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: . Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: modules.usbmap unparsable line: Jan 18 16:52:47 desktop /etc/hotplug/usb.agent[2603]: . Jan 18 16:52:47 desktop /sbin/hotplug[2640]: no runnable /etc/hotplug/ scsi_device.agent is installed Jan 18 16:52:47 desktop kernel: WARNING: USB Mass Storage data integrity not assured Jan 18 16:52:47 desktop kernel: USB Mass Storage device found at 2 Jan 18 16:52:47 desktop kernel: drivers/usb/core/usb.c: registered new driver usb-storage Jan 18 16:52:47 desktop kernel: USB Mass Storage support registered. Jan 18 16:52:47 desktop kernel: Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5 Jan 18 16:52:47 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-0. error = 256 Jan 18 16:52:53 desktop kernel: sr0: scsi3-mmc drive: 16x/16x writer cd/rw xa/ form2 cdda tray Jan 18 16:52:53 desktop kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 Jan 18 16:52:53 desktop /sbin/hotplug[2700]: no runnable /etc/hotplug/ block.agent is installed Jan 18 16:52:53 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 16:52:58 desktop kernel: end_request: I/O error, dev sr0, sector 0 Jan 18 16:52:58 desktop kernel: Buffer I/O error on device sr0, logical block 0 Jan 18 16:52:58 desktop kernel: end_request: I/O error, dev sr0, sector 0 Jan 18 16:52:58 desktop kernel: FAT: unable to read boot sector Jan 18 16:53:17 desktop kernel: FAT: bogus number of reserved sectors Jan 18 16:53:17 desktop kernel: VFS: Can't find a valid FAT filesystem on dev sr0. Jan 18 16:53:34 desktop kernel: ISO 9660 Extensions: Microsoft Joliet Level 3 Jan 18 16:53:34 desktop kernel: ISO 9660 Extensions: RRIP_1991A Jan 18 16:54:20 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT Jan 18 16:54:20 desktop kernel: hub 1-0:1.0: port 2, status 501, change 1, 480 Mb/s Jan 18 16:54:20 desktop kernel: hub 1-0:1.0: debounce: port 2: delay 100ms stable 4 status 0x501 Jan 18 16:54:20 desktop kernel: ehci_hcd 0000:00:10.3: port 2 high speed Jan 18 16:54:20 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT Jan 18 16:54:20 desktop kernel: hub 1-0:1.0: new USB device on port 2, assigned address 3 Jan 18 16:54:20 desktop kernel: usb 1-2: new device strings: Mfr=56, Product=63, SerialNumber=80 Jan 18 16:54:20 desktop kernel: drivers/usb/core/message.c: USB device number 3 default language ID 0x409 Jan 18 16:54:20 desktop kernel: usb 1-2: Product: 3000LS v01.00.00 Jan 18 16:54:20 desktop kernel: usb 1-2: Manufacturer: Maxtor Jan 18 16:54:20 desktop kernel: usb 1-2: SerialNumber: DEF10647FBB9 Jan 18 16:54:20 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:54:20 desktop kernel: usb 1-2: registering 1-2:1.0 (config #1, interface 0) Jan 18 16:54:20 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:54:20 desktop kernel: usbserial 1-2:1.0: usb_probe_interface Jan 18 16:54:20 desktop kernel: usbserial 1-2:1.0: usb_probe_interface - got id Jan 18 16:54:20 desktop kernel: usb-storage 1-2:1.0: usb_probe_interface Jan 18 16:54:20 desktop kernel: usb-storage 1-2:1.0: usb_probe_interface - got id Jan 18 16:54:20 desktop kernel: scsi1 : SCSI emulation for USB Mass Storage devices Jan 18 16:54:20 desktop /sbin/hotplug[2870]: no runnable /etc/hotplug/ scsi_host.agent is installed Jan 18 16:54:23 desktop /etc/hotplug/usb.agent[2877]: Bad USB agent invocation Jan 18 16:54:24 desktop /sbin/hotplug[2886]: no runnable /etc/hotplug/ scsi.agent is installed Jan 18 16:54:24 desktop kernel: Vendor: Maxtor 2 Model: F040J0 Rev: 0 0 Jan 18 16:54:24 desktop /sbin/hotplug[2893]: no runnable /etc/hotplug/ block.agent is installed Jan 18 16:54:24 desktop kernel: Type: Direct-Access ANSI SCSI revision: 02 Jan 18 16:54:24 desktop kernel: SCSI device sda: 80293248 512-byte hdwr sectors (41110 MB) Jan 18 16:54:24 desktop kernel: sda: assuming drive cache: write through Jan 18 16:54:24 desktop /sbin/hotplug[2900]: no runnable /etc/hotplug/ block.agent is installed Jan 18 16:54:24 desktop /sbin/hotplug[2901]: no runnable /etc/hotplug/ scsi_device.agent is installed Jan 18 16:54:24 desktop kernel: sda: sda1 Jan 18 16:54:24 desktop kernel: Attached scsi disk sda at scsi1, channel 0, id 0, lun 0 Jan 18 16:54:24 desktop kernel: Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0 Jan 18 16:54:24 desktop kernel: WARNING: USB Mass Storage data integrity not assured Jan 18 16:54:24 desktop kernel: USB Mass Storage device found at 3 Jan 18 16:54:24 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 003802 POWER OWNER sig=j CSC Jan 18 16:54:24 desktop kernel: hub 1-0:1.0: port 5, status 0, change 1, 12 Mb/s Jan 18 16:54:26 desktop modprobe: FATAL: Module usb_storage already in kernel. Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: modules.usbmap unparsable line: Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: . Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: modules.usbmap unparsable line: Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: . Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: modules.usbmap unparsable line: Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: . Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: modules.usbmap unparsable line: Jan 18 16:54:26 desktop /etc/hotplug/usb.agent[2914]: . Jan 18 16:54:26 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 16:56:29 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 4 status 001803 POWER sig=j CSC CONNECT Jan 18 16:56:29 desktop kernel: hub 1-0:1.0: port 4, status 501, change 1, 480 Mb/s Jan 18 16:56:29 desktop kernel: hub 1-0:1.0: debounce: port 4: delay 100ms stable 4 status 0x501 Jan 18 16:56:29 desktop kernel: ehci_hcd 0000:00:10.3: port 4 full speed --> companion Jan 18 16:56:29 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 4 status 003801 POWER OWNER sig=j CONNECT Jan 18 16:56:29 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 003802 POWER OWNER sig=j CSC Jan 18 16:56:29 desktop kernel: hub 1-0:1.0: port 5, status 0, change 1, 12 Mb/s Jan 18 16:56:29 desktop kernel: drivers/usb/host/uhci-hcd.c: d800: wakeup_hc Jan 18 16:56:29 desktop kernel: hub 3-0:1.0: port 2, status 101, change 1, 12 Mb/s Jan 18 16:56:29 desktop kernel: hub 3-0:1.0: debounce: port 2: delay 100ms stable 4 status 0x101 Jan 18 16:56:29 desktop kernel: hub 3-0:1.0: new USB device on port 2, assigned address 2 Jan 18 16:56:29 desktop kernel: usb 3-2: new device strings: Mfr=1, Product=2, SerialNumber=0 Jan 18 16:56:29 desktop kernel: drivers/usb/core/message.c: USB device number 2 default language ID 0x409 Jan 18 16:56:29 desktop kernel: usb 3-2: Product: Perfection1200 Jan 18 16:56:29 desktop kernel: usb 3-2: Manufacturer: EPSON Jan 18 16:56:29 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:56:29 desktop kernel: usb 3-2: registering 3-2:1.0 (config #1, interface 0) Jan 18 16:56:29 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:56:29 desktop kernel: usbserial 3-2:1.0: usb_probe_interface Jan 18 16:56:29 desktop kernel: usbserial 3-2:1.0: usb_probe_interface - got id Jan 18 16:56:32 desktop /etc/hotplug/usb.agent[3123]: Bad USB agent invocation Jan 18 16:56:35 desktop modprobe: FATAL: Module scanner not found. Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: modules.usbmap unparsable line: Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: . Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: modules.usbmap unparsable line: Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: . Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: modules.usbmap unparsable line: Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: . Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: modules.usbmap unparsable line: Jan 18 16:56:35 desktop /etc/hotplug/usb.agent[3131]: . Jan 18 16:56:36 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 16:58:28 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:28 desktop sane-find-scanner: resmgr: server response code 200 Jan 18 16:58:28 desktop resmgr[971]: disconnect from jim Jan 18 16:58:28 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:28 desktop sane-find-scanner: resmgr: server response code 200 Jan 18 16:58:28 desktop resmgr[971]: disconnect from jim Jan 18 16:58:28 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:28 desktop sane-find-scanner: resmgr: server response code 200 Jan 18 16:58:28 desktop resmgr[971]: disconnect from jim Jan 18 16:58:28 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:28 desktop sane-find-scanner: resmgr: server response code 200 Jan 18 16:58:28 desktop resmgr[971]: disconnect from jim Jan 18 16:58:28 desktop kernel: usbfs: USBDEVFS_CONTROL failed cmd sane-find-scann dev 2 rqt 128 rq 6 len 100 ret -32 Jan 18 16:58:28 desktop kernel: usbfs: USBDEVFS_CONTROL failed cmd sane-find-scann dev 2 rqt 128 rq 6 len 100 ret -32 Jan 18 16:58:47 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:47 desktop scanimage: resmgr: server response code 200 Jan 18 16:58:47 desktop resmgr[971]: disconnect from jim Jan 18 16:58:47 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:47 desktop scanimage: resmgr: server response code 200 Jan 18 16:58:47 desktop resmgr[971]: disconnect from jim Jan 18 16:58:47 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:47 desktop scanimage: resmgr: server response code 200 Jan 18 16:58:47 desktop resmgr[971]: disconnect from jim Jan 18 16:58:47 desktop resmgr[971]: accepted connection from user jim Jan 18 16:58:47 desktop scanimage: resmgr: server response code 200 Jan 18 16:58:47 desktop resmgr[971]: disconnect from jim Jan 18 16:58:47 desktop kernel: usb 3-2: usb_disable_device nuking non-ep0 URBs Jan 18 16:58:47 desktop kernel: usb 3-2: unregistering interface 3-2:1.0 Jan 18 16:58:47 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:58:47 desktop kernel: usb 3-2: registering 3-2:1.0 (config #1, interface 0) Jan 18 16:58:47 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 16:58:47 desktop kernel: usbserial 3-2:1.0: usb_probe_interface Jan 18 16:58:47 desktop kernel: usbserial 3-2:1.0: usb_probe_interface - got id Jan 18 16:58:51 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 16:58:51 desktop kernel: usb 3-2: control timeout on ep0in Jan 18 16:58:51 desktop kernel: usb 3-2: hcd_unlink_urb cec4df40 fail -22 Jan 18 16:58:51 desktop modprobe: FATAL: Module scanner not found. Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: modules.usbmap unparsable line: Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: . Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: modules.usbmap unparsable line: Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: . Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: modules.usbmap unparsable line: Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: . Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: modules.usbmap unparsable line: Jan 18 16:58:51 desktop /etc/hotplug/usb.agent[3368]: . Jan 18 16:58:51 desktop kernel: usb 3-2: control timeout on ep0in Jan 18 16:58:51 desktop kernel: usb 3-2: hcd_unlink_urb cec4df40 fail -22 Jan 18 16:58:52 desktop /etc/hotplug/usb.agent[3356]: /var/run/hotplug/ usb-remover-%4b8%104%103%255%255%255: line 3: /etc/hotplug/usb/epson_scanner: Permission denied Jan 18 16:58:52 desktop /etc/hotplug/usb.agent[3356]: FATAL: Module scanner not found. Jan 18 16:58:52 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-13. error = 256 Jan 18 16:59:00 desktop /USR/SBIN/CRON[3663]: (root) CMD ( rm -f /var/spool/ cron/lastrun/cron.hourly) Jan 18 17:01:28 desktop resmgr[971]: accepted connection from user jim Jan 18 17:01:28 desktop xsane: resmgr: server response code 200 Jan 18 17:01:28 desktop resmgr[971]: accepted connection from user jim Jan 18 17:01:28 desktop resmgr[971]: disconnect from jim Jan 18 17:01:28 desktop resmgr[971]: disconnect from jim Jan 18 17:01:28 desktop xsane: resmgr: server response code 200 Jan 18 17:01:28 desktop resmgr[971]: accepted connection from user jim Jan 18 17:01:28 desktop xsane: resmgr: server response code 200 Jan 18 17:01:28 desktop resmgr[971]: accepted connection from user jim Jan 18 17:01:28 desktop resmgr[971]: disconnect from jim Jan 18 17:01:28 desktop resmgr[971]: disconnect from jim Jan 18 17:01:28 desktop xsane: resmgr: server response code 200 Jan 18 17:01:28 desktop kernel: usb 3-2: usb_disable_device nuking non-ep0 URBs Jan 18 17:01:28 desktop kernel: usb 3-2: unregistering interface 3-2:1.0 Jan 18 17:01:28 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:01:28 desktop kernel: usb 3-2: registering 3-2:1.0 (config #1, interface 0) Jan 18 17:01:28 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:01:28 desktop kernel: usbserial 3-2:1.0: usb_probe_interface Jan 18 17:01:28 desktop kernel: usbserial 3-2:1.0: usb_probe_interface - got id Jan 18 17:01:28 desktop kernel: usb 3-2: usb_disable_device nuking non-ep0 URBs Jan 18 17:01:28 desktop kernel: usb 3-2: unregistering interface 3-2:1.0 Jan 18 17:01:28 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:01:28 desktop kernel: usb 3-2: registering 3-2:1.0 (config #1, interface 0) Jan 18 17:01:28 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:01:28 desktop kernel: usbserial 3-2:1.0: usb_probe_interface Jan 18 17:01:28 desktop kernel: usbserial 3-2:1.0: usb_probe_interface - got id Jan 18 17:01:31 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:01:32 desktop modprobe: FATAL: Module scanner not found. Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: . Jan 18 17:01:32 desktop kernel: usb 3-2: control timeout on ep0in Jan 18 17:01:32 desktop kernel: usb 3-2: hcd_unlink_urb cea0a640 fail -22 Jan 18 17:01:32 desktop kernel: usb 3-2: control timeout on ep0in Jan 18 17:01:32 desktop kernel: usb 3-2: hcd_unlink_urb cea0a240 fail -22 Jan 18 17:01:32 desktop modprobe: FATAL: Module scanner not found. Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: modules.usbmap unparsable line: Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: . Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: cannot get config descriptor 0, Broken pipe (32) Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: cannot get config descriptor 0, Broken pipe (32) Jan 18 17:01:32 desktop kernel: usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 9 ret -32 Jan 18 17:01:32 desktop kernel: usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 32 ret -32 Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3755]: cannot get config descriptor 0, Broken pipe (32) Jan 18 17:01:32 desktop /etc/hotplug/usb.agent[3813]: cannot get config descriptor 0, Broken pipe (32) Jan 18 17:01:32 desktop kernel: usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 9 ret -32 Jan 18 17:01:32 desktop kernel: usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 9 ret -32 Jan 18 17:01:32 desktop kernel: usb 3-2: control timeout on ep0in Jan 18 17:01:32 desktop kernel: usb 3-2: hcd_unlink_urb cea0a240 fail -22 Jan 18 17:01:32 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:01:33 desktop /etc/hotplug/usb.agent[3766]: /var/run/hotplug/ usb-remover-%4b8%104%103%255%255%255: line 3: /etc/hotplug/usb/epson_scanner: Permission denied Jan 18 17:01:33 desktop /etc/hotplug/usb.agent[3766]: FATAL: Module scanner not found. Jan 18 17:01:33 desktop kernel: request_module: failed /sbin/modprobe -- char-major-9-0. error = 256 Jan 18 17:01:35 desktop /etc/hotplug/usb.agent[3804]: FATAL: Module scanner not found. Jan 18 17:07:45 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 4 status 003802 POWER OWNER sig=j CSC Jan 18 17:07:45 desktop kernel: hub 1-0:1.0: port 4, status 0, change 1, 12 Mb/s Jan 18 17:07:45 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 001002 POWER sig=se0 CSC Jan 18 17:07:45 desktop kernel: hub 1-0:1.0: port 5, status 100, change 1, 12 Mb/s Jan 18 17:07:45 desktop kernel: hub 4-0:1.0: port 1, status 100, change 3, 12 Mb/s Jan 18 17:07:45 desktop kernel: usb 4-1: USB disconnect, address 2 Jan 18 17:07:45 desktop kernel: usb 4-1: usb_disable_device nuking all URBs Jan 18 17:07:45 desktop kernel: usb 4-1: unregistering interface 4-1:1.0 Jan 18 17:07:45 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:07:45 desktop kernel: usb 4-1: unregistering device Jan 18 17:07:45 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:07:46 desktop kernel: hub 4-0:1.0: port 1 enable change, status 100 Jan 18 17:07:46 desktop kernel: drivers/usb/host/uhci-hcd.c: dc00: suspend_hc Jan 18 17:07:49 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:07:52 desktop /etc/hotplug/usb.agent[4549]: Bad USB agent invocation Jan 18 17:08:01 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 4 status 003802 POWER OWNER sig=j CSC Jan 18 17:08:01 desktop kernel: hub 1-0:1.0: port 4, status 0, change 1, 12 Mb/s Jan 18 17:08:01 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 001803 POWER sig=j CSC CONNECT Jan 18 17:08:01 desktop kernel: hub 1-0:1.0: port 5, status 501, change 1, 480 Mb/s Jan 18 17:08:01 desktop kernel: hub 1-0:1.0: debounce: port 5: delay 100ms stable 4 status 0x501 Jan 18 17:08:01 desktop kernel: ehci_hcd 0000:00:10.3: port 5 full speed --> companion Jan 18 17:08:01 desktop kernel: ehci_hcd 0000:00:10.3: GetStatus port 5 status 003801 POWER OWNER sig=j CONNECT Jan 18 17:08:01 desktop kernel: drivers/usb/host/uhci-hcd.c: dc00: wakeup_hc Jan 18 17:08:01 desktop kernel: hub 4-0:1.0: port 1, status 101, change 1, 12 Mb/s Jan 18 17:08:01 desktop kernel: hub 4-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x101 Jan 18 17:08:01 desktop kernel: hub 4-0:1.0: new USB device on port 1, assigned address 3 Jan 18 17:08:01 desktop kernel: usb 4-1: new device strings: Mfr=1, Product=2, SerialNumber=0 Jan 18 17:08:01 desktop kernel: drivers/usb/core/message.c: USB device number 3 default language ID 0x409 Jan 18 17:08:01 desktop kernel: usb 4-1: Product: USB Printer Jan 18 17:08:01 desktop kernel: usb 4-1: Manufacturer: EPSON Jan 18 17:08:01 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:08:01 desktop kernel: usb 4-1: registering 4-1:1.0 (config #1, interface 0) Jan 18 17:08:01 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:08:01 desktop kernel: usbserial 4-1:1.0: usb_probe_interface Jan 18 17:08:01 desktop kernel: usbserial 4-1:1.0: usb_probe_interface - got id Jan 18 17:08:05 desktop /etc/hotplug/usb.agent[4592]: Bad USB agent invocation Jan 18 17:08:08 desktop modprobe: FATAL: Module printer not found. Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: modules.usbmap unparsable line: Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: . Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: modules.usbmap unparsable line: Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: . Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: modules.usbmap unparsable line: Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: . Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: modules.usbmap unparsable line: Jan 18 17:08:08 desktop /etc/hotplug/usb.agent[4600]: . Jan 18 17:08:08 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:10:04 desktop kernel: usblp 4-1:1.0: usb_probe_interface Jan 18 17:10:04 desktop kernel: usblp 4-1:1.0: usb_probe_interface - got id Jan 18 17:10:04 desktop kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0001 Jan 18 17:10:04 desktop kernel: drivers/usb/core/file.c: looking for a minor, starting at 0 Jan 18 17:10:04 desktop kernel: drivers/usb/core/usb.c: registered new driver usblp Jan 18 17:10:04 desktop kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver Jan 18 17:10:07 desktop /etc/hotplug/usb.agent[4785]: Bad USB agent invocation Jan 18 17:10:52 desktop su: (to root) jim on /dev/pts/4 Jan 18 17:10:52 desktop su: pam_unix2: session started for user root, service su Jan 18 17:10:52 desktop su: pam_unix2: session finished for user root, service su Jan 18 17:10:52 desktop su: (to root) jim on /dev/pts/4 Jan 18 17:10:52 desktop su: pam_unix2: session started for user root, service su Jan 18 17:11:17 desktop kernel: pnp: Device 00:0d disabled. Jan 18 17:11:18 desktop kernel: pnp: Device 00:0d activated. Jan 18 17:11:18 desktop kernel: parport0: PC-style at 0x378 [PCSPP(,...)] Jan 18 17:11:18 desktop kernel: lp0: using parport0 (polling). Jan 18 17:11:18 desktop kernel: pnp: Device 00:0d disabled. Jan 18 17:11:18 desktop kernel: pnp: Device 00:0d activated. Jan 18 17:11:18 desktop kernel: parport0: PC-style at 0x378 [PCSPP(,...)] Jan 18 17:11:18 desktop kernel: usb 4-1: hcd_unlink_urb cdcb27c0 fail -22 Jan 18 17:11:18 desktop kernel: usb 4-1: hcd_unlink_urb cdcb2340 fail -22 Jan 18 17:11:18 desktop kernel: usb 4-1: hcd_unlink_urb cdcb27c0 fail -22 Jan 18 17:11:18 desktop kernel: usb 4-1: hcd_unlink_urb cdcb2340 fail -22 Jan 18 17:11:31 desktop kernel: lp0: using parport0 (polling). Jan 18 17:11:31 desktop kernel: request_module: failed /sbin/modprobe -- char-major-4-72. error = 256 Jan 18 17:11:31 desktop kernel: usb 4-1: hcd_unlink_urb cdcb27c0 fail -22 Jan 18 17:11:31 desktop kernel: usb 4-1: hcd_unlink_urb cdcb2340 fail -22 Jan 18 17:11:33 desktop kernel: request_module: failed /sbin/modprobe -- char-major-4-72. error = 256 Jan 18 17:11:33 desktop kernel: usb 4-1: hcd_unlink_urb cdcb27c0 fail -22 Jan 18 17:12:53 desktop resmgr[971]: accepted connection from user jim Jan 18 17:12:53 desktop xsane: resmgr: server response code 200 Jan 18 17:12:53 desktop resmgr[971]: accepted connection from user jim Jan 18 17:12:53 desktop resmgr[971]: disconnect from jim Jan 18 17:12:53 desktop resmgr[971]: disconnect from jim Jan 18 17:12:53 desktop xsane: resmgr: server response code 200 Jan 18 17:12:53 desktop resmgr[971]: accepted connection from user jim Jan 18 17:12:53 desktop xsane: resmgr: server response code 200 Jan 18 17:12:53 desktop resmgr[971]: accepted connection from user jim Jan 18 17:12:53 desktop resmgr[971]: disconnect from jim Jan 18 17:12:53 desktop resmgr[971]: disconnect from jim Jan 18 17:12:53 desktop xsane: resmgr: server response code 200 Jan 18 17:12:53 desktop kernel: usb 3-2: usb_disable_device nuking non-ep0 URBs Jan 18 17:12:53 desktop kernel: usb 3-2: unregistering interface 3-2:1.0 Jan 18 17:12:53 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:12:53 desktop kernel: usb 3-2: registering 3-2:1.0 (config #1, interface 0) Jan 18 17:12:53 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:12:53 desktop kernel: usbserial 3-2:1.0: usb_probe_interface Jan 18 17:12:53 desktop kernel: usbserial 3-2:1.0: usb_probe_interface - got id Jan 18 17:12:54 desktop kernel: usb 3-2: usb_disable_device nuking non-ep0 URBs Jan 18 17:12:54 desktop kernel: usb 3-2: unregistering interface 3-2:1.0 Jan 18 17:12:54 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:12:54 desktop kernel: usb 3-2: registering 3-2:1.0 (config #1, interface 0) Jan 18 17:12:54 desktop kernel: drivers/usb/core/usb.c: usb_hotplug Jan 18 17:12:54 desktop kernel: usbserial 3-2:1.0: usb_probe_interface Jan 18 17:12:54 desktop kernel: usbserial 3-2:1.0: usb_probe_interface - got id Jan 18 17:12:57 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:12:57 desktop modprobe: FATAL: Module scanner not found. Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: modules.usbmap unparsable line: Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: . Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: modules.usbmap unparsable line: Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: . Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: modules.usbmap unparsable line: Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: . Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: modules.usbmap unparsable line: Jan 18 17:12:57 desktop /etc/hotplug/usb.agent[5304]: . Jan 18 17:12:57 desktop kernel: usb 3-2: control timeout on ep0in Jan 18 17:12:57 desktop kernel: usb 3-2: hcd_unlink_urb cdcb2bc0 fail -22 Jan 18 17:12:58 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:13:00 desktop modprobe: FATAL: Module scanner not found. Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: modules.usbmap unparsable line: Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: . Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: modules.usbmap unparsable line: Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: . Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: modules.usbmap unparsable line: Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: . Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: modules.usbmap unparsable line: Jan 18 17:13:00 desktop /etc/hotplug/usb.agent[5591]: . Jan 18 17:13:00 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-1. error = 256 Jan 18 17:13:01 desktop kernel: request_module: failed /sbin/modprobe -- block-major-11-13. error = 256 Jan 18 17:13:02 desktop /etc/hotplug/usb.agent[5744]: /var/run/hotplug/ usb-remover-%4b8%104%103%255%255%255: line 3: /etc/hotplug/usb/epson_scanner: Permission denied Jan 18 17:13:02 desktop /etc/hotplug/usb.agent[5744]: FATAL: Module scanner not found. Jan 18 17:13:11 desktop kernel: usb 4-1: hcd_unlink_urb cdcb27c0 fail -22 Jan 18 17:13:11 desktop kernel: usb 4-1: hcd_unlink_urb cdcb2340 fail -22 Jan 18 17:14:01 desktop su: pam_unix2: session finished for user root, service su Jan 18 17:14:07 desktop gconfd (jim-5909): starting (version 2.2.1), pid 5909 user 'jim' Jan 18 17:14:07 desktop gconfd (jim-5909): Resolved address "xml:readonly:/ etc/opt/gnome/gconf/gconf.xml.mandatory" to a read-only config source at position 0 Jan 18 17:14:07 desktop gconfd (jim-5909): Resolved address "xml:readonly:/ etc/opt/gnome/gconf/preconf/gconf.xml.defaults" to a read-only config source at position 1 Jan 18 17:14:07 desktop gconfd (jim-5909): Resolved address "xml:readwrite:/ home/jim/.gconf" to a writable config source at position 2 Jan 18 17:14:56 desktop kernel: ksysguardd: numerical sysctl 7 2 1 is obsolete. Jan 18 17:44:11 desktop -- MARK -- From jesper at pobox.com Mon Jan 19 01:00:37 2004 From: jesper at pobox.com (Jesper Anderson) Date: Mon, 19 Jan 2004 02:00:37 +0100 Subject: [sane-devel] xsane and Gimp 2.0 In-Reply-To: <87d69h8d3i.fsf@frigate.technologeek.org> References: <20040118143853.GA13079@acheron.the-domination.com> <87d69h8d3i.fsf@frigate.technologeek.org> Message-ID: <20040119010037.GA2972@acheron.the-domination.com> On Sun, Jan 18, 2004 at 04:56:33PM +0100, Julien BLACHE wrote: > > > > Apply to a clean source tree with patch -p1, run configure, build. It > defaults to GTK2+GIMP2.0. (you don't need to run autoconf) > > WARNING: the autoconf check that comes with GIMP 2.0 expects version > strings of the form x.y.z, and GIMP 2.0 pre-versions have a version > string of the form 2.0preX, so the check barfs. > > You'll have to edit either gimptool or the .pc file for GIMP 2.0 so > that they return 2.0.0 as the version string. I found that when I edit gimptool, that is not enough; I had to edit the pc file as well to make it work. I didn't try with only the pc file edited, and not gimptool. It's running fine for me; Slackware 9.1, just installed the new gimp and xsane from source, no problems at all (except the occasional stubborness of my old skool parallel port Epson GT 6000, and that I need saned to be run as root in debug mode; but that's not xsane's problem). Great work, thanks a bunch! Jesper From jb at jblache.org Mon Jan 19 11:33:57 2004 From: jb at jblache.org (Julien BLACHE) Date: Mon, 19 Jan 2004 12:33:57 +0100 Subject: [sane-devel] xsane and Gimp 2.0 In-Reply-To: <20040119010037.GA2972@acheron.the-domination.com> (Jesper Anderson's message of "Mon, 19 Jan 2004 02:00:37 +0100") References: <20040118143853.GA13079@acheron.the-domination.com> <87d69h8d3i.fsf@frigate.technologeek.org> <20040119010037.GA2972@acheron.the-domination.com> Message-ID: <87wu7o5g0q.fsf@frigate.technologeek.org> Jesper Anderson wrote: Hi, >> You'll have to edit either gimptool or the .pc file for GIMP 2.0 so >> that they return 2.0.0 as the version string. > > I found that when I edit gimptool, that is not enough; I had to edit > the pc file as well to make it work. I didn't try with only the pc > file edited, and not gimptool. If you have package-config installed, the autoconf check uses package-config, so editing the .pc file is enough. Otherwise you have to edit gimptool, sorry if I didn't make it clear :) Glad to hear that it works fine :-) JB. -- Julien BLACHE GPG KeyID 0xF5D65169 From jim.george at blueyonder.co.uk Mon Jan 19 21:50:12 2004 From: jim.george at blueyonder.co.uk (Jim George) Date: Mon, 19 Jan 2004 21:50:12 -0000 (GMT) Subject: [sane-devel] Canon LIDE 20 or LIDE 30 or EPSON 1660 P Message-ID: <1242.192.168.0.20.1074549012.squirrel@tassi.local> Chaps, does anyone know if either of the above are supported by SANE? I was unable to find them on the supported device page but thought that maybe they were known by another name. I also noted in the spec of my local supplier that the USB port is USB 2.0 compatible, does this mean it doesn't work with USB 1.1? I ask because my Linux system is an old Dell Latitude. Brgrds, Jim From xiphmont at xiph.org Mon Jan 19 20:59:23 2004 From: xiphmont at xiph.org (Monty) Date: Mon, 19 Jan 2004 15:59:23 -0500 Subject: [sane-devel] Canon LIDE 20 or LIDE 30 or EPSON 1660 P In-Reply-To: <1242.192.168.0.20.1074549012.squirrel@tassi.local> References: <1242.192.168.0.20.1074549012.squirrel@tassi.local> Message-ID: <20040119205923.GI2972@lips.xiph.org> On Mon, Jan 19, 2004 at 09:50:12PM -0000, Jim George wrote: > Chaps, > > does anyone know if either of the above are supported by SANE? > > I was unable to find them on the supported device page but thought that > maybe they were known by another name. Both are fully supported by 1.0.13, and you do want at least that version. > I also noted in the spec of my local supplier that the USB port is USB 2.0 > compatible, does this mean it doesn't work with USB 1.1? I ask because my > Linux system is an old Dell Latitude. It will work with USB 1.1. Monty From xiphmont at xiph.org Mon Jan 19 21:02:15 2004 From: xiphmont at xiph.org (Monty) Date: Mon, 19 Jan 2004 16:02:15 -0500 Subject: [sane-devel] Canon LIDE 20 or LIDE 30 or EPSON 1660 P In-Reply-To: <1242.192.168.0.20.1074549012.squirrel@tassi.local> References: <1242.192.168.0.20.1074549012.squirrel@tassi.local> Message-ID: <20040119210215.GJ2972@lips.xiph.org> (sorry, I missed the third scanner; I know the LiDE 20 and 30 are well supported) Monty From neundorf at kde.org Mon Jan 19 21:24:31 2004 From: neundorf at kde.org (Alexander Neundorf) Date: Mon, 19 Jan 2004 22:24:31 +0100 Subject: [sane-devel] Canon LIDE 20 or LIDE 30 or EPSON 1660 P In-Reply-To: <1242.192.168.0.20.1074549012.squirrel@tassi.local> References: <1242.192.168.0.20.1074549012.squirrel@tassi.local> Message-ID: <200401192224.31750.neundorf@kde.org> On Monday 19 January 2004 22:50, Jim George wrote: > Chaps, > > does anyone know if either of the above are supported by SANE? > > I was unable to find them on the supported device page but thought that > maybe they were known by another name. ... See: http://www.sane-project.org/sane-supported-devices.html I own a Canon Lide 30, and it works good. The calibrating steps before the actual scanning starts takes a bit long, maybe 20 seonds, otherwise it works very good, and takes away almost no space :-) Bye Alex -- Work: alexander.neundorf at jenoptik.com - http://www.jenoptik-los.de Home: neundorf at kde.org - http://www.kde.org alex at neundorf.net - http://www.neundorf.net From khk at khk.net Mon Jan 19 23:27:48 2004 From: khk at khk.net (Karl Heinz Kremer) Date: Mon, 19 Jan 2004 18:27:48 -0500 Subject: [sane-devel] Canon LIDE 20 or LIDE 30 or EPSON 1660 P In-Reply-To: <1242.192.168.0.20.1074549012.squirrel@tassi.local> References: <1242.192.168.0.20.1074549012.squirrel@tassi.local> Message-ID: <17946756-4AD7-11D8-A5BE-000A957E40E8@khk.net> I don't know where you looked, but the Perfection 1660 is listed here : http://www.sane-project.org/sane-mfgs.html#EPSON :-) The "Photo" extension does not make a difference, and I'm not even sure if you can buy the scanner without the Photo designation. And yes, it's supported. Karl Heinz On Jan 19, 2004, at 4:50 PM, Jim George wrote: > Chaps, > > does anyone know if either of the above are supported by SANE? > > I was unable to find them on the supported device page but thought that > maybe they were known by another name. > > I also noted in the spec of my local supplier that the USB port is USB > 2.0 > compatible, does this mean it doesn't work with USB 1.1? I ask > because my > Linux system is an old Dell Latitude. > > Brgrds, > > Jim > > > > > -- > 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 From fbakan at gmx.net Tue Jan 20 23:39:21 2004 From: fbakan at gmx.net (Franz Bakan) Date: Wed, 21 Jan 2004 00:39:21 +0100 (CET) Subject: [sane-devel] UMAX backend with sanei_thread, Mac OS-X users please try, OS/2 users please try! Message-ID: Hello, On Mon, 12 Jan 2004 21:00:16 +0100, Oliver Rauch wrote: >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 have testers, but no definite result so far regarding the thread()-version. But an error-report regarding 1.0.13: Scanner: UMAX S-6E V2.0C SCSI-Card: Adpatec AHA-1520/1522 When the user does not redirect '1' to a file the scanner works and finishes normal. When he redirects the image-data to a file image.pnm the scanner starts to work, but after a while it ends with: [umax] starting scan [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 1 [umax] do_calibration [umax] wait_scanner [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 0 [sanei_scsi] sanei_scsi_cmd: command 0x00 failed. PSRBlock->status= 0x04 PSRBlock->u.chm.ha_status= 0x00 PSRBlock->u.cmd.target_status= 0x00 [umax] scanner reports Error during device I/O, waiting ... [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 0 [sanei_scsi] sanei_scsi_cmd: command 0x00 failed. PSRBlock->status= 0x04 PSRBlock->u.chm.ha_status= 0x00 PSRBlock->u.cmd.target_status= 0x00 ... PSRBlock->status= 0x04 PSRBlock->u.chm.ha_status= 0x00 PSRBlock->u.cmd.target_status= 0x00 [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 0 [umax] check condition sense handler (scsi_fd = 0) [umax] check condition sense: VENDOR SPECIFIC [umax] -> no error (#0) [umax] -> calibration by driver [umax] scanner ready [umax] driver is doing calibration [umax] request sense call is disabled [umax] WARNING: missing information about shading-data [umax] driver tries to guess missing values! [umax] Calibration is done with selected image geometry and depth! [umax] scanner sends 66 lines with 7647 pixels and 1 bytes/pixel [umax] calculating average value for 8 bit shading data! [umax] read_shading_data [sanei_scsi] sanei_scsi_cmd: Reading PSRBlock->u.cmd.data_len= 7647 [umax] 8 bit shading-line 1 read ... [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 7647 [umax] shading-data sent [umax] start_scan [umax] starting scan [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 1 [umax] sane_get_parameters [umax] reader_process started [umax] reader_process: allocating SCSI buffer[1] [umax] reader_process: starting to READ data [umax] trim_rowbufsize: row_bufsize = 33150 bytes = 13 lines [umax] reading 2983500 bytes in blocks of 33150 bytes [umax] wait_scanner [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 0 [sanei_scsi] sanei_scsi_cmd: command 0x00 failed. PSRBlock->status= 0x04 PSRBlock->u.chm.ha_status= 0x00 PSRBlock->u.cmd.target_status= 0x00 [umax] scanner reports Error during device I/O, waiting ... [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 0 [sanei_scsi] sanei_scsi_cmd: command 0x00 failed. PSRBlock->status= 0x04 PSRBlock->u.chm.ha_status= 0x11 PSRBlock->u.cmd.target_status= 0x00 [sanei_scsi] sanei_scsi_cmd: Writing PSRBlock->u.cmd.data_len= 0 [umax] scanner ready [umax] umax_queue_read_image_data_req for buffer[0], length = 33150 [sanei_scsi] sanei_scsi_cmd: Reading PSRBlock->u.cmd.data_len= 33150 [umax] umax_queue_read_image_data_req: id for buffer[0] is 0 [umax] umax_reader_process: read image data queued for buffer[0] [umax] umax_queue_read_image_data_req for buffer[1], length = 33150 [sanei_scsi] sanei_scsi_cmd: Reading PSRBlock->u.cmd.data_len= 33150 [umax] umax_queue_read_image_data_req: id for buffer[1] is 0 [umax] umax_reader_process: read image data queued for buffer[1] [umax] umax_wait_queued_image_data for buffer[0] (id=0) [umax] sane_read: read 8192 bytes [umax] sane_read: read 8192 bytes [umax] sane_read: read 8192 bytes [umax] sane_read: read 8192 bytes [umax] umax_reader_process: buffer of 33150 bytes read; 2950350 bytes to go ... [umax] umax_reader_process: buffer of 33150 bytes read; 1657500 bytes to go [umax] umax_queue_read_image_data_req for buffer[1], length = 33150 [sanei_scsi] sanei_scsi_cmd: Reading PSRBlock->u.cmd.data_len= 33150 [umax] sane_read: read 382 bytes [umax] umax_queue_read_image_data_req: id for buffer[1] is 0 [umax] umax_reader_process: read image data queued for buffer[1] [umax] umax_wait_queued_image_data for buffer[0] (id=0) [umax] sane_read: read 8192 bytes [umax] sane_read: read 8192 bytes [umax] sane_read: read 8192 bytes [umax] sane_read: read 8192 bytes [umax] umax_reader_process: buffer of 33150 bytes read; 1624350 bytes to go [umax] umax_queue_read_image_data_req for buffer[0], length = 33150 [sanei_scsi] sanei_scsi_cmd: Reading PSRBlock->u.cmd.data_len= 33150 [sanei_scsi] sanei_scsi_cmd: DosDevIOCtl failed. rc= 65314 [umax] umax_queue_read_image_data_req: command returned status Error during device I/O [umax] ERROR: umax_reader_process: unable to queue read image data request! ... DosDevIOCtl failed. rc= 65314 means 'Interface Busy' Do you think it makes sense to add 'wait()s' and retry a few times before giving up or should I suggest to change the card/scanner/cables? BTW: Sane 1.0.5 works for this user. Franz From randy at lemnar.com Tue Jan 20 23:55:41 2004 From: randy at lemnar.com (Randy Becker) Date: Tue, 20 Jan 2004 18:55:41 -0500 Subject: [sane-devel] Fwd: TWAIN SANE Interface for MacOS X Message-ID: <2724A547-4BA4-11D8-9D29-0050E4108A1A@lemnar.com> Any help? also, i've begun scanning via the command line over the network and after a few (~ 15) scans the remote box seems to lock up, and I need to reboot it... -Randy Begin forwarded message: > From: Randy Becker > Date: January 18, 2004 10:56:21 PM EST > To: mattias.ellert at tsl.uu.se > Subject: TWAIN SANE Interface for MacOS X > > Hello, I just dug up an old scanner of mine, and got it set up with > saned on my linux box, and am able to use scanimage to scan via it, > but when I use an application such as Photoshop or GraphicConverter > and attempt to select the source, the app crashes/disappears. I > enabled the test interface, so when I bring up the acquire menu, I can > see and use the test backends, but when I select my networked scanner > from the list, it crashes. I followed the instructions, and did this: > > $ SANE_DEBUG_NET=255 \> > /System/Library/Frameworks/Carbon.framework/Versions/A/Support/ > LaunchCFMApp /Users/rbecker/Desktop/GraphicConverter\ US\ > X/GraphicConverter.app > [sanei_debug] Setting debug level of net to 255. > [net] sane_init: authorize = 0x477b6e0, version_code = 0xbfffd830 > [net] sane_init: SANE net backend version 1.0.12 (AF-indep+IPv6) from > sane-backends 1.0.13 > [net] sane_init: Client has big endian byte order > [net] sane_init: searching for config file > [net] sane_init: trying to add 192.168.1.1 > [net] add_device: adding backend 192.168.1.1 > [net] add_device: backend 192.168.1.1 added > [net] sane_init: done reading config > [net] sane_init: evaluating environment variable SANE_NET_HOSTS > [net] sane_init: done > [net] sane_get_devices: local_only = 0 > [net] connect_dev: trying to connect to 192.168.1.1 > [net] connect_dev: [0] connection succeeded (IPv4) > [net] connect_dev: sanei_w_init > [net] connect_dev: net_init (user=rbecker, local version=1.0.3) > [net] connect_dev: freeing init reply (status=Success, remote > version=1.0.3) > [net] connect_dev: done > [net] sane_get_devices: got 192.168.1.1:umax:/dev/scanner > [net] sane_get_devices: got 192.168.1.1:umax:/dev/sg0 > [net] sane_get_devices: finished (2 devices) > [net] sane_open("192.168.1.1:umax:/dev/scanner") > [net] sane_open: host = 192.168.1.1, device = umax:/dev/scanner > [net] sane_open: device found in list > [net] sane_open: net_open > [net] sane_open: success > [net] sane_get_option_descriptor: option 1 > [net] sane_get_option_descripter: getting option descriptors > [net] fetch_options: 0x3da380 > [net] fetch_options: get_option_descriptors > [net] fetch_options: creating 68 local option descriptors > [net] fetch_options: copying 68 option descriptors > [net] fetch_options: 68 options fetched > Abort trap > > Which is where it closes. > > Any ideas? > > -Randy Becker > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2939 bytes Desc: not available URL: From mike at alezan.org Wed Jan 21 10:50:47 2004 From: mike at alezan.org (Mickael Profeta) Date: Wed, 21 Jan 2004 11:50:47 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <20040115201730.GB1768@meier-geinitz.de> References: <20040115201730.GB1768@meier-geinitz.de> Message-ID: <400E5987.60100@alezan.org> Hi >> The logs are in http://www.alezan.org/hp3670/, in SnoopyPro binary format. I >>tried to use usblogdump in Linux but it doesn't work very well for me. I had to >>analyze them in Windoze using SnoopyPro. > > > I'll check later. I don't have a working Windows or WINE installation > currently. sorry about that, I manage to export once in xml format, but do not manage anymore??? I tried also to use sniffusb-0.13, but the debugger (dbview) failed to connect (can not contact driver???). Maybe because I am using windows XP Home, does someone know a workaround? Another usb sniffer? > You can try that for testing. But this can't be used in the published > version because control messages like that will confuse non-gl646 > scanners. That's the reason we use the descriptor to identify the > chipset first and then send specific commands. That's not absolutely > safe either but better then writing directly. I will try to test this to see if we can get some informations... Mike From gerard at gkall.hobby.nl Wed Jan 21 13:33:19 2004 From: gerard at gkall.hobby.nl (gerard klaver) Date: Wed, 21 Jan 2004 12:33:19 -0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <400E5987.60100@alezan.org> References: <20040115201730.GB1768@meier-geinitz.de> <400E5987.60100@alezan.org> Message-ID: <1074691999.2002.1.camel@gk-lex3> On Wed, 2004-01-21 at 09:50, Mickael Profeta wrote: > Hi > > >> The logs are in http://www.alezan.org/hp3670/, in SnoopyPro binary format. I > >>tried to use usblogdump in Linux but it doesn't work very well for me. I had to > >>analyze them in Windoze using SnoopyPro. > > > > > > I'll check later. I don't have a working Windows or WINE installation > > currently. > > sorry about that, I manage to export once in xml format, but do not > manage anymore??? > I tried also to use sniffusb-0.13, but the debugger (dbview) failed to > connect (can not contact driver???). Maybe because I am using windows XP > Home, does someone know a workaround? Another usb sniffer? > Did you try sniff-usb 1.8 See http://benoit.papillault.free.fr/usbsnoop/index.en.php -- ---------- m.vr.gr. Gerard Klaver From gerhard at gjaeger.de Wed Jan 21 19:07:20 2004 From: gerhard at gjaeger.de (Jaeger, Gerhard) Date: Wed, 21 Jan 2004 20:07:20 +0100 Subject: [sane-devel] Test-Backend, pthreads & MacOSX Message-ID: <200401212007.20275.gerhard@gjaeger.de> Hi, I've changed the test-backend, that way, that the reader-process now terminates, when running as thread. This change should allow to run the test-backend on MacOSX without patching the sanei_thread lib. Mattias, you might can check this. By removing your patch from the MacOSX SANE-version, the plustek backend and probably others should also run again without hanging after a scan.... Ciao, Gerhard From jb at jblache.org Wed Jan 21 21:35:40 2004 From: jb at jblache.org (Julien BLACHE) Date: Wed, 21 Jan 2004 22:35:40 +0100 Subject: [sane-devel] xsane and Gimp 2.0 In-Reply-To: <87d69h8d3i.fsf@frigate.technologeek.org> (Julien BLACHE's message of "Sun, 18 Jan 2004 16:56:33 +0100") References: <20040118143853.GA13079@acheron.the-domination.com> <87d69h8d3i.fsf@frigate.technologeek.org> Message-ID: <87n08hf0ib.fsf@frigate.technologeek.org> Julien BLACHE wrote: Hi, > > > Apply to a clean source tree with patch -p1, run configure, build. It > defaults to GTK2+GIMP2.0. (you don't need to run autoconf) I updated the patch, as GIMP 2.0pre2 got fixed with regard to the version string. 2.0pre2 outputs 1.3.25 as its version string, so the autoconf works fine. Also, gimptool-1.3 was renamed to gimptool-2.0 and the gimp-1.3.pc file was renamed to gimp-2.0.pc, so the macro for the autoconf test had to be updated. Oliver, please apply this patch instead of the previous one. JB. -- Julien BLACHE GPG KeyID 0xF5D65169 From stewart at midtoad.homelinux.org Thu Jan 22 07:20:35 2004 From: stewart at midtoad.homelinux.org (Stewart Midwinter) Date: Thu, 22 Jan 2004 00:20:35 -0700 Subject: [sane-devel] HP 5500c scanner support? In-Reply-To: <20040122053613.31650.45428.Mailman@quantz.debian.org> References: <20040122053613.31650.45428.Mailman@quantz.debian.org> Message-ID: <20040122002035.263116f0.stewart@midtoad.homelinux.org> Has anyone done any work on getting the HP 5500c scanner supported? I know it's not on the compatibility list, but... Seeing as how I have one, is there anything I could could do to help this along? run some tools? generate a log/debug file? thanks Stewart in Calgary From mike at alezan.org Thu Jan 22 09:26:49 2004 From: mike at alezan.org (Mickael Profeta) Date: Thu, 22 Jan 2004 10:26:49 +0100 Subject: [sane-devel] HP Scanjet 3690 support In-Reply-To: <1074691999.2002.1.camel@gk-lex3> References: <20040115201730.GB1768@meier-geinitz.de> <400E5987.60100@alezan.org> <1074691999.2002.1.camel@gk-lex3> Message-ID: <400F9759.6010803@alezan.org> Hi > Did you try sniff-usb 1.8 > See http://benoit.papillault.free.fr/usbsnoop/index.en.php Great Idea!! This works perfectly and I can get all the transaction even during and after the previsualisation scan I put here the log (in ascii format this time) of the initialisation of the scanner : usbsnoop_init.log and of a session from initialisation to the and of the preview scan usbsnoop_preview.log.gz (careful, it is 5Mo compressed) I also try to play with sane-find scanner log_sane_find_scanner is the original output log_sane_find_scanner_modify is a bad hack where I remove the return 0; lines in check-usb-chip for the check_gl646 function Don't know if it can give information but it does not seems to say it can not read or write the registers.... If you have any idea or comments... Mike From Oliver.Rauch at Rauch-Domain.DE Thu Jan 22 16:37:55 2004 From: Oliver.Rauch at Rauch-Domain.DE (Oliver Rauch) Date: Thu, 22 Jan 2004 17:37:55 +0100 Subject: [sane-devel] xsane and Gimp 2.0 In-Reply-To: <87n08hf0ib.fsf@frigate.technologeek.org> References: <20040118143853.GA13079@acheron.the-domination.com> <87d69h8d3i.fsf@frigate.technologeek.org> <87n08hf0ib.fsf@frigate.technologeek.org> Message-ID: <200401221737.57819.Oliver.Rauch@Rauch-Domain.DE> Hello Julien, Thanks for the new patch. I will take a look at it when I have some more time. It will take some time to do the tests with different gimp and gtk versions and disabling gimp, forcing it to use a special version, etc. Oliver Am Mittwoch, 21. Januar 2004 22:35 schrieb Julien BLACHE: > Julien BLACHE wrote: > > Hi, > > > > > > > Apply to a clean source tree with patch -p1, run configure, build. It > > defaults to GTK2+GIMP2.0. (you don't need to run autoconf) > > I updated the patch, as GIMP 2.0pre2 got fixed with regard to the > version string. 2.0pre2 outputs 1.3.25 as its version string, so the > autoconf works fine. > > Also, gimptool-1.3 was renamed to gimptool-2.0 and the gimp-1.3.pc > file was renamed to gimp-2.0.pc, so the macro for the autoconf test > had to be updated. > > Oliver, please apply this patch instead of the previous one. > > JB. -- http://www.xsane.org http://www.rauch-domain.de http://www.sane-project.org From joerg.pr at olivfabric.de Thu Jan 22 18:46:59 2004 From: joerg.pr at olivfabric.de (joerg.pr at olivfabric.de) Date: Thu, 22 Jan 2004 19:46:59 +0100 Subject: [sane-devel] Unsupported: Mustek BearPaw 4800TA Pro II Message-ID: J?rg Preisend?rfer | http://www.olivfabric.de Berlin, Jan. 22nd 2004 Hi there, I've just encountered the following unsupported scanner: MUSTEK Be at rPaw 4800TA Pro II Pls note it reports to be manufactured by Hewlett-Packard. ------------------ emtry in /proc/bus/usb/devices: T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=055f ProdID=040a Rev= 1.00 S: Manufacturer=Hewlett-Packard. S: Product=USB2.0 Scanner C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbscanner E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=3ms ------------------ chipset (in order of increasing size): 1. SQ [brand] SQ100A A335-9901 --- 2. UTC QGOB L6219 TB [O in 1st line may be a Zero] --- 3. ISSI [brand] IS42S16100A1-7T X11882000D 0336 ---- 4. SQ [brand] SQ113C 0335-1408 D0KNS-013 [Zeroes may be O] Any ideas? Cheers, J?rg (= Georg) From llopis at verizon.net Fri Jan 23 01:02:16 2004 From: llopis at verizon.net (Noel Llopis) Date: Thu, 22 Jan 2004 20:02:16 -0500 Subject: [sane-devel] Timeout problems with HP ScanJet 4100C Message-ID: <200401222002.16604.llopis@verizon.net> Hello, I have recently bought a scanner HP ScanJet 4100C USB specifically because I saw it as one of the ones that had complete support in the SANE web site: http://www.sane-project.org/sane-supported-devices.html I'm running Mandrake 9.2 with the 2.4.22 kernel. I plugged it in and it was automatically mounted on dev/usb/scanner0. I was able to use it with Kooka and with The Gimp plugin directly. So I was very pleased. However, there's something weird going on. If I leave the scanner plugged in and I reboot my computer, it will sit for about one minute at the "Checking for new hardware" step and eventually continue. When I check dmesg I see all these warnings: usb.c: registered new driver usbscanner scanner.c: USB scanner device (0x03f0/0x0101) now attached to scanner0 scanner.c: 0.4.14:USB Scanner Driver [...snip...] usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb_control/bulk_msg: timeout usb-uhci.c: interrupt, status 2, frame# 1962 usb_control/bulk_msg: timeout usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110 usb_control/bulk_msg: timeout usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110 usb-uhci.c: interrupt, status 2, frame# 2039 usb_control/bulk_msg: timeout usbdevfs: USBDEVFS_CONTROL failed dev 6 rqt 128 rq 6 len 100 ret -110 usb_control/bulk_msg: timeout usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110 usb_control/bulk_msg: timeout usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 100 ret -110 usb_control/bulk_msg: timeout The problem isn't just that. If I type cat /proc/bus/usb/devices, I will get a similar pause, and the same thing will happen when I try to run the Mandrake Control Center or HardDrake. Incidentally, here's the output of my usb/devices with only the scanner plugged in: T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.04 S: Manufacturer=Linux 2.4.22-21mdksmpcustom ehci_hcd S: Product=Intel Corp. 82801EB USB2 S: SerialNumber=00:1d.7 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 11/900 us ( 1%), #Int= 1, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ff20 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=03f0 ProdID=0101 Rev= 1.00 S: SerialNumber=00MY8B5534VD C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=usbscanner E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 16 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=250ms T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ff40 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ff60 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=ff80 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms And sane-find-scanner reports the following: found USB scanner (vendor=0x03f0, product=0x0101) at /dev/usb/scanner0 found USB scanner (vendor=0x03f0, product=0x0101) at libusb:004:006 Any idea what is going on? Everything seems to work fine except for those delays. Is there anything I can check or change to try to diagnose the problem a bit better? I'm willing to try anything. Thanks in advance. --Noel From maher at its.caltech.edu Fri Jan 23 07:49:25 2004 From: maher at its.caltech.edu (Joseph M. Maher) Date: Thu, 22 Jan 2004 23:49:25 -0800 (PST) Subject: [sane-devel] sane on linux 2.6 Message-ID: I have a hp 2110, and I'm running debian unstable on a vanilla 2.6.1 kernel. Printing works, but scanning doesn't. I guess this is a bug, but I'm not sure which package to report it against... >ariadne:/home/maher# scanimage --list devices > >No scanners were identified. If you were expecting something different, >check that the scanner is plugged in, turned on and detected by the >sane-find-scanner tool (if appropriate). Please read the documentation >which came with this software (README, FAQ, manpages). Running sane-find-scanner (which I know isn't meant to work for hpoj) gives me a kernel oops: Jan 22 23:17:33 ariadne kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000003 Jan 22 23:17:33 ariadne kernel: printing eip: Jan 22 23:17:33 ariadne kernel: c01565c0 Jan 22 23:17:33 ariadne kernel: *pde = 00000000 Jan 22 23:17:33 ariadne kernel: Oops: 0000 [#1] Jan 22 23:17:33 ariadne kernel: CPU: 0 Jan 22 23:17:33 ariadne kernel: EIP: 0060:[chrdev_open+80/320] Not tainted Jan 22 23:17:33 ariadne kernel: EFLAGS: 00010206 Jan 22 23:17:33 ariadne kernel: EIP is at chrdev_open+0x50/0x140 Jan 22 23:17:33 ariadne kernel: eax: 00000003 ebx: d6366a00 ecx: d6366a3c edx: d17b2a1c Jan 22 23:17:33 ariadne kernel: esi: 00000000 edi: 00000000 ebp: d17b2914 esp: d1ab3f20 Jan 22 23:17:33 ariadne kernel: ds: 007b es: 007b ss: 0068 Jan 22 23:17:33 ariadne kernel: Process sane-find-scann (pid: 1117, threadinfo=d1ab2000 task=d241a6a0) Jan 22 23:17:33 ariadne kernel: Stack: 00000000 01500000 d1ab3f2c 00000000 d1e2c480 d17b2914 00000000 d7ff41c0 Jan 22 23:17:33 ariadne kernel: c014d530 d17b2914 d1e2c480 00000882 00020000 d40b7000 d1ab2000 c014d418 Jan 22 23:17:33 ariadne kernel: d17cc880 d7ff41c0 00000882 d1ab3f70 d17cc880 d7ff41c0 fffffff4 d40b7000 Jan 22 23:17:33 ariadne kernel: Call Trace: Jan 22 23:17:33 ariadne kernel: [dentry_open+272/416] dentry_open+0x110/0x1a0 Jan 22 23:17:33 ariadne kernel: [filp_open+104/112] filp_open+0x68/0x70 Jan 22 23:17:33 ariadne kernel: [sys_open+91/144] sys_open+0x5b/0x90 Jan 22 23:17:33 ariadne kernel: [syscall_call+7/11] syscall_call+0x7/0xb Jan 22 23:17:33 ariadne kernel: Jan 22 23:17:33 ariadne kernel: Code: 8b 00 85 c0 74 0b 83 38 02 74 60 ff 80 00 01 00 00 8b 43 38 Jan 22 23:17:38 ariadne kernel: spurious 8259A interrupt: IRQ7. Jan 22 23:39:56 ariadne kernel: request_module: failed /sbin/modprobe -- char-major-81-0. error = 256 I'd be happy to supply any more information if it would be useful. Yours Joseph From gough at gsc.riken.jp Fri Jan 23 15:39:29 2004 From: gough at gsc.riken.jp (Julian Gough) Date: 24 Jan 2004 00:39:29 +0900 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <871xq0h9vo.fsf@zen.epkowa.co.jp> References: <1072823795.721.38.camel@invigiator.invigiator.com> <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> <1073960870.4410.4.camel@localhost.localdomain> <873caktv64.fsf@zen.epkowa.co.jp> <1073963701.4558.90.camel@tao> <871xq0h9vo.fsf@zen.epkowa.co.jp> Message-ID: <1074872369.3873.6.camel@localhost.localdomain> > I would not (yet) call it a dead-end. I didn't mean the whole scanner, just this approach to getting it sorted. > It just doesn't work for you at > this point in time. It may very well be that a couple of tweaks here > and there in the snapscan backend will make it work. Unfortunately, I > am not familiar with this backend and lack time and access to a > GT-7400. > > BTW, I haven't seen any 'SANE_DEBUG_SNAPSCAN=128 scanimage' output fly > by, IIRC. Maybe that can shed some light on your problems. as always [me at localhost]# SANE_DEBUG_SCANPSCAN=128 scanimage scanimage: no SANE devices found [me at localhost]# From henning at meier-geinitz.de Fri Jan 23 16:36:05 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Fri, 23 Jan 2004 17:36:05 +0100 Subject: [sane-devel] Epson GT-7400U not detected In-Reply-To: <1074872369.3873.6.camel@localhost.localdomain> References: <20031231100823.GI1003@meier-geinitz.de> <878ykkehan.fsf@zen.epkowa.co.jp> <200401111535.31596.Oliver.Schwartz@gmx.de> <1073919837.4417.8.camel@localhost.localdomain> <87k73wu0wz.fsf@zen.epkowa.co.jp> <1073960870.4410.4.camel@localhost.localdomain> <873caktv64.fsf@zen.epkowa.co.jp> <1073963701.4558.90.camel@tao> <871xq0h9vo.fsf@zen.epkowa.co.jp> <1074872369.3873.6.camel@localhost.localdomain> Message-ID: <20040123163605.GB1659@meier-geinitz.de> Hi, On Sat, Jan 24, 2004 at 12:39:29AM +0900, Julian Gough wrote: > > BTW, I haven't seen any 'SANE_DEBUG_SNAPSCAN=128 scanimage' output fly > > by, IIRC. Maybe that can shed some light on your problems. > > as always > > [me at localhost]# SANE_DEBUG_SCANPSCAN=128 scanimage > scanimage: no SANE devices found > [me at localhost]# SANE_DEBUG_SNAPSCAN not SANE_DEBUG_SCANPSCAN. This should pront debug messages. Bye, Henning From rm.riches at verizon.net Sat Jan 24 03:59:11 2004 From: rm.riches at verizon.net (Robert M. Riches Jr.) Date: Fri, 23 Jan 2004 19:59:11 -0800 Subject: [sane-devel] (resend) how to undo saved working directory? Message-ID: <200401240359.i0O3xBPA025286@one.localnet> (Apologies if this gets posted twice. I made the mistake of subscribing an email address that is a forwarding service, so I can't send from that address, so postings are blocked for moderator review. Apologies in advance if I make any more breaches of list etiquette.) When using the version of xsane that comes with Red Hat Linux 9, which claims to be xsane-0.89, I find an interesting feature. Now, xsane remembers the "working directory" from some earlier session and puts all the files from --save mode there, rather than the _real_ working directory where I'm working today. I realize most GUI-oriented users probably want all their image files stored in one directory, and they start xsane from their Gnome or KDE menus. However, when I'm working in directory Z and bring up xsane from the command line while in directory Z, I want xsane to put the files in directory Z. Tomorrow, I will be in another directory, and I want xsane put the files there. I found the "working directory" file squirreled away in file ~/.sane/xsane/xsane.rc, lines 5 and 6. A quick wrapper script in Perl could update the file to reflect the directory from which I'm invoking xsane. That would be much easier than hacking the source code to the program to change this unwelcome-to-me feature. Is there a better and/or easier way to get xsane to use the current working directory from which it is invoked? Thanks. Robert Riches rm.riches at verizon.net From ojt at gexcon.com Sat Jan 24 12:15:47 2004 From: ojt at gexcon.com (Ole Jacob Taraldset) Date: Sat, 24 Jan 2004 13:15:47 +0100 Subject: [sane-devel] iscan: "Could not send command to scanner" Message-ID: <200401241315.47918.ojt@gexcon.com> Hi, I have an Epson Perfection 1650 Photo which I have been using with iscan. Now suddenly iscan doesn't work any more and just give me a dialog box saying "Could not send command to scanner". Xsane still works and recognizes my scanner without any problems. My system is a RedHat 9 box with freshrpms updates and the following: sane-backends-1.0.9-5.1 sane-frontends-1.0.9-2 xsane-0.89-3 iscan-1.5.2-1.redhat.8.0 I've also tried iscan 1.4, but get the same result. My /etc/sane.d/epkowa.conf contains: usb /dev/usb/scanner0 My /etc/sane.d/epson.conf contains: usb /dev/usb/scanner0 I have tried to remove one or the other but this doesn't seem to help. Regards, Ole Jacob -- GexCon AS, Bergen, Norway PGP key : ICQ UIN : 5366306 | Jabber: ojt at jabber.org From jimquigley9 at eircom.net Sat Jan 24 19:38:34 2004 From: jimquigley9 at eircom.net (Jim Quigley) Date: Sat, 24 Jan 2004 19:38:34 +0000 Subject: [sane-devel] sane on linux 2.6 Message-ID: <4012C9BA.8000500@eircom.net> hi One possible reason it happened to me on suse 9, linux 2.6.1, you have to compile all usb options incl usb support as modules. LmCogs From amitofsk at obiwan.csl.uiuc.edu Sat Jan 24 21:56:51 2004 From: amitofsk at obiwan.csl.uiuc.edu (Andy Mitofsky) Date: Sat, 24 Jan 2004 15:56:51 -0600 Subject: [sane-devel] sane frontend questions In-Reply-To: <87wu7vqqa7.fsf@zen.epkowa.co.jp> References: <20040113053607.GB10111@obiwan.csl.uiuc.edu> <87wu7vqqa7.fsf@zen.epkowa.co.jp> Message-ID: <20040124215651.GA8359@obiwan.csl.uiuc.edu> I just wanted to say thanks for the help from about a week ago, especially to Olaf Meeuwissen. I was able to get iscan to work on my computer. For the record, to get it to work, I installed an older version of gtk, gtk+-1.2.10, and used the suggested version of iscan, iscan-1.5.2-1.redhat.8.0.tar.gz. I At that point, I got compile errors relating to libgdk_imlib. I had the file /usr/lib/libgdk_imlib.so.1 on my machine but not gdk_imlib.h. To get around this, I deleted the lines including gdk_imlib.hfrom pisa_structs.h. and pisa_view_manager.cc. I also changed some lines of pisa_view_manager.cc from ::gdk_imlib_init ( ); ::gtk_widget_push_visual ( ::gdk_imlib_get_visual ( ) ); ::gtk_widget_push_colormap ( ::gdk_imlib_get_colormap ( ) ); to ::gtk_widget_push_visual ( ::gdk_rgb_get_visual ( ) ); ::gtk_widget_push_colormap ( ::gdk_rgb_get_cmap ( ) ); I'm not sure what this did, but it seemed to work. Again, thanks for your help. Bye, Andy > > If you insist on compiling from "source" with gcc-3.2 or later, please > get the correct tar-ball: iscan-1.5.2-1.redhat.8.0.tar.gz. > > The C++ ABI changed a few times between 2.9x and 3.2 and the iscan > "sources" contain several closed C++ source based binary objects. The > regular iscan-1.5.2-1.tar.gz is for g++-2.9x, the one mentioned above > is for g++-3.2 or later. > > Hope this helps, > -- > Olaf Meeuwissen EPSON KOWA Corporation, ECS > GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 > Penguin's lib! -- I hack, therefore I am -- LPIC-2 > > -- > 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 From jb at jblache.org Sun Jan 25 13:09:00 2004 From: jb at jblache.org (Julien BLACHE) Date: Sun, 25 Jan 2004 14:09:00 +0100 Subject: [sane-devel] xsane and Gimp 2.0 In-Reply-To: <200401221737.57819.Oliver.Rauch@Rauch-Domain.DE> (Oliver Rauch's message of "Thu, 22 Jan 2004 17:37:55 +0100") References: <20040118143853.GA13079@acheron.the-domination.com> <87d69h8d3i.fsf@frigate.technologeek.org> <87n08hf0ib.fsf@frigate.technologeek.org> <200401221737.57819.Oliver.Rauch@Rauch-Domain.DE> Message-ID: <87oessyy37.fsf@frigate.technologeek.org> Oliver Rauch wrote: Hi Oliver, > Thanks for the new patch. I will take a look at it when I have some more time. > It will take some time to do the tests with different gimp and gtk versions > and disabling gimp, forcing it to use a special version, etc. Patch updated again, added a call (mandatory) to gimp_extension_ack() before running the xsane interface. New patch at JB. -- Julien BLACHE GPG KeyID 0xF5D65169 From meuk at olifantasia.com Sun Jan 25 17:43:16 2004 From: meuk at olifantasia.com (Martin) Date: Sun, 25 Jan 2004 18:43:16 +0100 Subject: [sane-devel] patch to make sane-backends compile and work on cygwin (cygwin without shared mem) Message-ID: <40140034.9000102@olifantasia.com> Hi all, I use sane on cygwin on windows 2000. A little while back I hacked sane-backends to compile on cygwin (only for scsi scanners and no fork support) Recently I found out that the official cvs version of sane-backends now supports cygwin (better than my hackwork). It works wonderfully both with scsi as with usb scanners (thanks to libusb-win32) I did however have to make two small changes to make it compile on my cygwin. Disable the artec_eplus48u backend since it needs shared memory (not supported on all cygwin installations) #undef interface because some win32api include defines this and the name interface is used as a variable. So if a recent sane snapshot does not compile on your cygwin installation try this patch. The patch is made against the cvs version of sane-backends of 1 december 2003 (snapshot sane-backends-2003-12-01.tar.gz) You can also find this patch on: http://sourceforge.net/tracker/index.php?func=detail&aid=858540&group_id=71382&atid=531104 This is the patches page of http://sourceforge.net/projects/hp5400backend/ I tested the patch with the microtek2 backend (parallel scsi, original windows driver has to be installed for the parallel scsi driver) and hp5400 backend (usb, using libusb-win32) They both work fine I hope this patch is of use for anyone. greetings, Martin Dvh -------------- next part -------------- diff -urN sane-backends_orig/backend/dll.conf sane-backends/backend/dll.conf --- sane-backends_orig/backend/dll.conf 2003-11-24 09:53:30.000000000 +0100 +++ sane-backends/backend/dll.conf 2003-12-02 01:41:50.000000000 +0100 @@ -5,7 +5,7 @@ apple avision artec -artec_eplus48u +#artec_eplus48u as6e bh canon diff -urN sane-backends_orig/configure sane-backends/configure --- sane-backends_orig/configure 2003-11-24 09:53:30.000000000 +0100 +++ sane-backends/configure 2003-12-02 01:39:56.000000000 +0100 @@ -23919,7 +23919,8 @@ microtek2 mustek mustek_pp mustek_usb nec pie plustek \ plustek_pp ricoh s9036 sceptre sharp \ sp15c st400 tamarack test teco1 teco2 teco3 umax umax_pp umax1220u \ - artec_eplus48u ma1509 ibm hp5400" + ma1509 ibm hp5400" + BACKENDS_THAT_NEEDSHARED_MEM="artec_eplus48u" if test "${sane_cv_use_libjpeg}" != "yes"; then echo "*** disabling DC210 backend (failed to find JPEG library)" diff -urN sane-backends_orig/configure.in sane-backends/configure.in --- sane-backends_orig/configure.in 2003-11-24 09:53:30.000000000 +0100 +++ sane-backends/configure.in 2003-12-02 01:40:32.000000000 +0100 @@ -280,7 +280,8 @@ microtek2 mustek mustek_pp mustek_usb nec pie plustek \ plustek_pp ricoh s9036 sceptre sharp \ sp15c st400 tamarack test teco1 teco2 teco3 umax umax_pp umax1220u \ - artec_eplus48u ma1509 ibm hp5400" + ma1509 ibm hp5400" + BACKENDS_THAT_NEEDSHARED_MEM="artec_eplus48u" if test "${sane_cv_use_libjpeg}" != "yes"; then echo "*** disabling DC210 backend (failed to find JPEG library)" diff -urN sane-backends_orig/tools/sane-find-scanner.c sane-backends/tools/sane-find-scanner.c --- sane-backends_orig/tools/sane-find-scanner.c 2003-09-24 05:41:48.000000000 +0200 +++ sane-backends/tools/sane-find-scanner.c 2003-12-02 02:15:54.000000000 +0100 @@ -40,6 +40,9 @@ #include #include #endif +#ifdef interface +#undef interface +#endif #include "../include/sane/sanei.h" #include "../include/sane/sanei_scsi.h" From Oliver.Rauch at Rauch-Domain.DE Sun Jan 25 22:01:53 2004 From: Oliver.Rauch at Rauch-Domain.DE (Oliver Rauch) Date: Sun, 25 Jan 2004 23:01:53 +0100 Subject: [sane-devel] (resend) how to undo saved working directory? In-Reply-To: <200401240359.i0O3xBPA025286@one.localnet> References: <200401240359.i0O3xBPA025286@one.localnet> Message-ID: <200401252301.56058.Oliver.Rauch@Rauch-Domain.DE> You can change the working directory in the menu preferences->change direcotry XSane always uses the working directory that is listed in the xsane.rc file. When there is no xsane.rc file or there is no working directory listed in the xsane.rc file then xsane uses the recent working directory. xsane always saves the selected working direcotry line to the xsane.rc file when xsane exits. Oliver Am Samstag, 24. Januar 2004 04:59 schrieb Robert M. Riches Jr.: > (Apologies if this gets posted twice. I made the mistake of > subscribing an email address that is a forwarding service, > so I can't send from that address, so postings are blocked > for moderator review. Apologies in advance if I make any > more breaches of list etiquette.) > > When using the version of xsane that comes with Red Hat > Linux 9, which claims to be xsane-0.89, I find an > interesting feature. Now, xsane remembers the "working > directory" from some earlier session and puts all the files > from --save mode there, rather than the _real_ working > directory where I'm working today. I realize most > GUI-oriented users probably want all their image files > stored in one directory, and they start xsane from their > Gnome or KDE menus. However, when I'm working in directory > Z and bring up xsane from the command line while in > directory Z, I want xsane to put the files in directory Z. > Tomorrow, I will be in another directory, and I want xsane > put the files there. > > I found the "working directory" file squirreled away in file > ~/.sane/xsane/xsane.rc, lines 5 and 6. A quick wrapper > script in Perl could update the file to reflect the > directory from which I'm invoking xsane. That would be much > easier than hacking the source code to the program to change > this unwelcome-to-me feature. > > Is there a better and/or easier way to get xsane to use the > current working directory from which it is invoked? > > Thanks. > > Robert Riches > rm.riches at verizon.net -- http://www.xsane.org http://www.rauch-domain.de http://www.sane-project.org From maher at its.caltech.edu Sun Jan 25 20:29:01 2004 From: maher at its.caltech.edu (Joseph M. Maher) Date: Sun, 25 Jan 2004 12:29:01 -0800 (PST) Subject: [sane-devel] sane on linux 2.6 Message-ID: >I have a hp 2110, and I'm running debian unstable on a vanilla 2.6.1 >kernel. > >Printing works, but scanning doesn't. Scanning works with the cvs version of hpoj. Joseph From rm.riches at verizon.net Mon Jan 26 01:31:27 2004 From: rm.riches at verizon.net (Robert M. Riches Jr.) Date: Sun, 25 Jan 2004 17:31:27 -0800 Subject: [sane-devel] (resend) how to undo saved working directory? Message-ID: <200401260131.i0Q1VRWS017869@one.localnet> > From: Oliver Rauch > Date: Sun, 25 Jan 2004 23:01:53 +0100 > > You can change the working directory in the menu > preferences->change direcotry > > XSane always uses the working directory that is listed in the xsane.rc file. > When there is no xsane.rc file or there is no working directory listed in the > xsane.rc file then xsane uses the recent working directory. > > xsane always saves the selected working direcotry line to the xsane.rc file > when xsane exits. Thank you for pointing out the path to the working directory menu item. I had searched under preferences->setup->save and had missed the obvious at the bottom of the menu. So, let's say on Monday I'm working in directory A and use the menu item to have xsane put files there. Then, on Tuesday, I have an xterm in directory B and start up xsane from that xterm, so that the xsane process's cwd (current working directory) from the OS is B. Xsane will put the files in A, where I was on Monday (unless I go through the menu to tell xsane information it already has)? I would say that's undesirable behavior for any user other than ones whose world revolves around "My Documents". I, for one, liked the older (circa 0.84) behavior on this point. What is the potential for an RFE or patch submission for a command line option or environment variable to allow the user to control whether xsane uses the OS's cwd vs. the directory saved in the xsanerc file from the previous session? (I'm about 50% for minor enhancement patch submissions to other programs: one accept, one reject, one accept with modifications.) Or, should I just write a quick Perl wrapper script to modify the xsanerc file before invoking the real xsane? Thanks. Robert Riches rm.riches at verizon.net From satimis at icare.com.hk Mon Jan 26 05:33:25 2004 From: satimis at icare.com.hk (Stephen Liu) Date: Mon, 26 Jan 2004 13:33:25 +0800 Subject: [sane-devel] OT: Equivalent software to PaperPort etc. for Win Message-ID: <4014A6A5.20501@icare.com.hk> Hi all folks, I am using SANE for scanning on Linux. I have been searching for a software from Open Source running on Linux/Unix equivalent to PaperPort/PageMaker/OmniPage/BZ.Doc of BiziSoft etc. for Win. They are graphic editing software with database integrated. They have a platform/table to retain scanned documents visually and combine them as a file which can be saved in many formats. Each page inside the file can be rearranged, i.e. page-1 can be re-inserted as page-13, etc. and all pages will be re-numbered automatically thereafter. The pages can be editted both graphically or textwise. They have a powerful database to search documents on their titiles or contents. The database can be update at night at a pre-fixed time. The documents can be OCR. To my understanding any graphic editing software on Linux with Plugin for scanner such as GIMP can do the job. But the operation would not be so simple and handy. Any advice??? TIA B.R. Stephen Liu From till.kamppeter at gmx.net Mon Jan 26 19:12:48 2004 From: till.kamppeter at gmx.net (Till Kamppeter) Date: Mon, 26 Jan 2004 19:12:48 +0000 Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: References: Message-ID: <401566B0.70109@gmx.net> I recommend that you post this on the SANE mailing list (http://www.sane-project.org/), as this is a scanning problem. I am CCing this posting to there. AFAIK noone has written a driver for scanner buttons yet (also not for other scanner models). The scanner probably sends a certain signal through the USB which is caught by a background process under Windows. This process then starts a program to do the scan. The best way to write a similar program under Linux is to use a USB sniffer to analyze how the signal looks like and then write a daemon which listens for such signals. Till Alton Hernandez wrote: > Hi, > > Can anyone tell me how I can link the Scan Button of CX3100 to a Linux > application? I believe in the Windows environment, you can just press this > button and the printer will scan the document and send it to your application > of choice. But in Linux, this button seems to be useless because it does not > do anything. From jester at panix.com Mon Jan 26 18:35:29 2004 From: jester at panix.com (Jesse Sheidlower) Date: Mon, 26 Jan 2004 13:35:29 -0500 Subject: [sane-devel] Canon LiDE 80 backend? Message-ID: <20040126183528.GA6678@panix.com> I see from the support list that the Canon LiDE 80 is not currently supported. Is this something that's likely to change in the very near future, or is no one working on it? There didn't seem to be any discussion of this printer in the archives of this list. I like the LiDE series because of the supersmall size, but I'd prefer the higher resolution of the LiDE 80 to the currently supported LiDE 30. (The HP ScanJet 4600, also small, seems also to be unsupported by SANE.) Thanks. My main use of this would be on a Mac, but I'd like to be able to use the scanner with a FreeBSD laptop while travelling. Jesse Sheidlower From Oliver.Rauch at Rauch-Domain.DE Mon Jan 26 18:38:25 2004 From: Oliver.Rauch at Rauch-Domain.DE (Oliver Rauch) Date: Mon, 26 Jan 2004 19:38:25 +0100 Subject: [sane-devel] (resend) how to undo saved working directory? In-Reply-To: <200401260131.i0Q1VRWS017869@one.localnet> References: <200401260131.i0Q1VRWS017869@one.localnet> Message-ID: <200401261938.28565.Oliver.Rauch@Rauch-Domain.DE> Hello Robert, The problem is that different people like different behaviours. I added the working directory options because a lot of people asked for it. You are the first one who asked for the old behaviour since I changed it so I think it is not of general interest. I suggest you wirte a script or patch the sourcecoud yourself. When I add options to change the behavior this makes the program more complex and so I prefer to keep it as it is. Best regards Oliver Am Montag, 26. Januar 2004 02:31 schrieb Robert M. Riches Jr.: > > From: Oliver Rauch > > Date: Sun, 25 Jan 2004 23:01:53 +0100 > > > > You can change the working directory in the menu > > preferences->change direcotry > > > > XSane always uses the working directory that is listed in the xsane.rc > > file. When there is no xsane.rc file or there is no working directory > > listed in the xsane.rc file then xsane uses the recent working directory. > > > > xsane always saves the selected working direcotry line to the xsane.rc > > file when xsane exits. > > Thank you for pointing out the path to the working directory > menu item. I had searched under preferences->setup->save > and had missed the obvious at the bottom of the menu. > > So, let's say on Monday I'm working in directory A and use > the menu item to have xsane put files there. Then, on > Tuesday, I have an xterm in directory B and start up xsane > from that xterm, so that the xsane process's cwd (current > working directory) from the OS is B. Xsane will put the > files in A, where I was on Monday (unless I go through the > menu to tell xsane information it already has)? I would say > that's undesirable behavior for any user other than ones > whose world revolves around "My Documents". I, for one, > liked the older (circa 0.84) behavior on this point. > > What is the potential for an RFE or patch submission for a > command line option or environment variable to allow the > user to control whether xsane uses the OS's cwd vs. the > directory saved in the xsanerc file from the previous > session? (I'm about 50% for minor enhancement patch > submissions to other programs: one accept, one reject, one > accept with modifications.) > > Or, should I just write a quick Perl wrapper script to > modify the xsanerc file before invoking the real xsane? > > Thanks. > > Robert Riches > rm.riches at verizon.net -- http://www.xsane.org http://www.rauch-domain.de http://www.sane-project.org From henning at meier-geinitz.de Mon Jan 26 18:51:53 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 26 Jan 2004 19:51:53 +0100 Subject: [sane-devel] HP 5500c scanner support? In-Reply-To: <20040122002035.263116f0.stewart@midtoad.homelinux.org> References: <20040122053613.31650.45428.Mailman@quantz.debian.org> <20040122002035.263116f0.stewart@midtoad.homelinux.org> Message-ID: <20040126185153.GC2555@meier-geinitz.de> Hi, On Thu, Jan 22, 2004 at 12:20:35AM -0700, Stewart Midwinter wrote: > Has anyone done any work on getting the HP 5500c scanner supported? > I know it's not on the compatibility list, but... I don't think that anyone is working on a driver for that device currently. > Seeing as how I have one, is there anything I could could do to help > this along? run some tools? generate a log/debug file? You could try to get log files with USB snoopy or sniffusb. However, this only helps if you start to develop a driver yourself or if there already is a driver for the chipset your scanner uses. Writing a driver just by looking at the USB log file without having access to such a scanner or at least a similar device is nearly impossible. And even if it were possible, I guess nobody would have the patience to do it. So better start writing a driver yourself now :-) Bye, Henning From henning at meier-geinitz.de Mon Jan 26 19:02:30 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Mon, 26 Jan 2004 20:02:30 +0100 Subject: [sane-devel] Canon LiDE 80 backend? In-Reply-To: <20040126183528.GA6678@panix.com> References: <20040126183528.GA6678@panix.com> Message-ID: <20040126190230.GD2555@meier-geinitz.de> Hi, On Mon, Jan 26, 2004 at 01:35:29PM -0500, Jesse Sheidlower wrote: > I see from the support list that the Canon LiDE 80 is not > currently supported. Is this something that's likely to > change in the very near future, or is no one working on it? It may change in future. I'm (still) working on a backend for the Genesys gl646 and gl841 chips but it's still not finished and I don't have much time at the moment. See http://www.meier-geinitz.de/sane/genesys-backend/ I wouldn't buy a scanner just because someone intends to write a backend. Better buy an already supported device. Could anyone who already owns such a scanner send me the output of sane-find-scanner -v -v of SANE 1.0.13 or later? Bye, Henning From rm.riches at verizon.net Mon Jan 26 20:52:40 2004 From: rm.riches at verizon.net (Robert M. Riches Jr.) Date: Mon, 26 Jan 2004 12:52:40 -0800 Subject: [sane-devel] (resend) how to undo saved working directory? Message-ID: <200401262052.i0QKqeIY006929@one.localnet> > From: Oliver Rauch > Date: Mon, 26 Jan 2004 19:38:25 +0100 > > The problem is that different people like different behaviours. > I added the working directory options because a lot of people > asked for it. You are the first one who asked for the old behaviour > since I changed it so I think it is not of general interest. > > I suggest you wirte a script or patch the sourcecoud yourself. > When I add options to change the behavior this makes the > program more complex and so I prefer to keep it as it is. Nobody else wanted the saved files in the _real_ working directory? That's curious. How about a convention that if the working directory from the xsane file is the null string the program would use the OS's CWD? With luck, that should only take a couple lines of code. Would you be willing to accept a patch that would do that? If the patch would be accepted into the main code stream, it would be worth doing. If just for my use, a Perl wrapper would be more efficient. Worst case, a Perl wrapper script should be pretty quick to cobble. Would it be appropriate to post the script just in case someone later searches out this thread and wants it? Thanks for xsane. Robert Riches rm.riches at verizon.net From martin at mkcollins.org Mon Jan 26 21:37:34 2004 From: martin at mkcollins.org (Martin Collins) Date: Mon, 26 Jan 2004 21:37:34 +0000 Subject: [sane-devel] (resend) how to undo saved working directory? In-Reply-To: <200401262052.i0QKqeIY006929@one.localnet> References: <200401262052.i0QKqeIY006929@one.localnet> Message-ID: <20040126213734.221eb911.martin@mkcollins.org> On Mon, 26 Jan 2004 12:52:40 -0800 "Robert M. Riches Jr." wrote: > Nobody else wanted the saved files in the _real_ working > directory? Sure they did, they just remembered to set it manually :-) > How about a convention that if the working directory from > the xsane file is the null string the program would use the > OS's CWD? It already does that doesn't it? The problem (from your point of view) is that xsane writes the CWD into xsane.rc and uses it next time. How about xsane leaving a null string null unless it is explicitly set? Martin From rm.riches at verizon.net Mon Jan 26 21:52:13 2004 From: rm.riches at verizon.net (Robert M. Riches Jr.) Date: Mon, 26 Jan 2004 13:52:13 -0800 Subject: [sane-devel] (resend) how to undo saved working directory? Message-ID: <200401262152.i0QLqDFB008864@one.localnet> > From: Martin Collins > Date: Mon, 26 Jan 2004 21:37:34 +0000 > > On Mon, 26 Jan 2004 12:52:40 -0800 > "Robert M. Riches Jr." wrote: > > > Nobody else wanted the saved files in the _real_ working > > directory? > > Sure they did, they just remembered to set it manually :-) > > > How about a convention that if the working directory from > > the xsane file is the null string the program would use the > > OS's CWD? > > It already does that doesn't it? The problem (from your point of view) > is that xsane writes the CWD into xsane.rc and uses it next time. How > about xsane leaving a null string null unless it is explicitly set? Good point. I had forgotten about that side of the process. That may take a few more lines of code, and a state variable set when the xsane.rc file is read, used when the file is written. If that might be acceptable for inclusion into the main code stream, that would still be worth doing. Any guidance on where the state variable should be declared? (I haven't yet unpacked and looked at the source code.) Thanks. Robert Riches rm.riches at verizon.net From khk at khk.net Mon Jan 26 22:07:11 2004 From: khk at khk.net (Karl Heinz Kremer) Date: Mon, 26 Jan 2004 17:07:11 -0500 Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <401566B0.70109@gmx.net> References: <401566B0.70109@gmx.net> Message-ID: I assume this is an EPSON CX-3100. In this case, the scanner does not send anything when you press the button. The Windows software checks every half second or second or so to find out if the button was pressed. The problem with handling buttons with Sane is that we don't have an API for this, so every backend would potentially handle this differently. Also, there is no official way to communicate a button event to a frontend. The EPSON backend has a mode where you can setup your scan, and then configure it to wait for a button event. This would not allow you to send the scans to another application, but it's a start :-) On Jan 26, 2004, at 2:12 PM, Till Kamppeter wrote: > I recommend that you post this on the SANE mailing list > (http://www.sane-project.org/), as this is a scanning problem. I am > CCing this posting to there. > > AFAIK noone has written a driver for scanner buttons yet (also not for > other scanner models). The scanner probably sends a certain signal > through the USB which is caught by a background process under Windows. > This process then starts a program to do the scan. The best way to > write a similar program under Linux is to use a USB sniffer to analyze > how the signal looks like and then write a daemon which listens for > such signals. > > Till > > Alton Hernandez wrote: >> Hi, >> Can anyone tell me how I can link the Scan Button of CX3100 to a Linux >> application? I believe in the Windows environment, you can just >> press this >> button and the printer will scan the document and send it to your >> application >> of choice. But in Linux, this button seems to be useless because it >> does not >> do anything. > > > > -- > 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 From mattias.ellert at tsl.uu.se Mon Jan 26 22:42:26 2004 From: mattias.ellert at tsl.uu.se (Mattias Ellert) Date: Mon, 26 Jan 2004 23:42:26 +0100 Subject: [sane-devel] MacOS X and pthread_cancel Message-ID: <401597D2.7050305@tsl.uu.se> Hi! I have made a new binary package for MacOS X from a fresh CVS checkout and with a new version of the pthread_cancel workaround patch. The new version of the patch mimics the behaviour of the original code very closely (but without calling pthred_cancel) and does not change the stucture of the thread implementation as the previous patch did. If you have experienced any thread related problems with SANE on MacOS X the new version might help you. Some backends have also been updated to use the sanei_thread routines instead of fork since the release, so this package based on the CVS checkout should work better for scanners using such backends. The packages are available on http://www.ellert.se/twain-sane/ together with a new version of the TWAIN SANE Interface. Mattias -- ________________________________________________________________________ mattias.ellert at tsl.uu.se tel: +46 18 471 32 58 http://www.tsl.uu.se/~ellert/ fax: +46 18 471 35 13 ________________________________________________________________________ From martin at mkcollins.org Mon Jan 26 22:45:51 2004 From: martin at mkcollins.org (Martin Collins) Date: Mon, 26 Jan 2004 22:45:51 +0000 Subject: [sane-devel] (resend) how to undo saved working directory? In-Reply-To: <200401262152.i0QLqDFB008864@one.localnet> References: <200401262152.i0QLqDFB008864@one.localnet> Message-ID: <20040126224551.0ac4e71c.martin@mkcollins.org> On Mon, 26 Jan 2004 13:52:13 -0800 "Robert M. Riches Jr." wrote: > Any > guidance on where the state variable should be declared? Shouldn't be necessary. Just change the code in xsane.c that checks preferences.working_directory to not set it if it is null. Not tested, DYOR etc. Martin From olaf at epkowa.co.jp Tue Jan 27 05:32:10 2004 From: olaf at epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 27 Jan 2004 14:32:10 +0900 Subject: [sane-devel] iscan: "Could not send command to scanner" In-Reply-To: <200401241315.47918.ojt@gexcon.com> (Ole Jacob Taraldset's message of "Sat, 24 Jan 2004 13:15:47 +0100") References: <200401241315.47918.ojt@gexcon.com> Message-ID: <87n08a5545.fsf@zen.epkowa.co.jp> Ole Jacob Taraldset writes: > Hi, Hi, > I have an Epson Perfection 1650 Photo which I have been using with > iscan. Now suddenly iscan doesn't work any more and just give me a > dialog box saying "Could not send command to scanner". Xsane still > works and recognizes my scanner without any problems. > > My system is a RedHat 9 box with freshrpms updates and the following: > sane-backends-1.0.9-5.1 > sane-frontends-1.0.9-2 > xsane-0.89-3 > iscan-1.5.2-1.redhat.8.0 Hmm, that ought to work provided the libsane.so symlink points to the right library. There is a known bug on RH9 where /usr/lib/libsane.so points to the v4l SANE backend. Check if this is the case and fix it if so. To check: $ ls -l /usr/lib/libsane.so To fix (requires root permissions): # ln -fs libsane.so.1.0.9 /usr/lib/libsane.so > I've also tried iscan 1.4, but get the same result. Never mind that version. It was very much not nice in that it quietly overwrote the epson backend. > My /etc/sane.d/epkowa.conf contains: > > usb /dev/usb/scanner0 That should be fine. > My /etc/sane.d/epson.conf contains: > > usb /dev/usb/scanner0 For the record, iscan does not use the epson backend. It is *not* a proper SANE frontend in that respect. > I have tried to remove one or the other but this doesn't seem to help. Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From olaf at epkowa.co.jp Tue Jan 27 05:35:10 2004 From: olaf at epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 27 Jan 2004 14:35:10 +0900 Subject: [sane-devel] sane frontend questions In-Reply-To: <20040124215651.GA8359@obiwan.csl.uiuc.edu> (Andy Mitofsky's message of "Sat, 24 Jan 2004 15:56:51 -0600") References: <20040113053607.GB10111@obiwan.csl.uiuc.edu> <87wu7vqqa7.fsf@zen.epkowa.co.jp> <20040124215651.GA8359@obiwan.csl.uiuc.edu> Message-ID: <87isiy54z5.fsf@zen.epkowa.co.jp> Andy Mitofsky writes: > I just wanted to say thanks for the help from about a week ago, > especially to Olaf Meeuwissen. I was able to get iscan to work on my computer. > For the record, to get it to work, I installed an older version of gtk, > gtk+-1.2.10, and used the suggested version of iscan, iscan-1.5.2-1.redhat.8.0.tar.gz. I > At that point, I got compile errors relating to libgdk_imlib. I had the > file /usr/lib/libgdk_imlib.so.1 on my machine but not gdk_imlib.h. To > get around this, I deleted the lines including gdk_imlib.hfrom > pisa_structs.h. and pisa_view_manager.cc. I also changed some lines of > pisa_view_manager.cc from > ::gdk_imlib_init ( ); > ::gtk_widget_push_visual ( ::gdk_imlib_get_visual ( ) ); > ::gtk_widget_push_colormap ( ::gdk_imlib_get_colormap ( ) ); > to > ::gtk_widget_push_visual ( ::gdk_rgb_get_visual ( ) ); > ::gtk_widget_push_colormap ( ::gdk_rgb_get_cmap ( ) ); > I'm not sure what this did, but it seemed to work. Again, thanks > for your help. Bye, Andy Just so you know, you will not be able to use iscan as a GIMP plugin. You could have installed the gimp-devel package and leave the sources as they were instead. # FYI, Debian users need gdk-imlib1-dev. Hope this helps, -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From olaf at epkowa.co.jp Tue Jan 27 06:02:23 2004 From: olaf at epkowa.co.jp (Olaf Meeuwissen) Date: Tue, 27 Jan 2004 15:02:23 +0900 Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: (Karl Heinz Kremer's message of "Mon, 26 Jan 2004 17:07:11 -0500") References: <401566B0.70109@gmx.net> Message-ID: <87ektm53ps.fsf@zen.epkowa.co.jp> Karl Heinz Kremer writes: > I assume this is an EPSON CX-3100. In this case, the scanner does not > send anything when you press the button. The Windows software checks > every half second or second or so to find out if the button was > pressed. With most of the more recent scanners and all-in-ones, including the 3200PHOTO and the CX-3100, pressing the scan button starts the EPSON Smart Panel application under Windows. Obviously, doing something like this under a Unix-like OS, or any true multi-user OS for that matter, is just plain ... eh ... stupid because there is absolutely no knowing for which user you need to fire up the app. Let alone trying to figure at on which terminal. Per user daemons polling for a button event to start an application won't work either because there may be any number of such daemons running (so you might as well use a single system-wide one). If anyone thinks otherwise, I'd like to know. The best one can probably do is what Karl has done in the epson backend (and I merged into the epkowa backend with iscan-1.6.0) is have the user set up the scan and tell the backend to wait until the button is pressed before commencing the scan. We are contemplating additional GUI bells and whistles for "Image Scan! for Linux" for this functionality but haven't quite made up our minds as to the most natural way of doing this. There's also the case of the most desired behaviour when using the ADF ... Needless to say, your suggestions are welcome ;-) > The problem with handling buttons with Sane is that we don't have an > API for this, so every backend would potentially handle this > differently. Also, there is no official way to communicate a button > event to a frontend. > > The EPSON backend has a mode where you can setup your scan, and then > configure it to wait for a button event. This would not allow you to > send the scans to another application, but it's a start :-) > > > On Jan 26, 2004, at 2:12 PM, Till Kamppeter wrote: > >> I recommend that you post this on the SANE mailing list >> (http://www.sane-project.org/), as this is a scanning problem. I am >> CCing this posting to there. >> >> AFAIK noone has written a driver for scanner buttons yet (also not >> for other scanner models). The scanner probably sends a certain >> signal through the USB which is caught by a background process under >> Windows. This process then starts a program to do the scan. The best >> way to write a similar program under Linux is to use a USB sniffer >> to analyze how the signal looks like and then write a daemon which >> listens for such signals. >> >> Till >> >> Alton Hernandez wrote: >>> Hi, >>> Can anyone tell me how I can link the Scan Button of CX3100 to a Linux >>> application? I believe in the Windows environment, you can just >>> press this >>> button and the printer will scan the document and send it to your >>> application >>> of choice. But in Linux, this button seems to be useless because >>> it does not >>> do anything. -- Olaf Meeuwissen EPSON KOWA Corporation, ECS GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2 From ojt at gexcon.com Tue Jan 27 08:04:38 2004 From: ojt at gexcon.com (Ole Jacob Taraldset) Date: Tue, 27 Jan 2004 09:04:38 +0100 Subject: [sane-devel] iscan: "Could not send command to scanner" In-Reply-To: <87n08a5545.fsf@zen.epkowa.co.jp> References: <200401241315.47918.ojt@gexcon.com> <87n08a5545.fsf@zen.epkowa.co.jp> Message-ID: <200401270904.38164.ojt@gexcon.com> This might have been an easier fix, but I got a hint in a previous post. I downloaded an experimental sane-backends package and now iscan works just fine. -Ole Jacob On Tuesday 27 January 2004 6:32 am, Olaf Meeuwissen wrote: > Ole Jacob Taraldset writes: > > Hi, > > Hi, > > > I have an Epson Perfection 1650 Photo which I have been using with > > iscan. Now suddenly iscan doesn't work any more and just give me a > > dialog box saying "Could not send command to scanner". Xsane still > > works and recognizes my scanner without any problems. > > > > My system is a RedHat 9 box with freshrpms updates and the following: > > sane-backends-1.0.9-5.1 > > sane-frontends-1.0.9-2 > > xsane-0.89-3 > > iscan-1.5.2-1.redhat.8.0 > > Hmm, that ought to work provided the libsane.so symlink points to the > right library. There is a known bug on RH9 where /usr/lib/libsane.so > points to the v4l SANE backend. Check if this is the case and fix it > if so. > > To check: > > $ ls -l /usr/lib/libsane.so > > To fix (requires root permissions): > > # ln -fs libsane.so.1.0.9 /usr/lib/libsane.so > > > I've also tried iscan 1.4, but get the same result. > > Never mind that version. It was very much not nice in that it quietly > overwrote the epson backend. > > > My /etc/sane.d/epkowa.conf contains: > > > > usb /dev/usb/scanner0 > > That should be fine. > > > My /etc/sane.d/epson.conf contains: > > > > usb /dev/usb/scanner0 > > For the record, iscan does not use the epson backend. It is *not* a > proper SANE frontend in that respect. > > > I have tried to remove one or the other but this doesn't seem to help. > > Hope this helps, -- Process and Safetey, Dept. of Physics, PGP key : ICQ 5366306 | Jabber ojt at jabber.org | AIM ojtaraldset Yahoo ojtaraldset | MSN ojt at gexcon.com From anoah at pfeiffer.edu Tue Jan 27 16:10:35 2004 From: anoah at pfeiffer.edu (m. allan noah) Date: Tue, 27 Jan 2004 11:10:35 -0500 (EST) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <87ektm53ps.fsf@zen.epkowa.co.jp> Message-ID: this also is an issue for any other scanners that have buttons, esp. the adf models. unfortunately, i dont see a good way to handle multiple scanners, since a frontend would have to load and unload multiple backends many times per minute to monitor buttons... what about a simple frontend that forks a separate child to load each backend, and the child exit(1) if no scanners are found, or stays running if there are. (might have to fork off child for each scanner not just each backend) then each child could monitor it's scanner by looking at the option descriptor for each button (we would have to decide what to call them) every couple seconds. when a child decides a button is pressed, it would exec() to a program of the user's choice. problems with this idea include: what to do on a multi-user system, esp w/ regard to X windows, how do we decide which scanning frontend to run on which button event for each scanner, and what to do about scanners with lots of buttons and wheels and such. allan On Tue, 27 Jan 2004, Olaf Meeuwissen wrote: > Karl Heinz Kremer writes: > > > I assume this is an EPSON CX-3100. In this case, the scanner does not > > send anything when you press the button. The Windows software checks > > every half second or second or so to find out if the button was > > pressed. > > With most of the more recent scanners and all-in-ones, including the > 3200PHOTO and the CX-3100, pressing the scan button starts the EPSON > Smart Panel application under Windows. > > Obviously, doing something like this under a Unix-like OS, or any true > multi-user OS for that matter, is just plain ... eh ... stupid because > there is absolutely no knowing for which user you need to fire up the > app. Let alone trying to figure at on which terminal. > > Per user daemons polling for a button event to start an application > won't work either because there may be any number of such daemons > running (so you might as well use a single system-wide one). > > If anyone thinks otherwise, I'd like to know. > > The best one can probably do is what Karl has done in the epson > backend (and I merged into the epkowa backend with iscan-1.6.0) is > have the user set up the scan and tell the backend to wait until the > button is pressed before commencing the scan. > > We are contemplating additional GUI bells and whistles for "Image > Scan! for Linux" for this functionality but haven't quite made up our > minds as to the most natural way of doing this. There's also the case > of the most desired behaviour when using the ADF ... > > Needless to say, your suggestions are welcome ;-) > > > The problem with handling buttons with Sane is that we don't have an > > API for this, so every backend would potentially handle this > > differently. Also, there is no official way to communicate a button > > event to a frontend. > > > > The EPSON backend has a mode where you can setup your scan, and then > > configure it to wait for a button event. This would not allow you to > > send the scans to another application, but it's a start :-) > > > > > > On Jan 26, 2004, at 2:12 PM, Till Kamppeter wrote: > > > >> I recommend that you post this on the SANE mailing list > >> (http://www.sane-project.org/), as this is a scanning problem. I am > >> CCing this posting to there. > >> > >> AFAIK noone has written a driver for scanner buttons yet (also not > >> for other scanner models). The scanner probably sends a certain > >> signal through the USB which is caught by a background process under > >> Windows. This process then starts a program to do the scan. The best > >> way to write a similar program under Linux is to use a USB sniffer > >> to analyze how the signal looks like and then write a daemon which > >> listens for such signals. > >> > >> Till > >> > >> Alton Hernandez wrote: > >>> Hi, > >>> Can anyone tell me how I can link the Scan Button of CX3100 to a Linux > >>> application? I believe in the Windows environment, you can just > >>> press this > >>> button and the printer will scan the document and send it to your > >>> application > >>> of choice. But in Linux, this button seems to be useless because > >>> it does not > >>> do anything. > > -- "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 bruce at brucebertrand.com Tue Jan 27 16:11:31 2004 From: bruce at brucebertrand.com (Bruce Bertrand) Date: Tue, 27 Jan 2004 11:11:31 -0500 Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <401566B0.70109@gmx.net> References: <401566B0.70109@gmx.net> Message-ID: <40168DB3.7030604@brucebertrand.com> Till Kamppeter wrote: > I recommend that you post this on the SANE mailing list > (http://www.sane-project.org/), as this is a scanning problem. I am > CCing this posting to there. > > AFAIK noone has written a driver for scanner buttons yet (also not for > other scanner models). The scanner probably sends a certain signal > through the USB which is caught by a background process under Windows. > This process then starts a program to do the scan. The best way to > write a similar program under Linux is to use a USB sniffer to analyze > how the signal looks like and then write a daemon which listens for > such signals. > > Till If this is the case, then it would only take one sniffer for all scanners that operate in this manner. Sort of like those universal "learning" remotes, where you hold up an existing remote to the learning remote, hit a "listen" button and then press a button on the old one, assigning whatever signal it receives to some function on the learning remote. Bruce From anoah at pfeiffer.edu Tue Jan 27 16:27:19 2004 From: anoah at pfeiffer.edu (m. allan noah) Date: Tue, 27 Jan 2004 11:27:19 -0500 (EST) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <40168DB3.7030604@brucebertrand.com> Message-ID: On Tue, 27 Jan 2004, Bruce Bertrand wrote: > Till Kamppeter wrote: > > > I recommend that you post this on the SANE mailing list > > (http://www.sane-project.org/), as this is a scanning problem. I am > > CCing this posting to there. > > > > AFAIK noone has written a driver for scanner buttons yet (also not for > > other scanner models). The scanner probably sends a certain signal > > through the USB which is caught by a background process under Windows. > > This process then starts a program to do the scan. The best way to > > write a similar program under Linux is to use a USB sniffer to analyze > > how the signal looks like and then write a daemon which listens for > > such signals. > > > > Till > > If this is the case, then it would only take one sniffer for all > scanners that operate in this manner. Sort of like those universal > "learning" remotes, where you hold up an existing remote to the learning > remote, hit a "listen" button and then press a button on the old one, > assigning whatever signal it receives to some function on the learning > remote. > Bruce not so simple as that. for machines with adf, you will usually have a couple other sensors like paper thickness, input or output hopper empty/full, cover open, lamp warm, etc. if the scanner sends all those as a bitmask in one packet, then the user doing a button-press might show up as a dozen different codes, based on those other flags. your 'generic' button monitor would have to know a whole lot more about each individual model than you would want (esp when things like which usb endpoint to use and bulk v/s interrupt are taken into account) all-in-all this sort of thing (reading the raw output from the scanner) belongs in the backend, with suitable abstraction that a frontend could use. finding that abstraction is more problematic... allan > > -- "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 brill at fs.math.uni-frankfurt.de Tue Jan 27 18:00:42 2004 From: brill at fs.math.uni-frankfurt.de (Bjoern Brill) Date: Tue, 27 Jan 2004 19:00:42 +0100 (CET) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <87ektm53ps.fsf@zen.epkowa.co.jp> References: <401566B0.70109@gmx.net> <87ektm53ps.fsf@zen.epkowa.co.jp> Message-ID: [I've cut CCs to people who I know to be on sane-devel] On Tue, 27 Jan 2004, Olaf Meeuwissen wrote: > Karl Heinz Kremer writes: > > > I assume this is an EPSON CX-3100. In this case, the scanner does not > > send anything when you press the button. The Windows software checks > > every half second or second or so to find out if the button was > > pressed. > > With most of the more recent scanners and all-in-ones, including the > 3200PHOTO and the CX-3100, pressing the scan button starts the EPSON > Smart Panel application under Windows. > > Obviously, doing something like this under a Unix-like OS, or any true > multi-user OS for that matter, is just plain ... eh ... stupid because > there is absolutely no knowing for which user you need to fire up the > app. Let alone trying to figure at on which terminal. > Yes. > Per user daemons polling for a button event to start an application > won't work either because there may be any number of such daemons > running (so you might as well use a single system-wide one). > AFAIR, the SANE 2 proposal contains a provision whereby a frontend would have to obtain an exclusive lock on a scanner's buttons before polling them (and a mechanism to steal the lock after a timeout so noone can block the device forever by forgetting to close the frontend). I didn't like the technical implementation in the proposal, but the idea seems OK. > If anyone thinks otherwise, I'd like to know. > I think it is OK to cover only a few common setups. Two which come to mind: 1.) "home use": scanner is accessible only from the PC it's attached to, and that PC has no more than one user logged in at any given time (typically with an X session). In this case, a per user daemon with session lifetime does the job even without locking. 2.) "large office": scanner is networked, accessible from many different terminals. People have to walk several metres to the scanner, maybe even into a different room. In this case, a simple remote control feature like the one described below (set up scan parameters from terminal, scan once for every scanner button press) would be extremely useful. With increasing distance from terminal to scanner, more complex remote control functionality becomes convenient, e.g. walk up to the scanner with a bunch of documents and route them to different applications right from the scanner. Given the scanner has enough buttons of course :) Here, locking is a Good Thing, but it may suffice to implement it inside saned. > The best one can probably do is what Karl has done in the epson > backend (and I merged into the epkowa backend with iscan-1.6.0) is > have the user set up the scan and tell the backend to wait until the > button is pressed before commencing the scan. > > We are contemplating additional GUI bells and whistles for "Image > Scan! for Linux" for this functionality but haven't quite made up our > minds as to the most natural way of doing this. There's also the case > of the most desired behaviour when using the ADF ... > > Needless to say, your suggestions are welcome ;-) > > > The problem with handling buttons with Sane is that we don't have an > > API for this, so every backend would potentially handle this > > differently. Also, there is no official way to communicate a button > > event to a frontend. > > > > The EPSON backend has a mode where you can setup your scan, and then > > configure it to wait for a button event. This would not allow you to > > send the scans to another application, but it's a start :-) > > > > > > On Jan 26, 2004, at 2:12 PM, Till Kamppeter wrote: > > > >> I recommend that you post this on the SANE mailing list > >> (http://www.sane-project.org/), as this is a scanning problem. I am > >> CCing this posting to there. > >> > >> AFAIK noone has written a driver for scanner buttons yet (also not > >> for other scanner models). The scanner probably sends a certain > >> signal through the USB which is caught by a background process under > >> Windows. This process then starts a program to do the scan. The best > >> way to write a similar program under Linux is to use a USB sniffer > >> to analyze how the signal looks like and then write a daemon which > >> listens for such signals. > >> > >> Till > >> > >> Alton Hernandez wrote: > >>> Hi, > >>> Can anyone tell me how I can link the Scan Button of CX3100 to a Linux > >>> application? I believe in the Windows environment, you can just > >>> press this > >>> button and the printer will scan the document and send it to your > >>> application > >>> of choice. But in Linux, this button seems to be useless because > >>> it does not > >>> do anything. > Best regards, Bjoern Brill -- Bj"orn Brill Frankfurt am Main, Germany From christopherlmarshall at yahoo.com Tue Jan 27 20:21:11 2004 From: christopherlmarshall at yahoo.com (Christopher Marshall) Date: Tue, 27 Jan 2004 12:21:11 -0800 (PST) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: Message-ID: <20040127202111.74633.qmail@web41508.mail.yahoo.com> > > not so simple as that. for machines with adf, you will usually have a > couple other sensors like paper thickness, input or output hopper > empty/full, cover open, lamp warm, etc. if the scanner sends all those as > a bitmask in one packet, then the user doing a button-press might show up > as a dozen different codes, based on those other flags. your 'generic' > button monitor would have to know a whole lot more about each individual > model than you would want (esp when things like which usb endpoint to use > and bulk v/s interrupt are taken into account) > > all-in-all this sort of thing (reading the raw output from the scanner) > belongs in the backend, with suitable abstraction that a frontend could > use. finding that abstraction is more problematic... > > allan > How about adding a front-end switch that instead of requesting a scan, requests the backend to sit and listen for button events and write them out to stdout? The format of the message written could vary by backend. For example, the command scanimage -d plustek:libusb:001:004 -report-button would wait for the next button press. Pressing a button would cause the command to exit and write a text description of the button pressed to stdout. This would allow the user to write bash scripts to respond to the button presses. This style of interaction is close to how xmessage works when invoked with -print. button=$(scanimage -d plustek:libusb:001:004 -report-buttons) if [ "$button" == "copy" ] ; then # scan and print scanimage -d plustek:libusb:001:004 > image.pnm pnmtops iamge.pnm > image.ps lpr print.ps elif ... else echo "unrecognized button" exit 1 fi This scheme might not solve all problems but it would be a big step up from no support at all. Chris Marshall __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From anoah at pfeiffer.edu Tue Jan 27 21:01:48 2004 From: anoah at pfeiffer.edu (m. allan noah) Date: Tue, 27 Jan 2004 16:01:48 -0500 (EST) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <20040127202111.74633.qmail@web41508.mail.yahoo.com> Message-ID: On Tue, 27 Jan 2004, Christopher Marshall wrote: > > > > not so simple as that. for machines with adf, you will usually have a > > couple other sensors like paper thickness, input or output hopper > > empty/full, cover open, lamp warm, etc. if the scanner sends all those as > > a bitmask in one packet, then the user doing a button-press might show up > > as a dozen different codes, based on those other flags. your 'generic' > > button monitor would have to know a whole lot more about each individual > > model than you would want (esp when things like which usb endpoint to use > > and bulk v/s interrupt are taken into account) > > > > all-in-all this sort of thing (reading the raw output from the scanner) > > belongs in the backend, with suitable abstraction that a frontend could > > use. finding that abstraction is more problematic... > > > > allan > > > > How about adding a front-end switch that instead of requesting a scan, requests the backend to sit > and listen for button events and write them out to stdout? The format of the message written > could vary by backend. > > For example, the command > > scanimage -d plustek:libusb:001:004 -report-button > > would wait for the next button press. Pressing a button would cause the command to exit and write > a text description of the button pressed to stdout. > > This would allow the user to write bash scripts to respond to the button presses. This style of > interaction is close to how xmessage works when invoked with -print. > > button=$(scanimage -d plustek:libusb:001:004 -report-buttons) > if [ "$button" == "copy" ] ; then > # scan and print > scanimage -d plustek:libusb:001:004 > image.pnm > pnmtops iamge.pnm > image.ps > lpr print.ps > elif ... > else > echo "unrecognized button" > exit 1 > fi > > This scheme might not solve all problems but it would be a big step up from no support at all. you could have a flag to a front-end that told it to load the backend, but instead of scan, constantly check the option descriptor for a button's status. the front-end could print this, or even take a series of command line switches that tell it what to do in case of a particular event. but in all cases, this front-end would have to disconnect from the scanner, so that the second front-end could load the backend and connect. but, it would have to still run, so that it could re-connect and continue monitoring. unless, you wanted to re-start it from your script. but you definately dont want backends printing. allan > > Chris Marshall > > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > > -- "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 christopherlmarshall at yahoo.com Tue Jan 27 22:50:20 2004 From: christopherlmarshall at yahoo.com (Christopher Marshall) Date: Tue, 27 Jan 2004 14:50:20 -0800 (PST) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: Message-ID: <20040127225020.24544.qmail@web41502.mail.yahoo.com> > you could have a flag to a front-end that told it to load the backend, but > instead of scan, constantly check the option descriptor for a button's > status. the front-end could print this, or even take a series of command > line switches that tell it what to do in case of a particular event. but > in all cases, this front-end would have to disconnect from the scanner, so > that the second front-end could load the backend and connect. but, it > would have to still run, so that it could re-connect and continue > monitoring. unless, you wanted to re-start it from your script. > > but you definately dont want backends printing. > > allan > Is there a problem with restarting it from a script? That seems a natural way to me to separate mechanism from policy and I can imagine a lot of nice uses of what I described. I had assumed that when you pushed a button on a usb scanner, it send a message over the usb that the backend, if it was listening, would get. The way you describe it, the scanner sets a flag internally, meaning something like "button 1 pushed", and the flag stays in that state until the backend asks for its button status, then tells it to reset the status back to "button 1 unpushed". Is that correct? Assuming I've got it, then I think what you described is the way to go. Have the front-end disconnect and exit, printing out a message as to which button was pressed. The script could then invoke scanimage again to scan an image and print the result (if the script author wants to interpret the pressed button that way). You seem to be worried about what would happen if the user pressed a button twice, and the second button press was missed because the controlling script had exited the first front-end invocation and began another to scan. I take it the second button press would be either be dropped, or you wouldn't be able to process it until after the first scan finished, which would mean you couldn't use one of the buttons as a "cancel" button to cancel the scan in progress. If not being able to implement a cancel button bothers you, then how about this? Have another front-end flag that lets you name a file you want button events written to that occur during a scan. Then you could implement the cancel button by specifying a fifo for the file argument, and having a background process read lines from the file, interpret them, and kill the scan in progress in the event of a cancel button push. That's very straight forward in bash. Even without the ability to implement a cancel button, I would love to be able to map scanner buttons to mean things like "scan low res, gray, and write to a spool directory", "scan high res, color, to a spool directory" and "print the next scan". That's assuming I have 3 buttons to work with, of course. So if I want to do a low res scan and have it printed, I hit button 3, wait a second, then hit button 1. If I didn't want it printed, I'd just his button 1 or 2. Hmmm. Would it be possible to push-and-hold button 1, then push-and-release button2, and then release button 1, and have the backend tell the difference from push-and-release 1 followed by push-and-release 2? What exactly generates an event (usb message sent device-to-host) in the case of button presses and releases? Does anyone know? Chris Marshall __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From david_b_brown at mac.com Wed Jan 28 11:31:14 2004 From: david_b_brown at mac.com (David B Brown) Date: Wed, 28 Jan 2004 11:31:14 +0000 Subject: [sane-devel] SANE - Mac OS X 10.3.2 and Microtek Scanmaker Message-ID: <7B669FF7-5185-11D8-98EA-000A278D424C@mac.com> Hi, I tried out SANE a couple of months back just after Mac OS X SCSI support was added. At the time it didn't work and I posted a few notes and worked off line with Guy Brooker but we didn't fix the issues. Now I saw that Mattias Ellert was offering per-compiled Mac OS X packages, built form CVS as off 25-01-2004 so I though I'd give it another go. Unfortunately it still doesn't appear to work. The good news from my point of view is that unlike before I don't have to re-boot between tests. Here's the latest trace :- [microtek] .wait_ready 0... [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1 [sanei_scsi] isWrite src_size:0 [sanei_scsi] Executing command [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes [microtek] .start_scan... [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1 [sanei_scsi] isWrite src_size:0 [sanei_scsi] Executing command [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes [microtek] .get_scan_status 0... [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:6 isWrite:0 [sanei_scsi] isRead dst_size:6 [sanei_scsi] Executing command [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes [microtek] get_scan_status(0): 0, 0, 0 -> #0 [microtek] > 0 0 0 0 0 0 [microtek] sane_start: SCSI buffer smaller that one scan line! [microtek] end_scan... [microtek] .stop_scan... [sanei_scsi] cmd2: cmd_size:6 src_size:0 dst_size:0 isWrite:1 [sanei_scsi] isWrite src_size:0 [sanei_scsi] Executing command [sanei_scsi] ExecuteTaskSync OK Trasferred 0 bytes scanimage: sane_start: Out of memory [microtek] sane_cancel... [microtek] end_scan... [microtek] sane_close... [microtek] sane_exit... [microtek] sane_exit: MICROTEK says goodbye. [MacCoylton:~] dave% Cheers David -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2371 bytes Desc: not available URL: From anoah at pfeiffer.edu Wed Jan 28 14:30:51 2004 From: anoah at pfeiffer.edu (m. allan noah) Date: Wed, 28 Jan 2004 09:30:51 -0500 (EST) Subject: [sane-devel] Re: How to link the Scan Button of CX3100 to a linux application? In-Reply-To: <20040127225020.24544.qmail@web41502.mail.yahoo.com> Message-ID: On Tue, 27 Jan 2004, Christopher Marshall wrote: > > you could have a flag to a front-end that told it to load the backend, but > > instead of scan, constantly check the option descriptor for a button's > > status. the front-end could print this, or even take a series of command > > line switches that tell it what to do in case of a particular event. but > > in all cases, this front-end would have to disconnect from the scanner, so > > that the second front-end could load the backend and connect. but, it > > would have to still run, so that it could re-connect and continue > > monitoring. unless, you wanted to re-start it from your script. > > > > but you definately dont want backends printing. > > > > allan > > > > Is there a problem with restarting it from a script? That seems a natural way to me to separate > mechanism from policy and I can imagine a lot of nice uses of what I described. perhaps it would be ok. cant see all the implications at this second... > > I had assumed that when you pushed a button on a usb scanner, it send a message over the usb that > the backend, if it was listening, would get. to be technically accurate, all usb communications start at the host. that said, it is possible if the device supports it, to sometimes setup an interrupt pipe between the host and the device to 'automatically' request data from the device at certain time intervals. some scanners work this way. many do not. The way you describe it, the scanner sets a flag > internally, meaning something like "button 1 pushed", and the flag stays in that state until the > backend asks for its button status, then tells it to reset the status back to "button 1 unpushed". > Is that correct? yes, it seems that many more scanners, especially ones that use an existing parallel or scsi model with usb grafted onto them, just store a bitmask of sensor statuses (stati?) until a timer runs out (3 secs on fujitsu) or until the backend requests the current status. > > Assuming I've got it, then I think what you described is the way to go. Have the front-end > disconnect and exit, printing out a message as to which button was pressed. The script could then > invoke scanimage again to scan an image and print the result (if the script author wants to > interpret the pressed button that way). that would work for trivial cases, and only for certain events. for more complex situations: ie: the stock fujitsu windows software will read the status of the hopper paper sensor, and begin scanning the papers without any button press. if you want to emulate this, then your 'scanmonitor' frontend would have to report that event and exit. but, if your wrapper script does not care about paper insertion, then it will never get the button press, cause scanmonitor has already exited. so your wrapper would have to handle this by restarting the scanmonitor on any unknown events. which is fine, except that re-loading the backend again can be time consuming and can clear the status of any buttons, meaning that the button pressed right after the paper was inserted, gets lost. > > You seem to be worried about what would happen if the user pressed a button twice, and the second > button press was missed because the controlling script had exited the first front-end invocation > and began another to scan. I take it the second button press would be either be dropped, or you > wouldn't be able to process it until after the first scan finished, which would mean you couldn't > use one of the buttons as a "cancel" button to cancel the scan in progress. > among other things, this is a concern, yes. > If not being able to implement a cancel button bothers you, then how about this? Have another > front-end flag that lets you name a file you want button events written to that occur during a > scan. Then you could implement the cancel button by specifying a fifo for the file argument, and > having a background process read lines from the file, interpret them, and kill the scan in > progress in the event of a cancel button push. That's very straight forward in bash. ok, lets talk about that idea. any backend that has button support could open a fifo and print 'events' to that as they happen. so all you need is either a flag to the frontend to constantly call a function in the backend that will do this, or a flag to the backend that causes it to while(1) in one of the early sane_* functions. now you still need some way for your bash wrapper to signal the frontend/backend to stop watching the device so that you can fire-up a specific program. that would be alot easier if bash wrapper was not involved, and instead your monitor front-end was smart enough to read a config file of programs to run, and it could perhaps 'control' the backend a bit better. and, even better than that, the frontend could perhaps handle some of the events internally, so it would not have to disconnect the backend, just to have another front-end re-load it. > > Even without the ability to implement a cancel button, I would love to be able to map scanner > buttons to mean things like "scan low res, gray, and write to a spool directory", "scan high res, > color, to a spool directory" and "print the next scan". That's assuming I have 3 buttons to work > with, of course. So if I want to do a low res scan and have it printed, I hit button 3, wait a > second, then hit button 1. If I didn't want it printed, I'd just his button 1 or 2. that last one is tough to do via this whole bash script thing, unless you have the backend buffer the button presses for a couple seconds to see if anymore happen (like 3 button mouse emulation). much easier to get a scanner with more inputs. fujitsu has a user-setable seven-element led char and two scan buttons, making for 20 possible combinations. > > Hmmm. Would it be possible to push-and-hold button 1, then push-and-release button2, and then > release button 1, and have the backend tell the difference from push-and-release 1 followed by > push-and-release 2? depends entirely on the scanner. > > What exactly generates an event (usb message sent device-to-host) in the case of button presses > and releases? Does anyone know? > depends entirely on the scanner, hell even on different firmware revsion of the same scanner it can change. hence why this needs to be handled in the backend. > Chris Marshall > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free web site building tool. Try it! > http://webhosting.yahoo.com/ps/sb/ > -- "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 christian.poetsch at schott.com Wed Jan 28 14:35:46 2004 From: christian.poetsch at schott.com (Poetsch, Christian) Date: Wed, 28 Jan 2004 15:35:46 +0100 Subject: [sane-devel] HiRes scanning with external lamp Message-ID: hello, For a special application I wanted to use a Epson 2400 Perfection Scanner with a external lamp. Therefore I need to turn off the internal lamp. Karl Heinz Kremer kindly answered that there is no possibility to do this with software in modern scanners. For my application I need a resolution of at least 1.200dpi, preferebly 2.400dpi . Is there anyone, who have experience in things like that? Is there a scanner that is more matching for my purposes? Some ideas? Thanks From henning at meier-geinitz.de Wed Jan 28 17:50:45 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Wed, 28 Jan 2004 18:50:45 +0100 Subject: [sane-devel] HiRes scanning with external lamp In-Reply-To: References: Message-ID: <20040128175045.GC3551@meier-geinitz.de> Hi, On Wed, Jan 28, 2004 at 03:35:46PM +0100, Poetsch, Christian wrote: > For a special application I wanted to use a Epson 2400 Perfection Scanner > with a external lamp. Therefore I need to turn off the internal lamp. > Karl Heinz Kremer kindly answered that there is no possibility to do this > with software in modern scanners. Actually that's not a problem of "modern" or old. It depends on the level of intelligence of the scanner. The intelligent (and usually more expensive) scanners use their own firmware and get commands like "scan image with resolution foo". Most cheaper scanners need lower level commands like "move scan slider 300 motor steps". In the latter case, turning off the lamp is usually no problem. Example: Scanners using the GT6801 and GT6816 chips. Also any scanners using external lamps for scanning films/negatives/transparencies may be used for your perpose. Maybe it's necessary to cheat the scanner into thinking that an external transparency adapter is connected. Bye, Henning From svoltz at wanadoo.fr Thu Jan 29 01:10:37 2004 From: svoltz at wanadoo.fr (svoltz at wanadoo.fr) Date: Wed, 28 Jan 2004 20:10:37 -0500 Subject: [sane-devel] HiRes scanning with external lamp In-Reply-To: References: Message-ID: <20040129011037.GA1922@wanadoo.fr> On Wed, Jan 28, 2004 at 03:35:46PM +0100, Poetsch, Christian wrote: > hello, > For a special application I wanted to use a Epson 2400 Perfection Scanner > with a external lamp. Therefore I need to turn off the internal lamp. > Karl Heinz Kremer kindly answered that there is no possibility to do this > with software in modern scanners. For my application I need a resolution of > at least 1.200dpi, preferebly 2.400dpi . Is there anyone, who have > experience in things like that? Is there a scanner that is more matching > for my purposes? Some ideas? > > Thanks > > The Umax astra 1220P can do such a thing. Unfortunatly, it is only able to scan at 600x1200 dpi max. Regards, Stef From karsten.festag at gmx.de Thu Jan 29 20:42:20 2004 From: karsten.festag at gmx.de (Karsten Festag) Date: Thu, 29 Jan 2004 21:42:20 +0100 Subject: [sane-devel] Re: Micortek SANE USB Config In-Reply-To: References: Message-ID: <200401292142.20849.karsten.festag@gmx.de> Hi Race, i'm afraid you will not be able to use the USB interface with this scanner and SANE under OSX. The microtek2 backend was written for SCSI scanners and the way some of the Microtek USB scanners work under Linux is a special kernel module called 'microtek.o' which makes the USB scanner appear as a SCSI device. I don't know if there is a similar possibility in OSX and I don't have the possibilitiy to include libusb support to the microtek2 backend because I don't have an USB scanner available and I have not enough leisure time left for such kind of project. But maybe someone else would like to do this? Best regards Karsten On Tuesday 27 January 2004 23:58, you wrote: > I have installed all the appropriate software to utilize your SANE Microtek > backend with my Scanmaker V6USL but I am having a hell of a time > configuring it to work at all. I want to use the USB interface. > > I am on on OSX X.3.2 and have installed > TWAIN-SANE-Interface.pkg v0.4 > sane-backends.pkg 1.0.13-cvs 2004-01-25 > libusb.pkg 0.1.8 beta 2004-01-25 > > > > When Running sane-find-scanner I receive: > > > Race:~ race$ sane-find-scanner > > # No SCSI scanners found. If you expected something different, make sure > that > # you have loaded a SCSI driver for your SCSI adapter. > > found USB scanner (vendor=0x05da, product=0x00a3) at > libusb:002:002-05da-00a3-ff-03 > # Your USB scanner was (probably) detected. It may or may not be > supported by > # SANE. Try scanimage -L and read the backend's manpage. > > # Scanners connected to the parallel port or other proprietary ports > can't be > # detected by this program. > > # You may want to run this program as root to find all devices. Once you > # found the scanner devices, be sure to adjust access permissions as > # necessary. > Race:~ race$ > > > > The Config. File microtek2.config is set to: > > # See sane-microtek2(5) for a description of the options > > option dump 1 > option strip-height 14.0 > option no-backtrack-option on > option lightlid-35 on > option toggle-lamp on > option lineart-autoadjust on > option backend-calibration on > #option colorbalance-adjust on > scsi * * Scanner > > > > > > > Can you please advise. > > > > > > Race From Oliver.Rauch at Rauch-Domain.DE Thu Jan 29 21:20:18 2004 From: Oliver.Rauch at Rauch-Domain.DE (Oliver Rauch) Date: Thu, 29 Jan 2004 22:20:18 +0100 Subject: [sane-devel] sane-umax backend works on Mac OS-X Message-ID: <200401292220.19457.Oliver.Rauch@Rauch-Domain.DE> Hello. I just got the feedback that the sane-umax patch for Mac OS-X that is in the sane-cvs since 2004-01-12 does work. The user was able to do a scan with scanimage. He also sent a link to a sane-backends binary that includes the sane-umax patch: http://www.ellert.se/twain-sane/ If someone knows a link to a xsane binary for Mac OS-X please post it here! Oliver -- http://www.xsane.org http://www.rauch-domain.de http://www.sane-project.org From mattias.ellert at tsl.uu.se Fri Jan 30 10:03:14 2004 From: mattias.ellert at tsl.uu.se (Mattias Ellert) Date: Fri, 30 Jan 2004 11:03:14 +0100 Subject: [sane-devel] sane-umax backend works on Mac OS-X In-Reply-To: <200401292220.19457.Oliver.Rauch@Rauch-Domain.DE> References: <200401292220.19457.Oliver.Rauch@Rauch-Domain.DE> Message-ID: <401A2BE2.9080305@tsl.uu.se> Oliver Rauch wrote: > Hello. > > I just got the feedback that the sane-umax patch for Mac OS-X > that is in the sane-cvs since 2004-01-12 does work. The user was > able to do a scan with scanimage. > > He also sent a link to a sane-backends binary that includes the > sane-umax patch: > > http://www.ellert.se/twain-sane/ Please note that these binaries were compiled with the (new version of) the pthread_cancel workaround patch attached to the bug report at: https://alioth.debian.org/tracker/index.php?func=detail&aid=300434&group_id=1308&atid=410366 The status of the bug report is "Pending", so hopefully the patch should go into CVS soon. Mattias Ellert From gerhard at gjaeger.de Fri Jan 30 15:52:51 2004 From: gerhard at gjaeger.de (Gerhard Jaeger) Date: Fri, 30 Jan 2004 16:52:51 +0100 Subject: [sane-devel] sane-umax backend works on Mac OS-X In-Reply-To: <401A2BE2.9080305@tsl.uu.se> References: <200401292220.19457.Oliver.Rauch@Rauch-Domain.DE> <401A2BE2.9080305@tsl.uu.se> Message-ID: <200401301652.51918.gerhard@gjaeger.de> Hi, On Friday 30 January 2004 11:03, Mattias Ellert wrote: [SNIPSNAP] > https://alioth.debian.org/tracker/index.php?func=detail&aid=300434&group_id >=1308&atid=410366 > > The status of the bug report is "Pending", so hopefully the patch should > go into CVS soon. It will... please be patient, probably this weekend... Ciao, Gerhard From henning at meier-geinitz.de Fri Jan 30 17:13:09 2004 From: henning at meier-geinitz.de (Henning Meier-Geinitz) Date: Fri, 30 Jan 2004 18:13:09 +0100 Subject: [sane-devel] Unsupported: Mustek BearPaw 4800TA Pro II In-Reply-To: References: Message-ID: <20040130171309.GD5384@meier-geinitz.de> Hi, On Thu, Jan 22, 2004 at 07:46:59PM +0100, joerg.pr at olivfabric.de wrote: > I've just encountered the following unsupported scanner: > MUSTEK Be at rPaw 4800TA Pro II Thanks for your information. I've added that to our lists: I don't know which chipset that is. http://www.sane-project.org/unsupported/mustek-bearpaw-4800ta-pro-ii.html Bye, Henning From legendary_fox at aliceposta.it Sat Jan 31 09:38:48 2004 From: legendary_fox at aliceposta.it (Dario Berzano) Date: Sat, 31 Jan 2004 10:38:48 +0100 Subject: [sane-devel] Mustek 1200CP scanner does not release parallel port Message-ID: <401B77A8.8060807@aliceposta.it> Hi, I own a Mustek 1200CP flatbed scanner connected via a parallel port. After scanning, it seems that the SANE backend mustek_pp hangs and waits for some data from the scanner, locking the parallel port. As a result, the scanning head's lamp stays turned on and it does not return to its home position. The only way to unlock the port is to kill the scanning program (e.g. scanimage or xsane). I do not use saned. Another strange aspect is that I had to set up the cis600 driver instead of the proper cis1200 one. With cis1200 (or cis1200+), the scanned image is vertically stretched, and the scanning head tries to scan out of range, making a loud, awful noise and damaging my hardware. Any ideas? Thanks in advance. -- dario berzano :: la volpe leggendaria :: http://flemma.knows.it/ ,-, _.-=;~ /_ _-~ ' ;. _.-~ ' .-~-~`-._ .--~~:. --.____88 __....-~~' .' . . _..-----~~ _..--~~~~' .' .' ,' _.-~ . . ` ,' .' :. ./ .: ,/ ` ::. ,' .:' ,( ;. ::. ,-' .' ./'.`. . . /::._... _/:.o/ / ./'. . .) . _.,' `88;?88| ,' . .,/'._,-~ /_.o8P' 88P ?8b _,'' . .,/',-~ d888P' 88' 88| _.'~ . .,:oP' ?88b _..--- 88.--'8b.--..__ : ...' 88o __,------.88o _.=~- . `~~ `~~ ~-._ `.;;;:=' ~~ ~~~ ~- - - - ? proud and happy linux user ? From charlie at cgrosvenor.co.uk Sat Jan 31 13:38:35 2004 From: charlie at cgrosvenor.co.uk (Charlie Grosvenor) Date: Sat, 31 Jan 2004 13:38:35 -0000 Subject: [sane-devel] scanmagic 1200 CU Plus reset device Message-ID: I have a scanmagic 1200 CU Plus, I have this set up for use with sane. Sometimes when it fails to scan, the scanner head get left not in its rest place. When this occurs I have to unplug the scanner from the Linux machine, plug it into a windows machine and scan something, to get it to reset. Is there any way to get sane to reset the scanner? Thank you Charlie From jochen at penguin-breeder.org Sat Jan 31 17:26:51 2004 From: jochen at penguin-breeder.org (Jochen Eisinger) Date: Sat, 31 Jan 2004 18:26:51 +0100 Subject: [sane-devel] Mustek 1200CP scanner does not release parallel port In-Reply-To: <401B77A8.8060807@aliceposta.it> References: <401B77A8.8060807@aliceposta.it> Message-ID: <401BE55B.4060504@penguin-breeder.org> Hi, The bug you're describing should be fixed in CVS. Please try using CVS snapshot version. Why it behaves like a 600 CP scanner, I have no idea. best regards -- jochen From legendary_fox at aliceposta.it Sat Jan 31 17:59:21 2004 From: legendary_fox at aliceposta.it (Dario Berzano) Date: Sat, 31 Jan 2004 18:59:21 +0100 Subject: [sane-devel] Mustek 1200CP scanner does not release parallel port In-Reply-To: <401BE55B.4060504@penguin-breeder.org> References: <401B77A8.8060807@aliceposta.it> <401BE55B.4060504@penguin-breeder.org> Message-ID: <401BECF9.8060701@aliceposta.it> Jochen Eisinger wrote: >The bug you're describing should be fixed in CVS. Please try using CVS >snapshot version. > It is actually fixed. My scanner now works fine - I mean: the scanning head returns to its starting position when I cancel the operation and when the operation finishes. Thank you. -- dario berzano :: la volpe leggendaria :: http://flemma.knows.it/ ,-, _.-=;~ /_ _-~ ' ;. _.-~ ' .-~-~`-._ .--~~:. --.____88 __....-~~' .' . . _..-----~~ _..--~~~~' .' .' ,' _.-~ . . ` ,' .' :. ./ .: ,/ ` ::. ,' .:' ,( ;. ::. ,-' .' ./'.`. . . /::._... _/:.o/ / ./'. . .) . _.,' `88;?88| ,' . .,/'._,-~ /_.o8P' 88P ?8b _,'' . .,/',-~ d888P' 88' 88| _.'~ . .,:oP' ?88b _..--- 88.--'8b.--..__ : ...' 88o __,------.88o _.=~- . `~~ `~~ ~-._ `.;;;:=' ~~ ~~~ ~- - - - ? proud and happy linux user ? From edg1 at tiscali.be Sat Jan 31 19:45:01 2004 From: edg1 at tiscali.be (edg1 at tiscali.be) Date: Sat, 31 Jan 2004 20:45:01 +0100 Subject: [sane-devel] Mustek 1200CP scanner does not release parallel port In-Reply-To: <401BECF9.8060701@aliceposta.it>; from legendary_fox@aliceposta.it on za, jan 31, 2004 at 18:59:21 +0100 References: <401B77A8.8060807@aliceposta.it> <401BE55B.4060504@penguin-breeder.org> <401BECF9.8060701@aliceposta.it> Message-ID: <20040131194501.GA4675@reddot.erps-kwerps.be> Dario Berzano wrote: > Jochen Eisinger wrote: > >> The bug you're describing should be fixed in CVS. Please try using >> CVS snapshot version. >> > It is actually fixed. My scanner now works fine - I mean: the > scanning head returns to its starting position when I cancel the > operation and when the operation finishes. Thank you. Great! I had just put up a web page describing the bug and possible solutions: http://home.tiscali.be/EddyDeGreef/Sane/bug-1.0.13.html but it looks like Jochen already helped you out (thanks, Jochen). Best regards, Eddy From edg1 at tiscali.be Sat Jan 31 21:25:23 2004 From: edg1 at tiscali.be (edg1 at tiscali.be) Date: Sat, 31 Jan 2004 22:25:23 +0100 Subject: [sane-devel] Mustek 1200CP scanner does not release parallel port In-Reply-To: <20040131200732.GC4675@reddot.erps-kwerps.be>; from edg1@tiscali.be on za, jan 31, 2004 at 21:07:32 +0100 References: <401B77A8.8060807@aliceposta.it> <20040131200732.GC4675@reddot.erps-kwerps.be> Message-ID: <20040131212523.GF4675@reddot.erps-kwerps.be> Dario Berzano wrote: > Another strange aspect is that I had to set up the cis600 driver > instead of the proper cis1200 one. With cis1200 (or cis1200+), the > scanned image is vertically stretched, and the scanning head tries to > scan out of range, making a loud, awful noise and damaging my > hardware. Sorry, I forgot this in my previous message: Most likely, your scanner is not a true 1200CP. It looks like there are 600CP's out there that are labeled as 1200CP's. I have had a few similar reports before. I don't know who is responsible for this, ie., whether it is Mustek itself or some reseller. If your scanner works fine with the cis600 setting, then it's indeed better not to try the cis1200 or cis1200+ settings, because that can be damaging to your scanner, as you found out. Best regards, Eddy