[sane-devel] sane-find-scanner finds multiple scanners

2002-05-06 Thread Douglas Gilbert
Johan Wehtje wrote: > have read the docs as well as the SCSI 2.4 how to but am still none the > wiser as to why I get the following output from sane-find-scanner > === > sane-find-scanner: found SCSI scanner " Scanner 1.40" at device /dev/scanner > sane-fin

[sane-devel] sane-find-scanner finds multiple scanners

2002-05-06 Thread Douglas Gilbert
Carsten Neumann wrote: > On Mon, 06 May 2002, Douglas Gilbert wrote: > >>Johan, >>In your kernel config (assuming you have built that kernel) >>turn off CONFIG_SCSI_MULTI_LUN . Some SCSI scanners don't >>react properly to being probed for logical unit numbers (l

[sane-devel] Additional SCSI status?

2002-05-13 Thread Douglas Gilbert
abel deuring wrote: > abel deuring wrote: > >>abel deuring wrote: >> >>>Dave Close wrote: >>> I am dealing with a scanner that seems to return some of its status outside the SCSI sense byte area. sanei_scsi reports this information via DBG but doesn't provide it to the sense handler. T

[sane-devel] SCSI: error during device I/O

2002-03-09 Thread Douglas Gilbert
Peter Kirchgessner wrote: > Hello, > > some time ago problems have been reported with some 2.4.x kernels and > SCSI-devices. What was working with 2.2.x, failed there with an "error > during device I/O". The problem seemed to be a broken handling of > SCSI-requests in the kernel (from mailing l

[sane-devel] Found: why Sane make barfed under RH6.1

2002-03-12 Thread Douglas Gilbert
john meshkoff wrote: > The error: > > sanei_scsi.c: In function `sanei_scsi_req_wait': > sanei_scsi.c:2079: structure has no member named `host_status' > sanei_scsi.c:2080: structure has no member named `host_status' > sanei_scsi.c:2081: structure has no member named `host_status' > sanei_scsi.c:2

[sane-devel] Found: why Sane make barfed under RH6.1

2002-03-14 Thread Douglas Gilbert
Tim Waugh wrote: > On Thu, Mar 14, 2002 at 10:10:15AM +0300, Max Ushakov wrote: > > >>So maybe it is still correct to use all kernel includes instead >>of the corresponding glibc includes. >> > > It is not. Definitely not all of them. Only one springs to mind :-) In 99% of cases applications ge

[sane-devel] AT3 Weirdness

2002-03-27 Thread Douglas Gilbert
abel deuring wrote: > "Michael S. Moulton" wrote: > >>I just got an Artec AT3 from a friend this weekend... I'm using the ISA SCSI >>card that came with it. >> >>I've got it working in both Windows and Linux, so I know everything works ok, >>but I am getting some weird behavior. >> >>Loading the

[sane-devel] Microtek V6USL: out of memory

2002-04-05 Thread Douglas Gilbert
abel deuring wrote: > "Patrick S. Leung" wrote: > >>Hi Erik, >> >>I retired using your recommendation and it doesn't help much. Looks >>like the SANEI_DEBUG_SANEI_SCSI doesn't produces much output, but I do >>see some low level in /var/log/message ( I did a tail -f >>/var/log/message before I sta

[sane-devel] SCSI problems with avision backend

2002-04-11 Thread Douglas Gilbert
Henning Meier-Geinitz wrote: > Hi, > > On Wed, Apr 10, 2002 at 10:01:51PM +0200, Henning Meier-Geinitz wrote: > >>Since the latest update of the avision backend I can't access my >>Mustek (!) scanner anymore. It took some time to find out that the >>reason is really the avision backend. >> > > I

[sane-devel] problem in sanei_scsi.c (and hpusbscsi)

2002-04-12 Thread Douglas Gilbert
Rene Rebe wrote: > Hi peoeple. > > I'm currently debugging a segmentation fault in the avision backend's > calibration code. > > I call: > sanei_scsi_cmd (s->fd, &rcmd, sizeof (rcmd), calib_data, &calib_size); > > Where calib_data is a pointer to a a buffer of 167076 bytes and > calib_size conta

[sane-devel] SCSI problems with avision backend

2002-04-13 Thread Douglas Gilbert
Henning Meier-Geinitz wrote: > Hi, > > On Thu, Apr 11, 2002 at 11:58:21PM -0400, Douglas Gilbert wrote: > >>If you open an sg device with O_EXCL and it is already open >>then: >> - if O_NONBLOCK is also set then the open() will fail >>with EBUSY >>

[sane-devel] 1394 and epson 2450 scanner

2002-01-05 Thread Douglas Gilbert
Dave W wrote: > > I believe that this morning I finally got ieee1394 working on my box. > Now, finally, sane-find-scanner SEES something other than my cd-roms: > > amd1400:/dev# sane-find-scanner > # Note that sane-find-scanner will find any scanner that is connected > # to a SCSI bus and some sc

[sane-devel] epson 2450 scanner and firewire: wrong SCSI ID

2002-01-05 Thread Douglas Gilbert
k to try it. It DOES work, so > if the problem is that the GT- product naming string is wrong, where > do we correct that? > > On Sat, 05 Jan 2002 12:39:06 -0500 > Douglas Gilbert wrote: > > > Some scanners (e.g. HP) use the the SCSI device type "processor"

[sane-devel] All sane frontends segfault with my HP 5200C

2002-02-03 Thread Douglas Gilbert
abel deuring wrote: > Henning Meier-Geinitz wrote: > >>Hi, >> >>On Sun, Feb 03, 2002 at 12:10:10PM +0100, Oliver Rauch wrote: >> >>>I think we could and should create a function >>>sanei_identify_device(char *device_file) >>> >>>that has some >>>#IFDEF _LINUX_ >>>test for major/minor number for S

[sane-devel] All sane frontends segfault with my HP 5200C

2002-02-03 Thread Douglas Gilbert
Nick Lamb wrote: > On Sun, Feb 03, 2002 at 12:52:04PM +, Major A wrote: > >>The problem with this is that it is very platform-specific, and, even >>worse, dependent on whether you use devfs or not (in devfs, in the >>long run, major/minor numbers will be assigned dynamically). >> > > I am fi

[sane-devel] FW: Sus3 7.3, Sane 1.05, HP5300C

2002-02-18 Thread Douglas Gilbert
Art Fore wrote: > On http://www.neatech.nl/oss/HP5300C/ they talk about a usb-scsi module. This sounds like an old module name. Two usb module names I can see are "usb-storage" and "scanner". > This does not show up in my kernel config, however, I have an hp53xx module. > There is also mention of

[sane-devel] 'scanimage -L' fails first time with modular SCSI drivers

2002-02-22 Thread Douglas Gilbert
Tim Waugh wrote: > On Tue, Feb 19, 2002 at 08:05:20PM +0100, Henning Meier-Geinitz wrote: > > >>I think the analysis of Andras is right. >> > > Could we add some hook to try to get the modules loaded if > /proc/scsi/scsi doesn't exist? Just opening a generic SCSI device is > enough to load them

[sane-devel] 'scanimage -L' fails first time with modular SCSI drivers

2002-02-24 Thread Douglas Gilbert
Henning, The patch looks harmless. Doug Gilbert Henning Meier-Geinitz wrote: > Hi, > > On Fri, Feb 22, 2002 at 02:02:14PM +, Tim Waugh wrote: > >>Could we add some hook to try to get the modules loaded if >>/proc/scsi/scsi doesn't exist? Just opening a generic SCSI device is >>enough to l

[sane-devel] 'scanimage -L' fails first time with modular SCSI drivers

2002-02-25 Thread Douglas Gilbert
Henning Meier-Geinitz wrote: > Hi, > > On Mon, Feb 25, 2002 at 01:30:32PM +0100, Oliver Rauch wrote: > >>Henning Meier-Geinitz wrote: >> >> >>>Is anybody against the following patch? >>> >>>+ #define FIND_DEVICES_TOUCH_FILE "/dev/sg0" >>> >> >>May be this should be a list: >> >>/dev/sg0, /dev/sg

[sane-devel] Problem with empty sense buffer in sanei_scsi (linux+hpusbscsi+vuescan)?

2001-10-14 Thread Douglas Gilbert
Jose Paulo Moitinho de Almeida wrote: > > On Thursday 04 October 2001 21:01, abel deuring wrote: > > Jose Paulo Moitinho de Almeida wrote: > > > Hello > > > > >. > > > > Jose, it seems that you uncovered a serious problem in sanei_scsi.c -- > > but I'm afraid that a proper fix isn't that easy:

[sane-devel] sane-find-scanner no longer finding scanner on mdk8.1

2001-10-22 Thread Douglas Gilbert
Yves Duret wrote: > > s...@michael.mailshell.com writes: > > > I have a Cannon FS2710: > > > > [root@corwin@mir scsi]# cat /proc/scsi/scsi > > Attached devices: > > Host: scsi0 Channel: 00 Id: 02 Lun: 00 > > Vendor: CANONModel: IX-27025ERev: 1.13 > > Type: Scanner

[sane-devel] IEEE 1394 interface

2001-10-24 Thread Douglas Gilbert
Major A wrote: > > Hi, > > Is there any consensus among SANE developers as of the handling of > IEEE 1394? I cannot see anything in sanei (like for SCSI and USB). Is > there going to be anything standard in the future, or do I just have > to write my own code? Also, are all IEEE 1394 scanners acc

[sane-devel] Partition table gets altered

2001-11-28 Thread Douglas Gilbert
Jani Salonen wrote: > > Hei, > > I'm not sure is this problem caused by XSane or some SCSI module, but when I > start XSane without my scanner (Epson perfection 1640) turned on or > disconnected, the partition table of my HD messes up, and there is no any > partitions visible anymore. although th