[SOLVED] How to scan?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

[SOLVED] How to scan?

Postby NiksaVel on Wed Mar 28, 2007 10:44 am

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
Last edited by NiksaVel on Sat Mar 31, 2007 2:19 pm, edited 1 time in total.
User avatar
NiksaVel
Level 5
Level 5
 
Posts: 806
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia

Linux Mint is funded by ads and donations.
 

Postby scorp123 on Wed Mar 28, 2007 12:52 pm

Is that a SCSI scanner or a USB scanner? There is a bunch of modules (= Linux kernel "drivers") that need to be loaded. For SCSI it would be "sg" (= SCSI Generic), I don't know about USB. And I use my Scanner from within GIMP (Acquire => Scanner).
User avatar
scorp123
Level 8
Level 8
 
Posts: 2287
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Postby NiksaVel on Wed Mar 28, 2007 1:00 pm

paralel :)
User avatar
NiksaVel
Level 5
Level 5
 
Posts: 806
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia

Postby scorp123 on Wed Mar 28, 2007 5:22 pm

NiksaVel wrote:paralel :)
I suppose you'd then need some sort of SCSI-emulation. Did you find any instructions for your scanner?
User avatar
scorp123
Level 8
Level 8
 
Posts: 2287
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Postby NiksaVel on Wed Mar 28, 2007 5:53 pm

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.. :?
User avatar
NiksaVel
Level 5
Level 5
 
Posts: 806
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia

Postby NiksaVel on Sat Mar 31, 2007 11:06 am

Heeeeeeeeeeeeeeeeeeeeeelpppp meeeeeeeeeee :D
User avatar
NiksaVel
Level 5
Level 5
 
Posts: 806
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia

How to scan?

Postby nick on Sat Mar 31, 2007 12:56 pm

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
nick
Level 5
Level 5
 
Posts: 686
Joined: Sat Dec 02, 2006 8:04 am

Postby NiksaVel on Sat Mar 31, 2007 1:47 pm

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
User avatar
NiksaVel
Level 5
Level 5
 
Posts: 806
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia

Postby NiksaVel on Sat Mar 31, 2007 2:08 pm

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
[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
User avatar
NiksaVel
Level 5
Level 5
 
Posts: 806
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia

Postby NiksaVel on Sat Mar 31, 2007 2:19 pm

solved it... it wouldn't take anything else beside

Code: Select all
port /dev/parport0


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 :D
User avatar
NiksaVel
Level 5
Level 5
 
Posts: 806
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 13 guests