Re: [sane-devel] Experience with the v4l backend?

2017-01-06 Thread Gerard Klaver
Did you check if device is working with for example the program
"cheese" works with UVC devices

For this program maybe you have to disable the v4l backend in 


/etc/sane.d/dll.conf


Regards,

Gerard Klaver


On Thu, 2017-01-05 at 22:28 +0100, Torfinn Ingolfsen wrote:
> Hello,
> Does anyone here have experience with the v4l backend?
> I recently got myself a CZUR ET16 scanner[1,2] and it shows up as a
> video device, that is why I have to use the v4l backend. The scanner
> has a 16Mpixel sensor, according to the company.
> The company has (working) software for Windows, with software for Mac
> OS X in beta. No plans for Linux support at this time.
> But this device is a USB video class device, so it should work with
> sane, provided that the v4l backend is good enough (the man page
> still
> claims that it is alpha...).
> 
> Anyway, how do you convince the v4l backend to scan in a different
> resolution than 640x480?
> [tingo@kg-u35jc ~]$ scanimage -V
> scanimage (sane-backends) 1.0.25; backend version 1.0.25
> 
> 
> [tingo@kg-u35jc ~]$ scanimage -L
> device `v4l:/dev/video1' is a Noname CZUR virtual device
> device `v4l:/dev/video0' is a Noname USB 2.0 UVC 0.3M Webcam virtual
> device
> 
> [tingo@kg-u35jc ~]$ scanimage --help --device-name v4l:/dev/video1
> Usage: scanimage [OPTION]...
> 
> Start image acquisition on a scanner device and write image data to
> standard output.
> 
> Parameters are separated by a blank from single-character options
> (e.g.
> -d epson) and by a "=" from multi-character options (e.g. --device-
> name=epson).
> -d, --device-name=DEVICE   use a given scanner device (e.g.
> hp:/dev/scanner)
> --format=pnm|tiff|png|jpeg  file format of output file
> -i, --icc-profile=PROFILE  include this ICC profile into TIFF file
> -L, --list-devices show available scanner devices
> -f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of
> the output
>    can be specified: %d (device name), %v
> (vendor),
>    %m (model), %t (type), %i (index number),
> and
>    %n (newline)
> -b, --batch[=FORMAT]   working in batch mode, FORMAT is
> `out%d.pnm' `out%d.tif'
>    `out%d.png' or `out%d.jpg' by default
> depending on --format
> --batch-start=#page number to start naming files with
> --batch-count=#how many pages to scan in batch mode
> --batch-increment=#increase page number in filename by #
> --batch-double increment page number by two, same as
>    --batch-increment=2
> --batch-print  print image filenames to stdout
> --batch-prompt ask for pressing a key before scanning a
> page
> --accept-md5-only  only accept authorization requests using
> md5
> -p, --progress print progress messages
> -n, --dont-scanonly set options, don't actually scan
> -T, --test test backend thoroughly
> -A, --all-options  list all available backend options
> -h, --help display this help message and exit
> -v, --verbose  give even more status messages
> -B, --buffer-size=#change input buffer size (in kB, default
> 32)
> -V, --version  print version information
> 
> Options specific to device `v4l:/dev/video1':
>   Scan Mode:
> --mode Gray|Color [Gray]
> Selects the scan mode (e.g., lineart, monochrome, or color).
> --channel Camera 1 [inactive]
> Selects the channel of the v4l device (e.g. television or
> video-in.
>   Geometry:
> -l 0..447pel (in steps of 1) [inactive]
> Top-left x position of scan area.
> -t 0..271pel (in steps of 1) [inactive]
> Top-left y position of scan area.
> -x 320..767pel (in steps of 1) [inactive]
> Width of scan-area.
> -y 240..511pel (in steps of 1) [inactive]
> Height of scan-area.
>   Enhancement:
> --brightness 0..255 [0]
> Controls the brightness of the acquired image.
> --hue 0..255 [0]
> Controls the "hue" (blue-level) of the acquired image.
> --color 0..255 [0]
> Sets the picture's color.
> --contrast 0..255 [0]
> Controls the contrast of the acquired image.
> --white-level 0..255 [0]
> Selects what radiance level should be considered "white".
> 
> Type ``scanimage --help -d DEVICE'' to get list of all options for
> DEVICE.
> 
> List of available devices:
> v4l:/dev/video1 v4l:/dev/video0
> 
> [tingo@kg-u35jc ~]$ scanimage -d v4l:/dev/video1 --mode Color -T
> scanimage: scanning image o

Re: [sane-devel] SANE; scanning with LIDE series works under Win, NOT under Lx

2015-06-24 Thread Gerard Klaver
Hello Cedric,

Also check in your home directory .sane/xsane files, maybe removing .xsane
and start again xsane could help.

Also if installed sane frontend, xscanimage could be helpfull to scan.

Regards,

Gerard

 Hi Cedric,

 For someone who claimed not to be a techie 2 days ago, you're doing
 remarkably well.

 - ICM Profile: http://linuxforums.org.uk/index.php?topic=10200.0

 On linux, debug and log files are usually sent to /var/log. There's no
 fixed sane debug or log file as far as I know.
 Try this from a terminal:
 $ SANE_DEBUG_SANEI_USB=80 xsane

 Greetz,

 Stijn


 On 22-06-15 00:33, Cedric Bhihe (毕生泰) wrote:
 Thanks a lot  Stijn and Allan ! I made some progress.

 Here goes:
 _Background_:
 sane and libsane version 1.0.23 on Ubuntu 14.04.2
 scanner Canon LIDE25 works under Windows  but not Linux
 scanimage functions perfectly with scanner in identical conditions
 under Lx.

 It turns out that just like for this post
 http://askubuntu.com/questions/599694/scanimage-works-but-xsane-or-any-other-ui-does-not
 on askubuntu.com, I am running 'tlp' for power saving optimization. I
 applied the post's author's  solution by tweaking the 'tlp' config
 file, so that USB autodisable would not affect my LIDE25
 (0x04a9:0x2220).
 After applying the change to the tlp config file, I checked it from
 terminal:

 $ cat -n /etc/default/tlp | egrep USB_BLACKLIST
173#USB_BLACKLIST=: :
178USB_BLACKLIST=04a9:2220
187USB_BLACKLIST_WWAN=1

 Result:
 'simplescan' now works for the first time in 2 months or so (though it
 seems awfully slow to me).
 'xsane' (the frontend I favor) gives me:
  Error during CMS conversion: could not open scanner ICM profile.
 The above error message appears when I launch 'xscan', when I try to
 change any setting and when the scan is over.
 Trying to scan, the scanner goes through all the moves at a normal
 speed) but scan everything blank.

 So I tried four things:

 *1)* Following another post cid:part2.06040302.04030204@gmail.com, I
 created the new rule:
 $ sudo vi /etc/udev/rules.d/40-libsane.rules |
 ATTRS{idVendor}== 04a9, ATTRS{idProduct}==2220,
 ENV(libsane_matched)=yes|||
 $ sudo chmod 644 /etc/udev/rules.d/40-libsane.rules

 'simplescan' 's behavior is unchanged. It scans in mode gray, color.
 All good.
 Relaunching 'xsane' I did NOT get any more error messages. However,
 although 'xsane' launched and allows the scanner to do previews and
 scans without complaining, EVERY preview or scan comes out blank, even
 after reboot.


 *2)* I set my debug log level to 80 (don't really know what level
 between 1 and 128 I should use here)
 $ SANE_DEBUG_SANEI_USB=80
 $ export SANE_DEBUG_SANEI_USB

 However I know neither where log files are located, nor how I should
 post them for review.
 Perhaps s.o. can help me with hints on that.

 *3)* I edited the sane.d genesys.conf file to include a reference to
 Canon LiDE 25
  sudo vi /etc/sane.d/genesys.conf
 # Canon LiDE 25
 usb 0x04a9 0x2220*

 4)* Following Allan's suggestion I checked whether my bios/kernel
 relies on
 xhci_hcd
 It does not, apparently. It seems to rely on 'ehci-pci' as seen from
 the command

 $ dmsg | tail

 ran upon plugging my LiDE 25 scanner onto the 7-1 usb port.

 [18745.520785] [UFW ALLOW] IN= OUT=eth0 SRC=192.168.1.35
 DST=80.58.61.250 LEN=63 TOS=0x00 PREC=0x00 TTL=64 ID=46082 DF
 PROTO=UDP SPT=23968 DPT=53 LEN=43
 [18746.216192] usb 2-3.1.2: reset full-speed USB device number 7 using
 ehci-pci
 [18749.032184] usb 2-3.1.2: reset full-speed USB device number 7 using
 ehci-pci
 [18750.932308] usb 7-1: USB disconnect, device number 11
 [18752.104222] usb 2-3.1.2: reset full-speed USB device number 7 using
 ehci-pci
 [18753.264146] usb 7-1: new full-speed USB device number 12 using
 uhci_hcd
 [18753.433128] usb 7-1: New USB device found, idVendor=04a9,
 idProduct=2220
 [18753.433140] usb 7-1: New USB device strings: Mfr=1, Product=2,
 SerialNumber=0
 [18753.433148] usb 7-1: Product: CanoScan
 [18753.433154] usb 7-1: Manufacturer: Canon

  I believe I do not have any USB3 issue. I simply do not have USB3
 ports, just two USB1.1 and two USB2 ports.

 Nevertheless knowing that power management is also effected at kernel
 level, via the usbcore.autosupend parameter and  I did:|

 $ modprobe usbcore autosuspend=-1

 |That did not have any benefical effect and I reversed the action:
 |
 $ modprobe usbcore autosuspend=2|

 Can somebody further suggest something ?
 Also I need help with the debug log files. Where are they located and
 how do I post them ?
 Thanks.

 *Cédric*
 /GMT+1/
 

 On 21/06/15 02:38, sane-devel-requ...@lists.alioth.debian.org wrote:
 Send sane-devel mailing list submissions to
 sane-devel@lists.alioth.debian.org

 To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
 or, via email, send a message 

Re: [sane-devel] waiting for support of Mustek Bear Paw 2400 TA Pro

2014-09-09 Thread Gerard Klaver
On Tue, 2014-09-09 at 15:02 +0200, Leon Fellows wrote: 
 Hi,
 
 I am a proud owner of the Mustek Bear Paw 2400 TA Pro (USB).
 At the moment it is not SANE-supported.
 
 http://www.meier-geinitz.de/sane/misc/mustek-scanners.html#UNSUPPORTED
 BearPaw 2400 TA Pro: Flat CCD scanner with USB 2.0. Uses the SQ11
 chipset. Vendor: 0x055f; product: 0x0400 (BearPaw 2400 TA Pro). May be
 supported by mustek_usb2 backend later.
 
 Is there someone working on it? Could you need some help? (I can do a
 little programming but not really good...) But maybe with testing etc...
 
 Thanks,
 Leon
 


Leon,

Check also this page
http://www.meier-geinitz.de/sane/mustek_a3p1-backend/

if your scanner has a SQ11 chipset


-- 

m.vr.gr.
Gerard Klaver


-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org


[sane-devel] HP N6350

2013-04-13 Thread Gerard Klaver
On Thu, 2013-04-11 at 17:09 -0400, Random Quip Generator wrote: 
 This is a similar model to mine ('[#313955] HP Scanjet N8460 (with
 ADF)'), and when I look up his model on the HP web site, I see pointers
 to the N8460 scanner as well.
 
 I would definitely concur with Wouter's fecal characterization of the
 available Windows scanner software. Even XP's own scanner program beats
 the HP one, which I assure you is faint praise indeed.
 
 I took mine apart and found an Avision C7C chip (it's in the bug report,
 with links to pics of the board).
 
 There were no results for either 'N6350' or 'N8460' on the
 hplipopensource.com site search function.
 
 I tried running 'hp-check' per m. allan, and the program reports that
 everything seems to be set up properly (on my Ubuntu 12.04.2 64 bit), but:
 
 * 'No scanners were identified', and
 * Under 'USB I/O SETUP' it does find the device, but reports 'error:
 Unsupported model: HP_Scanjet_N8400'
 
 I suspect that hplip will not work with Wouter's device either, but I'll
 look forward to seeing what he finds.
 
 Best, -- p
 
 
 
 On 13-04-11 04:42 PM, m. allan noah wrote:
  Is this model supported by the sane driver from the hplip project?
  
  allan
  
  
  On Thu, Apr 11, 2013 at 3:53 PM, Wouter Verhelst w at uter.be
  mailto:w at uter.be wrote:
  
  Hi folks,
  
  As I blogged recently[1], I own an HP ScanJet N6350 that TTBOMK does not
  work with SANE, and of which the Windows software is just crap.
  
  I'd like to see if I can reverse engineer the protocol (USB and/or
  network). This should at the very least be possible, as I'm already
  running Windows inside a VM; so it should just be a matter of using
  wireshark on the USB and/or network interface.
  
  Now I do think I have a general idea of how to reverse engineer a
  protocol, but I've never actually done anything of the sort before. Is
  there something I should pay specific attention to when doing this sort
  of thing?
  
  Additionally, once I've figured out the protocol (or have gathered
  enough data), is there somewhere I could send it? I don't think I have
  the understanding of the SANE internals to do write the driver myself...
  
  [1] http://grep.be/blog/en/computer/hardware/dear_hp
 
 

For the HP N8460,

Did you check for the sane-avision backend, IIRC some scanners with an
avision C7 chipset are supported with this backend.

With regards,

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] fixes from bug tracker

2013-03-11 Thread Gerard Klaver
On Mon, 2013-03-11 at 21:31 +0100, Stef wrote: 
  Hello,
 
  unless someone objects it, I'm considering applying fixes attached 
 to the following bug reports next Monday:
  #314042
  #314038
  #314037
  #314036
  #314035
 
 Regards,
  Stef
 

For bug #314038 fine by me, thanks.

Regards,
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] maximum image size for a scan for Canon pixma backend

2010-12-30 Thread Gerard Klaver
On Fri, 2010-12-31 at 01:29 +0900, Gernot Hassenpflug wrote: 
 Dear all,
 I have been involved in trying to support the Canoscan 9000F, and the
 testing community has grown to about 15 individuals. A few of them
 have programming knowledge and tonight one individual send in
 corrected code to handle the final hurdle: correctly aligning the
 sub-images in the 9600dpi TPU mode. So the scanner is now supported
 for all modes.
 
 However, for large images at both 4800dpi and 9600dpi modes, it seems
 the max size of the image is limited in some way, so that only a
 section of the desired image is delivered. Is this something that can
 be set in the individual driver files (like pixma_mp150.c) or in some
 of the generic pixma driver .c or .h files (which I do not want to
 touch if possible)? I don't see a problem in the linesize or
 dimensions, only in the image_size value seen by [pixma] debugging
 output.
 
 Best regards,
 Gernot Hassenpflug
 
 --
 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

One possible solution (if not yet done), is to check the declaration of
the  image_size parameter, for a 9600 dpi A4 scan (color) size is about
550 000 000 000 bytes. (long long is needed)
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Medion Life P91010 (MD 90093)

2010-12-15 Thread Gerard Klaver
On Wed, 2010-12-15 at 17:13 +0100, Bart Degryse wrote: 
 Bus Type: USB
 Vendor ID: 0x05da
 Product ID: 0x3025
 Chipset: This USB chip looks like a SQ113 (result from sane-backends 1.0.21
 --
lines deleted

 
 
 
 --
 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


Check the mustek_usb2 backend which supports the SQ113 chipset.

Maybe adding usb vendor and product id will and maybe other patches to
this backend will get your scanner working!

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] little help for XSane

2009-04-09 Thread Gerard Klaver
On Thu, 2009-04-09 at 10:15 +0200, Sophia Berkati wrote:
 Dear Madams, Sirs, 
 
 With a lot of pleasure I have been using XSane for scanning my images,
 but today it won't work. It says: error during CMS conversion.
 Couldnot open scanner ICM profile, whatever that may mean ... 
 What happens, it that I can see a preview, but when I clcik on scan,
 it doesn't scan anything. Also tried to save the invisible image and
 open it with another programme, but nope. 
 If you can help me, that would be great! I'm not into IT, so ...
 please in plain language :-)
 Thank you very much in advance. 
 
 Regards,
 
 
 Hartelijke groet,
 
 Language Coach 
 drs Sophia Berkati
 
 Costerweg 5, K104
  6702 AA  Wageningen
 T: 0317-842.509 / 0317-421.576
 M: 06-3427.7058
 Skype: s.berkati
 E: sophia at dutchlanguagecoach.nl
 I: http://www.dutchlanguagecoach.nl
 Kvk: 09131158
 --
 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


One possibility is to disable in the preferences menu the enable color
management

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] [Fwd: [Libusb-devel] OpenUSB Gets Some Press Time]

2009-03-11 Thread Gerard Klaver
Some info, not seen on the list yet (Kodak and Linux support scanners


m.vr.gr.
Gerard Klaver
-- next part --
An embedded message was scrubbed...
From: Michael Lewis milew...@gmail.com
Subject: [Libusb-devel] OpenUSB Gets Some Press Time
Date: Tue, 10 Mar 2009 12:54:11 -0400
Size: 6024
Url: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090311/bdf71f21/attachment.eml
 


[sane-devel] [Fwd: [Libusb-devel] OpenUSB Gets Some Press Time]

2009-03-11 Thread Gerard Klaver

Some info, not seen on the list yet (Kodak and Linux support scanners)
-- 

m.vr.gr.
Gerard Klaver
-- next part --
An embedded message was scrubbed...
From: Michael Lewis milew...@gmail.com
Subject: [Libusb-devel] OpenUSB Gets Some Press Time
Date: Tue, 10 Mar 2009 12:54:11 -0400
Size: 6025
Url: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090311/9c89b6fa/attachment.eml
 


[sane-devel] Slightly off topic: Anyone know anything about SCSI CD commands?

2009-01-06 Thread Gerard Klaver
 08 00 5b 84 38 00 00 00 80 00 0c 12
  0010: 00 00 00 38 00 00 00 00 00 00 00 00 00 00 00
 
 followed by a reply (my annotations, which could be partly wrong of course)
 
 05 means CDROM 0x80 means removable medium then 0s means scsi(?) and 02(?)
 1f is something about extra length and then
 
 I  n  s  i  g  n  i  a
  : 05 80 02 02 1f 00 00 00 49 6e 73 69 67 6e 69 61
 N  S  -  D  K  U  Y  X  X  0  9
  0010: 4e 53 2d 44 4b 45 59 58 58 30 39 00 20 20 20 20
 t  e  n  x  d  s  kE  Y  X
  0020: 00 20 20 20 74 65 6e 78 64 73 6b 00 00 45 59 58
 X  0  9
  0030: 58 30 39 00 20 20 20 20
 
 
 But then I got a bit of the way through the log file, and it came up with
 
  : 55 53 42 43 08 00 5b 84 00 80 00 00 80 00 0c c1
  0010: 11 31 0f 30 01 80 00 00 00 00 00 00 00 00 00
 
 to which the reply is a block, and then the command is repeated, apparently 
 with a different answer, then still a third time (at least).
 
 I cannot find much information about the SCSI command 0xc1. What little I did 
 find would lead me to believe that, again, it has something to do with a CD. 
 Does anyone know where to learn more about this, or actually know the 
 information, to save the trouble of chasing it?
 
 
 Theodore Kilgore
 

Seems like same sort of device i have, see
http://gkall.hobby.nl/dpf018.html for some information.


-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Lexmark X2230 (043d:0096)

2008-10-10 Thread Gerard Klaver
) 
 checking for SQ113 ...  
 this is not a SQ113 (bNumEndpoints = 4) 
 checking for HP5550/5590/7650 chipset ...   
 this is not a HP5550/5590/7650 chipset (bDeviceClass = 0)   
 checking for rts8801/rts8891 ...
 this is not a rts8801/rts8891 (bcdUSB = 0x200)  
 Couldn't determine the type of the USB chip (result from sane-backends 
 1.0.19)
 
 found USB scanner (vendor=0x043d [Lexmark], product=0x0096 [Lexmark 2200 
 Series]) at libusb:002:003
 
 
 
 
 -- 
 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

Seems to be related to the Canon Pixma 110 and 130 see mention other OA
chip  on the following page
http://www.sane-project.org/unsupported/canon-pixma-mp130.html


If its related to the Freescale (SigmaTel) STDC2150 and

http://www.conexant.com/servlets/DownloadServlet/PBR-201769-002.pdf?docid=1770revid=2


-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Plustek OpticFilm 7200 : first investigations

2008-08-24 Thread Gerard Klaver
On Sun, 2008-08-24 at 00:20 +1000, Matthew wrote:
 I have a plustek scanner. I have just given Windows XP the boot and
 installed Ubuntu. I love it, but now my Plustec 7200 is not supported.
 
 I found this info on the disk supplied.
 ; DeviceId=USB ID,[USB ID],..
 
 ; PortIF = Hardware Port I/F
 ; 1: INSTEPP
 ; 2: INSTUSB
 
 ; ButtonOrder = Hardware Button Order
 ; 1: Album-Copy-Mail-Web  Button Id = 5,6,4,3
 ; 2: Album-Fax-Copy-Mail  Button Id = 5,6,4,3
 ; 3: PC_Fax-Mail-Scan-PC_Copy Button Id = 5,6,4,3default
 ; 4: MGI-Mail-Scan-PC_Fax-PC_Copy Button Id = 4,3,2,6,5
 ; 5: copy-Ocr-Custom-Mail-Power Save  Button Id = 4,3,2,6,5
 ; 6: copy-Mail-Album-WEB-OCR  Button Id = 4,3,2,6,5
 ; 7: custom   Button Id =
 ; 8: copy-OCR-Mail-Custom-ScanButton Id = 6,5,3,4,2
 ; 9: copy-OCR-PowerSve-Mail-CustomButton Id = 1,2,3,4,5
 ; 
 
 ; AsicID = Main DSP ASIC ID
 ; #define ASIC_P98003 98003
 ; #define ASIC_P99002 99002
 ; #define ASIC_PO9831 983x
 ; Bit0:Button
 ; Bit1:TPA
 ; Bit2:1=9832,0=9831
 ; Bit3:ADF
 ; #define ASIC_PO6801 6801
 
 ; HWGuide =
 ; A3 Guide
 ; Slim Guide 
 ; AutoCrop =
 ; 0: No
 ; 1: Yes
 ; 2: Invalid
 
 ;OEMName= for guide used
 ; NB ScanTrack
 ; Plustek
 ; FounderScan
 ; Legend
 ; Obm
 
 ;FolderName =for TARGETDIR FOLDER  ICON
 
 [DefaultProductCode]
 ;UPDATE_ADDRESS=http://home.kimo.com.tw/linfrankkimo/update/scanner.vbs
 OEMName=
 TitleName=Plustek OpticFilm 7200 Setup
 CaptionName=
 ;SetupBmp???w???e,?]?w?? .BMP
 SetupBmp=Ms.bmp
 ;X ?b???k(???I)?_?V?I??
 SetupBmpnx=0
 ;Y ?b???U(???I)?_?V?W???I??
 SetupBmpny=30 
 ;Y ???J , N ???~?W??
 MultiProduct=N
 CD_Version=3.0.0
 
 [SelectProduct]
 ;???h 9?? for OEM 
 Item0=A11
 
 
 [A11]
 ;Film Scanner
 Model= OpticFilm 7200
 DeviceId=USB\VID_07B3PID_0807
 PortIF = 2
 AsicID = GL842
 HWGuide = Slim Guide
 AutoCrop=1
 ButtonOrder = 0
 FolderName = Plustek OpticFilm 7200
 TPA = 1
 ADF=0
 
 
 I did notice the bit about the AsicID which is GL842. I was wondering if
 anybody got this scanner working on Linux. Do you know anything about
 this.
 
 Oh yeah, I found your email on a discussion about this scanner. I hope
 you do not mind my enquiry.
 
 Matthew Ridgeway.
 
 PO Box 3
 Pakenham
 Victoria
 Australia
 3810
 
 

See this page
http://www.sane-project.org/unsupported/plustek-opticfilm-7200.html

Maybe in future this scanner will be supported by the genesys backend
when somebody adds support for it.
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Neatreceipts Scanner

2008-08-21 Thread Gerard Klaver
On Thu, 2008-08-21 at 16:06 -0400, Understudy wrote:
 Hi All,
 
 I have FreeBSD 7.0 on a T42. I have installed :
 sane-backends-1.0.19_1 API for access to scanners, digitals camera, 
 frame grabbers
 xsane-0.995_2   Gtk-based X11 frontend for SANE (Scanner Access Now 
 Easy)
 
 I copied cism216 to /usr/local/share/sane/gt68xx/. I plugged in the 
 scanner and still get the ugen0. I did a chmod 666 on /dev/ugen0  and it 
 still can't recognize it as user. if I do xsane  as su it will come up 
 and recognize the device.
 
 Now when I try to scan the device it will come up as Failed to start 
 scanner: Device busy.
 
 Here are the results of a SANE run:
 Gargoyle# sane-find-scanner -q
 found USB scanner (vendor=0x07b3, product=0x0412 [600dpi USB Scanner],
 chip=GT-6816) at libusb:/dev/usb1:/dev/ugen0
 Gargoyle# scanimage -L
 device `gt68xx:libusb:/dev/usb1:/dev/ugen0' is a Plustek OpticSlim M12
 flatbed scanner
 
 Sincerely,
 Brendhan
 
 
 

Did you read the Readme file for BSD?, something IIRC with permissions
also for group scanner?
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] How i can use 2 or more scanners at the same time??

2008-07-21 Thread Gerard Klaver
On Sun, 2008-07-20 at 20:59 -0400, m. allan noah wrote:
 On 7/20/08, kid2k4 at email.it kid2k4 at email.it wrote:
  Hi to all (sorry for my english)
   I write from Italy, with other young artist are working on a machine
   that requires a man-size scanner. An A1 or A0 scanner it's very
   exspensive for us, ahah.
   I use Gnu/linux (Debian-like distro) but i'm not i geek, :-( However i
   know the potential of open source software. I thought immediately to a
   solution ad-hoc but i don't know if it's possible. The idea is about a
   big scanner builded with more (6/8). We thought to disassemble scanners
   and take only the parts needed to scan.
   I make us some questions.
 
   - It's possible to control more that one scanner with a tool like SANE?
   - If yes, it's possible to build a single scanned image from the scanned
   images of each machine,  in real time :-)
   - If we try to make the scanner on lan an then take each scanned image
   and build one big images? We need one pc for each scanner?
   - More and more :-)
 
   I am asking a bit around and seemed a good idea to also ask the
   community of SANE.
   I hope the this idea can make some step to our goals.
   Bye bye.
 
 1. the optical package of each scanner cannot be placed end-to-end and
 get a complete scan, because there is some dead space for packaging or
 mechanism on the ends. so now you have to stagger them, and then have
 a staggered calibration strip. correcting skew and adjusting height
 will be excercises in very precise machining.
 
 2. you will have to have much larger and very rigid guides and carriage.
 
 3. you will have to have a much larger motor, or convince the series
 of motors to move at EXACTLY the same rate, or some of them will be
 dead weight (very difficult to do if they have independent
 controllers)
 
 4. you will have to multiplex all those streams of data, probably
 causing dataloss or motor stoppage/backtracking when the pc cannot
 keep up.
 
 as you can see, software is the least of your problems :)
 
 i suggest that you change directions. build a very square and sturdy
 moving platform, and scan with one scanner, using multiple passes,
 shifting the work one width left each time. you would have to stitch
 the pieces together afterwards, but that will be easy.
 
 allan
 -- 
 The truth is an offense, but not a sin
 

Depends also on the resolution you want to scan, for low resolution try
a photo camera.

For higher resolution, check if your file size get you in problems.
300dpi A4 colour 8 bit is about 25.5Mbyte, A1 is about 200Mbyte
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] anyone working on Lexmark X2330 support?

2008-07-03 Thread Gerard Klaver
On Sun, 2008-06-29 at 14:33 +0800, Paul Wise wrote:
 On Sat, 2008-06-14 at 15:42 +0200, Gerard Klaver wrote:
 
  Let me know when you have something.
 
 Ok, the attached c file works with my scanner. I haven't tested it
 exhaustively yet, there are timing issues in general (grabbing the data
 too slowly or too quickly leads to badness and the need for resetting)
 and you have to edit the code to change the scan parameters, but it
 works for me in a few cases (colour/greyscale at 150 DPI).
 
 I'll do some more tweaking/testing, try to figure out some of the
 unknown bits in the protocol and the advanced stuff the Lexmark Windows
 app can do and make it a bit more robust with resetting the scanner to a
 good state in case of failure.
 
 To compile it with GCC you'll probably need to delete the first line,
 I've been using tcc to merge compile+run into just run.
 
 It needs libusb and libpng installed to compile/run and will write out
 lexmark_scanner.png to the current directory and a bunch of debugging
 output to stdout.
 
 Hopefully some SANE developer can help me turn it into a SANE backend.
 I'd also like to know if it is similar to any other scanners that are
 already supported and maybe an existing driver should be extended.
 
 I also wrote a short protocol document, not sure if that is useful to
 SANE developers or not though.
 

Paul,

I put some lexmark2 skeleton files on my homepage, see

http://gkall.hobby.nl/dell-810.html

My Dell is detected, but no time yet to put the right usb commands in.

The Lexmark X2330 usb id are also added.


-- 

m.vr.gr.
Gerard Klaver




[sane-devel] anyone working on Lexmark X2330 support?

2008-06-29 Thread Gerard Klaver
On Sun, 2008-06-29 at 14:33 +0800, Paul Wise wrote:
 On Sat, 2008-06-14 at 15:42 +0200, Gerard Klaver wrote:
 
  Let me know when you have something.
 
 Ok, the attached c file works with my scanner. I haven't tested it
 exhaustively yet, there are timing issues in general (grabbing the data
 too slowly or too quickly leads to badness and the need for resetting)
 and you have to edit the code to change the scan parameters, but it
 works for me in a few cases (colour/greyscale at 150 DPI).
 
 I'll do some more tweaking/testing, try to figure out some of the
 unknown bits in the protocol and the advanced stuff the Lexmark Windows
 app can do and make it a bit more robust with resetting the scanner to a
 good state in case of failure.
 
 To compile it with GCC you'll probably need to delete the first line,
 I've been using tcc to merge compile+run into just run.
 
 It needs libusb and libpng installed to compile/run and will write out
 lexmark_scanner.png to the current directory and a bunch of debugging
 output to stdout.
 
 Hopefully some SANE developer can help me turn it into a SANE backend.
 I'd also like to know if it is similar to any other scanners that are
 already supported and maybe an existing driver should be extended.
 
 I also wrote a short protocol document, not sure if that is useful to
 SANE developers or not though.
 


Maybe using copy of the lexmark backend naming it lexmark2 or copy from
logitech1 backend (see http://gkall.hobby.nl/logitech-pagescan-usb.html)
to lexmark2 backend??

A quick check on your file seems that there are not many commands needed
to do a scan, so pasting into a backend will be not so much work.

I can take a look how i can paste it in a copy of the logitech1 backend.




-- 

m.vr.gr.
Gerard Klaver




[sane-devel] New Scanner Purchase .....

2008-06-21 Thread Gerard Klaver
On Sat, 2008-06-21 at 14:29 +0700, peter wrote:
 My HP Scanjet 3970 is on its way out .  I would like to replace
 with another HP and I have just been comparing the HP Scanjet current
 models (from the HP site) with what is and what is not supported in
 Sane.  It appears that more or less everything is not supported.  This
 I find very surprising and so I was wondering if I had missed the
 point somewhere?
 
 I would like to use either a Scanjet G4010 or a G4050 but since both
 are unsupported (in common with the rest of the current scanners) I am
 very reluctant to buy and see what happens.
 
 Could anyone please tell me if I have got this wrong or is there
 another way round this?
 
 
 -- 
 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

Did you check the www.hplip.org site for the sane hpaio backend
supported scanners? 
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] anyone working on Lexmark X2330 support?

2008-06-14 Thread Gerard Klaver
On Sat, 2008-06-14 at 19:37 +0800, Paul Wise wrote:
 Hi all,
 
 [Please CC me in all replies]
 
 I've had a Lexmark X2330 sitting next to the family Windows box for a
 couple of years, figured it was time to make it work in Linux.
 
 Is anyone else working on Lexmark X2330 support?
 
 The protocol seems fairly simple at first glance, so it shouldn't be
 much work if no-one has attempted to get it working yet.
 
 -- 
 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


Seems the Dell 810 has the same usb endpoints as the X2330 and other
Lexmarks.

For some Dell 810 inside picture see http://gkall.hobby.nl/dell-810.html

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] anyone working on Lexmark X2330 support?

2008-06-14 Thread Gerard Klaver
On Sat, 2008-06-14 at 21:02 +0800, Paul Wise wrote:
 ?[Please CC me in all replies]
 
 On Sat, 2008-06-14 at 14:22 +0200, Gerard Klaver wrote:
 
  Seems the Dell 810 has the same usb endpoints as the X2330 and other
  Lexmarks.
  
  For some Dell 810 inside picture see http://gkall.hobby.nl/dell-810.html
 
 Interesting, thanks for the info. I'm not really game to open this X2330
 up since it is my sister's one.
 
 Looks like that board has an ARM chip on it, you could probably run
 Linux on there if you wanted :)
 
 Do any SANE developers know any of the hardware on that board? I'm
 really not a hardware person.
 
 I have a WinXP machine and did some SniffUSB and usbsnoop2libusb.pl runs
 today.
 
 ?Gerard, do you mind doing some tests if I get a stand-alone driver
 working? 
 

Testing is OK
Let me know when you have something.

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] PENTAX DSmobile 600 scanner

2008-06-04 Thread Gerard Klaver
On Wed, 2008-06-04 at 16:18 +0200, Kjell Andr? Lende wrote:
 On Tue, 3 Jun 2008 21:24:31 +0200
 Thierry de Coulon tcoulon at decoulon.ch wrote:
 
  On Tuesday 03 June 2008, Kjell Andr? Lende wrote:
   Hi,
  
   I was wondering if anyone has had any luck getting the PENTAX
   DSmobile 600 scanner to work in SANE/on Linux? I would very much
   like to purchase it, but there is no point in that if it doesn't
   work on my system...
  
   --
   Regards,
   Kjell Andr? Lende
  
  Hi,
  
  I'm sorry to say that I had no success. It works with Mac OS and from
  a virtual WInblow machine... no luck with Linux
  
  Thierry
 
 That's too bad...
 
 It seems that the Visigo A4 or Visigo Travelscan 464 is supported
 through SANE [1]. Have anyone any experience with this scanner? Does it
 work well, is reliable etc? Alternately, has anyone gotten the Visigo
 PS465 Simplex [2] (an updated version, I guess) to work on Linux?
 
 I'm also interested in any other light-weight, portable and sturdy
 scanners that would work in Linux. It's for scanning documents, so a
 resolution of about 300 dpi should be plenty.
 
 1. http://www.sane-project.org/sane-mfgs.html#Z-AMBIR
 2. http://www.ambir.com/product.asp?item=PS465-SS
 
 --
 Regards,
 Kjell Andr? Lende
 

Check this  http://www.meier-geinitz.de/sane/gt68xx-backend/ for the
status of the Plustek OpticSlim M12


-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Is it posssible to install a Scanner Genius vivid 1220E on Ubuntu?

2008-05-23 Thread Gerard Klaver
On Thu, 2008-05-22 at 13:59 -0700, yefer barandica wrote:
 Thanks Nicolas for your help. I did what you told me but nothing
 happens. It seems my scanner is based on a SQ113 chip technology and
 not on a GT68 chip technology.  I was reading a page where says that
 if I want to use the SANE gt68xx first of all I have to have a
 scanner with a chip GT68 and that if my scanner didn't have that,
 well, BAD LUCK. If you or anybody else know about a SANE that makes
 my scanner works please let me know.
 
 Thanks again.
 
 Yefer
 
 --- El mi? 21-may-08, Nicolas nicolas.martin at freesurf.fr escribi?:
 
 
 De: Nicolas nicolas.martin at freesurf.fr
 Asunto: Re: [sane-devel] Is it posssible to install a Scanner
 Genius vivid 1220E on Ubuntu?
 A: yeferbar at yahoo.com
 Cc: sane-devel at lists.alioth.debian.org
 Fecha: mi?rcoles, 21 mayo, 2008, 4:29 pm
 
 Maybe worth a try with Genius gt68xx backend ? (seems to work good for
 vivid  1200X and XE). 
 
 Add your scanner USB IDs to the /etc/sane.d/gt68xx.conf file (at the
 bottom) and recheck whether it gets detected with a scanimage -L and
 scanimage -T
 
 You can get your scanner USB IDs by issuing a: lsusb
 
 Nicolas
 
 Le mercredi 21 mai 2008 ? 11:16 -0700, yefer barandica a ?crit :
  Hi, I am new with linux and Ubuntu and I am tryng to install a 
 scanner
  Genius vivid 1200E on Ubuntu. Is it possible? I was looking at some
  list with supported devices and I didn't find this device in it.
  Thanks in advance for your help.
  
  
  
  
  
 __
  
  Yahoo! Deportes Beta
  ?No te pierdas lo ?ltimo sobre el torneo clausura 2008!
  Ent?rate aqu? http://deportes.yahoo.com 
  -- 
  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
 


For the SQ113 chip check this page and backend

http://www.meier-geinitz.de/sane/mustek_usb2-backend/



-- 

m.vr.gr.
Gerard Klaver




[sane-devel] v4l device and colors

2008-04-29 Thread Gerard Klaver
On Tue, 2008-04-29 at 00:27 +0200, Ludwik wrote:
 Hi,
 
 Maybe somebody will be able to help be, because I'm going insane here ;)
 
 I'm trying to build a music sequencer that would use color input form
 the camera to generate music (something similar to Bubblegum
 Sequencer). Sane looks like a best way to integrate my video4linux
 webcam input with my python program. The problem is that when Sane
 (both in form of the python library and xsane standalone program) show
 the camera input it's totally blueish - almost blackblue (something
 like blackwhite, but with blue in place of white). All the other
 video4linux programs show the real colors. Sane is also using
 video4linux, so I have hard time understanding why suddenly everything
 goes blue...  Any ideas?
 
 Ludwik Trammer
 Warsaw, Poland
 

I expect some RGB to BGR step is needed, did you try xcam already (does
have a RGB to BGR button)?
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] In progress: TRUST Imagery 9600SP (TECO_VM6552)

2008-04-05 Thread Gerard Klaver
On Fri, 2008-04-04 at 21:06 +0200, Ralph D. Ungermann wrote:
 Gerard Klaver wrote:
  On Thu, 2008-04-03 at 14:56 +0200, Ralph D. Ungermann wrote: Hello 
  Ralph,
  
  I am the maintainer of the teco2 backend, if you have a link (or send
   a zip file with data to mailbox) to your backend i can have a look 
  and add improvements to the teco2 backend.
 
 Hello Gerard,
 
 nice to meet you! I'll send you my sources ASAP.  I hope, you'll like my
 resource management:
 
 - sane_init() doesn't open every device at startup
 - no device needs to allocate a 64KB scsi buffer
 - sane_read() doesn't wait for the whole image to be read
 - sane_read() polls for `cancel'
 
 While the device handling issues aren't so important on a desktop with a
 single scanner, the `no-wait' and `cancel' things have been major pain
 reliefs for me.
 
 And most surely you will like my color scans:  my scanner just tells me,
 _which_ color it has sent; hence no more sophisticated guessing
 algorithms, no more huge color permutation tables, and no more
 restrictions to preselected resolutions.  Just pick a line, and if the
 scanner says `red', distribute it to the red bytes.
 
 This change would save you many hundred lines of code.  Unfortunately,
 you can't call this an `obvious bug fix'.  So don't do it, unless you
 can test it for all supported scanners.
 
 Here is my offer:  you tell me, which scanner models you have your hands
 on.  Then I can try to include one of them into my backend.  If we're
 lucky, it'll work, and we can build an enhanced new backend at least for
 the scanners we own, leaving the old drivers untouched.
 
 -- ralph
 
 
 

I still own the Relisys Scorpio Super 3 VM3575 and the PRIMAX JEWEL 4800
VM356A

For the VM3575 the color line sequence was different depending on the
resolution of the scan, see also my gkall.hobby.nl/notes1.html page for
some test images. So if there is scanner information which color is
send, it would make things a lot easier.

Just for information, one old testreport for the vm3575

http://gkall.hobby.nl/testreport-vm3575-2.html

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] In progress: TRUST Imagery 9600SP (TECO_VM6552)

