Hey guys... I've never attempted scanning in Linux.. yet... I've been reading around and I've found that SANE has good support for my scanner (Umax Astra 1220P) but I have no idea what to do to actually get to the scanning part...
I've been reading around and I thought I did what I was supposed to
(installed sane, sane-utils, xsane, uncommented umax_pp in dll.conf and entered port 0x378 in umax_pp.conf, set in bios paralel port to ECP+EPP)
but still xsane doesn't detect my scanner which works just fine under windows...
I'm prolly doing somehting wrong and if anyone can help out or point me to a noob how-to I would really appreciate it!
cya
N
[SOLVED] How to scan?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] How to scan?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
I found:
http://umax1220p.sourceforge.net/
and
http://www.die.net/doc/linux/man/man5/s ... _pp.5.html
but it's beyond me... I just don't understand what to do..
http://umax1220p.sourceforge.net/
and
http://www.die.net/doc/linux/man/man5/s ... _pp.5.html
but it's beyond me... I just don't understand what to do..
How to scan?
Hi
I cannot test it as I do not have your scanner
but why not cut and paste the instructions into terminal as on page;
download umax patch
download sane-1.0.18-backends.tar.gz
http://umax1220p.sourceforge.net/download.html
install:
tar xvzf sane-backends-1.0.18.tar.gz
cd sane-backends-1.0.18
http://umax1220p.sourceforge.net/install.html
zcat umax1220p-6.3.gz | patch -p1
Or, if you have already unzipped the patch
patch <umax1220p-6.3 -p1
compile it
./configure --enable-parport-directio --sysconfdir=/etc --prefix=/usr
make
make install
ldconfig
configure it
You have to the know address of your parallel port. If you don't know it, you should look into system messages with 'dmesg', you'll have lines such as:
...........................
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
parport0: cpp_mux: aa55f00f52ad51(86)
parport0: Found 4 daisy-chained devices
lp0: using parport0 (interrupt-driven).
............................
let us know how you get on from there
Nick
I cannot test it as I do not have your scanner
but why not cut and paste the instructions into terminal as on page;
download umax patch
download sane-1.0.18-backends.tar.gz
http://umax1220p.sourceforge.net/download.html
install:
tar xvzf sane-backends-1.0.18.tar.gz
cd sane-backends-1.0.18
http://umax1220p.sourceforge.net/install.html
zcat umax1220p-6.3.gz | patch -p1
Or, if you have already unzipped the patch
patch <umax1220p-6.3 -p1
compile it
./configure --enable-parport-directio --sysconfdir=/etc --prefix=/usr
make
make install
ldconfig
configure it
You have to the know address of your parallel port. If you don't know it, you should look into system messages with 'dmesg', you'll have lines such as:
...........................
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
parport0: cpp_mux: aa55f00f52ad51(86)
parport0: Found 4 daisy-chained devices
lp0: using parport0 (interrupt-driven).
............................
let us know how you get on from there
Nick
I can't... the patch seems to be outdated even though the instructions are okay... it seems to want to patch the sane version 1.0.14 even though the instructions clearly state that it's 1.0.18 version that I need. I've also tried to find the file in the 1.0.18 directory but it's not there, it seems to have been split in two different files in this new version:
root@maya-mint:/usr/src/sane-backends-1.0.18# patch <umax1220p-6.3 -p1
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur --new-file sane-backends-1.0.14/backend/dll.conf sane-backends-1.0.14-umax_pp/backend/dll.conf
|--- sane-backends-1.0.14/backend/dll.conf 2004-01-05 22:05:04.000000000 +0100
|+++ sane-backends-1.0.14-umax_pp/backend/dll.conf 2004-05-03 12:55:04.000000000 +0200
--------------------------
File to patch: sane-backends-1.0.18/backend/dll.conf
sane-backends-1.0.18/backend/dll.conf: No such file or directory
Skip this patch? [y] n
bah... by every account I've done everything right and it should be working... could this message be cause of the problem?
it's from dmesg
it's from dmesg
[17179589.792000] parport: PnPBIOS parport detected.
[17179589.792000] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
[17179589.808000] parport0: reported broken Device ID length of 0X8888 bytes
solved it... it wouldn't take anything else beside
in the backend config file... even though those instructions gave different info... I managed to get it to work from the repos...
btw... THIS also means that I've gotten EVERY piece of hardware in the house to work under mint
YAY
Code: Select all
port /dev/parport0
btw... THIS also means that I've gotten EVERY piece of hardware in the house to work under mint
YAY