[sane-devel] Lexmark experimental backend

2006-05-20 Thread Fred Odendaal
St?phane,

I tested it on my Lexmark X1185.

It is broken really badly. It hangs in the function 
sanei_lexmark_x1100_search_home_fwd - infinite read loop in a poll after 
trying to move the scan head. I did a register compare from usb dumps of 
a good scan (sane-backends-1.0.17) and a bad scan (experimental) and 
none of the lexmark register defaults are set! There are 35 registers 
that used to have non-zero default values and now have 0x00 and one 
register that was 0x01 and is now 0x81.

Fred


St?phane VOLTZ wrote:
   Hello,

   I have just committed a new version of the experimental/lexmark 
 backend. From 
 the current regular backend it brings:

   - arbitrary scanarea selection
   - gain calibration
   - offset calibration
   - software shading calibration
   - Dell A920 support
   - infrastructure for adding more models

   I believe the experimental is in good shape to get into regular CVS. 
 However, 
 while I took care of not altering X1100 support, and since I don't have such 
 a model to test, there may be bugs for this model. So it needs testing.
   For A920 1200 dpi scan is disabled, since it does 1200x600, and so 
 needs 
 to inflate lines to match 1200x1200. Which is a little tricky since the 
 data copying expects even/odd columns interleaved.
   Last issue is shading calibration. This scanner has no hardware shading 
 calibration, and it has to be done in software. The current correction 
 implementation gives good results, but shows deficiency in dark areas. The 
 trouble is due to the fact that correction depends of the sensor element that 
 corresponds to the scanned column, but also slightly depends on his 
 neighbours in a way I couldn't figure out. Someone more clever than me will 
 have to find it.
   Pictures given out of the box are correct, and with little tweaking 
 of 
 gamma and light from the frontend, one can have good scans.

 Regards,
   Stef

   



[sane-devel] cmd.sh script not working on windows Log

2006-05-20 Thread Stéphane VOLTZ
Le Lundi 15 Mai 2006 15:02, Parag N() a ?crit?:
 Hi,
   I have your awk and shell scripts for decoding windows usb log. I
 first used decode.sh on usb2.log, it worked fine. Then on decoded log
 i used cmd.sh but its not giving at all any register values. why?

 attached
 1)original windows log file =
 http://download.yousendit.com/705A9E3605DB223C 2)decoded log
 =http://download.yousendit.com/83880D321083B0EF
 3)cmd log =http://download.yousendit.com/D2985DE3716CFCB4
 Regards,
 parag.

Hello,

the motor is started by a bulk register write of size one. I've updated 
the 
scripts to take care of that.

Regards,
Stef
-- next part --
A non-text attachment was scrubbed...
Name: dist.tar.bz2
Type: application/x-tbz
Size: 10846 bytes
Desc: not available
Url : 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060520/fddc36cb/dist.tar-0001.bin
From stef...@modulonet.fr  Sat May 20 12:53:08 2006
From: stef...@modulonet.fr (=?iso-8859-15?q?St=E9phane_VOLTZ?=)
Date: Sat May 20 12:53:47 2006
Subject: [sane-devel] Lexmark experimental backend
In-Reply-To: 446d3754.4000...@rogers.com
References: 200605191356.18305.stef...@modulonet.fr
446d3754.4000...@rogers.com
Message-ID: 200605201453.08964.stef...@modulonet.fr

Le Vendredi 19 Mai 2006 05:11, Fred Odendaal a ?crit?:
 St?phane,

 I tested it on my Lexmark X1185.

 It is broken really badly. It hangs in the function
 sanei_lexmark_x1100_search_home_fwd - infinite read loop in a poll after
 trying to move the scan head. I did a register compare from usb dumps of
 a good scan (sane-backends-1.0.17) and a bad scan (experimental) and
 none of the lexmark register defaults are set! There are 35 registers
 that used to have non-zero default values and now have 0x00 and one
 register that was 0x01 and is now 0x81.

 Fred


Hello,

 after checking I only got register 0xC3 different. however while 
commiting 
this change, I noticed that more files were updated than I'd expected. I 
think I did my previous commit wrongly.
Things should be much better now. But in case there are other problems 
I'd 
like to have the logs. I can override model detection to make the regular 
backend to think my A920 is a X1100, and so get registers values before the 
chnages, but I won't be able to do it past 
sanei_lexmark_x1100_search_home_bwd().

Regards,
Stef


[sane-devel] CanoScan LiDE20 finally working

2006-05-20 Thread Gerhard Jaeger
Well, I have two problems in reverting the changes:
- there are with one small exception no diffs in the LiDE20
  parametersets between 1.0.17 and 1.0.16