2008-04-03 Thread Gerard Klaver
On Thu, 2008-04-03 at 14:56 +0200, Ralph D. Ungermann wrote:
  On Wed, Mar 5, 2008 at 8:41 AM, Ralph D. Ungermann wrote:
 
   I'm about to adapt the teco3 backend to the VM6552.
 
   My question: Is there still any public interest in backends for
   such old scanners?
 
 
 m. allan noah wrote:
  though there may not be much interest, we will accept patches if you
  get it working and it compiles cleanly. we might even make you
  maintainer of the code if you are not careful :)
 
 
 My scanner now runs fine! But unfortunately, it turned out to be not a 
 patch, but a major rewrite (with 30% less lines). I presume, that my 
 backend also solves major issues for the other supported scanners, 
 chiefly with color scans and responsiveness (to cancel). But I have no 
 way to test it for other teco models, and I don't want to fool millions 
 of happy teco3 users.
 
 If there is anybody else out there using backend teco1, teco2, or teco3, 
 I'm willing to unify and maintain that driver. But now I sit idle, until 
 somebody googles and finds this email...
 
 Meanwhile: Anyone here need help coding or reviewing his code?
 
 -- ralph
 
 
 
 

Hello Ralph,

I am the maintainer of the teco2 backend, if you have a link (or send a
zip file with data to mailbox) to your backend i can have a look and add
improvements to the teco2 backend.

http://gkall.hobby.nl/scanner.html



PS. Frank Zago is the maintainer for the teco1 and teco3 backend.
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] info please?

2008-03-21 Thread Gerard Klaver
On Thu, 2008-03-20 at 16:13 -0700, Dave Stevens wrote:
 Is this the right list for help with scanner problems?
 
 I have been given an Agfa SnapScan scanner, claimed to be in working order 
 with
 Windows XP. I've connected it to my usb hub and so to my Fedora F7 x86_64 
 box. I
 have installed xsane. When I run it I get a very brief flash of a text box in
 the middle of my screen which then vanishes, leaving this text in the terminal
 window. I haven't any idea where to proceed from here.
 
 Dave
 
 [dave at localhost bin]$ xsane
 FATAL: Error inserting parport
 (/lib/modules/2.6.23.15-80.fc7/kernel/drivers/parport/parport.ko): Operation 
 not
 permitted
 WARNING: Error inserting parport
 (/lib/modules/2.6.23.15-80.fc7/kernel/drivers/parport/parport.ko): Operation 
 not
 permitted
 FATAL: Error inserting parport_pc
 (/lib/modules/2.6.23.15-80.fc7/kernel/drivers/parport/parport_pc.ko): 
 Operation
 not permitted
 WARNING: Error inserting parport
 (/lib/modules/2.6.23.15-80.fc7/kernel/drivers/parport/parport.ko): Operation 
 not
 permitted
 FATAL: Error inserting lp
 (/lib/modules/2.6.23.15-80.fc7/kernel/drivers/char/lp.ko): Operation not 
 permitted
 Segmentation fault
 
 
Type:
export SANE_DEBUG_SNAPSCAN=255  (if you use the snapscan backend)
xsane

Check the log on your screen for errors.

Above mentioned fault seems about your par port, strange if you have a
usb scanner. Maybe disable some backends in /etc/sane.d/dll.conf could
help(place # before backend name), check also man sane-snapscan and
check /etc/sane.d/snapscan.conf

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Lexmark backend

2008-03-01 Thread Gerard Klaver
If i am correct the Lexmark backend supports the X1240,X1250, X1270 and
X1290 scanners.

These appears also on the unsupported list, question is could these
files be removed?
So new users don't get confussed.


http://alioth.debian.org/plugins/scmcvs/cvsweb.php/html/unsupported/?cvsroot=sane

-- 

m.vr.gr.
Gerard Klaver





[sane-devel] sane-commit list down? or slow?

2008-01-12 Thread Gerard Klaver
Seems the sane-commit list is down? or slow?
-- 

m.vr.gr.
Gerard Klaver





[sane-devel] Mustek ScanExpress A3 600 USB Pro

2008-01-08 Thread Gerard Klaver
On Tue, 2008-01-08 at 21:39 +0100, Julien BLACHE wrote:
 Daniel Stender uzstzm at uni-bonn.de wrote:
 
 Hi,
 
  Please can you please help me install the new scanner:
 
  found USB scanner (vendor=0x055f [Hewlett-Packard.], product=0x040b 
  [USB2.0 Scanner], chip=SQ113) at libusb:002:003
 
 If this scanner is really what the subject of your mail tells, then
 try the backend available at:
 http://www.meier-geinitz.de/sane/mustek_a3p1-backend/
 
 I think this backend supports it.
 
 This backend, as is, is unsupported by the SANE project. It comes from
 Mustek, but needs a complete, clean rewrite before it's integrated in
 SANE.
 
 JB.
 
 -- 
 Julien BLACHE   http://www.jblache.org 
 jb at jblache.org  GPG KeyID 0xF5D65169
 

If your device is a SQ113, check this page
http://www.meier-geinitz.de/sane/mustek_usb2-backend/

the backend Julien mentioned supports the SQ11
-- 

m.vr.gr.
Gerard Klaver





[sane-devel] is there a virtual scanner for image files?

2007-12-28 Thread Gerard Klaver
On Fri, 2007-12-28 at 20:14 +0100, Peter Rap?an wrote:
 Hi,
 
 Thanks for the reply. Please find my comments below:
 
 
 On Dec 28, 2007, at 7:44 PM, Alessandro Zummo wrote:
 
  On Fri, 28 Dec 2007 19:40:44 +0100
  Alessandro Zummo azummo-lists at towertech.it wrote:
 
  to scan the physical images again, instead I want to feed the  
  files I
  have into some kind of virtual scanner device which would look as a
  real scanner for the application and which would enable to only pass
  the images data from the files that I have to the application. Is  
  this
  possible?
 
   Hi, I don't think there is a virtual tiff scanner, but
  it could be written :) you could also modify the application
  to read tiff file.  which is the application in subject?
 
 
 
 The application is Adobe Acrobat Pro (any volunteers for modifying  
 it ? ;) ). The thing is Acrobat can process scanned books or brochures  
 in a nice way (i.e automatically remove the middle shadow between the  
 pages, auto-align rotated pages, do OCR and add text version of the  
 scanned document to the .pdf file it creates, etc. ). My plan was to  
 feed the image files to sane, then use a sane-to-twain bridge (which  
 I've found to exist) on a windows or Mac OS X machine and then let  
 Acrobat do whatever I need via the twain interface...
 
 
  btw, I forgot to say that there is a pnm backend, so you
  can just convert your files to pnm and use it.
 
 Yes, I am aware of the pnm back-end, but from the man page of sane and  
 sane-pnm I learned close to nothing (not even how to use that back- 
 end). Does the convert utility convert multi-page zipped tiffs to pnm  
 file(s)? If not, which program can I use instead?
 
 Thanks for any further advice...
 
 Peter.
 
 P.S.: I thought there must have been someone in need of similar  
 functionality as I am and that some user-friendly way of just feeding  
 any image file into a virtual scanner device would already exist... it  
 seems such a natural feature to be implemented :)...
 
  -- 
 
  Best regards,
 
  Alessandro Zummo,
   Tower Technologies - Torino, Italy
 
   http://www.towertech.it
 
 
 

See this link for some programs

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

The unpaper program can correct scanned pages.
-- 

m.vr.gr.
Gerard Klaver





[sane-devel] Invalid argument (status 4) when calling sane_start

2007-12-16 Thread Gerard Klaver
On Sun, 2007-12-16 at 10:32 +0100, Peter Gebauer wrote:
 Hi!
 
  The v4l backend supports only a few modes so you have to select the correct 
  ones to get a image.
 
 So it's the v4l settings that are wrong or the SANE settings?
 
 There's a couple of things I'd fix with the v4l backend
 
 1) Default (startup) mode must be valid and supported so a user can 
 sane_start() with the default settings. It makes no sense to put the device 
 in broken mode at startup.
 
 2) Unsupported modes should not be listed. Why whould you even list 
 options/modes that aren't supported by the backend? Nobody wants a 
 SANE_STATUS_INVAL so nobody will set an unsupported mode anyway. Any modes 
 not supported should be removed from the options.
 
 If your sane_control_option didn't give an error then that mode should be 
 considered valid and usable setting. This will remove the unwanted surprise 
 when calling sane_start() and it will remove the guess work trying to figure 
 out what option is breaking the sane_start() call.
 
 I'll look at the v4l backend, but fixing it to work properly would be a 
 major detour from my project. The idea of allowing SANE to use v4l devices 
 is great, it feels generic and... cool. :)
 
 /Peter
 
 

The v4l backend doesn't support all v4l modes.
See also SANE bugreports for some update information (30015,30016,30018)

-- 

m.vr.gr.
Gerard Klaver





[sane-devel] CanoScan LiDE30 problem

2007-12-03 Thread Gerard Klaver
On Mon, 2007-12-03 at 11:08 +0100, Johannes Ranke wrote:
 Hi,
 
 My Canoscan LiDE30 used to work nicely under Debian unstable for more
 than a year. Since about half a year it makes problems: If I scan from a
 frontend like quiteinsane, I can select the device  (I am using libusb),
 and the frontend pretends to scan, but the scanner does nothing, so I
 end up with a black image. The scanner works under Windows. Last week,
 after I tested under Windows, it worked under Linux, too.
 
   $ scanimage -L
   device `v4l:/dev/video0' is a Noname BT878 video (AVerMedia AVerTV D
   virtual device
   device `plustek:libusb:003:003' is a Canon CanoScan N1240U/LiDE30
   flatbed scanner
 
 I discovered that I can scan from the command line as normal user:
 
   $ SANE_DEBUG_PLUSTEK=128 scanimage -d 'plustek:libusb:003:003' \
image.pnm \
   2 canoscanLiDE30.err
 
 I am attaching the output of this. Graphical frontends still don't work,
 even when specifying the device on the command line for xscanimage, or 
 selecting it in quiteinsane.
 
 I also noticed the following dmesg output after trying to scan with
 xscanimage: 
 
   usb 3-2: usbfs: interface 0 claimed by usbfs while 'xscanimage' sets
   config #1
 
 I don't know which (combination of) software is reponsible for the
 problems, otherwise I would file a bug report in the Debian BTS.
 
 My kernel is:
   $ uname -a
   Linux stiller 2.6.20-1-amd64 #1 SMP Tue Apr 24 21:10:58 UTC 2007
   x86_64 GNU/Linux
 
 Sane version is:
 
   $ scanimage -V
   scanimage (sane-backends) 1.0.18-cvs; backend version 1.0.18
 
 Best regards,
 
 Johannes

Add a # before the v4l line in /etc/sane.d/dll.conf

this will disable the v4l backend and will prevent that your video
device is selected.
 
 
 m.vr.gr.
 Gerard Klaver





[sane-devel] photo dell-810 print

2007-11-11 Thread Gerard Klaver
FYI

On http://gkall.hobby.nl/dell-810.html i have place a photo of the
dell-810 scanner/printer print.

Looks like Lexmark-Arm usb-bridge
-- 

m.vr.gr.
Gerard Klaver





[sane-devel] sane-backends CVS snapshot dated 2007 Oct 24

2007-10-25 Thread Gerard Klaver
On Thu, 2007-10-25 at 15:30 +0200, Julien BLACHE wrote:
 Johannes Meixner jsmeix at suse.de wrote:
 
 Hi,
 
 
 
  2) fix-uninitialized-variables.patch
  fixes an uninitialized variable in teco2.c, see
  https://bugzilla.novell.com/show_bug.cgi?id=205451
 
 That code looks fishy, size is used to initialize an element of cdb
 and then is initialized with another element of cdb.
 
 Setting it to 0 should be OK but I'll leave that up to someone more
 familiar with the backend.
 
 JB.
 
 -- 
 Julien BLACHE   http://www.jblache.org 
 jb at jblache.org  GPG KeyID 0xF5D65169
 
Still on my list for to do, i have some test done but not completed yet
-- 

m.vr.gr.
Gerard Klaver





[sane-devel] Canon 4400F

2007-10-15 Thread Gerard Klaver
On Mon, 2007-10-15 at 00:10 +0200, Bertrik Sikken wrote:
 Claus Nielsen wrote:
  I plan to write a backend for Canon 4400F. It looks like there are very 
  poor 
  support on Canon scanners using USB.
  
  I'm trying to get started and if anyone could give a qickstart they are 
  very 
  welcome.
 
 Info known so far about this scanner
 http://www.sane-project.org/unsupported/canon-4400.html
 
 You may also want to search the mail archive in case the page
 above is not completely up-to-date:
 http://www.sane-project.org/mailing-lists.html
 
  General questions are where is the source, how to build, how to test, but I 
  might figure that out soon anyway.
 
 See here for general info on contributing:
 http://www.sane-project.org/contrib.html
 
 Information on getting the latest source can be found here:
 http://www.sane-project.org/cvs.html
 
 Kind regards,
 Bertrik
 

Don't forget to check the genesys backend which supports some GL...
chipsets.
-- 

m.vr.gr.
Gerard Klaver





[sane-devel] Will the CanonScan 3000 Series be supported?

