[sane-devel] LiDE 35 question

2005-01-18 Thread Gerhard Jaeger
On Tuesday 18 January 2005 03:23, Luke Campagnola wrote:
 I got a Canon LiDE 35 a while back without checking to see if it was 
 supported 
 (I cleverly assumed that LiDE 30 support was good enough), and rather than 
 sending it back, I'm giving a go at writing the backend. I'm most of the way 
 finished sorting out the differences between the gl646 and the gl841, but I'm 
 worried about damaging the scanner. Does anybody know what things I should 
 look out for, and whether this scanner has any built-in protection?

Hi,

what protection you're looking for? These devices are so cheap, that there's
nothing inside which can protect them in any way. But in general, if you take 
some
care nothing will happen.
To proceed your work, you should download the genesys stuff from our CVS 
experimental,
and extend the stuff there by the settings required for your device.
The settings (or at least some of them) can be gathered via usb-snoop.

Ciao,
Gerhard




[sane-devel] problems with 2.6.10 kernel

2005-01-18 Thread b...@beeb.net
Hi,
I've been using xsane on my IBM Thinkpad for quite a while with no problems.
Running kernel 2.6.7 until last week when I upgraded to 2.6.10.
I now find that (x)sane is unable to locate my scanner - 
and Epsom Perfection 1240U. Looking into it further I find that the
usbdevfs fails to mount at boot-up, although my usb mouse is working
fine. The error message in the log says 'usbdevfs not supported in kernel'.
I have checked the .config file and there is an entry:
#define USB_DEVICEFS=y
which I presume is the relevant one. Can anyone suggest anything that
I can check, or, if this is not the right place to ask, which e-mail
list is relevant?

Many thanks,
Bill

-- 
+---+
| Bill Purvis, thrice-retired software engineer |
| e-mail:  b...@beeb.net |
| web: bil.members.beeb.net |
+---+



[sane-devel] problems with 2.6.10 kernel

2005-01-18 Thread Johannes Berg
b...@beeb.net wrote:

The error message in the log says 'usbdevfs not supported in kernel'.

IIRC, the filesystem in question has long been renamed from usbdevfs 
to usbfs, and recently the old alias was removed.

johannes



[sane-devel] proposal patch for sanei_usb.c and sanei_usb.h

2005-01-18 Thread gerard klaver
Hello,

I have made a patch for sanei_usb.c and sanei_usb.h to provide the
following:

-More debug info for control and isochronous mode
-Detects endpoints for different configurations, interface and
altsetting numbers  0
- Routine added for changing configuration, interface or altsetting
number
   sanei_usb_set_configuration
   sanei_usb_claim_interface
   sanei_usb_release_interface
   sanei_usb_set_altinterface

This is needed to access for example a webcam.

See http://gkall.hobby.nl/stv680-aiptek.html for a 
SANE stv680 vidcam backend (status alpha, uses usb bulkmode)

For comparison, history and updates i have placed the patched files in
SANE CVS path: sane/experimental/sanei_usb/

This patch is a update from my patch to the list (07-09-2004)

Before adding the patch to the sanei_usb.c file in cvs i like to know
if there are any comments about it.


-- 

m.vr.gr.
Gerard Klaver




[sane-devel] (no subject)

2005-01-18 Thread Kodwo Arizie
--0-74252862-1106056842=:14515
Content-Type: text/plain; charset=us-ascii

Hi,
I had this error message during installation of the drivers for hp scanjet 8290 
on a win98 Computer and had the errors below. My PC has 12GD HDD, 64M RAM, and 
runs on win98.
Can someone help me out on this error message. Thanks
 
HPIBRWSR caused an invalid page fault in
module DIRAPI.DLL at 0167:6802d4b6.
Registers:
EAX=0001 CS=0167 EIP=6802d4b6 EFLGS=00010212
EBX= SS=016f ESP=0062f590 EBP=0062f5b0
ECX=00410144 DS=016f ESI= FS=2c97
EDX=0041011c ES=016f EDI=01343724 GS=
Bytes at CS:EIP:
ff b6 20 03 00 00 e8 15 57 07 00 85 c0 76 34 8d 
Stack dump:
0135bf44 01343ed4  01343ef8  0135bf44 01343ed4  
0062f5cc 6802d42f 01343ed4  10010060 0062f840 01343ed4 0062f5f0 


-
Do you Yahoo!?
 Yahoo! Mail - Helps protect you from nasty viruses.
--0-74252862-1106056842=:14515
Content-Type: text/html; charset=us-ascii

