Ulrich Deiters | 1 Jul 2005 09:27
Picon
Favicon

Re: canon-sane.c:2113: error: `SSIZE_MAX' undeclared

Hi,

are you talking about the Canon SCSI backend? I do not have any
references to a variable SSIZE_MAX in my program files.

Regards,

Ulrich Deiters

--

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

Gerhard Jaeger | 1 Jul 2005 10:55
Picon

Re: canon-sane.c:2113: error: `SSIZE_MAX' undeclared

Hi Ulrich,

On Friday 01 July 2005 09:27, Ulrich Deiters wrote:
> Hi,
> 
> are you talking about the Canon SCSI backend? I do not have any
> references to a variable SSIZE_MAX in my program files.

are you sure? 
#grep SSIZE *.c
#canon-sane.c:        nremain = (remain < SSIZE_MAX)? remain: SSIZE_MAX;

#grep canon-sane.c *
#Makefile.in:  canon.conf canon.h canon-sane.c canon-scsi.c canon630u.c canon630u-common.c \
#canon.c:#include "canon-sane.c"
#snapscan.c: *         * backend/avision.c backend/canon-sane.c backend/coolscan.c

it seems, that canon-sane is included from canon.c, which also includes the canon-scsi.c...

In the meantime, I don't think we should touch canon-sane.c, instead we should
add 
#ifndef SSIZE_MAX
# define SSIZE_MAX LONG_MAX
#endif

to sanei_backends.h as here is also the PATH_MAX stuff after including <limits.h>

Ciao,
Gerhard

(Continue reading)

Ulrich Deiters | 1 Jul 2005 14:15
Picon
Favicon

Re: canon-sane.c:2113: error: `SSIZE_MAX' undeclared

I think there may be some trouble: Someone used an old backend version, 
made a change in the section for the FB1200, and overwrote the one in CVS.
This means that all developments from the previous year (improved sense 
handler, focus control for the slide scanners, autoexposure, ...)
have been overwritten.

I have to consult the Canon-SCSI team members about the situation.
Please do not make any changes to the CVS version; I will probably
reset the Canon backend this evening (German time) when I am home.

Regards,

Ulrich

--

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

Ajish | 1 Jul 2005 04:27
Picon

CanoScan 3000ex

Hey:

The CanoScan 3000ex shares its Windows drivers with the CanoScan 3000 
and 3000F models. I assume this means it has the same chipset and lack 
of functionality in Linux. It should probably be added to the list of 
GL646 based scanners, no? Anyhow, find the output from the (non-CVS 
version) sane-find-scanner -v -v command in the post script of the email.

Thanks for all the work,

-Ajish

P.S.

<crap about all my other USB devices>
...

<device descriptor of 0x04a9/0x2215 at 001:003 (Canon CanoScan)>
bLength               18
bDescriptorType       1
bcdUSB                2.00
bDeviceClass          255
bDeviceSubClass       255
bDeviceProtocol       255
bMaxPacketSize0       64
idVendor              0x04A9
idProduct             0x2215
bcdDevice             3.03
iManufacturer         3 (Canon)
iProduct              4 (CanoScan)
(Continue reading)

Pedro | 2 Jul 2005 02:23
Picon

Scanner Woes (Primax USB 0x0461:0x0371 Realtek RTS8801B)

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 <at> l.d.o please bc:pedro420 <at> comcast.net

### OS Information

~$ cat /etc/debian_version
3.1

~$ uname -r
2.6.8-2-686

~$ dpkg -l | grep ^.i | grep sane
ii  libsane        1.0.15-9       API library for scanners
ii  sane           1.0.13-2       scanner graphical frontends
ii  sane-utils     1.0.15-9       API library for scanners -- utilities
ii  xsane          0.97-3         GTK+-based X11 frontend for SANE 
ii  xsane-common   0.97-3         GTK+-based X11 frontend for SANE 

### Device Information

~$ cat /proc/bus/usb/devices

(Continue reading)

g.hinger | 2 Jul 2005 06:54
Picon

Epson RX600 - can't find

Hi, I have an Epson Stylus RX600 (USB connection) and I can't get sane to 
detect it fully. Supposedly this printer is supported with a "good" rating. 
I've spent a lot of time researching this but couldn't solve this problem! 
Please help...

Here is a bunch of info:

I'm using slamd64-10.1 (Slackware distribution tailored for x86_64). I have 
package sane-1.0.14-x86_64-1 installed. My kernel is version 2.6.11.10.

Because I use x86_64 architecture, I can't get the epson drivers at 
http://www.avasys.jp/english/linux_e/dl_spc.html to work for me, as some 
source is available but it depends on proprietary libraries w/o source. 
Therefore, it won't compile. I can try using the binaries but I'm not sure 
how to extract them from rpm, or if I should just install rpm, or if they 
would work even if I extracted them. Also, sane-epson claims that just about 
any epson will work on it, at least at some minimum level of support.

Here is the  USB device info (from /proc/bus/usb/devices):

:  Bus=05 Lev=01 Prnt=01 Port=06 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=04b8 ProdID=0806 Rev= 1.00
S:  Manufacturer=EPSON
S:  Product=USB2.0 MFP(Hi-Speed)
S:  SerialNumber=L58020407201723330
C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 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
(Continue reading)

gerard klaver | 2 Jul 2005 12:44
Picon

Re: Scanner Woes (Primax USB 0x0461:0x0371 Realtek RTS8801B)

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 <at> l.d.o please bc:pedro420 <at> 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 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"
(Continue reading)

Karl Heinz Kremer | 2 Jul 2005 14:13
Favicon

Re: Epson RX600 - can't find

I have one sitting next to my computer, and it works...

Try to set the debug environment variable before you run scanimage:

export SANE_DEBUG_EPSON=255
scanimage > /tmp/scan.log 2>&1

The file /tmp/scan.log will contain information about what the  
backend is
doing. What surprises me is that the scanner is not even recognized.

Do you have more than one version of Sane on your system?

Karl Heinz

On Jul 2, 2005, at 12:54 AM, g.hinger <at> verizon.net wrote:

> Hi, I have an Epson Stylus RX600 (USB connection) and I can't get  
> sane to
> detect it fully. Supposedly this printer is supported with a "good"  
> rating.
> I've spent a lot of time researching this but couldn't solve this  
> problem!
> Please help...
>
> Here is a bunch of info:
>
> I'm using slamd64-10.1 (Slackware distribution tailored for  
> x86_64). I have
> package sane-1.0.14-x86_64-1 installed. My kernel is version  
(Continue reading)

Michael Talbot-Wilson | 2 Jul 2005 15:46
Picon

Re: Epson RX600 - can't find

On Fri, 1 Jul 2005 g.hinger <at> verizon.net wrote:

> Therefore, it won't compile. I can try using the binaries but I'm not sure
> how to extract them from rpm, or if I should just install rpm, or if they

1 peregrine[23:13:32]:/usr/bin$ ls -lF rpm*
-rwxr-xr-x  1 root bin  4210 Jun 15  2004 rpm2targz*
lrwxrwxrwx  1 root root    9 Aug  5  2004 rpm2tgz -> rpm2targz*
-rwxr-xr-x  1 root bin  3068 Jun 15  2004 rpmoffset*

--

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

g.hinger | 2 Jul 2005 20:58
Picon

Re: Epson RX600 - can't find

Thanks, it turns out I had this rpm2tgz tool already.
I used rpm2tgz and then pkgtool to install the precompiled iscan binary.

Unfortunately, it doesn't work on my system (see below). It's not linking to 
shared libraries on my system properly. Creating symbolic links, e.g. 
in /usr/lib, doesn't seem to fool it. I'll have to get the default sane-epson 
backend working somehow :(

root <at> host1:/usr/bin# iscan
iscan: error while loading shared libraries: libsane.so.1: cannot open shared 
object file: No such file or directory
root <at> host1:/usr/bin# ldd iscan
        libesmod.so.1 => /usr/lib/libesmod.so.1 (0x55582000)
        libsane.so.1 => not found
        libusb-0.1.so.4 => /usr/lib/libusb-0.1.so.4 (0x555da000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x555e2000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x555f8000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x55615000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x55733000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x55764000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x55767000)
        libdl.so.2 => /lib/libdl.so.2 (0x55788000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x5578c000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x55794000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x557a2000)
        libgdk_imlib.so.1 => not found
        libz.so.1 => /usr/lib/libz.so.1 (0x5586a000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x5587b000)
        libm.so.6 => /lib/libm.so.6 (0x55933000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x55955000)
(Continue reading)


Gmane