2007-09-03 Thread Gerard Klaver
On Mon, 2007-09-03 at 21:33 +0200, St?phane VOLTZ wrote:
 Le lundi 3 septembre 2007, Christian Arnold a ?crit :
 
  Hello!
 
  How do I record this log? I'm pretty shure that the CanoScan 3000 Series
  should work after some coding with the genesys drivers, because of
  this SANE unsupported device information page
  http://www.sane-project.org/unsupported/canon-3000.html
  It seems not many sane-users have this scanner. But I have and I am
  willing to make it supported! If you need any information from the
  scanner, tell me and I try to provide it!
 
  Hope it'll work someday!
 
  Regards
  Christian
 
   Hello,
 
   my tool of choice to record USB traffic under windows is SniffUSB (you 
 can 
 grab it at http://stef.dev.free.fr/sane/outils/index.html). Record a simple 
 session under windows, like doing a color preview. Once you have made a 
 usbsnoop.log , and compressed it, you can put somewhere or even send it to me 
 directly.
   I'll have a look at it to see if it is really a GL646 based scanner. 
 The 
 http://www.sane-project.org/unsupported/canon-3000.html doesn't give a 
 definitive answer, like the log will do.
 
 Regards,
   Stef
 

For a xp x64 version see also this page:

http://www.pcausa.com/Utilities/UsbSnoop/default.htm
-- 

m.vr.gr.
Gerard Klaver





[sane-devel] Requirements for backend

2007-08-17 Thread Gerard Klaver
On Thu, 2007-08-16 at 18:19 -0500, Miguel wrote:
 Hello,
 I've just finished a releasable backend for a kodak i1320, it works
 fine and fast... if you don't mind it only scans at 200dpi, duplex,
 and 8bit gray.
 Which are the needed steps for releasing the code to SANE?
 The scanner has a pair of weird things like 2 bulk-out (usb)
 endpoints, so it's done using libusb directly; also the threading
 (it does stuff using procesess, so why it's called thread?) model of
 sanei_thread is rachitical, so using pthreads.
 Some one of you said someday that the firmware may be copyrighted, and
 that is incompatible with SANE, so how do the firmware is distributed?
 Thanks
 
 -- 
 There are two kinds of light--the glow that illuminates, and the glare
 that obscures.
   - James Thurber
 Miguel Ruiz Velasco
 Open Key Server
 PGP key 0x5931109
 

For devices which have 2 bulk-out endpoints support by sanei_usb is not
provided as you noted.

See this page for a patch for sanei_usb_read_bulk_ep.
(sanei_usb.c and sanei_usb.h files), use only the sanei_usb_read_bulk_ep
parts.

In a few weeks i expect to add these parts to SANE cvs.

-- 

m.vr.gr.
Gerard Klaver





[sane-devel] Requirements for backend

2007-08-17 Thread Gerard Klaver
On Fri, 2007-08-17 at 19:03 +0200, Gerard Klaver wrote:
 On Thu, 2007-08-16 at 18:19 -0500, Miguel wrote:
  Hello,
  I've just finished a releasable backend for a kodak i1320, it works
  fine and fast... if you don't mind it only scans at 200dpi, duplex,
  and 8bit gray.
  Which are the needed steps for releasing the code to SANE?
  The scanner has a pair of weird things like 2 bulk-out (usb)
  endpoints, so it's done using libusb directly; also the threading
  (it does stuff using procesess, so why it's called thread?) model of
  sanei_thread is rachitical, so using pthreads.
  Some one of you said someday that the firmware may be copyrighted, and
  that is incompatible with SANE, so how do the firmware is distributed?
  Thanks
  
  -- 
  There are two kinds of light--the glow that illuminates, and the glare
  that obscures.
- James Thurber
  Miguel Ruiz Velasco
  Open Key Server
  PGP key 0x5931109
  
 
 For devices which have 2 bulk-out endpoints support by sanei_usb is not
 provided as you noted.
 
 See this page for a patch for sanei_usb_read_bulk_ep.
 (sanei_usb.c and sanei_usb.h files), use only the sanei_usb_read_bulk_ep
 parts.
 
 In a few weeks i expect to add these parts to SANE cvs.
 
 -- 
 
 m.vr.gr.
 Gerard Klaver
 
 
 
Now with link
http://gkall.hobby.nl/downloads.html
-- 

m.vr.gr.
Gerard Klaver





[sane-devel] Accessing a scanner for a different reason

2007-08-09 Thread Gerard Klaver
A sheetfeed scanner seems the best device to use (after removing parts).

Depending on your specifications, tests with a webcam can also deliver
enough information (remove the lines with data you don't need).
A modified xcam backend is maybe also usable.

On Thu, 2007-08-09 at 09:35 -0400, m. allan noah wrote:
 the problem here is not sane. infact, sane is not all that useful to
 you, as it is designed as an interface to setup a wide variety of
 parameters on 2-d scan, and aquire an image occasionally. you would be
 better off probably writing a stand-alone libusb program to aquire the
 data.
 
 your big problem is hardware. every manufacturer does something
 different in terms of the control language. cheaper units typically
 rely on the host computer for many functions, and feature a very low
 level command set (lamp on, move head 1 step, read 1 line, etc). more
 expensive machines have higer-level commands which rely on the cpu in
 the scanner (accept scan params, scan)
 
 you need to give more data about the size of read-head you need, the
 bit-depth, and your intended use, before anyone can suggest a
 particular model of scanner.
 
 allan
 
 On 8/9/07, Justin Rosen rosen at nanotoon.com wrote:
  Hello!
 
  I've recently stumbled upon the SANE libraries in an effort to gain
  access to a scanner.  What I would like to do, is be able to read
  from a scanner, but not to create an image, but instead to pull RGB
  data from a single line of scan.  Meaning I only need a scan size of
  1 pixel x width of scanner.  Also, I don't necessarily need the
  flatbed itself.  Is it possible with SANE to access a scanner that
  has been taken apart?  I essentially need the RGB values of the
  scanning head in realtime (I'm not sure what the terminology is for
  the portion of the scanner that actually gets color values).
 
  So imagine the scanner as a color sensor constantly pumping out an
  array of RGB colors, where the array size is the width of the scanner.
 
  I'm completely new to the SANE libraries, I've read the SANE Standard
  and compiled the SANE libraries and I'm stuck on the fact that I
  think the scanner I purchased is broken, so I'm at a halt for the
  moment, but thought I could get a little more insight on my issue.
 
  I thought my idea above could be possible using SANE for a few
  reasons.  If I were to write a front-end that used a scanner to scan
  an area of 1pixel x scanner width per frame, and to continually scan
  frames until I told it to stop, I could receive RGB data as fast as
  the scanner could scan (hopefully real-time).  If this can be done,
  great!  I need to really figure out how to write the front-end!  The
  only problem I see is that I'm hoping to take the scanner apart and
  use just the sensor to pull data from.  I noticed that some of the
  SANE calls may fail if the SANE_Status is SANE_STATUS_COVER_OPEN,
  which leaves me to believe I won't be able to take the scanner apart
  and just pull RGB data from the scanner head.
 
  If anyone can answer any or part of my questions or point me in the
  right direction it would be greatly appreciated.
 
  Thanks for your time.
 
  Cheers,
  Justin Rosen
 
  --
  sane-devel mailing list: sane-devel at lists.alioth.debian.org
  http://lists.alioth.debian.org/mailman/listinfo/sane-devel
  Unsubscribe: Send mail with subject unsubscribe your_password
   to sane-devel-request at lists.alioth.debian.org
 
 
 
 -- 
 The truth is an offense, but not a sin
 
-- 

m.vr.gr.
Gerard Klaver





[sane-devel] neatreceipts scanner

2007-08-03 Thread Gerard Klaver
On Thu, 2007-08-02 at 17:14 -0400, Understudy wrote:
 Hi All,
 
 I am running FreeBSD 6.2 Stable on a T41 (Thinkpad).
 I have a Neatreceipts scanner.
 http://www.amazon.com/NeatReceipts-Scanalizer-Professional-Combination-Organization/dp/B000BBCKOC
 
 I am not sure if anyone has used this in FreeBSD or if it even has a 
 driver. I did not see it listed in SANE. But I am not sure if there is 
 another brand name for it besides Neatreceipts.
 
 Here is what I see when I plug it in then unplug it.
 ugen0: vendor 0x07b3 600dpi USB Scanner, rev 1.10/5.01, addr 2
 ugen0: at uhub1 port 2 (addr 2) disconnected
 All threads purged from ugen0.2
 All threads purged from ugen0.1
 All threads purged from ugen0
 ugen0: detached
 
 My understanding was if the driver was recognized it would show as 
 /dev/uscanner0.
 
 Here are the results of a SANE run:
 Gargoyle# sane-find-scanner -q
 found USB scanner (vendor=0x07b3, product=0x0412 [600dpi USB Scanner], 
 chip=GT-6816) at libusb:/dev/usb1:/dev/ugen0
 Gargoyle# scanimage -L
 device `gt68xx:libusb:/dev/usb1:/dev/ugen0' is a Plustek OpticSlim M12 
 flatbed scanner
 
 So it looks like the the Neatreceipts may be the same as the Plustek. 
 But I am not sure if I am reading that correctly.
 
 What would a good next step be?
 
 Sincerely,
 Brendhan
 

Try the gt68xx backend, the usb vendor and product id are the same as
the Plustek OpticSlim M12.

For the firmware file check the cdrom delivered with your scanner.
See also the http://www.meier-geinitz.de/sane/gt68xx-backend/ page

good luck
-- 

m.vr.gr.
Gerard Klaver





[sane-devel] HP 4890 - Anybody working on it?

2007-08-02 Thread Gerard Klaver
On Thu, 2007-08-02 at 17:05 +0200, Nils Pickert wrote:
 Hi,
 
 I tried to find something on the status of a driver for the HP4890, the
 only thing I found was a mail from 2005 that somebody is working on
 it...
 
 Has there been any progress? Or should I throw it in the bin and get a
 decent scanner? Unfortunately I am not really good at programming, so I
 won't be a lot of help, except for testing stuff...
 
 cheers
 Nils
 -- 
 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

Check this link for information:

http://www.sane-project.org/cgi-bin/driver.pl?manu=hewmodel=4890bus=usbv=p=

(seems a GL843 chipset, genesys backend in futher maybe)

-- 

m.vr.gr.
Gerard Klaver





[sane-devel] SANE_FRAME_JPEG support

2007-07-10 Thread Gerard Klaver
lines deleted
On Tue, 2007-07-10 at 13:38 -0400, m. allan noah wrote:

 -- End Forwarded message --
 
 hopefully those Urls will come thru ok. The changes to the fujitsu
 backend to support hardware jpeg were more extensive than i would
 like, but the changes to sane.h and scanimage were actually quite
 small.
 
 basically, sane.h just got SANE_FRAME_JPEG added to an enum. scanimage
 had a fixed-size array of string names for each frametype, and was
 using that array in two places to print informational messages. if it
 got a frame type that was off the end of the array, bang!
 
 so, i just added JPEG to the end of the array. then, just to be sure
 this would not bite the next programmer, i added a little ternary test
 any time we look in that array. instead of walking off the end, we
 print Unknown.
 
 my observations: if a backend sends a 'standard' frame type like RGB,
 and then sends a jpeg (or other unknown) frame, a proper tiff or pnm
 header and data will be written, and the additional frame will be
 appended, corrupting the image.
 
 if a backend sends those in reverse order, there will be no tiff/pnm
 header, because scanimage only sends those on the first frame of a
 known type. the data will consist of all the frames in order received.
 
 I would like to get some opinions about more complex scanimage
 modifications before i move on to scanadf. namely, should scanimage
 ignore these new frame-types, instead of putting them in the output?
 in that case, it would require another format option besides the ones
 we have now (tif/pnm) perhaps 'raw'? i personally would find a raw
 option useful for debugging the standard frame types too...
 
 comments?
 
 allan
 
 -- 
 The truth is an offense, but not a sin
 

I agree, adding a raw mode is useful for debugging.
-- 

m.vr.gr.
Gerard Klaver





[sane-devel] Formulardaten

2007-07-05 Thread Gerard Klaver
On Thu, 2007-07-05 at 01:46 +0200, cgi-mailer at kundenserver.de wrote:
 
 ===
 == Neuer Eintrag
 ===
 
   
 ---
 -- Formular: 'adddev'
 ---
 
 1. Your email address:
'ppradier at videotron.ca'
 2. Manufacturer (e.g. Mustek):
'Microtek'
 3. Model name (e.g. ScanExpress 1200UB):
'ScanMaker S400'
 4. Bus type:
'USB'
 5. Vendor id (e.g. 0x001):
'05da'
 6. Product id (e.g. 0x0002):
'300b'
 7. Chipset (e.g. lm9831):
'SQ113-A3, (2nd line: 0428-1505), (3rd line: D189Q-010) or NYnix 438U'
 8. Comments (e.g. similar to Mustek 1234):
'If you provide me an FTP or Email address I could forward you close shots 
 of the scanner's board.
 
 The board as 2 main chips, I am not sure wich one is the chipset. The larger 
 one as bus connector on the 4 sides shows SQ113-A3 the smaller of the 2 as 
 bus connector on 2 sides only as the marking NYnyx 438U (2nd line: 
 HY57V161610ET-7).
 
 Hoping that this is helpfull.
 
 Thank you'
 9. Data (e.g. sane-find-scanner -v -v):
'cat /proc/bus/usb/devices :
 
 T:  Bus=05 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#= 11 Spd=480 MxCh= 0
 D:  Ver= 2.00 Cls=00(ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
 P:  Vendor=05da ProdID=300b Rev= 1.00
 S:  Manufacturer=Prolific Technology Inc.
 S:  Product=USB 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=(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
 '
 
 

did you check the mustek_usb2 backend? (SQ113 support)
For information see
(http://www.meier-geinitz.de/sane/mustek_usb2-backend/

Maybe with some patches your scanner is identified, for a working
scanner i expect more patches are needed and you should be carefull not
to damage your scanner.
-- 

m.vr.gr.
Gerard Klaver





[sane-devel] Additional frame types in Sane 1

2007-05-25 Thread Gerard Klaver
On Fri, 2007-05-25 at 13:31 -0400, m. allan noah wrote:
 Quite a few recent scanners have the ability to output jpeg data,
 including most fujitsus. I have been contracted to extend sane to
 support this capability. I can keep the modifications private, or i
 can try to get them included in sane proper (which i prefer).
 
 Therefore, I have reviewed the sane-devel mailing lists for the past
 several years, and tried to come up with a plan based on those
 discussions. Many of them center around Sane2, and proposals such a
 Mime or Textual frame-type determination. Given the speed at which
 Sane2 has moved, (most of these discussions are 5 years old!), and the
 relative complexity of those approaches, i am suggesting a more
 trivial alternative, specific new frame types.
 
 In all, i found mention of only 5 additional types of data sane does
 not handle well:
 
 JPEG, IR, ICC profile, EXIF data, and compressed TIF (G4 fax).
 
 Really, it seems like only the first three get repeated mentions in
 the archives. I dont know much about ICC, so my proposal is therefore
 quite simple. Rather than continue to wait for sane2, i am prepared to
 extend sane1 with 2 new choices: SANE_FRAME_JPEG and SANE_FRAME_RGBI.
 I would try to leave enough framework for others to add ICC and FAX
 support.
 
 yes, this will require that a front-end would have to be updated to
 understand this type of data. I can extend scanimage and scanadf
 (though i probably wont support all the possible conversions). it will
 also require (in the case of compression) that the front-end be able
 to deal with variable length data.
 
 comments, requests, flames? :)
 
 allan
 
 -- 
 The truth is an offense, but not a sin
 

Nice, SANE_FRAME_JPEG option is usefull for xcam, variable length data,
for some devices a larger buf size is enough (scanimage -B or xcam -B
option), i don't know how much effort it will be to extend xcam, but it
sounds interresting.

-- 

m.vr.gr.
Gerard Klaver





[sane-devel] Microtek ArtixScan DI 2020

2007-05-23 Thread Gerard Klaver
On Wed, 2007-05-23 at 13:05 -0400, scott lorberbaum wrote:
 Has anyone worked on or been working on a backend for this scanner???
 
   USB 2.0.
   ADF
   Flatbed Scanner
   etc...
 
 I've been looking into it and I know the web page says its unsupported.
 It is a fairly new Scanner.  I started to mess around with it myself but
 I'm not sure I can write the backend!!
 
 It seems to me that when I plug it in and look at the Vendor ID's, 2 of
 them goto Microtek, and 1 of them goes to genesys.. Does this mean there
 is a genesys chip inside of the scanner and they manufactured the device
 and Microtek is the Seller??
 
 Anyways, if anyone has done any work for the backend for this scanner
 let me know, or if you have any information that could help me produce a
 backend for this scanner a little quicker let me know. Thanks.
 Scott
 
 

Try sane-find-scanner -v -v for more information, and output lsusb -v -v

add information to 

http://www.meier-geinitz.de/tinc?key=rDoQ7lrjformname=adddev

so more information is added to the unsupported list
-- 

m.vr.gr.
Gerard Klaver





[sane-devel] contribution for unsupported HP scanjet 4600

2007-05-11 Thread Gerard Klaver
On Fri, 2007-05-11 at 11:51 +0400, Erik Martre wrote:
 As proposed on the web page about unsupported scanners, here is the 
 output of sane-find-scanner -v -v (see attachment) ; my scanner HP 
 scanjet 4600 is unsupported. I'm not able to write a backend myself yet, 
 maybe in a couple of years.
 
 best regards
 Erik
 
 plain text document attachment (sane_output_scanjet4600.txt)
 erik@erik-desktop:~$ sane-find-scanner -v -v
 This is sane-find-scanner from sane-backends 1.0.18
 
   
 
 device descriptor of 0x03f0/0x3005 at 003:002 (Hewlett-Packard. hp 
 scanjet)
 bLength   18
 bDescriptorType   1
 bcdUSB2.00
 bDeviceClass  0
 bDeviceSubClass   0
 bDeviceProtocol   0
 bMaxPacketSize0   64
 idVendor  0x03F0
 idProduct 0x3005
 bcdDevice 1.00
 iManufacturer 1 (Hewlett-Packard.)
 iProduct  2 (hp scanjet)
 iSerialNumber 3 (CN3BQB690993)
 bNumConfigurations1
  configuration 0
  bLength  9
  bDescriptorType  2
  wTotalLength 39
  bNumInterfaces   1
  bConfigurationValue  1
  iConfiguration   0 ()
  bmAttributes 192 (Self-powered)
  MaxPower 100 mA
   interface 0
altsetting 0
bLength9
bDescriptorType4
bInterfaceNumber   0
bAlternateSetting  0
bNumEndpoints  3
bInterfaceClass255
bInterfaceSubClass 255
bInterfaceProtocol 255
iInterface 0 ()
 endpoint 0
 bLength   7
 bDescriptorType   5
 bEndpointAddress  0x01 (out 0x01)
 bmAttributes  2 (bulk)
 wMaxPacketSize512
 bInterval 0 ms
 bRefresh  0
 bSynchAddress 0
 endpoint 1
 bLength   7
 bDescriptorType   5
 bEndpointAddress  0x82 (in 0x02)
 bmAttributes  2 (bulk)
 wMaxPacketSize512
 bInterval 0 ms
 bRefresh  0
 bSynchAddress 0
 endpoint 2
 bLength   7
 bDescriptorType   5
 bEndpointAddress  0x83 (in 0x03)
 bmAttributes  3 (interrupt)
 wMaxPacketSize1
 bInterval 3 ms
 bRefresh  0
 bSynchAddress 0
 
 trying to find out which USB chip is used
 checking for GT-6801 ...
 this is not a GT-6801 (bDeviceClass = 0)
 checking for GT-6816 ...
 this is not a GT-6816 (bcdUSB = 0x200)
 checking for GT-8911 ...
 this is not a GT-8911 (check 2, bcdUSB = 0x200)
 checking for MA-1017 ...
 this is not a MA-1017 (bDeviceClass = 0, bInterfaceClass = 255)
 checking for MA-1015 ...
 this is not a MA-1015 (bDeviceClass = 0)
 checking for MA-1509 ...
 this is not a MA-1509 (bDeviceClass = 0)
 checking for LM983[1,2,3] ...
 this is not a LM983x (bcdUSB = 0x200)
 checking for GL646 ...
 this is not a GL646 (bDeviceClass = 0, bInterfaceClass = 255)
 checking for GL646_HP ...
 this is not a GL646_HP (bDeviceClass = 0, bInterfaceClass = 255)
 checking for GL660+GL646 ...
 this is not a GL660+GL646 (bDeviceClass = 0, bInterfaceClass = 255)
 checking for GL841 ...
 this is not a GL841 (bDeviceClass = 0, bInterfaceClass = 255)
 checking for ICM532B ...
 this is not a ICM532B (check 1, bDeviceClass = 0, bInterfaceClass = 255)
 checking for PV8630/LM9830 ...
 this is not a PV8630/LM9830 (bcdUSB = 0x200)
 checking for M011 ...
 this is not a M011 (bDeviceClass = 0)
 checking for RTS8822L-01H ...
 this is not a RTS8822L-01H (bEndpointAddress = 0x1, bmAttributes = 0x2, 
 wMaxPacketSize = 0x200, bInterval = 0x0)
 checking for rts8858c ...
 this is not a rts8858c (bcdUSB = 0x200)
 checking for SQ113 ...
 This USB chip looks like a SQ113 (result from sane-backends 1.0.18)
 
 found USB scanner (vendor=0x03f0 [Hewlett-Packard.], product=0x3005 
 [hp scanjet], chip=SQ113) at libusb:003:002
 

 done
 erik@erik-desktop:~$ 
 
 
 -- 
 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

According to the output inside is a SQ113, check this page for a backend
which supports this chip.

http://www.meier-geinitz.de/sane/mustek_usb2-backend/

Don't know if adding usb vendor and product id to backend is enough do
to some tests, be carefull because your scanner could be damaged, if
other hardware inside your scanner is different.
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Scanners available for experiments

2007-05-08 Thread Gerard Klaver
On Tue, 2007-05-08 at 13:52 +0200, Jonas Smedegaard wrote:
 Hi,
 
 I have some scanners lying around, and reading
 http://www.meier-geinitz.de/sane/misc/mustek-scanners.html#UNSUPPORTED
 and the referenced mailinglist entry
 http://lists.alioth.debian.org/pipermail/sane-devel/2004-August/011685.html
 I realized that instead of simply throwing out these scanners they might
 be usable for obduction by some of you guys.
 
 I live in Roskilde, Denmark, and realize that scanners are probably too
 expensive to get safely transported too far. But I could help arrange a
 remote lab with SSH root access to a Debian machine with the scanners
 attached, and me available through IRC (or better: Ekiga) to assist in
 plugging and unplugging, and ripping apart if that's what is neede to
 get more knowledge about these beasts.
 
 
 Tell me if it is of any interest.
 
 
 Heidelberg Linoscan 1200 (SCSI)
 
 ScanMagic 1200 USB (vendor=0x055f, product=0x0003, chip=MA-1017?)
 
 
 
 Of course I'd love to make the scanners work, but I'd rather have you
 guys learn from killing them than preserving them and have no Linux
 drivers for them.
 
 
 I also have access to a Linotype-Hell Jade2 (SCSI) but until some decent
 alternative scanner setup is working my girlfriend won't let go of that
 one (working only with MacOS 9!), so either that'l have to wait or you
 need to somehow assure me that the tests done on that is not too risky.
 
 
 Tell me if it is of any interest!
 
 
  - Jonas
 
 -- 
 * Jonas Smedegaard - idealist og Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 
  - Enden er n?r: http://www.shibumi.org/eoti.htm
 

Check this page for your Scanmagic usb scanner, vendor and product id is
not mentioned, but mustek_usb backend supports the MA-1017 chip

http://www.meier-geinitz.de/sane/mustek_usb-backend/
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Scanning produces black images

2007-04-16 Thread Gerard Klaver
On Mon, 2007-04-16 at 07:50 +0200, Gerhard Jaeger wrote:
 On Sonntag, 15. April 2007, JKD wrote:
  El Sun, 15 de Apr de 2007, a las 09:58:08PM +0200, Magnus Rosenbaum dijo:
   I upgraded my Linux kernel from 2.6.18 to 2.6.19 and noticed a strange
   behaviour in xsane and also in kooka: The program acts als it would
   normally scan, but the scanner does not do anything and the result is a
   completely black image.
   
   However scanning with scanimage works allright!
   
   The behaviour is reproducible with kernel 2.6.19 and also 2.6.21-rc5. When
   I boot 2.6.18 scanning works as expected again.
   
   Does anyone have an idea, how I could further investigate this problem?
  
  Some days ago a user reported the same issue. For some unknown reason,
  with newer kernels some backends are experiencing problems, retrieving a
  black image from scanner. This is my experience about this issue with
  hp3900 backend:
 [SNIPSNAP]
 
  I don't really know what the real problem is. Perhaps backends must be
  compiled against current library or kernel versions. Once compiled,
  problem is fixed.
 
 This is also an issue with the Plustek backend, reported by various
 Ubuntu and Gentoo users. As already stated by PhobosK, the problem is
 the kernel option CONFIG_USB_SUSPEND. This in deed is needed for laptop
 users. It is currently marked as experimental but already used by various
 distros. 
 
 I think the problem really is, that libusb does not know anything about that
 suspend stuff and therefore we have more or less no possibility to wakeup
 the port, where the scanner is connected to.
 One thing that could be observed: In all cases, scanimage works fine - guess
 this is because it never closes the port until the scan process is done.
 
 Any ideas around?
 
 Gerhard
 
 
 
 
Update of libusb.h/.c and sanei_usb.h/.c?, not seen IIRC any email about
it on the libusb mailing list yet. 
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] scanimage ignores command line parameters #2

2007-01-16 Thread Gerard Klaver
On Tue, 2007-01-16 at 12:04 +0100, Einon wrote:
 Hi!
 
 I don't really know if my post got here or not, but if yes, then
 I'm sorry!
 
 I moved my scanner server to an another box, and a I run into a very
 strange problem.
 
 I always execute the same command:
 scanimage --mode lineart --resolution 150 -x 215 -y 297 -d
 hpoj:mlc:usb:hp_LaserJet_3015 --format=tiff
 
 most of the time the results are good, but sometimes the scanner starts
 scanning as if I set --resolution 300 , and after scanning I get the
 message:
 scanimage: WARNING: read more data than announced by backend
 (6678930/278727)
 
 It is totally random.
 
 
 Current Environment:
   Architecture: AMD64
   Debian GNU/Linux Etch
   scanimage: 1.0.18-3
   kernel: 2.6.18.2-smp-grsecurity2
 
 Old Environment:
   Architecture: i386
   Debian GNU/Linux Etch
   scanimage: 1.0.18-3
   kernel: 2.6.13.3-smp
 
 
 Any ideas?
   Einon
 
 

Maybe first try to update to hplip (hpaio) external backend (hpoj is
replaced by hpaio).

Second: if you have same problems with hpaio backend, maybe some 32/64
bit problems, try with export SANE_DEBUG_HPAIO=255 and then start
scanimage .. to see where it stops.
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] calibration / icm / it8 and colors problems

2007-01-15 Thread Gerard Klaver
On Mon, 2007-01-15 at 20:19 +0100, Philippe Dumont wrote:
  Did you try this sequence:
  convert filename.png -profile scanner.icc -profile monitor.icc new
  filename.png
  
 
  CNZ005.ICC is the wrong profile. CNS12I.ICC is for your scanner.
  But you need the same brightness, contrast, gamma, ... settings as the
  windows driver before applying the profile.
  You'll get better results if you create your own profile in Linux.
 
 
 Thanks for your answers ! With the good profile and with this command 
 line, the scanned picture is better but it is still far from being perfect.
 I think I will follow your advice and I will buy a IT8.7 scanner 
 calibration targets. I have found some on this website 
 http://www.targets.coloraid.de/
 Promise, I will post the result of my calibration:)
 
 Philippe
 
 
 
 
 
  m.vr.gr.
  Gerard Klaver
  
  On Sun, 2007-01-14 at 11:58 +0100, Philippe Dumont wrote:
  
  I am sorry but it does not work :(
  I seems to be the good solution according to the paper I have read.
  Is it a problem of icc profile, or a problem in sane ?
 
  Best regards
 
  Philippe
 
 
  OS : linux  2.6.16.19 SMP PREEMPT
  scanimage (sane-backends) 1.0.18; backend version 1.0.18
  scanner : canon lide 30
 
 
 
 
  Daniel Gl?ckner a ?crit :
  On Thu, Jan 11, 2007 at 11:50:49PM +0100, Philippe Dumont wrote:
  I have done :
  scanimage -i cnz005.icc --resolution 600  image.tiff
  or
  convert -profile cnz005.icc before.tiff after.tiff
  But nothing happened and the image was still the same.
  You need a viewer that knows how to deal with embedded ICC profiles.
 
  If want it to work in all viewers, you need to convert the image to your
  destination colorspace (you want sRGB):
 
  scanimage -i cnz005.icc --resolution 600  image.tiff
  AND
  convert -profile sRGB.icc image.tiff after.tiff
 
  http://www.color.org/ - Resources - Profiles
 
Daniel
 
 
 
 
 
 

One program to make profiles is the lprof package
http://lprof.sourceforge.net/

Also the lprof package is placed in some distributions (at least Debian)
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] calibration / icm / it8 and colors problems

2007-01-14 Thread Gerard Klaver

Did you try this sequence:
convert filename.png -profile scanner.icc -profile monitor.icc new
filename.png

m.vr.gr.
Gerard Klaver

On Sun, 2007-01-14 at 11:58 +0100, Philippe Dumont wrote:

 I am sorry but it does not work :(
 I seems to be the good solution according to the paper I have read.
 Is it a problem of icc profile, or a problem in sane ?
 
 Best regards
 
 Philippe
 
 
 OS : linux  2.6.16.19 SMP PREEMPT
 scanimage (sane-backends) 1.0.18; backend version 1.0.18
 scanner : canon lide 30
 
 
 
 
 Daniel Gl?ckner a ?crit :
  On Thu, Jan 11, 2007 at 11:50:49PM +0100, Philippe Dumont wrote:
  I have done :
  scanimage -i cnz005.icc --resolution 600  image.tiff
  or
  convert -profile cnz005.icc before.tiff after.tiff
  But nothing happened and the image was still the same.
  
  You need a viewer that knows how to deal with embedded ICC profiles.
  
  If want it to work in all viewers, you need to convert the image to your
  destination colorspace (you want sRGB):
  
  scanimage -i cnz005.icc --resolution 600  image.tiff
  AND
  convert -profile sRGB.icc image.tiff after.tiff
  
  http://www.color.org/ - Resources - Profiles
  
Daniel
  
 
 
 
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] [claudesut...@suttonmachine.com: lib/libjpeg.la]

2007-01-01 Thread Gerard Klaver
On Mon, 2007-01-01 at 12:14 -0500, Claude Sutton wrote:
 
 
 Sorry.
 
 I meant to advise that I am running Ubuntu Dapper.
 
 
 - Forwarded message from Claude Sutton claudesut...@suttonmachine.com 
 -
 
 From: Claude Sutton claudesut...@suttonmachine.com
 Date: Mon, 1 Jan 2007 12:12:30 -0500
 To: sane-devel@lists.alioth.debian.org
 Subject: lib/libjpeg.la
 
 I am attempting to install iscan for an Epson PHOTO 4490.
 
 When I run ./compile, I get the error message  /usr/lib/libjpeg.la: No such
 file or directory
 
 googling this problem found a post that libjpeg is in lib64, so I checked
 to see if I have lib64 and I do.
 
 So what to do?
 
 CSSJR
 -- 
 
Did you install the -dev packages (header files)?
-- 

m.vr.gr.
Gerard Klaver




[Fwd: Re: [sane-devel] Microtek 4800 scanner]

2006-12-28 Thread Gerard Klaver

-- next part --
An embedded message was scrubbed...
From: Gerard Klaver ger...@gkall.hobby.nl
Subject: Re: [sane-devel] Microtek 4800 scanner
Date: Sun, 24 Dec 2006 22:35:34 +0100
Size: 4272
Url: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20061224/8331f709/attachment.mht
From eduna...@gmail.com  Mon Dec 25 20:06:51 2006
From: eduna...@gmail.com (Edward Dunagin)
Date: Thu Dec 28 13:42:18 2006
Subject: [sane-devel] Epson CX6000
Message-ID: 2af451740612251106i6c2b9002p8ff8494b8f7d3...@mail.gmail.com

My scanner works fine with xsaned and saned.

Hope this is the kind of info you request.
-- 
Edward Dunagin-Dunigan-Dunnigan
4646 Glenwood Drive
Bozeman, MT 59718
mobile 406-570-0992
landline 406-556-7282
http://doas.montanalinux.org


[sane-devel] Microtek 4800 scanner

2006-12-24 Thread Gerard Klaver
On Sun, 2006-12-24 at 17:03 -0500, Dale Farmer wrote:
 On Sun, 2006-12-24 at 22:35 +0100, Gerard Klaver wrote:
  On Sun, 2006-12-24 at 15:23 -0500, Dale Farmer wrote:
   I have installed Mandiva 2007 and everything works except my Microtek
   scanner model 4800.
   
   The sane-backend is 1.0.18.
   
   When I run sane-find-scanner, it is detected.
   
   When I run scanimage -L in both the user and root levels no scanners
   were identified.
   
   When I run lsusb -vv it the scaner is detected as indicated below.
   
   Bus 001 Device 002: ID 05da:20a7 Microtek International, Inc.
   Device Descriptor:
 bLength18
 bDescriptorType 1
 bcdUSB   1.00
 bDeviceClass  255 Vendor Specific Class
 bDeviceSubClass 3
 bDeviceProtocol 0
 bMaxPacketSize0 8
 idVendor   0x05da Microtek International, Inc.
 idProduct  0x20a7
 bcdDevice0.00
 iManufacturer   0
 iProduct0
 iSerial 0
 bNumConfigurations  1
 Configuration Descriptor:
   bLength 9
   bDescriptorType 2
   wTotalLength   32
   bNumInterfaces  1
   bConfigurationValue 1
   iConfiguration  0
   bmAttributes 0x40
 (Missing must-be-set bit!)
 Self Powered
   MaxPower0mA
   Interface Descriptor:
 bLength 9
 bDescriptorType 4
 bInterfaceNumber0
 bAlternateSetting   0
 bNumEndpoints   2
 bInterfaceClass 0 (Defined at Interface level)
 bInterfaceSubClass  0
 bInterfaceProtocol  0
 iInterface  0
 Endpoint Descriptor:
   bLength 7
   bDescriptorType 5
   bEndpointAddress 0x81  EP 1 IN
   bmAttributes2
 Transfer TypeBulk
 Synch Type   None
 Usage Type   Data
   wMaxPacketSize 0x0040  1x 64 bytes
   bInterval   0
 Endpoint Descriptor:
   bLength 7
   bDescriptorType 5
   bEndpointAddress 0x02  EP 2 OUT
   bmAttributes2
 Transfer TypeBulk
 Synch Type   None
 Usage Type   Data
   wMaxPacketSize 0x0008  1x 8 bytes
   bInterval   0
   Device Status: 0x0001
 Self Powered
   
   Any help would be appreciated, if not I guess it's back to the evil
   empire :( 
   
   
   
   
  
  Seems the same vid and pid as the Microtek scanmaker 5600, no driver
  seems to exists, did sane-find-scanner -v -v show some more information?
  
  The sm3480 backend supports some Microtek scanmaker 4800 models but with
  vid 05da and pid 30cf
 
  It could not determine what type of usb chip it is using.
 
 
 device descriptor of 0x05da/0x20a7 at 001:002
 bLength   18
 bDescriptorType   1
 bcdUSB1.00
 bDeviceClass  255
 bDeviceSubClass   3
 bDeviceProtocol   0
 bMaxPacketSize0   8
 idVendor  0x05DA
 idProduct 0x20A7
 bcdDevice 0.00
 iManufacturer 0 ()
 iProduct  0 ()
 iSerialNumber 0 ()
 bNumConfigurations1
  configuration 0
  bLength  9
  bDescriptorType  2
  wTotalLength 32
  bNumInterfaces   1
  bConfigurationValue  1
  iConfiguration   0 ()
  bmAttributes 64 (Self-powered)
  MaxPower 0 mA
   interface 0
altsetting 0
bLength9
bDescriptorType4
bInterfaceNumber   0
bAlternateSetting  0
bNumEndpoints  2
bInterfaceClass0
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0 ()
 endpoint 0
 bLength   7
 bDescriptorType   5
 bEndpointAddress  0x81 (in 0x01)
 bmAttributes  2 (bulk)
 wMaxPacketSize64
 bInterval 0 ms
 bRefresh  0
 bSynchAddress 0
 endpoint 1
 bLength   7
 bDescriptorType   5
 bEndpointAddress  0x02 (out 0x02)
 bmAttributes  2 (bulk)
 wMaxPacketSize8
 bInterval 0 ms
 bRefresh  0
 bSynchAddress 0
 
 trying to find out which USB chip is used
 checking for GT-6801 ...
 this is not a GT-6801 (bcdUSB = 0x100)
 checking for GT-6816 ...
 this is not a GT-6816 (bDeviceClass = 255, bInterfac
 eClass = 0)
 checking for GT-8911 ...
 this is not a GT-8911 (check 1, bDeviceClass = 255,
 bInterfaceClass = 0)
 checking for MA-1017 ...
 this is not a MA-1017 (bDeviceClass = 255, bInterfac
 eClass = 0)
 checking for MA-1015 ...
 this is not a MA-1015

[sane-devel] anyone dealt with any chips from Jeilin Technologies?

2006-12-21 Thread Gerard Klaver
On Mon, 2006-12-18 at 22:58 -0600, kilg...@banach.math.auburn.edu wrote:
 Hi,
 
 Greetings from gphoto. We just got someone with an Argus DC-1512e write in 
 to us. The camera reports itself as 0x0979:0x0227 and from mfgr. Jeilin.
 
 I went to the website of Jeilin, and they also claim to make scanner 
 chips. Thus, just in case I end up getting involved in supporting this 
 camera, I thought I might check up whether the scanner chips are known, 
 whether any of them are using funny compression algorithms, that kind of 
 thing.
 
 Theodore Kilgore
 

Hello Theodore,

Not seen any report/message yet of a scanner with a Jeilin chip, if one
knows one, i like to add it to my list of scanner chips.

http://gkall.hobby.nl/scan-chips-back.html

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] SANE2 commitment

2006-12-17 Thread Gerard Klaver
On Sun, 2006-12-17 at 19:37 +0100, Frank Zago wrote:
 Alessandro Zummo wrote:
  On Sun, 17 Dec 2006 15:02:19 +0100
  Jochen Eisinger joc...@penguin-breeder.org wrote:
 

  Hi,
 
  Alessandro Zummo wrote:
  
   I'd appreciate if everyone who is interested can reply
   with their own commitments for the 2007.. ehm.. sane2 :)

  I'm quite surprised to hear there is a sane2 standard - at least one
  that we can easily start to implement.
 
  I don't think it's a good idea to start hacking something before it's
  clear we have a standard that will support us for the next few years.
  
 
   you're right. my idea is to rally up some developers
   and then define the standard. only then we should start
   hacking.
 
   however, defining the standard without the developers
   will not lead us to anything useful.
 
   some people has committed the time necessary to
   port to sane2 the first bunch of drivers.
 
   we are currently missing coders for
   - all of sanei/* (i'll take sanei_tcp)
   - the build system (configure, makefile et al) 
   - X11 frontends
 

 
 I believe the right approach is to fork the existing tree and start
 fixing and adding functionalities to it. That way you'll keep something
 that works all the time, saving many headaches.
 As or for the sane2 standard, it's only just a piece of paper right now.
 Coding should determine what will stay and what will go away, not the
 opposite (cathedral vs bazaar).
 
 Frank.
 
 

One other step is to check which bugreports can be solved before such a
fork.

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] SANE2 commitment

2006-12-15 Thread Gerard Klaver
On Fri, 2006-12-15 at 17:57 +0100, Alessandro Zummo wrote:
 
  Hello developers,
 
since there seems to be interest in developing sane2, I've decided
  to start this thread in order to collect the commitment of each developer.
 
  I'm willing to port the epson driver to sane2, help porting the
  coolscan driver and handle the command line frontend. 
 
  I think Giuseppe Sacco has showed interest to do coolscan
  bits. 
 
  A friend of mine, Stefano Merlo, has committed himself
  to the canon driver.
 
  I'd appreciate if everyone who is interested can reply
  with their own commitments for the 2007.. ehm.. sane2 :)
 
 -- 
 
  Best regards,
 
  Alessandro Zummo,
   Tower Technologies - Turin, Italy
 
   http://www.towertech.it
 
 For me the stv680 backend

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] sanei_usb_open() and multifuntion devices

2006-12-05 Thread Gerard Klaver
On Wed, 2006-09-13 at 13:29 +0200, Wittawat Yamwong wrote:
 Hello,
 
 I think that how sanei_usb_open() collects endponts is not correct. It loops 
 through all configurations, interfaces and alternate settings and takes the 
 first bulk in, bulk out and interrupt endpoint it found. This works only for 
 some special cases and it is likely to fail for multifunction devices, e.g. 
 Smartbase MP360 which has endpoints for the scanner function in the interface 
 #1. 
 
 I would propose that sanei_usb_open() accepts two additional parameters 
 specifying an interface number and an alternate setting. These parameters can 
 be omitted (e.g. set to -1). In this case the behaviour described above is 
 valid. If the parameters are given, sanei_usb_open() must use only the 
 endpoints belonging to the specified interface.
 
 There is also an issue with sanei_usb_set_configuration(), it simply doesn't 
 work this way because setting new configuration will succeed if and only if 
 there is no interfaces claimed by any driver. But the function takes the 
 device number returned by sanei_usb_open() as a parameter and, unfortunely, 
 sanei_usb_open() implicitly claims one interface. We have chicken and egg 
 problem here. Solution: sanei_usb_set_configuration() have to take the device 
 name instead of the device number as the first parameter.
 
 If I understand correctly, sanei_usb_claim_interface(), 
 sanei_usb_release_interface() and sanei_usb_set_altinterface() are useless 
 because sanei_usb_open() already claims an interface for you and 
 sanei_usb_close() will release it afterward. Why does one want to claim 
 another interface while he cannot use its endpoints through sanei_usb 
 functions?
 
 Regards
 -- 
 Wittawat Yamwong
 Hannover, Germany
 
I use them for my stv680 backend, one problem i had after some updates
(sane, libusb,kernel)  was that setting the configuration didn't work
anymore. Disable of the set_configuration solved it for me at that
moment. If setting the configuration is needed for other devices, i
don't know at the moment if some of the webcams i have need that.

The above lines from some earlier email this year.

I think a table generation with the selectable values for the
configuration, interface and altsetting and then choice which values are
needed will probaly solve some of the present problems when selecting a
device and perform a bulk read. 

Depending on the function of a (for example) webcam (image size etc)
selecting a different altsetting for reading (packet size) data should
be possible (or an option which will be implemented later)

Some usb devices have also for one altsetting 2 bulk read in endpoints
to make it more complex.

I don't know if somebody already made some code for these proposals and
did some testing or has some other comment but i think a update for
these 2 functions is an improvement (sanei_usb_open and
sanei_usb_set_configuration)


-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Re: Plustec OpticSlim 12M - calibration

2006-12-05 Thread Gerard Klaver
On Sat, 2006-12-02 at 19:10 +0100, Maciej Piechotka wrote:
 On Sat, 02 Dec 2006 16:11:34 +0100, Gerard Klaver wrote:
 
  On Sat, 2006-12-02 at 00:41 +0100, Maciej Piechotka wrote:
  On Fri, 01 Dec 2006 07:11:35 +0100, Gerhard Jaeger wrote:
  
   On Friday 01 December 2006 00:21, Maciej Piechotka wrote:
   I have probably not calibrated scanner (If I scan something it returns
   blue sheet). How can I do it?
   
   
   RTFM - SCNR ;)
   The status of this device says: Scans, but no calibration is performed 
   and 
   the area selection is limited.
   
   There's no way for you to do the calibration, as the backend itself is 
   not
   able to handle this - sorry
   
   Gerhard
   
  
  
  Sorry I asked in such way - is it possible to make it working (after give
  some values from hand)?
  
  If I understand you it's also[1] impossible by operating in such values as
  R/G/B Brightness and so on in xsane or any other front-end) - am I correct?
  
  Regards
  
  [1] As I said I thought I could give some values to make it working and
  it's just automatized process.
  
  -- 
  I've probably left my head... somewhere. Please wait untill I find it.
  Homepage (pl_PL): http://uzytkownik.jogger.pl/
  (GNU/)Linux User: #425935 (see http://counter.li.org/)
  
  
  If you see the frontend menu for this scanner (xscanimage or xsane) the
  only fields for some color correction are maybe the gamma value and/or
  selecting the red, green or blue (gray mode color).
  
 
 Ok. I'll try to use it.
 
  To get the calibration into the backend some usb sniff or usb log is
  needed using the calibration sheet and then writing program code for it.
  I don't know if somebody already made some usb sniff/log file?
  
 
 What's a name of open usb sniffer?
 Should I send a sniff from GNU/Linux or from Windows?
 
  I have placed on my page some info and a sample of the calibration card
  for this scanner see http://gkall.hobby.nl/gt6816-07b3-0412.html
  
 
 I've been there searching informations.
 I have the same calibration sheet.
 
 Regards
 -- 
USB sniff from windows, see
http://benoit.papillault.free.fr/usbsnoop/doc.php.en

-- 

m.vr.gr.
Gerard Klaver




[Fwd: Re: [sane-devel] Re: Plustec OpticSlim 12M - calibration]

2006-12-04 Thread Gerard Klaver
Just to inform about this usb sniff file (link from Maciej Piechotka),
should include calibration info for the Plustec OpticSlim 12M (gt68xx
backend)

-- 

m.vr.gr.
Gerard Klaver
-- next part --
An embedded message was scrubbed...
From: Maciej Piechotka uzytkown...@gmail.com
Subject: Re: [sane-devel] Re: Plustec OpticSlim 12M - calibration
Date: Sun, 3 Dec 2006 20:57:37 +0100
Size: 6455
Url: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20061203/fffd7e7e/attachment.mht
From keith.che...@wanadoo.fr  Mon Dec  4 12:51:37 2006
From: keith.che...@wanadoo.fr (Keith Cheong)
Date: Mon Dec  4 22:39:30 2006
Subject: [sane-devel] epson scanner 4180 Photo
Message-ID: 45740bc9.1090...@wanadoo.fr

Dear sirs,
hope you can help me! I'm new to Linux systems. So I'm very confused 
as to how to set up and use my Epson Perfection 4180 Photo scanner. I've 
tried downloading the driver from epson and have the 
iscan-2.4.0-0.c2.tar.gz file on my desktop and followed the instructions 
to install. But it falters after ./configure, so I can not 'make' or 
'make install'. I'm using Ubuntu-Linux 6.10.
If you can offer any assistance I would be extremely grateful.
Yours sincerely Keith Cheong.



[sane-devel] Re: Plustec OpticSlim 12M - calibration

2006-12-02 Thread Gerard Klaver
On Sat, 2006-12-02 at 00:41 +0100, Maciej Piechotka wrote:
 On Fri, 01 Dec 2006 07:11:35 +0100, Gerhard Jaeger wrote:
 
  On Friday 01 December 2006 00:21, Maciej Piechotka wrote:
  I have probably not calibrated scanner (If I scan something it returns
  blue sheet). How can I do it?
  
  
  RTFM - SCNR ;)
  The status of this device says: Scans, but no calibration is performed and 
  the area selection is limited.
  
  There's no way for you to do the calibration, as the backend itself is not
  able to handle this - sorry
  
  Gerhard
  
 
 
 Sorry I asked in such way - is it possible to make it working (after give
 some values from hand)?
 
 If I understand you it's also[1] impossible by operating in such values as
 R/G/B Brightness and so on in xsane or any other front-end) - am I correct?
 
 Regards
 
 [1] As I said I thought I could give some values to make it working and
 it's just automatized process.
 
 -- 
 I've probably left my head... somewhere. Please wait untill I find it.
 Homepage (pl_PL): http://uzytkownik.jogger.pl/
 (GNU/)Linux User: #425935 (see http://counter.li.org/)
 
 
If you see the frontend menu for this scanner (xscanimage or xsane) the
only fields for some color correction are maybe the gamma value and/or
selecting the red, green or blue (gray mode color).

To get the calibration into the backend some usb sniff or usb log is
needed using the calibration sheet and then writing program code for it.
I don't know if somebody already made some usb sniff/log file?

I have placed on my page some info and a sample of the calibration card
for this scanner see http://gkall.hobby.nl/gt6816-07b3-0412.html

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Still problems with Epson Perfection 3490 Photo

2006-11-19 Thread Gerard Klaver
On Sun, 2006-11-19 at 07:25 +0100, Jurgen Defurne wrote:
 On Thu, Nov 16, 2006 at 08:19:19AM +0900, Olaf Meeuwissen wrote:
  jurgen.defu...@pandora.be (Jurgen Defurne) writes:
  
   I followed the instructions I found here 
   (http://ubuntuforums.org/showthread.php?t=108256), which gave a little 
   bit more information about setting up udev.
  
   I got some better activity and feedback, from this command :
  
   SANE_DEBUG_SNAPSCAN=255 scanimage -L
  
   However, it hangs at sane_snapscan_get_devices, with the following
   output from the process :
  
   [snapscan] atomic_usb_cmd(0,0xbfea70ce,6,0x0,0x0 (0))
   [snapscan] usb_cmd(0,0xbfea70ce,6,0x0,0x0 (0))
   [snapscan] usb_cmd: cmdlen=6, datalen=0
   [snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
   [snapscan] Written 6 bytes
   [snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
   [snapscan] Read 8 bytes
   [snapscan] 2nd read 4 write 2
   [snapscan] snapscani_init_device_structure()
   [snapscan] sane_snapscan_get_devices (0xbfea8298, 0)
  
   and after some time the process starts to take up 100% CPU.
  
   What I want to know is if the snapscan backend on its own is enough to
   drive the scanner, or do I always need the iscan shared libraries from
   the Avasys website, and if yes, what is the best place to install them ?
  
  You need a firmware file (esfw52.bin).
  
  As for the iscan shared libraries (I assume you're talking about
  iscan-plugin-gt-f520-1.0.0-1.c2.i386.rpm) are only used by the epkowa
  backend.  The snapscan backend does not use them.  The epkowa backend
  is available in the iscan package/source.
  
  Hope this helps,
  -- 
  Olaf Meeuwissen  EPSON AVASYS Corporation, SE1
  FSF Associate Member #1962   sign up at http://member.fsf.org/
  GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97  976A 16C7 F27D 6BE3 7D90
  Penguin's lib!   -- I hack, therefore I am --   LPIC-2
 
 I already got the firmware, I added it to the snapscan.conf file. I
 suppose this is what makes the scanner tick, ie. the software which
 controls the device on-board.
 
 When using this command :
 
  SANE_DEBUG_SNAPSCAN=255 SANE_DEBUG_SANEI_USB=255 scanimage -L
 
 I see that the system does not hang on the scanner detection, but on
 the USB detection.
 
 Here are the last 20 lines of the output.
 
 [sanei_debug] Setting debug level of sanei_usb to 255.
 [sanei_usb] sanei_usb_init: Looking for kernel scanner devices
 [sanei_usb] sanei_usb_init: can't stat /dev/usb/: No such file or
 directory
 [sanei_usb] sanei_usb_init: Looking for libusb devices
 usb_os_init: Found USB VFS at /dev/bus/usb
 usb_set_debug: Setting debugging level to 255 (on)
 [sanei_usb] sanei_usb_init: found libusb device (0x04b8/0x0122)
 interface 0  at libusb:004:002
 [sanei_usb] sanei_usb_init: device 0x/0x looks like a root hub
 [sanei_usb] sanei_usb_init: device 0x/0x looks like a root hub
 [sanei_usb] sanei_usb_init: device 0x/0x looks like a root hub
 [sanei_usb] sanei_usb_init: device 0x/0x looks like a root hub
 [sanei_usb] sanei_usb_init: found 1 devices
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x2205
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x2005
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x2005
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0705
 [sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0805
 
 I have tried using gdb to attach to the process, which works, but
 since there is no symbolic information, I am unable to get any output
 which may help.
 
 I suppose, since it hangs at the last line, that I have a problem with
 a product from vendor 0x3f0, product 0x0805. Is there somewhere an
 index where I can lookup these codes ?
 
 Regards,
 
 Jurgen
 
One way is using the Sane search page

http://www.sane-project.org/cgi-bin/driver.pl?manu=model=bus=anyv=03f0p=0805

Last line from the   hp_rts88xx   backend.

In /etc/sane.d/dll.conf you can disable the not used backends by placing
a # before each backendname, maybe that will help.
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] [Announce] JSane

2006-11-19 Thread Gerard Klaver
On Sat, 2006-11-18 at 23:42 +, Andi McLean wrote:
 In case any body is interested, I've just released version 0.8 of JSane.
 It is now under the LGPL, It contains a few improvements suggested by users, 
 also experimental GUI code for reading and setting options and performing a 
 scan.
 
 I've also (finally) updated the website. There is now a couple of tutorials 
 on 
 using JSane, with another one on using the GUI dialogs coming soon.
 
 Many thanks
 
 Andi

A url to your website and sourceforge site?
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Out of Memory error when scanning at high DPI

2006-11-16 Thread Gerard Klaver
On Thu, 2006-11-16 at 09:13 -0500, Mark Richards wrote:
 Hi,
 I have an Epson Perfection Photo 4990 (GT-X800) scanner connected by
 USB to my PC (Athlon 64 3200 1GB ram 5GB swap, FC5).
 
 scanimage --version : scanimage (sane-backends) 1.0.18 ; backend
 version 1.0.18
 
 Scanimage -L : device `epson:libusb:002:009' is a Epson GT-X800
 flatbed scanner
 
 I can scan fine at 1200dpi (16-bit colour) or 2400 (8-bit colour) but
 when I try to scan at anything higher I get an Out of Memory error.
 It is my understanding that scanning at 4800dpi should be possible
 with this scanner.  Any suggestions? 
 
 Thanks,
 
 Mark
 
With export SANE_DEBUG_EPSON=255
and then start scanimage, check the logs for some info,

For a A4 300dpi (24 bits, 8 bits per color) scan you get about 25Mbyte
of data, for 600dpi about 100Mbyte, for 1200dpi about 400 Mbyte, for
2400dpi about 1600Mbyte.

-- 

m.vr.gr.
Gerard Klaver



[sane-devel] Sane and TIFF

2006-11-15 Thread Gerard Klaver
On Wed, 2006-11-15 at 10:56 +0100, Claudio wrote:
 Hello, I'm writing a client in the C language which uses the libsane
 library. The basic idea, at the stage i'm in, is to write code to copy
 scanimage's behavior. It's supposed to get the scanned data and write it
 to stdout in tiff format.
 I'm having some troubles with the tiff header: i'm using stiff.c I found
 in the backends' package  to write the header of the file. The problem
 I'm having is that the tiff file is practically malformed (test opening
 it with the gimp). So i hijacked the stiff library and put a fprintf and
 exit right after the header is created. Here's what i get for the same
 page from the original scanimage and my code:
 
  scanimage 
 
 width 5056 height 9000 depth 8 resolution 600
 
  my code 
 
 width 5399 height 9000 depth 8 resolution 600
 
 doing a binary diff on the two headers i realize that (of course) they
 are different (same size though). I cannot really understand the problem
 as the stiff code is untouched and my code is practically equivalent to
 test.c
 
 My question is: why does my code get a different width than scanimage as
 we are both using data from sane_get_parameters()? I guess the problem
 will be solved in the moment i find an answer to this question.
 
 I'll send my code to those who request it (less than 200 lines).
 
 I'm using an HP LaserJet 3055 with hplip 1.6.9 on ubuntu edgy, sane
 1.0.14.
 
 TIA
 
 Claudio Martella
 
 P.S.= for the moderator: I've sent a copy of this email with another
 address and should be waiting in your queue for acceptance. Please, drop
 it.
 
 

Maybe is bugreport the reason? [#303752] Maybe faulty icc-profile-file
length detection








-- 

m.vr.gr.
Gerard Klaver



[sane-devel] unsupported device info correction

2006-10-02 Thread Gerard Klaver
On Sat, 2006-09-30 at 15:29 +0400, Serge Major wrote:
 Device information: Umax AstraSlim 1200 USB scanner. Power supplied from USB 
 bus only.
 Chips labels on the PCB is:
 
 1. A3966SLB M148313 BPA
 2. CSI 24WC16P 0013D (8-pin chip)
 3. GRANDTECH GT-6816 F60685.1 0041 (that`s it)
 
 O
lines deleted
 
 That`s all. Pls, contact via e-mail if i can help with something more like 
 this.
 

Did you check if the gt68xx backend has any support?

http://www.meier-geinitz.de/sane/gt68xx-backend/

The GT-6816 chip is supported by the gt68xx backend
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] new to the list

2006-09-22 Thread Gerard Klaver
On Thu, 2006-09-21 at 16:37 -0400, James Newlin wrote:
 Hello all,
 
 I'm looking into creating a backend/driver for a EDT BizCardReader 900C USB 
 2.0 card scanner.  It is using a SQ113C USB chip.  The vendor ID is 0xA53 
 and device ID is 0x5001.   Any pointers or help would be greatly 
 appreciated.  I do not know how much time I can devote to the creation of 
 the new driver, but I am willing to try.  How would I know if it needs to be 
 a low-level driver or not?
 
 Thanks,
 
 James 
 

See this page,
http://www.meier-geinitz.de/sane/mustek_usb2-backend/

this backend uses the same chip accoording to this page, the page is a
bit old, the backend is already included in sane 1.0.18.


-- 

m.vr.gr.
Gerard Klaver



[sane-devel] new to the list

2006-09-22 Thread Gerard Klaver
On Fri, 2006-09-22 at 13:46 -0400, James Newlin wrote:
 I seem to be missing the mustek_usb2.conf file.   Downloaded 
 sane-backend-1.0.18 and installed.  No mustek_usb2.conf, downloaded the 
 latest mustek_usb2 file from the web site below and installed.  No 
 mustek_usb2.conf file. If I understand correctly from sane-usb(5) man 
 page, I might be able to add usb 0x0a53 0x5001 in the .conf file and the 
 backend might work?
 
 Thanks,
 
 James
 
 - Original Message - 
 From: Gerard Klaver ger...@gkall.hobby.nl
 To: James Newlin jnew...@medmate.com
 Cc: sane-devel@lists.alioth.debian.org
 Sent: Friday, September 22, 2006 11:38 AM
 Subject: Re: [sane-devel] new to the list
 
 
  On Thu, 2006-09-21 at 16:37 -0400, James Newlin wrote:
  Hello all,
 
  I'm looking into creating a backend/driver for a EDT BizCardReader 900C 
  USB
  2.0 card scanner.  It is using a SQ113C USB chip.  The vendor ID is 0xA53
  and device ID is 0x5001.   Any pointers or help would be greatly
  appreciated.  I do not know how much time I can devote to the creation of
  the new driver, but I am willing to try.  How would I know if it needs to 
  be
  a low-level driver or not?
 
  Thanks,
 
  James
 
 
  See this page,
  http://www.meier-geinitz.de/sane/mustek_usb2-backend/
 
  this backend uses the same chip accoording to this page, the page is a
  bit old, the backend is already included in sane 1.0.18.
 
 
  -- 
  
  m.vr.gr.
  Gerard Klaver 
 

man sane_mustek_usb2 no information about mustek_usb2.conf.in file.

It seems you have to patch the mustek_usb2 backend file to add your
vendor and product id, but be carefull with testing because i think your
scanner has a different setup (cardreader), usb sniff files should give
you an idea about some of the parameters. Contact also the maintainer of
the backend (with info on sane-find-scanner -v -v)
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] interface sane-backens to bioapi

2006-09-09 Thread Gerard Klaver
Hello,

The question is of anybody ever has looked to the possibility to
interface a SANE Backend with the BIOAPI see
http://www.qrivy.net/~michael/blua/ for some information about BIOAPI.

Currently i am working on a authentec fingerprint scanner backend.
See http://gkall.hobby.nl/authentec.html for the AES2501, no working
backend yet, but some scanning is possible with  drivers mentioned below
the Drivers links.

First step is to get some image reading with xcam -B after that to see
if a interface to for example BIOAPI is possible.

With regards,
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] Astra 2100U color problems

2006-08-25 Thread Gerard Klaver
On Fri, 2006-08-25 at 15:23 +0400, v...@icebrains-soft.com wrote:
 Hello!
 
 Do I have any chance to use Astra 2100U with sane?
 
 I've read in the remarks to the driver configuration: expect
 problems with color.  But these problems make it impossible to use
 Astra 2100U under unix.  
 
 Could somebody help me?  What should I do?  May be the best
 destination for this device is /dev/trash, am I right?
 
 Thanks  Good bye!
 -- 
 Sincerely yours, Vitaly Repin
 

Have you tested your scanner already, the Sane Search enigine gives
good
http://www.sane-project.org/cgi-bin/driver.pl?manu=umaxmodel=bus=usbv=p=
http://www.sane-project.org/lists/sane-backends-cvs.html#S-UMAX1220U


-- 

m.vr.gr.
Gerard Klaver



[sane-devel] Image Compression doesn't support in SANE protocal

2006-08-23 Thread Gerard Klaver
On Tue, 2006-08-22 at 13:35 -0400, m. allan noah wrote:
 On Tue, 22 Aug 2006, Ren? Rebe wrote:
 
 
  On Aug 22, 2006, at 2:51 PM, m. allan noah wrote:
 
  now that many low-end scanners support jpeg natively (some ONLY do jpeg!) 
  i 
  expect we will see more need for this.
 
  Oh!
 
  as a short term fix, rather than adding a new sane_frame type, the backend 
  can extract the compressed data, convert to raw bitmap. then frontend can 
  convert to any compressed format it wants. this is not as efficient as 
  keeping the compressed version the entire way through, but it works now.
  
  dell networked scanner backend works this way.
 
  Well that stinks as you lose a lot of detail with the lossy jpeg 
  decompression.
 
 even worse, if you are running the thing over the net backend, you convert 
 to huge bitmap just before you transfer it over the network!
 
 
  Maybe let's add the JPEG frame type rather soon (even in SANE 1) and let's 
  add an IR (infra red) frame specification on the way as good film scanner 
  deliver for dust and the-like removal.
 
 agreed. though i would think we would need to make a well-known option 
 like 'compression' or 'format' that such backends would have to implement, 
 with the default being 'bitmap'. these backends would then 'unjpeg' the 
 files before passing to frontend, and existing frontends will continue to 
 work. then the user must manually set the option to something other than 
 'bitmap', if he knows his frontend supports this.
 
 SANE2 could require that the frontend support jpeg, and that could become 
 the default for the 'format' option.
 
 allan
 
 
  Yours,
 
 
Also for webcam devices the jpeg option is a welcome feature, devices
like pac207 and sq930c/b support jpeg (and many other webcam usb
bridges).
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] Backend for MS fingerprint scanners

2006-08-14 Thread Gerard Klaver
On Sun, 2006-08-13 at 20:13 -0300, Gustavo Torres wrote:
 Hello Gerard,
 Thank you for your reply.
 Can I please use your code for my project?
 I'd be a great start.
 Regards,
 
 Gustavo.
 Em Dom, 2006-08-13 ?s 22:26 +0200, Gerard Klaver escreveu:
  On Wed, 2006-08-09 at 19:37 -0300, Gustavo Torres wrote:
   Hello,
   I'm looking for a Microsoft fingerprint scanner (aka DigitalPersona
   UareU 4000B) backend, but I couldn't find it.
   If someone is aware of any effort to implement it, please let me know.
   I'm considering developing one.
   Regards,
   
   -- 
  For information, not for your type, but for the Authentec AES2501 i am
  developing a authentec fingerprint scanner backend.
  
  See: http://gkall.hobby.nl/authentec.html
  
  No working backend yet, still some init problems.

Go ahead, placed a update today on my homepage,
main change, removed the sane exception license lines.
(reason using some other part of GPL2 licensed programs (add_text for
example) 
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] stv680 backend and v4l/v4l2 interface

2006-08-14 Thread Gerard Klaver
Hello,

For my stv680 backend released with SANE 1.0.18 at this moment i can use
2 frontends (xcam (image to screen) and scanimage (image to file)).
See also http://gkall.hobby.nl/stv680-aiptek.html


At the moment i am searching for a way to get an interface to the
v4l/v4l2 frontends like camorama, amsn, gnomemeeting.

For example Harmen van der Wal see http://www.harmwal.nl/pccam880/ made
a v4l interface for his userspace program (pc cam 880).


Question is if anybody know a way to do it? for a SANE backend or SANE
frontend?
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] Samsung SCX-4200 MFP and sane

2006-08-14 Thread Gerard Klaver
On Mon, 2006-08-14 at 23:00 +0200, Torben Bertram wrote:
 Hi! I searched the database, but nothing helped me.
 So I will ask you for help. 
 
 http://oa.samsung.de/article.asp?artid=3C6280D5-8701-434A-A664-A28CB5131A74show=feats
 
 My new Samsung SCX-4200 MFP works well, only the
 scanning function isn't working. The included
 driver (tested by Samsung on SuSE) makes the
 printer running for my KUBUNTU 6.06, the driver is
 in /etc/sane.d/samsung_scx4200.dll.conf included. 
 
 lsusb says:
 
 Bus 003 Device 003: ID 04e8:341b Samsung
 Electronics Co., Ltd
 
 
 sane-find-scanner says:
 found USB scanner (vendor=0x04e8, product=0x341b)
 at libusb:003:003   and
 found USB scanner (vendor=0x057c, product=0x5601)
 at libusb:003:002
 
 The last one is my WLAN device from AVM, Fritz USB
 Stick, not really a scanner.
 
 Kooka crashes everytime sending the signal 11.
 Xsane can't find a scanner. Samsung MPF driver
 program can't find a scanner either. I use the SANE
 version 1.0.14-1 and a Linux 2.6.15-26-386. 
 
 Maybe it is only a small thing I miss. But
 what? This time any searches in forums doesn't
 helped. Thankfully looking for your advice -
  Torben from Germany.
 
 Torben Bertram
 Carl-Severing-Str. 3
 D-28329 Bremen
 Telefon +49(0)421 2443047
 
Check with ls -l /proc/bus/usb/003/003 the permissions (for hotplug
setup)
Check with ls -l /dev/bus/usb/003/003 the permissions (for udev setup)
See also www.sane-project.org/LINUX.readme file

If permissions not ok, check if your scanner is added to the
libsane.rules file.
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] Backend for MS fingerprint scanners

2006-08-13 Thread Gerard Klaver
On Wed, 2006-08-09 at 19:37 -0300, Gustavo Torres wrote:
 Hello,
 I'm looking for a Microsoft fingerprint scanner (aka DigitalPersona
 UareU 4000B) backend, but I couldn't find it.
 If someone is aware of any effort to implement it, please let me know.
 I'm considering developing one.
 Regards,
 
 -- 
For information, not for your type, but for the Authentec AES2501 i am
developing a authentec fingerprint scanner backend.

See: http://gkall.hobby.nl/authentec.html

No working backend yet, still some init problems.
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] Compile problem ,please help!

2006-08-03 Thread Gerard Klaver
On Thu, 2006-08-03 at 17:40 +0800, zf wrote:
 What's kfh.desc file ? What information I must write in it?
 
 - Original Message - 
 From: Gerard Klaver ger...@gkall.hobby.nl
 To: zf zhang_...@hk.fujitsu.com
 Cc: OrgSane-Devel@Lists. Alioth. Debian. 
 sane-devel@lists.alioth.debian.org
 Sent: Thursday, August 03, 2006 1:23 AM
 Subject: Re: [sane-devel] Compile problem ,please help!
 
 
  On Wed, 2006-08-02 at 18:26 +0800, zf wrote:
  Hi , all.
  I am a new programmer in linux. I wrote one sane-backend named
  khf.c . When I finished this code, I use gcc compiled
  sane-backends/frontend/test.c and khf.c into one executable file.Then
  I run it , and it works~ my code can control the scanner. After that ,
  I compile khf.c into one shared object named libsane-khf.so.1 and do
  this by using this command: gcc -shared -fpic khf.c -o
  libsane-khf.so.1
  After that I do two things:
1. copy libsane-khf.so.1 into /usr/lib/sane
2. Add one line in /etc/sane.d/dll.conf : khf
   
  However ,when I run xsane,it can't find any scanner. And I found
  my so isn't been called, since the sane_init is not called when xsane
  starts. This problem troubled me for a long time. Please help me!
  -- 
  s
  
  Did you add also a khf.desc file (needed for your udev or hotplug
  setup)?
  -- 
  
  m.vr.gr.
  Gerard Klaver
  
 

See the doc directory for descriptions.txt and
see the doc/descriptions directory for examples.
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] Compile problem ,please help!

2006-08-02 Thread Gerard Klaver
On Wed, 2006-08-02 at 18:26 +0800, zf wrote:
 Hi , all.
 I am a new programmer in linux. I wrote one sane-backend named
 khf.c . When I finished this code, I use gcc compiled
 sane-backends/frontend/test.c and khf.c into one executable file.Then
 I run it , and it works~ my code can control the scanner. After that ,
 I compile khf.c into one shared object named libsane-khf.so.1 and do
 this by using this command: gcc -shared -fpic khf.c -o
 libsane-khf.so.1
 After that I do two things:
   1. copy libsane-khf.so.1 into /usr/lib/sane
   2. Add one line in /etc/sane.d/dll.conf : khf
  
 However ,when I run xsane,it can't find any scanner. And I found
 my so isn't been called, since the sane_init is not called when xsane
 starts. This problem troubled me for a long time. Please help me!
 -- 
 s

Did you add also a khf.desc file (needed for your udev or hotplug
setup)?
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] sanei_usb_read_bulk: problem in handling of NAK

2006-05-26 Thread Gerard Klaver
On Fri, 2006-05-26 at 22:52 +0300, Lauri Pirttiaho wrote:
 Hello,
 
 I have encountered a problem with bulk read that might
 benefit from some change in sanei_usb. This problem
 becomes visible in a fast machine like AMD64 and seems
 to have been seen in Avision backend and now in cs3200f.
 
 When using libusb method in sanei_usb the behavior of
 sanei_usb_read bulk seems to be that in responese to
 NAK (errno -ETIMEDOUT, strerror saying Resource
 temporarily unavailable, which means the device 
 can not temporarily provide more data) 
 the sanei_usb_read_bulk calls usb_clear_halt
 and then returns SANEI_STATUS_IO_ERROR.
 
 Now because of the usb_clear_halt there is no longer access
 to the errno so this particular reason for the IO error
 can not be distinguished from others after sanei_usb_read
 bulk returns.
 
 The solution in Avision backend seems to be that the
 errors from sanei_usb_read bulk are completely ignored and
 the function is called repeatedly until all data has been
 read. A temporary solution but maybe not the best one.
 
 I would propose changing the behavior of sanei_usb_read bulk
 so that in the case of NAK (resource temporarily unavailable)
 the size is returned as 0 and the return value is set
 either to SANE_STATUS_GOOD (read OK, just no data
 at this moment) or SANE_STATUS_BUSY (device can not
 respond right now). Both will work even though probably
 the latter one is more in line with the meaning of USB NAK
 in this case.
 
 With best regards,
 
 Lauri Pirttiaho
 Oulu
 Finland
 
It seems i get for my sq930x SANE webcam backend (under development)
the same errors. But when i do a init and read images with the MS driver
and then a reboot (Linux) and start my sq930x backend i don't get that
sort of errors but can do bulk reads with no problems.
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] sequence usb commands send, receive

2006-05-07 Thread Gerard Klaver
On Sun, 2006-05-07 at 20:10 +0200, Henning Meier-Geinitz wrote:
 Hi,
 
 On 2006-04-29 13:55, gerard klaver wrote:
  I have a question about usb commands.
  I have for example the following sequence:
  
  send urb 5, send urb 6, send/receive urb7, send/receive urb8, receive
  urb 5, receive urb6
  
  At this moment i don't know how te handle this.
  send urb 5, 6 no problem, send/receive urb 7, 8 no problem, but how to
  handle to receive urb 5 and 6?.
 
 As far as I know, at least the stable libusb doesn't provide support
 for async io. Even if it did, I'm not sure if it would work with
 Out-of-order URBs. IIRC, this didn't work with SCSI either?
 
 Does your USB device really depend on this order?
 
 Bye,
   Henning
 
My authentec AES2501 fingerprint sensor usb sniff file shows that
sequence. 
One reaction i got, was that maybe the usb sniff output sequence is not
always correct, but just using urb 5, 6, 7, 8 didn't work either.
So i have to figure out, how to solve this.

-- 

m.vr.gr.
Gerard Klaver



[sane-devel] adding stv680 backend to cvs

2006-04-26 Thread gerard klaver
Hi,

I have stil some memory leakage errors (with valgrind xcam -B) when
using my stv680 backend. But i think its ready for adding to SANE CVS so
it can get a bigger audience and more testers.

Homepage http://gkall.hobby.nl/stv680-aiptek.html

I have placed the files and a logfile on
http://gkall.hobby.nl/downloads.html

Files: stv680.c, stv680.h stv680.conf.in, stv680.desc, sane-stv680.man
log-valgrind-stv680.txt

The used font_6x11.h file is the same as used in sane-frontends/scr

Before adding to cvs i like to know if there are comments/remarks.

With regards,
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] USB scanner slow, hopping back and forward

2005-12-09 Thread gerard klaver
On Fri, 2005-12-09 at 14:29 +0100, s...@rsenden.speedlinq.nl wrote:
 Hello,
 
 I've got sane installed on a LinkSys NSLU2 embedded linux device running the 
 OpenSlug Linux distribution (see http://www.nslu2-linux.org) for use with my 
 Trust Direct WebScan 19200 scanner.
 
 The scanner basically works, but scanning is slow due to the scanner hopping 
 backwards quite often. E.g. basically it scans one centimeter, and then hops 
 back half a centimeter. This happens when scanning A4-width at 300dpi. The 
 higher the resolution, the smaller the steps get. 
 
 I guess every now and then some data gets lost so the scanner has to rescan a 
 line. When doing an 'export SANE_DEBUG_GT68XX=5', I see the following for 
 about every 13th line (at 300dpi A4 width):
 
 [gt68xx] sane_read: getting line 190 of 3531
 [gt68xx] sane_read: getting line 191 of 3531
 [gt68xx] sane_read: exit (line 192 of 3531, byte_count 1987 of 2563, 32768 
 bytes, 491520 total)
 [gt68xx] sane_read: start (line 192 of 3531, byte_count 1987 of 2563)
 [gt68xx] sane_read: getting line 192 of 3531
 
 Does anybody know a solutions for this? Using the scanner on a regular PC 
 running Windows, scans are smooth. Scanning is also smooth on the nslu2 when 
 scanning at low resolutions (preview) or scanning only a small width. Could 
 it be that the NSLU2 is too slow for handling the amount of data? I've also 
 read something about different ohci-drivers, but I'm not sure whether that is 
 applicable to my situation, and how to find/build/use another version.
 
 Some system information: 
 Linux version 2.6.12.2 (opens...@openslug.org) (gcc version 3.4.4) #1 Tue Sep 
 27 20:21:18 CDT 2005
 scanimage (sane-backends) 1.0.15; backend version 1.0.15 (also tried 1.0.16 
 with latest gt68xx backend)
 Scanner is currently connected through an USB hub, but also tried without it 
 with same results.
 
 From /proc/cpuinfo:
 Processor: XScale-IXP42x Family rev 1 (v5b)
 BogoMIPS: 131.48
 
 From /proc/meminfo:
 MemTotal: 30660 kB
 MemFree: 6304 kB
 
 From /proc/bus/usb/devices: 
 T:  Bus=01 Lev=02 Prnt=03 Port=02 Cnt=02 Dev#=  5 Spd=12  MxCh= 0
 D:  Ver= 1.10 Cls=00(ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
 P:  Vendor=055f ProdID=021c Rev= 1.00
 S:  Product=USB Scanner
 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
 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
 
 lsusb:
 Bus 003 Device 001: ID :
 Bus 002 Device 001: ID :
 Bus 001 Device 006: ID 03f0:6004 Hewlett-Packard DeskJet 5550
 Bus 001 Device 005: ID 055f:021c Mustek Systems, Inc. BearPaw 1200 CU Plus
 Bus 001 Device 004: ID 0840:0098 Argosy Research, Inc.
 Bus 001 Device 003: ID 05e3:0605 Genesys Logic, Inc.
 Bus 001 Device 002: ID 0781:5151 SanDisk Corp.
 Bus 001 Device 001: ID :
 
 dmesg | egrep -i usb|ehci|ohci
 usbcore: registered new driver usbfs
 usbcore: registered new driver hub
 ehci_hcd :00:01.2: EHCI Host Controller
 ehci_hcd :00:01.2: new USB bus registered, assigned bus number 1
 ehci_hcd :00:01.2: irq 26, io mem 0x48002000
 ehci_hcd :00:01.2: park 0
 ehci_hcd :00:01.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
 hub 1-0:1.0: USB hub found
 ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
 ohci_hcd :00:01.0: OHCI Host Controller
 ohci_hcd :00:01.0: new USB bus registered, assigned bus number 2
 ohci_hcd :00:01.0: irq 28, io mem 0x4800
 hub 2-0:1.0: USB hub found
 ohci_hcd :00:01.1: OHCI Host Controller
 ohci_hcd :00:01.1: new USB bus registered, assigned bus number 3
 ohci_hcd :00:01.1: irq 27, io mem 0x48001000
 hub 3-0:1.0: USB hub found
 usb 1-1: new high speed USB device using ehci_hcd and address 2
 Initializing USB Mass Storage driver...
 usb 1-2: new high speed USB device using ehci_hcd and address 3
 hub 1-2:1.0: USB hub found
 scsi0 : SCSI emulation for USB Mass Storage devices
 usb-storage: device found at 2
 usb-storage: waiting for device to settle before scanning
 usbcore: registered new driver usb-storage
 USB Mass Storage support registered.
 usb 1-2.1: new high speed USB device using ehci_hcd and address 4
 scsi1 : SCSI emulation for USB Mass Storage devices
 usb-storage: device found at 4
 usb-storage: waiting for device to settle before scanning
 usb 1-2.3: new full speed USB device using ehci_hcd and address 5
 usb 1-2.4: new full speed USB device using ehci_hcd and address 6
 usb-storage: device scan complete
 usb-storage: device scan complete
 drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 6 if 0 alt 0 
 proto 2 vid 0x03F0 pid 0x6004
 usbcore: registered new driver usblp
 drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
 
 With kind regards,
 Ruud Senden.
 
 
 

If you use scanimage, try the -B option (buffersize frontend)
(sane-backends 1.0.16) maybe it will help a bit?
-- 

m.vr.gr.
Gerard Klaver



[sane-devel] [Fwd: [Lcms-user] LPROF development snap shot version 1.11.0 released]

2005-11-23 Thread gerard klaver
See attachment
-- 

m.vr.gr.
Gerard Klaver
-- next part --
An embedded message was scrubbed...
From: Hal V. Engel hven...@astound.net
Subject: [Lcms-user] LPROF development snap shot version 1.11.0 released
Date: Mon, 21 Nov 2005 12:34:15 -0800
Size: 7973
Url: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20051123/2208f579/attachment.mht
From oliver.schwa...@gmx.de  Wed Nov 23 19:13:35 2005
From: oliver.schwa...@gmx.de (Oliver Schwartz)
Date: Wed Nov 23 19:14:11 2005
Subject: [sane-devel] Re: Re: Re: epson 3490 - transparency unit problem
In-Reply-To: 1132733342.18884.6.ca...@novak.chem.klte.hu
References: 4376277f.3090...@free.fr
200511180011.40779.oliver.schwa...@gmx.de
1132733342.18884.6.ca...@novak.chem.klte.hu
Message-ID: 200511232013.35841.oliver.schwa...@gmx.de

Hi,

 On Fri, 2005-11-18 at 00:11 +0100, Oliver Schwartz wrote:
  ah, ok. That makes more sense. I guess I'll disable 2400 dpi to
  make sure the error doesn't occur.

 1600 dpi seems to work OK. 

Ok. I've replaced the 2400 DPI resolution with 1600 DPI in CVS.

 Oliver, did you receive my previous post 
 in which I've tested almost all possible combinations of
 resolution/scan mode/bit depth? 

Yes, but your mail got buried under some other mail ;-)

 The aspect ratio (=real resolution) 
 is wrong in all but a few lineart modes. And halftoning was (at the
 time I've tested it) completely broken. 

Lineart and grayscale should be fixable. The aspect ratio is correct 
as far as I can see - it's rounded up to be dividable by 8, as each 
pixel uses one bit and the smallest unit to request is one byte, i.e. 
8 pixels. My guess is that 1600 DPI works fine for both lineart and 
grayscale, so the only remaining problem is 3200 DPI in lineart and 
grayscale. Currently the deinterlacer is used for grayscale but not 
for lineart, it seems that both settings have to be adjusted. Can you 
send me example scans for 3200 DPI for a lineart and grayscale scan?

As for halftoning: I've no idea how to fix it. If the windows driver 
doesn't offer it there's a good chance that the scanner doesn't 
support it at all. I guess it should be disabled.

 PS: will be 2400 dpi enabled in the future? And why does the
 windows driver allow 2400 dpi but not 1600?

You'd have to ask the epson guys. My guess is that the scanner scans 
at 3200 DPI if 2400 DPI is requested and the decimating to 2400 DPI 
is done in software. It could be done in the snapscan backend as 
well, but I'm not sure if it's worth the effort. I guess the better 
choice (in terms of image quality) is to scan at 3200 DPI and rescale 
the image in gimp.

/Oliver


[sane-devel] Reporting an unlisted/unsupported printer

2005-10-20 Thread gerard klaver
On Thu, 2005-10-20 at 11:11 -0400, lhs wrote:
 Make   HP
 Model  PSC 1610 All-in-One, PSC 1600 series
 Bus  USB
 V ID 03f0
 P ID 4811
 Chip?
 
lines deleted

Did you check the hpiao (externel backend)
http://hpinkjet.sourceforge.net/hplip_readme.html#Device

The PSC 1600 is reported to be supported, so the 1610 maybe
also or in a next release.
-- 

m.vr.gr.
Gerard Klaver



[Fwd: Re: [sane-devel] [PATCH] gt68xx-Backend: OpticSlim M12]

2005-09-29 Thread gerard klaver

-- 

m.vr.gr.
Gerard Klaver
-- next part --
An embedded message was scrubbed...
From: gerard klaver ger...@gkall.hobby.nl
Subject: Re: [sane-devel] [PATCH] gt68xx-Backend: OpticSlim M12
Date: Thu, 29 Sep 2005 20:57:33 +0200
Size: 2170
Url: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20050929/3f31a021/attachment.mht
From henn...@meier-geinitz.de  Thu Sep 29 19:46:39 2005
From: henn...@meier-geinitz.de (Henning Meier-Geinitz)
Date: Thu Sep 29 19:47:05 2005
Subject: [sane-devel] Re: macosx/darwin -- canoscan lide25 -- partial
success
In-Reply-To: fed5dde305092908431be65...@mail.gmail.com
References: fed5dde305092908431be65...@mail.gmail.com
Message-ID: 20050929194639.gf17...@meier-geinitz.de

Hi,

On Thu, Sep 29, 2005 at 11:43:28AM -0400, Shouri Chatterjee wrote:
 I had installed canon's exclusive drivers. Do you think these might be
 interfering?

If this is a driver for your scanner I'm pretty sure that this is the
cause for your trouble. Try without that driver.

Bye,
  Henning


[sane-devel] update lprof package

2005-08-23 Thread gerard klaver
Hello,

Recently the LPROF package is placed on sourceforge (file and cvs):

http://sourceforge.net/projects/lprof/


Release Name: lprof-1.10

Notes: First release of lprof on SourceForge.net. This is basicaly lprof
1.09 with all patches applied and some fixes.


-- 

m.vr.gr.
Gerard Klaver



[sane-devel] HP Scanjet 4070 support

2005-07-22 Thread gerard klaver
On Fri, 2005-07-22 at 09:11 +0200, Luk?? Sl?nsk? wrote:
 Hallo.
 I would like to use my 4070 on Linux. I intend to write a backend for
 it but I have no experience with that.
 I have recorded some usblogs and I'm going to analyse them. Is anybody
 working on writing backend for this scanner? Or could anybody help me
 with methodology or analysing?
 
 Thanks,
 Lukas 
 -- 
 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


Check this page, uses also a realtek chip

http://hp44x0backend.sourceforge.net/

and

http://packages.debian.org/unstable/libs/libsane-extras

-- 

m.vr.gr.
Gerard Klaver



[Fwd: Re: [sane-devel] Proposed timetable for the release of sane-backends-1.0.16]

2005-07-06 Thread gerard klaver
--=-gMCbEfSMB4BdgbWZNbu/
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


-- 

m.vr.gr.
Gerard Klaver

--=-gMCbEfSMB4BdgbWZNbu/
Content-Disposition: inline
Content-Description: Forwarded message - Re: [sane-devel] Proposed
timetable for the release of sane-backends-1.0.16
Content-Type: message/rfc822

Return-Path: ger...@gkall.hobby.nl
Received: from smtp08.wanadoo.nl (smtp08.wanadoo.nl [194.134.35.149]) by
meel.hobby.nl (8.12.10/8.12.10) with ESMTP id j66IYNFU089501 for
ger...@gkall.hobby.nl; Wed, 6 Jul 2005 20:34:23 +0200 (CEST)
(envelope-from ger...@gkall.hobby.nl)
Received: from [192.168.43.75] (c529d8363.cable.wanadoo.nl [82.157.131.99])
by smtp8.wanadoo.nl (Postfix) with ESMTP id 1CFCC54488; Wed,  6 Jul 2005
20:34:23 +0200 (CEST)
Subject: Re: [sane-devel] Proposed timetable for the release of
sane-backends-1.0.16
From: gerard klaver ger...@gkall.hobby.nl
Reply-To: ger...@gkall.hobby.nl
To: Henning Meier-Geinitz henn...@meier-geinitz.de
In-Reply-To: 20050703135544.ga15...@meier-geinitz.de
References: 20050703135544.ga15...@meier-geinitz.de
Content-Type: text/plain
Date: Wed, 06 Jul 2005 20:33:52 +0200
Message-Id: 1120674833.7269.9.camel@gk-lex3
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
X-Virus-Scanned: by amavisd-new
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=disabled 
version=3.0.1
X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on meel.hobby.nl
Status:   
Content-Transfer-Encoding: 7bit

On Sun, 2005-07-03 at 15:55 +0200, Henning Meier-Geinitz wrote:
 Hi everyone,
 
 Now that the genesys backend is included into CVS, I think it's time
 for a new release of sane-backends. Please feel free to comment on the
 timetable:
 
 This is the proposed timetable for the release of sane-backends 1.0.16
 
 2005-07-17 Feature freeze (snapshot)
 2005-07-31 Code freeze (snapshot)
 2005-08-07 Release
 
 Feature freeze means that only bug fixes and documentation updates are
 allowed. After code freeze only fixes of grave bugs that render a
 backend completely unusable or break compilation and documentation
 updates are accepted.
 
 If there are any new backends that should be included in that release
 please tell us NOW.
 
 Please everyone have a look at out growing list of bugs and fix as
 many bugs as possible:
 http://alioth.debian.org/tracker/index.php?group_id=30186atid=410366
 
 If the bug report is bogus, please close it with a comment why it's
 closed.
 
 If you need more information from the author, add a comment. If you
 don't get more info and can't reproduce the bug, close it.
 
 Also, you can view only bugs assigned to you to reduce the number of visible
 bugs. Having a look at bugs assigned to nobody is also worth a try as
 some bugs affect several backends/maintainers. You can also sort by
 topic (Summary).
 
 Happy bug-hunting,
 
 Henning
 

I have stil some memory leakage errors (with valgrind xcam -B) when
using my stv680 backend. At the moment no idea how to solve them.
So i don't know if it will be ready before 17-07-2005.
I have placed the files and a log on
http://gkall.hobby.nl/downloads.html

Files: stv680.c, stv680.h stv680.conf, stv680.desc, sane-stv680.man
log-valgrind-stv680.txt


So in anyone has an idea about this errors please let me know.

-- 

m.vr.gr.
Gerard Klaver


--=-gMCbEfSMB4BdgbWZNbu/--




[Fwd: Re: [sane-devel] Proposed timetable for the release of sane-backends-1.0.16]

2005-07-06 Thread gerard klaver
--=-+Q8ajE/q059bc6Ai+WaD
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


-- 

m.vr.gr.
Gerard Klaver

--=-+Q8ajE/q059bc6Ai+WaD
Content-Disposition: inline
Content-Description: Forwarded message - Re: [sane-devel] Proposed
timetable for the release of sane-backends-1.0.16
Content-Type: message/rfc822

Return-Path: ger...@gkall.hobby.nl
Received: from smtp08.wanadoo.nl (smtp08.wanadoo.nl [194.134.35.149]) by
meel.hobby.nl (8.12.10/8.12.10) with ESMTP id j66IYNFU089501 for
ger...@gkall.hobby.nl; Wed, 6 Jul 2005 20:34:23 +0200 (CEST)
(envelope-from ger...@gkall.hobby.nl)
Received: from [192.168.43.75] (c529d8363.cable.wanadoo.nl [82.157.131.99])
by smtp8.wanadoo.nl (Postfix) with ESMTP id 1CFCC54488; Wed,  6 Jul 2005
20:34:23 +0200 (CEST)
Subject: Re: [sane-devel] Proposed timetable for the release of
sane-backends-1.0.16
From: gerard klaver ger...@gkall.hobby.nl
Reply-To: ger...@gkall.hobby.nl
To: Henning Meier-Geinitz henn...@meier-geinitz.de
In-Reply-To: 20050703135544.ga15...@meier-geinitz.de
References: 20050703135544.ga15...@meier-geinitz.de
Content-Type: text/plain
Date: Wed, 06 Jul 2005 20:33:52 +0200
Message-Id: 1120674833.7269.9.camel@gk-lex3
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
X-Virus-Scanned: by amavisd-new
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=disabled 
version=3.0.1
X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on meel.hobby.nl
Status:   
Content-Transfer-Encoding: 7bit

On Sun, 2005-07-03 at 15:55 +0200, Henning Meier-Geinitz wrote:
 Hi everyone,
 
 Now that the genesys backend is included into CVS, I think it's time
 for a new release of sane-backends. Please feel free to comment on the
 timetable:
 
 This is the proposed timetable for the release of sane-backends 1.0.16
 
 2005-07-17 Feature freeze (snapshot)
 2005-07-31 Code freeze (snapshot)
 2005-08-07 Release
 
 Feature freeze means that only bug fixes and documentation updates are
 allowed. After code freeze only fixes of grave bugs that render a
 backend completely unusable or break compilation and documentation
 updates are accepted.
 
 If there are any new backends that should be included in that release
 please tell us NOW.
 
 Please everyone have a look at out growing list of bugs and fix as
 many bugs as possible:
 http://alioth.debian.org/tracker/index.php?group_id=30186atid=410366
 
 If the bug report is bogus, please close it with a comment why it's
 closed.
 
 If you need more information from the author, add a comment. If you
 don't get more info and can't reproduce the bug, close it.
 
 Also, you can view only bugs assigned to you to reduce the number of visible
 bugs. Having a look at bugs assigned to nobody is also worth a try as
 some bugs affect several backends/maintainers. You can also sort by
 topic (Summary).
 
 Happy bug-hunting,
 
 Henning
 

I have stil some memory leakage errors (with valgrind xcam -B) when
using my stv680 backend. At the moment no idea how to solve them.
So i don't know if it will be ready before 17-07-2005.
I have placed the files and a log on
http://gkall.hobby.nl/downloads.html

Files: stv680.c, stv680.h stv680.conf, stv680.desc, sane-stv680.man
log-valgrind-stv680.txt


So in anyone has an idea about this errors please let me know.

-- 

m.vr.gr.
Gerard Klaver


--=-+Q8ajE/q059bc6Ai+WaD--




[sane-devel] Scanner Woes (Primax USB 0x0461:0x0371 Realtek RTS8801B)

2005-07-02 Thread gerard klaver
On Fri, 2005-07-01 at 20:23 -0400, Pedro wrote:
 I have a Visioneer OnTouch 8700 USB scanner 
 (actually a Primax USB scanner?)
 vendor=0x0461, product=0x0371, Realtek RTS8801B chipset
 
 Its said to be supported by the linux kernel scanner driver, 
 (scanner.c) though there doesnt seem to be a sane backend written 
 for it. 
 ): www.sane-project.org/unsupported/visioneer-onetouch8920.html ):
 
 If replying from d-u@l.d.o please bc:pedro...@comcast.net
 