DIVHi,/DIV
DIVI had this error message during installation of the drivers for hp scanjet 
8290 on a win98 Computer and had the errors below. My PC has 12GD HDD, 64M RAM, 
and runs on win98./DIV
DIVCan someone help me out on this error message. Thanks/DIV
DIVSTRONGEM/EM/STRONGnbsp;/DIV
DIVSTRONGEMHPIBRWSR caused an invalid page fault inBRmodule DIRAPI.DLL 
at 0167:6802d4b6.BRRegisters:BREAX=0001 CS=0167 EIP=6802d4b6 
EFLGS=00010212BREBX= SS=016f ESP=0062f590 
EBP=0062f5b0BRECX=00410144 DS=016f ESI= FS=2c97BREDX=0041011c 
ES=016f EDI=01343724 GS=BRBytes at CS:EIP:BRff b6 20 03 00 00 e8 15 57 
07 00 85 c0 76 34 8d BRStack dump:BR0135bf44 01343ed4  01343ef8 
 0135bf44 01343ed4  0062f5cc 6802d42f 01343ed4  
10010060 0062f840 01343ed4 0062f5f0/EM/STRONG /DIVp
hr size=1Do you Yahoo!?br 
a 
href=http://us.rd.yahoo.com/mail_us/taglines/virus/*http://promotions.yahoo.com/new_mail/static/protection.html;Yahoo!
 Mail/a - Helps protect you from nasty viruses.
--0-74252862-1106056842=:14515--



[sane-devel] (no subject)

2005-01-18 Thread Johannes Berg
Hi,

Kodwo Arizie wrote:

 I had this error message during installation of the drivers for hp 
 scanjet 8290 on a win98 Computer and had the errors below. My PC has 
 12GD HDD, 64M RAM, and runs on win98.
 Can someone help me out on this error message. Thanks
 *//*

No. The software your scanner manufacturer gave you is buggy, people 
here are discussing SANE which replaces that software. You can look if 
your scanner is supported by sane and then try that instead - but we 
can't help with that problem.

johannes



[sane-devel] SANE on FreeBSD 5.3

2005-01-18 Thread Micah
I've already found that libieee1284 doesn't work on the FreeBSD 5.x 
series and consequently my parallel port scanner will not work. (it 
works as a nice paperweight though)

Before going out and buying a new scanner, I was curious if anyone has 
had any luck getting USB scanners to work under FreeBSD 5.3.

Thanks,
Micah



[sane-devel] proposel for buffer size increase frontends scanimage ..

2005-01-18 Thread gerard klaver
--=-G2Ge2qX71EHeEV2nS+0H
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello,

Proposal to increase the buffersize of buffer[32 * 1024] to
buffer[1024 * 1024] for frontend scanimage for diff zie attachment.

In this way the write cycle in sane_read will be reduced and is it
possible to write a image from for example a 640 x 480  webcam in
one cycle to the frontend buffer.

For other frontends its the same but i tested only xscanimage at this
moment (patch (with other patches) is in sane/experimental but needs a
update) 

For:
saned ??
scanadf   ??

Others
??


Any comments?
-- 

m.vr.gr.
Gerard Klaver

--=-G2Ge2qX71EHeEV2nS+0H
Content-Disposition: attachment; filename=scanimage.diff
Content-Type: text/x-patch; name=scanimage.diff; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

--- scanimage-orig.c2005-01-18 17:33:20.0 +0100
+++ scanimage.c 2005-01-18 17:34:03.0 +0100
@@ -1020,7 +1020,7 @@
 scan_it (void)
 {
   int i, len, first_frame = 1, offset = 0, must_buffer = 0;
-  SANE_Byte buffer[32 * 1024], min = 0xff, max = 0;
+  SANE_Byte buffer[1024 * 1024], min = 0xff, max = 0;
   SANE_Parameters parm;
   SANE_Status status;
   Image image = { 0, 0, 0, 0, 0, 0 };

--=-G2Ge2qX71EHeEV2nS+0H--




[sane-devel] proposel for buffer size increase frontends scanimage ..

2005-01-18 Thread Johannes Berg
gerard klaver schrieb:

In this way the write cycle in sane_read will be reduced and is it
possible to write a image from for example a 640 x 480  webcam in
one cycle to the frontend buffer.
  

What's the advantage? If there really is an advantage, I think it should 
probably be made dynamic instead. Using this much space on the stack 
isn't really a good thing IMHO.

johannes



[sane-devel] Status of the hp4200 backend -- testers needed

2005-01-18 Thread Julien BLACHE
Hi,

I'd like to make sure the hp4200 backend (sources from the sourceforce
hp4200-backend project + Frank Zago's patch) works with libusb.

If someone using this backend or owning this scanner is reading this
mail, can you please report ?

Thanks,

JB.

-- 
Julien BLACHE   http://www.jblache.org 
j...@jblache.org  GPG KeyID 0xF5D65169