LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-17-2006, 09:08 PM   #1
colin271
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Rep: Reputation: 0
Suse 10 and HP 5100C scanner


Hello all,
The wife and I are slowly moving from Windows XP to Linux. We have 2 Hard drives, 1 with XP and 1 with Suse10. We flip over to XP when there is something we cannot do in Linux.
One of the few things left is getting our Hp 5100c Scanner working on Suse. I have the latest xSane installed, but when I run the program I get a "No devices found" error. I am not sure if this is a "backend" problem or xSane.
What do you think is causing this? I am new to Linux so try and be patent with me.

Thanks in advance for your help,

Colin

Last edited by colin271; 02-17-2006 at 09:09 PM.
 
Old 02-18-2006, 02:38 PM   #2
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
scanner

greetings from germany! your scanner is supported. have a look at http://www.sane-project.org/ and search for your hp 5100C in the search-engine. I did it already for you: it is completely supported. you need a special driver, you find (got the information from http://www.sane-project.org/man/sane-hp.5.html):

"Support for models 5100C/5200C connected to the parallel port requires the ppSCSI driver available at http://cyberelk.net/tim/parport/ppscsi.html and http://penguin-breeder.org/kernel/download/"

good luck!
 
Old 02-18-2006, 03:41 PM   #3
colin271
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Greetings seelenbild28 from not so sunny Texas,
Thanks for the info I will visit the sites and try and install the driver.

I appreciate the help,
Colin
 
Old 02-18-2006, 03:45 PM   #4
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
scanner

pleasure. it is always nice to hear that one could help. if you succeed, tell me please.
 
Old 03-02-2006, 07:30 PM   #5
colin271
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Suse 10 and HP 5100C scanner

Greetings seelenbild28,
I download the files that you pointed me to and untar'ed them. Then I had to go out of town on business.I am now back at home and I am trying to install the drives. I am a novice at Unix so I went hunting for some command ideas and found that I should build and then install the files. I tried to use the "make" command and got the following:
sharon@linux:~/ppscsi-beta2> make
make -C /lib/modules/`uname -r`/build M=`pwd` modules
make[1]: Entering directory
`/usr/src/linux-2.6.13-15.8-obj/x86_64/default'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory
`/usr/src/linux-2.6.13-15.8-obj/x86_64/default'
make: *** [all] Error 2

I am not sure what this means, except that the "make" command did not work. Could you tell me what I am doing wrong?

Thanks very much.
Colin
 
Old 03-03-2006, 04:53 AM   #6
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
scanner

hi colin,

yeah, I think the problem is the following: usually you should - if you manually install a program or driver - use the commands

./configure
make
make install

Do you find any ./configure file in your unzipped driver package? then you can proceed with these 3 commands. if not, there is perhaps another file like install or ./install.

I will try to download the driver and test it here on my machine. then I can tell you something more.

best regards
chris
 
Old 03-04-2006, 11:52 AM   #7
colin271
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Hi Chris,
After doing some studying I thought the commands you mentioned was the way to go.
I tried: sharon@linux:~/ppscsi-beta2> ./configure
bash: ./configure: No such file or directory
I have listed the files that were in the compressed file below:

epsa2.c Makefile ppscsi.c README.ppscsi sparcsi.c t358.c vpi2.c
epst.c onscsi.c ppscsi.h scsi_module.c t348.c vpi0.c

Thanks for the help,
Colin
 
Old 03-04-2006, 02:15 PM   #8
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
scanner

Hi Colin,

ok, I googled and found a manual (in german) where the guy tells us how to install the patch drivers and how the scanner will run. If you are online, tell me, I will translate this to you in the next hour.

Greetings from Berlin
Chris
 
Old 03-04-2006, 02:29 PM   #9
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
installation guide

Hi Colin,

here we are:

1a) downlad the following packages:

sane
kernel sources and
your patch for the ppscsi driver, then unzip it with:

gzip -d linux-ppscsi-*.patch.gz (here your patch file should be used)

1b) be super user:

su

1c) copy the unzipped ppscsi-file into the source directory:

cp linux-ppscsi-*.patch /usr/src/

1d) install patch with:

patch -p0 < linux-ppscsi-*.patch

1e) configure the kernel, this is bad because it seems to be the case you need to compile your kernel new:

i) make menuconfig (the guy tells: "gui, X not needed)
ii) make xconfig (a gui for X)
ii) make config (only text)

most probably the best will be case i), the gui. but, as I told you already this means to activate the LPT Scanner Support and to compile the kernel afterwards. I can't tell you how to compile the kernel, I never did that, perhaps you find another howto in the net.

1f) after compiling the kernel integrate the modules with:

insmod scsi_mod
insmod sg
insmod parport
insmod parport_pc
insmod ppscsi
insmod epst

1g) now you should be able to scan with the command:

scanimage -d hp:/dev/sg0 --mode Color > hpscan

1h) if this worked, you can put the modules into /etc/modules.conf like that:

search the line containing "parport" and write in the line below the following:

post-install parport modprobe parport_pc; modprobe epst; modprobe ppscsi;


I am sorry not to tell you a more easy way to do this install, but this was the first was I found after half an hour searching in google. the guy had the same hp scanjet 5100C you have, so I suggest, if you succeed to compile the kernel it will work.

Best regards
Chris

Last edited by seelenbild28; 03-04-2006 at 02:56 PM.
 
Old 03-13-2006, 02:08 PM   #10
colin271
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Hi Chris,
Sorry I did not get back to you quicker and give you my extrem thanks for the effort you put into helping me. Last Monday I received your info and download the patch file and followed your instructions. I moved the patch file to /usr/src, become a superuser and ran the patch command as instructed. That is were things stopped working. I would always get errors while patching, line such and such would not allow the patching to occur. I don't recollect the exact error as I had to travel up to Boston for business and I will not be back home until Wednesday. I can give you the exact errors at that then. I spent most of Monday and Tuesday night Googling around trying to find the solution. I went to different sites and download different versions of the patch, with no luck. I even found a Debian version, but a don't know if it would work or how to install it on Suse. One site had the similar similar to you, but had the patch - p1 instead of patch - p0. I tried that, but with no success. I am thinking that maybe the problem is that I am using the 64 bit version of SuSe and maybe the patch was made before 64 bit programming.
Again thank you for all the help, when I get home I will give it another go.

Cheers,
Colin
 
Old 03-13-2006, 03:33 PM   #11
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
scanner

hi colin,

I am sorry to hear that the manual I found did not work for you up to now. of course, it could be a possibility that you use the 64bit-version of SuSE. hmm, now I am really at the end of my knowledge. perhaps you could put your scanner problem once again in the forum. I don't know how to proceed now. I am sorry. hopefully you don't switch back to the guy from redmond after this adventure....

best regards
chris from berlin
 
Old 03-13-2006, 03:40 PM   #12
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
once again

hi colin,

I was just reading your first question again, where you describe that you are slowly moving from xp to suse and using the latest "xsane". did you also install the sane package? did you check in yast if there exist other packages necessary for scanning? perhaps this is a stupid suggestion, but perhaps also a possibility. perhaps you check by googling which dependencies you need for sane and xsane.

chris

ps: isn't there any of these old, whitehaired gurus in the forum to help????*g
 
Old 03-13-2006, 03:51 PM   #13
seelenbild28
Member
 
Registered: Oct 2005
Location: Germany, Berlin
Distribution: SuSE Linux 9.1/9.2/9.3/10.0/10.1, openSuSE 10.2, 10.3, Slackware, Debian, Redhat, BSD
Posts: 315

Rep: Reputation: 30
and once again

hi colin,

I was searching again in google and found this page:

http://www.kirchgessner.net/sane.html

perhaps you have a look there. all people write the hp5100C should work, so I hope we will also get it working....


chris
 
Old 03-14-2006, 06:01 PM   #14
cousinlucky
Member
 
Registered: Nov 2005
Location: Staten Island N.Y.
Distribution: PCLinuxOS Mate
Posts: 220

Rep: Reputation: 79
Please pardon my intrusion!!

I have an HP scanjet 4670 scanner that I can not use with my Suse Linux 10 OS. Could one of the downloads/websites mentioned here help me to alleve my problem?
 
Old 03-16-2006, 07:58 PM   #15
colin271
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Hi Chris,
Thanks for the link I will see what is out there. I will not give up yet, you never know one of the white haired gurus might turn up and recue me I am really thinking that the failure could be down to the 64 bit AMD CPU that I am using and its need for 64 bit Linux. Yes, I did check Xsane and I have 0.97 installed.

And hi to Cousinlucky, Linux is great don't give up on it, there are many people out there that are willing help.

Cheers,
Colin
 
  


Reply

Tags
install, scanjet, suse


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Brother MFC-5100c Installation General Linux - Hardware 4 01-29-2008 08:59 AM
No Sound in Dell Dimension 5100C dludenar Fedora 15 03-07-2007 11:03 AM
Scanjet 5100C under Slackware ! Cdzin Slackware 2 05-04-2006 12:25 PM
HP 5100C Parrallel scanner bearwood Fedora 7 02-06-2006 09:24 PM
Brother MFC-5100c printer driver kkaliek Linux - Hardware 1 07-03-2003 08:45 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration