LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2007, 01:16 AM   #1
tauro_kpo
Member
 
Registered: Feb 2007
Distribution: Debian
Posts: 113

Rep: Reputation: 16
problem with scanner


Hi, I'm using an flatbed Parallel port scanner, and I use sane for scanning, but I have a little problem.

Every time I want to use it, I have to restart my computer and it has to be turned on, because if I just turn it on when the computer has already booted, it says to me that there's no scanner pluged :-S

isn't a way to tell the computer "re scan your pci slots" ?? (because it is a pci - lpt where I plug it)

I think that it has to be a solution because I don't want to restart my computer every time I want to use it, do you understand?

Thank you all for helping!
 
Old 05-25-2007, 08:32 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
The Parallel port is NOT a PCI slot. 'lpt' means 'line printer', ie, the parallel port line printer.

The computer is somewhat unable to scan the parallel port on its own; it needs the help of a userspace program, such as the front-end you are using to run the scanner. It also needs the parallel/serio kernel modules inserted into the kernel in order to read the port. Likely the computer doesn't recognize the scanner on boot, unless it is turned on, and turning it on later doesn't make the modules insert themselves.
I use a Mustek parallel flatbed scanner, and I have the following lines in my etc/rc.d/rc.local file:
Code:
modprobe parport_serial
modprobe parport_pc
modprobe parport
..and this causes the parallel port modules I need, to be inserted automatically on every bootup, whether the scanner is turned on or not. (Actually this scanner has no power switch; it is controlled via the parallel port completely). You can add these lines to your rc.local file, or a similar init script that gets run at bootup. Then the parallel port should be ready to go, all the time.
Does this help?
 
Old 05-25-2007, 01:18 PM   #3
tauro_kpo
Member
 
Registered: Feb 2007
Distribution: Debian
Posts: 113

Original Poster
Rep: Reputation: 16
Thank you for the suggestion, I'll try this!

But! let me tell you that my parallel port IT IS in a pci slot, because the on-board one, it is broken, so for using a printer, or this scanner, I need to use the pci-parallel port, because the other one doesn't work.
 
Old 05-25-2007, 01:47 PM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
OK Gotcha that might be a little different. I'm not sure if my suggestion will help; depends if the computer identifies that card as a PCI card or as a parallel port..

Let us know anyway, if the above info helps; if it doesn't we shall have to investigate a bit further.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Scanner help.. failed to open device snapscan/dev/usb/scanner johnathan Linux - Hardware 2 10-12-2007 06:06 PM
Scanner Problem Maligogo90 SUSE / openSUSE 7 12-08-2005 07:30 PM
Problem with scanner jnicou Linux - Software 1 10-20-2005 10:53 AM
scanner problem tsitras Linux - Hardware 26 05-21-2004 02:49 AM
can't locate module scanner > how to get scanner work? b0uncer Linux - Hardware 1 10-26-2003 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration