SANE works on SPARCLinux!

Justin (monitron@meatware.com)
Wed, 28 Jan 1998 22:47:40 -0500 (EST)

Hi!

Since Linux/SPARC isn't listed on the Supported Platforms list at the sane
website, I thought someone might be interested in this.

I recently successfully compiled sane 0.68 on my Sun SPARCStation 1+
running Linux/SPARC, kernel 2.0.30.

No changes were required to the SANE code, but I did need to make
(temporary) changes in a few /usr/include/{asm|linux} header files to make
it compile. Most of these involved #defining __KERNEL__ and such to avoid
missing things. The header files mainly seemed to bicker about themselves
and each other; it's not a sane problem. In fact, later Linux/SPARC
kernels may have fixed these problems. This may all be irrelevant. ;)

Anyway, back to the point. The compile was smooth and scanimage runs
perfectly. To test it, I hooked up my UMAX Astra 1200S scanner to the
built-in external SCSI port on the Sun. It runs surprisingly fast for the
little 25 MHz sparc.

Only problem relates to the sparc SCSI, not sane. While the scanner is
moving and not scanning, the kernel vomits out a steady stream of:

esp0: Warning, live target 5 not responding to selection.
(scanner is ID 5)

Also, once, the scanner froze the SCSI bus and the system eventually
kernel panicked (root drive is on the same bus) ... but this happened once
out of 20 or so successful scans.

BTW: i have also tested saned on this machine.. i have xscanimage
plugged into gimp on a nearby 486, and it grabs images from
net:buster:umax fine. (FAST!) :)

I THANK EVERYONE who has worked on sane.. this is an incredible program.
:) It has saved me a huge headache!

Thanks!
Justin

monitron@meatware.com
http://www.meatware.com

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com