- I only have a N670U for testing, which should be the same device
  as the LiDE20, but I could not detect any problems :(

Well I also got one patch, that fixes jamming on the LiDE,
but there it has been reported only for gray-scanning modes.

So, what to do?
One thing that came to my mind is, that you, Fibo, should
download the latest CVS Snapshot, compile and install and
tell me if it works, because, as I told you my N760U works
here w/o any problems.

TIA
Gerhard

On Friday 19 May 2006 18:50, Fibonacci Prower wrote:
 And... when will the changes be undone, if ever?

 Thanks,

 -Fibo

 2006/5/19, Henning Meier-Geinitz henn...@meier-geinitz.de:
  Hi,
 
  On 2006-05-19 00:00, Fibonacci Prower wrote:
   However, I can only use the scanner as root, and the directions at
   http://www.sane-project.org/README.linux do not help at all, since I
   don't have and cannot install hotplug, and backends 1.0.16 come
   without any udev rules file. If only the last version didn't jam this
   scanner, life would be much easier.
 
  Just use sane-backends 1.0.17 to generate the udev rules file. There
  is no need to run make or make install in this case, just copy the
  rules file to the appropriate location.
 
  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-requ...@lists.alioth.debian.org

 --
 Eye halve a spelling chequer, it came with my pea see
 It plane lee marques four my revue miss steaks aye can knot sea
 Eye ran this poem threw it -  your shore reel glad two no
 Its vary polished in it's weigh, my chequer tolled me sew.


[sane-devel] Fujitsu fi-5110C driver state

2006-05-20 Thread B. Sellung
Hi,

I try to run the fi-4120C2 a Mac OSX 10.4.5 but I have the same  
problems like Darrell Styner reported in November 2005 in his post  
titled: 'Install problem with fi-4120C2 under FreeBSD and OS X 10.4.2'

Would the updated backend you mentioned works for it?

beda







[sane-devel] Re: CanoScan LiDE20 finally working

2006-05-20 Thread Jeff Kowalczyk
Please forgive the very long post, but I wanted to get some specifics
recommended actions to restore access to my Canon LIDE20 scanner, which
has been inaccessible roughly since the upgrade to sane-backends-1.0.17.

My scanner problems seemed to closely match reports those of users with
permissions problems on their USB device nodes, but upon investigation, I
see that I probably suffer from missing udev rule files instead or in
addition.

The previous post said 'use sane to generate udev rules', but does not say
how. Can you elaborate? I'd like to add that operation to a postinstall
step on the distro's sane-backends packaging.

So, I'll lay out the files and facts, and ask the group to suggest
specific ways I can fix this. The detail may help other users diagnose
their issues.

System is Gentoo Linux ~x86, with various overlays. Yeah, I have lots of
unstable software packages installed ;)

Thanks for any suggestions.


There is no (obvious) udev rule file installed with the sane-backends, and
if it is one of these files, it doesn't get copied to /etc/udev/rules.d