lines deleted

Check the externel hp_rts88xx backend for some more info

http://www.sane-project.org/lists/sane-backends-external.html#S-HP4200

( The scanner kernel module is replaced by libusb, in newer kernels its
removed)

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] microtek2 - libusb ?

2005-05-21 Thread gerard klaver
 at this moment.

http://gkall.hobby.nl/downloads.html




-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Visioneer 4800 USB scanner

2005-04-13 Thread gerard klaver
On Wed, 2005-04-13 at 00:30 +0100, Paul wrote:
 Hi,
 
 I'm getting conflicting noises here. The sane website says that the
 Visioneer 4800 isn't supported, yet when I start xsane it is reporting
 the scanner as a Primax Colorado 300 flatbed scanner. Which is correct?
 
 I have a feeling that it's the website as despite the light being on, if
 I try to get a preview, nothing happens (other than an error).
 
 TTFN
 
 Paul

Sometimes different labels are given to a scanner with the same usb vid
and pid. So sometimes only the first name is displayed.
The Primax Colorado 300 is listed as a par. port scanner so why you get
that name, no idea.

The Visioneer 4800 uses the RTS8801B scanner chip according to this
page:
http://www.sane-project.org/unsupported/visioneer-onetouch4800.html

Some other scanners contain also the RTS8801B or C1 or C2 scanner
see for example:
http://www.sane-project.org/unsupported/visioneer-onetouch5800.html

I don't know if there is a big difference between the B version 
and the C1/C2 version.

The RTS8891 is supported by the hp_rts88xx backend see the following
links:

http://www.sane-project.org/lists/sane-backends-external.html#S-HP-RTS88XX

http://packages.debian.org/unstable/libs/libsane-extras

http://hp44x0backend.sourceforge.net/

The RTS8801C1 is also mentioned on that page with remark support is
planned for the RTS8801 (HP35xx scanner)

So your scanner is unsupported at the moment but some work seems to be
done to get it supported.

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Editing info about an unsupported scanner

2005-04-13 Thread gerard klaver
On Wed, 2005-04-13 at 12:59 -0400, Billy Tallis wrote:
 I recently opened up my scanner to find out what chips it uses. I had
 previously submitted it as an unsupported scanner. Is there a form I
 can use to submit the info about the chips in it, or should I just
 post them here? My scanner is a Visioneer onetouch parport scanner
 that I now know has an avision chip.
 

See this link:
http://www.meier-geinitz.de:80/tinc?key=rDoQ7lrjformname=adddev

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] What Steps to write a backend

2005-04-08 Thread gerard klaver
On Thu, 2005-04-07 at 16:11 -0400, Rayudu Addagarla wrote:
 Thanks
  I read that document.
 But the thing is if i have to give a customer a a sane backend how do i do 
 that.
 I dont expect a customer to do all the steps as a developer.
 copying the C files and doing configure and make , make install
 
 What I would like to have is, I have to give is  tar file and say run install.
 if i can copy the libraries in the corresponding places in 
 /usr/local/lib/sane/libsane-ray*
 and 
 /usr/local/etc/sane.d/ray.conf and make an entry in dll.conf
 will that work.
 
 
 thanks
 Rayudu
 On Apr 6, 2005 3:47 PM, gerard klaver ger...@gkall.hobby.nl wrote:
  On Wed, 2005-04-06 at 15:26 -0400, Rayudu Addagarla wrote:
   Hello
I am starting to write a backend ,
but wanted to test if by renaming a library of the existing backend
   will it work.
  
   i have a hp 2200C scanner;
This works with a plustek backend
  
   scanimage -d plustek:libusb:001:002 works great.
  
scanimage -L
gives output 'plustek:libusb:001:002
  
   how does sane/scanimage know which backend to pickup.
  
   if the scanimage depends on the -d option, i should be able to say
   scanimage -dray:libusb:001:002
   and i have entry ray in dll.conf
   and moved plustek.conf to ray.conf
   and renamed all libsane-plustek.* to libsane-ray.*
  
   I thought it should pick up and scan.
   why would it not do.
  
   if i create my own backend, how ill sane know to check or try using
   the backend i made.
  
   say suppose; i create one ray.c and create libsane-ray.la and 
   libsane-ray.so.1
   and copy into /usr/local/lib/sane where other backend are there.
   and add entry to dll.conf and copy the ray.conf to /usr/local/etc/sane.d/
  
   Will it work?
  
   where does sane look for entries.
   what are the paths it looks.
  
  
   thanks
   Ray
  
  
  One document which may help you is in SANE CVS
  experimental/genesys/README
  
  it explains how a backend can be included in the SANE backend tree
  
  --
  
  m.vr.gr.
  Gerard Klaver
  
  
 
 

One step is to check the Debian libsane-extras package or check
how some other vendors have done that (like epkowa, hpiao, brother,
samsung backend)

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] USB HP office jet k60 not working with Kernel 2.6.5

2005-03-29 Thread gerard klaver
On Tue, 2005-03-29 at 13:46 +, Stephen CS Howe wrote:
 Hello,
 
 I easily set up my HP Office Jet K60 scanner with kernel 2.4 using
 fedora core 1 a short while ago.
 
 I have upgraded to fedora core 2A and Kernel 2.6.5-1 kernel, and note
 that the whole scanner recognition system has changed ..aaarwhy
 fix something that was working ??!!
 
 From the vast and contradictory documentation, I think that I am now
 supposed to use libusb or something.
 
 I have looked all over for a coherent explaination of how to set things
 up with the new libusb method, but can't find anything. The problem is,
 I keep getting sucked back into documents setting things up with
 kernel modules which I understand is The old way.
 
 The system basically appears to have seen my hardware:-
 
 check that the USB hardware is working
 
 cat /proc/bus/usb/devices
 
 
 output is as follows for the scanner:-
 
 
 T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
 D:  Ver= 1.00 Cls=00(ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
 P:  Vendor=03f0 ProdID=0511 Rev= 1.00
 S:  Manufacturer=Hewlett-Packar
 S:  Product=OfficeJet  K60
 S:  SerialNumber=ES0AVC4090OH
 C:* #Ifs= 1 Cfg#= 1 Atr=00 MxPwr=  2mA
 I:  If#= 0 Alt= 0 #EPs= 3 Cls=07(print) Sub=01 Prot=03 Driver=usblp
 E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
 E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
 E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
 
 I note from the above that the loaded driver usblp is likely to be for
 a printer ??
 
 In any case, sane cannot see the scanner at all.
 
 Therefore, can anyone kindly explain to me in a coherent and step by
 step kind of way how to get this scanner working ?
 Maybe I can post the reply on the web some place after as I am sure that
 this question must be coming up all the time right now.
 
 cheers
 
 

One page to check is this one for the hpaio backend
http://hpinkjet.sourceforge.net/hplip_readme.html

Also check www.sane-project.org/README.linux file

Check your libusb and hotplug package

and maybe update your kernel 

also check your sane-backend package version (present version is 1.0.15)
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Canon CanoScan LiDE20, SuSE and red faces

2005-03-27 Thread gerard klaver
On Sun, 2005-03-27 at 11:11 +0200, Aldo wrote:
 Hello,
 
 my partner is not linguistic, so I post the question:
 she's running SuSE 9.0 
 with KDE 3.1.4,
 Kooka 0.41,
 SANE 1.0.10;
 
 the Canon CanoScan LiDE20 was first recognized by the hotplug and 
 problemless installed by SuSE's YaST2 installer-tool.
 
 But after a few trials, after she increases the dpi resolution for 
 scanning an image (from default 50 to 600 dpi):
 - the scanned result became red, as red-face as possible
 - and Kooka refused since then to do previews or real scanning.
 
 We read about a bug in Kooka, but ignore if this come from there, or 
 from the Sane version SuSE installed itslef?
 
 Note: under another (non-free) O S it works of course, perfectly, even 
 if she scans images on 300 dpi, just to say there is no problems with 
 the LiDE20 itself.
 
 But:
 - is the problem coming from Kooka?
 - now Kooka is dead and SuSE no longer connects to the scanner, does she 
 better migrate to a newer distrib / SuSE version?
 
 A last note:
 I tried to find Kooka 0.411 in rpm, to overwrite the broken one; 
 not found.
 Now SuSE no longer connects to the scanner I completely ignore how 
 to help her.
 
 Aldo (Debian and console-mode + braille only user).
 
Try first to upgrade your sane packages:
sane-backends (present version 1.0.15), sane-frontends (present version
1.0.13) 

Also with dpi values check if you have enough memory.

A4 format at 300 dpi = 25 Mbyte, at 600 dpi = 100 Mbyte.
-- 

m.vr.gr.
Gerard Klaver




[sane-devel] hp scanjet 3770

2005-03-14 Thread gerard klaver
On Mon, 2005-03-14 at 14:21 +0100, W. Goedel wrote:
 I bought a hp scanjet 3770 revently. This scanner is correctly recogniz=
ed by=20
 sane-find-scanner:
=20
 found USB scanner (vendor=3D0x03f0 [hewlett packard], product=3D0x2505 =
[hp=20
 scanjet]) at libusb:004:005
=20
 But it=B4s not listed with scanimage -L.
=20
 Does someone allready have some experience with this type of scanner. A=
ny=20
 hints are appreciated.


For status see this page:
http://www.sane-project.org/unsupported/hp-scanjet-3770.html

If you have more info on this scanner use the form to add information.
No backend exists and no one seems to be busy with it.

--=20

m.vr.gr.
Gerard Klaver




[sane-devel] patched xcam.c and xcam.man in experimental/sane-frontends

2005-03-14 Thread gerard klaver
Hello, 
I have updated in experimental sane-frontends xcam.c and
xcam.man with:

-added TXT button for option text line adding to image
 with name, date and time info.
 font_6x11.h  file and add_text routine taken from the (GPLed)
 webcam.c file, part of xawtv, (c) 1998-2002 Gerd Knorr.
 add_text was modified for this program (xcam_add_text).
-font_6x11.h file added to src directory

-added RGB/BGR button option to switch the colors if needed.

-solved segment fault when no usb scanner/vidcam devices
 is attached to system ( bug report from Henning Meier-Geinitz)

-patch update for recording feature (SANE bugreport 300224)
 added SAVE Frame button, output filename box.
 With Save Frame button image can be saved as 
 .pnm .pgm .pbm or .ppm file

-added info row with x, y, image-size, fps count, fps, fps_ava

-added -V and -h option (version and help
-added option -B -buffersize so instead of default input buffer of
32*1024 a buffer of 1024*1024 can be chosen, so for vidcams for example
640x480, usb 2.0, 30fps less time is needed to fill input buffer.

Also some small updates to (for debug output):
xscanimage.c
preview.c
gtkglue.c

A example of the changed layout see:
http://gkall.hobby.nl/stv680-screenshot-text-25-65.jpg

A example of the added text line:
http://gkall.hobby.nl/sn9c10x-screenshot-text-0c45-6005.jpg

Before adding the patch to the sane-backends/frontends directory in cvs
i like to know if there are any comments about it.


-- 

m.vr.gr.
Gerard Klaver




[sane-devel] Accessing scanner through libusb fails with invalid argument

2005-03-11 Thread gerard klaver
On Thu, 2005-03-10 at 23:56 +0100, Sebastian Reichelt wrote:
 Hello!
 
 I have a Tevion MD9458 scanner which I would like to get to work with
 Linux. Apparently it is supported by SANE, and sane-find-scanner detects
 it correctly. However, when I try to access it with xsane or scanimage,
 I get the message:
 
 open of device gt68xx:libusb:002:... failed: Invalid argument
 
 This happens when I am root or a normal user with appropriate
 permissions. The right number increases every time I try this, as
 somehow the file /proc/bus/usb/002/027 disappears and a new file
 /proc/bus/usb/002/028 appears, and so on.
 
 In syslog, there is also the message:
 usbfs: USBDEVFS_CONTROL failed cmd scanimage rqt 192 rq 1 le n 64 ret
 -84
 And when I do an strace, there are a lot of lines that look like this:
 ioctl(3, USBDEVFS_CONTROL, 0xbfffc790)  = 64
 
 I'm using a 2.6.10 custom-built kernel and the current SANE and libusb
 drivers from Debian testing (Debian version numbers are 1.0.15-6 for
 libsane and 0.1.10-2 for libusb-0.1-4, whatever that means). USB works,
 and I can also access a digital camera with libusb.
 
 I hope this is enough information so you can help me with this problem.
 Thanks in advance.
 
 -- 
 Sebastian Reichelt
 

To get some debug info type:
export SANE_DEBUG_GT68XX=128
and then type
xsane or xscanimage or scanimage
and check the logs.

See this page for some backend info (maybe done already?)
http://www.meier-geinitz.de/sane/gt68xx-backend/

and check your gt68xx.conf file on the 
override artec-ultima-2000 option

and check your firmware file?

-- 

m.vr.gr.
Gerard Klaver




[sane-devel] [ANN] Unpaper - post-processing scanned book-pages

2005-03-05 Thread gerard klaver
On Wed, 2005-03-02 at 16:03 +0100, Jens Gulden wrote:
 Hello,
 
 unpaper removes black edges and other photocopy artefacts from scanned 
 images. It also deskews book pages (auto-rotates them to a straight 
 alignment), and centers them on the sheet.
 Old photocopies can become well-readable PDFs again.
 
 Available at http://unpaper.berlios.de/.
 
 Hope it's useful. Enjoy,
 Jens
 
  From the Readme:
 --
 unpaper is a post-processing tool for scanned sheets of paper, 
 especially for book pages that have been scanned from previously created 
 photocopies.
 The main purpose is to make scanned book pages better readable on screen
 after conversion to PDF. Additionally, unpaper might be useful to 
 enhance the quality of scanned pages before performing optical character 
 recognition (OCR).
 
 unpaper tries to clean scanned images by removing dark edges that 
 appeared through scanning or copying on areas outside the actual page 
 content (e.g. dark areas between the left-hand-side and the 
 right-hand-side of a double-sided book-page scan).
 The program also tries to detect disaligned centering and rotation of 
 pages and will automatically straighten each page by rotating it to the 
 correct angle. This is called deskewing.
 Note that the automatic processing will sometimes fail. It is always a 
 good idea to manually control the results of unpaper and adjust the 
 parameter settings according to the requirements of the input. Each 
 processing step can also be disabled individually for each sheet.
 
 Input and output files can be in either .pbm or .pgm format, as also 
 used by the Linux scanning tools scanimage and scanadf.
 Conversion to PDF can e.g. be achieved with the Linux tools pgm2tiff, 
 tiffcp and tiff2pdf.
 --
 
 (It's a small program with 1 single source file only. Almost too small 
 for being an open-source project on its own. If you have ideas to 
 integrate it into other Linux scanning/graphics projects instead, please 
 let me know.)
 
Hello Jens,

My proposal/idea would be te place it in a sane-tools package.

This would be a new package with for the time being only the unpaper
program.

Also if there are other tools related to scanners or webcams the have
a place to be kept.

For example the lprof package see:
gkall.hobby.nl/sane-lprof/sane-lprof.html 
 
And maybe a place to keep the icc profiles from scanners?

Other packages?

In this way also the package can maybe be used as a plug-in for some
scanner frontend programs?

This is the first email about this proposal on the SANE mailinglist
so if anybody has comments/ideas?.


-- 

m.vr.gr.
Gerard Klaver




[sane-devel] [ANN] Unpaper - post-processing scanned book-pages

2005-03-05 Thread gerard klaver
On Sat, 2005-03-05 at 16:18 +0100, Oliver Rauch wrote:
 Am Sam, 2005-03-05 um 15.50 schrieb gerard klaver:
  On Wed, 2005-03-02 at 16:03 +0100, Jens Gulden wrote:
   Hello,
  =20
   unpaper removes black edges and other photocopy artefacts from scan=
ned=20
   images. It also deskews book pages (auto-rotates them to a straight=
=20
   alignment), and centers them on the sheet.
   Old photocopies can become well-readable PDFs again.
  =20
  Hello Jens,
 =20
  My proposal/idea would be te place it in a sane-tools package.
=20
 Hello.
=20
 It only makes sense to do this when these packages have no other
 homepages. I think it is better when a package has it=B4s own home and =
we
 set a link to such tools, then we can be sure that we don=B4t handle ol=
d
 versions.
=20
 Oliver
=20
=20

I had the idea that Jens (the developer of the unpaper program) is also
the maintainer for unpaper in SANE CVS. So SANE CVS contains the new
version.

--=20

m.vr.gr.
Gerard Klaver




  1   2   >