# equery files =media-gfx/sane-backends-1.0.17
[ Searching for packages matching =media-gfx/sane-backends-1.0.17... ]
* Contents of media-gfx/sane-backends-1.0.17:
/etc
/etc/env.d
/etc/env.d/30sane
/etc/hotplug
/etc/hotplug/usb
/etc/hotplug/usb/libsane.usermap
/etc/hotplug/usb/libusbscanner
/etc/sane.d
/etc/sane.d/abaton.conf
/etc/sane.d/agfafocus.conf
/etc/sane.d/apple.conf
/etc/sane.d/artec.conf
/etc/sane.d/artec_eplus48u.conf
/etc/sane.d/avision.conf
/etc/sane.d/bh.conf
/etc/sane.d/brother.conf
/etc/sane.d/canon.conf
/etc/sane.d/canon630u.conf
/etc/sane.d/canon_pp.conf
/etc/sane.d/coolscan.conf
/etc/sane.d/coolscan2.conf
/etc/sane.d/dc210.conf
/etc/sane.d/dc240.conf
/etc/sane.d/dc25.conf
/etc/sane.d/dll.conf
/etc/sane.d/dmc.conf
/etc/sane.d/epson.conf
/etc/sane.d/fujitsu.conf
/etc/sane.d/genesys.conf
/etc/sane.d/gphoto2.conf
/etc/sane.d/gt68xx.conf
/etc/sane.d/hp.conf
/etc/sane.d/hp4200.conf
/etc/sane.d/hp5400.conf
/etc/sane.d/hpsj5s.conf
/etc/sane.d/ibm.conf
/etc/sane.d/leo.conf
/etc/sane.d/lexmark.conf
/etc/sane.d/ma1509.conf
/etc/sane.d/matsushita.conf
/etc/sane.d/microtek.conf
/etc/sane.d/microtek2.conf
/etc/sane.d/mustek.conf
/etc/sane.d/mustek_pp.conf
/etc/sane.d/mustek_usb.conf
/etc/sane.d/nec.conf
/etc/sane.d/net.conf
/etc/sane.d/pie.conf
/etc/sane.d/plustek.conf
/etc/sane.d/plustek_pp.conf
/etc/sane.d/qcam.conf
/etc/sane.d/ricoh.conf
/etc/sane.d/s9036.conf
/etc/sane.d/saned.conf
/etc/sane.d/sceptre.conf
/etc/sane.d/sharp.conf
/etc/sane.d/sm3840.conf
/etc/sane.d/snapscan.conf
/etc/sane.d/sp15c.conf
/etc/sane.d/st400.conf
/etc/sane.d/tamarack.conf
/etc/sane.d/teco1.conf
/etc/sane.d/teco2.conf
/etc/sane.d/teco3.conf
/etc/sane.d/test.conf
/etc/sane.d/u12.conf
/etc/sane.d/umax.conf
/etc/sane.d/umax1220u.conf
/etc/sane.d/umax_pp.conf
/etc/sane.d/v4l.conf
/usr
/usr/bin
/usr/bin/gamma4scanimage
/usr/bin/sane-config
/usr/bin/sane-find-scanner
/usr/bin/scanimage
/usr/include
/usr/include/sane
/usr/include/sane/sane.h
/usr/include/sane/saneopts.h
/usr/lib
/usr/lib/libsane.la
/usr/lib/libsane.so - libsane.so.1.0.17
/usr/lib/libsane.so.1 - libsane.so.1.0.17
/usr/lib/libsane.so.1.0.17
/usr/lib/sane
/usr/lib/sane/libsane-abaton.la
/usr/lib/sane/libsane-abaton.so - libsane-abaton.so.1.0.17
/usr/lib/sane/libsane-abaton.so.1 - libsane-abaton.so.1.0.17
/usr/lib/sane/libsane-abaton.so.1.0.17
/usr/lib/sane/libsane-agfafocus.la
/usr/lib/sane/libsane-agfafocus.so - libsane-agfafocus.so.1.0.17
/usr/lib/sane/libsane-agfafocus.so.1 - libsane-agfafocus.so.1.0.17
/usr/lib/sane/libsane-agfafocus.so.1.0.17
/usr/lib/sane/libsane-apple.la
/usr/lib/sane/libsane-apple.so - libsane-apple.so.1.0.17
/usr/lib/sane/libsane-apple.so.1 - libsane-apple.so.1.0.17
/usr/lib/sane/libsane-apple.so.1.0.17
/usr/lib/sane/libsane-artec.la
/usr/lib/sane/libsane-artec.so - libsane-artec.so.1.0.17
/usr/lib/sane/libsane-artec.so.1 - libsane-artec.so.1.0.17
/usr/lib/sane/libsane-artec.so.1.0.17
/usr/lib/sane/libsane-artec_eplus48u.la
/usr/lib/sane/libsane-artec_eplus48u.so - libsane-artec_eplus48u.so.1.0.17
/usr/lib/sane/libsane-artec_eplus48u.so.1 - 
libsane-artec_eplus48u.so.1.0.17
/usr/lib/sane/libsane-artec_eplus48u.so.1.0.17
/usr/lib/sane/libsane-as6e.la
/usr/lib/sane/libsane-as6e.so - libsane-as6e.so.1.0.17
/usr/lib/sane/libsane-as6e.so.1 - libsane-as6e.so.1.0.17
/usr/lib/sane/libsane-as6e.so.1.0.17
/usr/lib/sane/libsane-avision.la
/usr/lib/sane/libsane-avision.so - libsane-avision.so.1.0.17
/usr/lib/sane/libsane-avision.so.1 

[sane-devel] Lexmark experimental backend

2006-05-20 Thread Fred Odendaal
St?phane

Much better. I was able to do a scan. However, the scan had blue streaks 
down the middle. It also started the scan too early (you can see the 
area off the glass) and the rewind went too far (you could hear the scan 
head hitting the end).  I can create logfiles if you want. Just let me 
know what debugging info you need.

regards,
Fred O.

St?phane VOLTZ wrote:
 Le Vendredi 19 Mai 2006 05:11, Fred Odendaal a ?crit :
   
 St?phane,

 I tested it on my Lexmark X1185.

 It is broken really badly. It hangs in the function
 sanei_lexmark_x1100_search_home_fwd - infinite read loop in a poll after
 trying to move the scan head. I did a register compare from usb dumps of
 a good scan (sane-backends-1.0.17) and a bad scan (experimental) and
 none of the lexmark register defaults are set! There are 35 registers
 that used to have non-zero default values and now have 0x00 and one
 register that was 0x01 and is now 0x81.

 Fred

 

   Hello,

after checking I only got register 0xC3 different. however while 
 commiting 
 this change, I noticed that more files were updated than I'd expected. I 
 think I did my previous commit wrongly.
   Things should be much better now. But in case there are other problems 
 I'd 
 like to have the logs. I can override model detection to make the regular 
 backend to think my A920 is a X1100, and so get registers values before the 
 chnages, but I won't be able to do it past 
 sanei_lexmark_x1100_search_home_bwd().

 Regards,
   Stef

   

-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060519/b828a3e1/attachment.html
From an...@pfeiffer.edu  Sat May 20 18:26:39 2006
From: an...@pfeiffer.edu (m. allan noah)
Date: Sat May 20 18:35:52 2006
Subject: [sane-devel] Fujitsu fi-5110C driver state
In-Reply-To: 77012170-6c22-4392-9493-eb59306aa...@agis-verlag.de
References: 77012170-6c22-4392-9493-eb59306aa...@agis-verlag.de
Message-ID: pine.lnx.4.61.0605201415330.20...@limos.pfeiffer.edu


please try the updated backend available from anonymous cvs. make sure to 
uninstall your old sane backends first, because you may otherwise have 
conflicts between the two versions. please let us know how this works for 
you.

http://www.sane-project.org/cvs.html

allan

On Sat, 20 May 2006, B. Sellung wrote:

 Hi,

 I try to run the fi-4120C2 a Mac OSX 10.4.5 but I have the same problems like 
 Darrell Styner reported in November 2005 in his post titled: 'Install problem 
 with fi-4120C2 under FreeBSD and OS X 10.4.2'

 Would the updated backend you mentioned works for it?

 beda








-- 
so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls - Max Cavalera


[sane-devel] Fujitsu fi-4010CU

2006-05-20 Thread René Rebe
On Thursday 18 May 2006 19:04, m. allan noah wrote:
 
 rene/sane-devel: Giuseppe has been kind enough to open his fujitsu 
 fi-4010CU, and get the chip numbers: i think we can conclude this is 
 avision, see below...

Yep that should be avision based. I'm a bit out of sync right now,
are the usb snoops available?

Yours,

-- 
Ren? Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
http://www.exactcode.de | http://www.t2-project.org
+49 (0)30  255 897 45


[sane-devel] Minolta dimage scan dual ii

2006-05-20 Thread René Rebe
Hi,

yes, the avision backend is the one to use. Hower I do not get
feedback about the state of the models that often and thus I do not know
what revision is the last good or best one. the dual II once worked with
the avision backend - maybe try the latest or search the list for the
last known version.

For the batch mode you need to invoke a SANE client for each picture
with some --frame option set to the frame you want to retrieve.

I would love to buy a Elite 5400 or 5400 II just to have one of those
in my office - but Minolta stopped producing them some months ago
and they are rare these days :-(

If someone has a source for those (I would like to have an undusty,
originally packed (that is unused or not really used) for the usual
~600 EUR or so please drop me a note. Specifically I would rather
have the non II version since it has a metal case and a firewire port
which would allow me to implement ieee1394 support for the
Avision backend as well (though there are very few firewire based
Avision scanners out there ...

On Friday 19 May 2006 18:47, Dietmar Segbert wrote:
 Hello,
 
 i will be happy, if you can help me.
 
 Linux: Slackware 10.2, kernel 2.4.31 with speakup
 sane CVS-Version 1.0.17
 
 scanner: Minolta Dimage scan dual II
 
 Scanimage works well with my HP Scanjet IIP and an epson 3590 photo, but  
 the scan dual II did not work.
 
 If have turned off the epson and hp scanner. scanimage -L find the minolta  
 scanner, but if i do the same command again or a command like scanimage -b  
 --resolution 2820 , scanimage did find the scanner.
 
 In the avision.conf file i have only the line usb 0x0638 0x026a. The  
 right of the usb port ist set to 666 (rw-rw-rw).
 
 The sane homepage says that i can use the avision backend and schows the  
 status good.
 
 Any ides?
 
 What the best options to scan 6 negatives in batchmode?
 
 tnanks.
 
 Dietmar
 

-- 
Ren? Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
http://www.exactcode.de | http://www.t2-project.org
+49 (0)30  255 897 45


[sane-devel] Fujitsu fi-4010CU

2006-05-20 Thread Giuseppe Sacco
Il giorno sab, 20/05/2006 alle 22.15 +0200, Ren? Rebe ha scritto:
[...]
 Yep that should be avision based. I'm a bit out of sync right now,
 are the usb snoops available?

http://lists.alioth.debian.org/pipermail/sane-devel/2006-May/016844.html

If you need anything more just ask. But I have the scanner available
only today and tomorrow.

Bye,
Giuseppe