You are not logged in.

#1 2009-10-27 20:21:37

BenoitSvB
Member
Registered: 2005-08-13
Posts: 9

problem compiling ppscsi module for HP ScanJet 5100C

I am trying to get my ScanJet 5100C working under Arch; the most recent thread on ScanJet 5100C under Linux that I could find is: http://www.linuxquestions.org/questions … p?t=555861, so I use that as a guide. But in following it, I encountered problems...

1. Kernel-headers.
1.a. I am running (uname -r) 2.6.31-ARCH
1.b. The most recent headers (pacman -Sy kernel-headers): kernel-headers-2.6.30.5-1
1.c. My source tree: /usr/src/linux-2.6.31-ARCH

Are my kernel-headers out of sync?

2. Module source.
2.1 I succesfully downloaded ppscsi-beta2-20060424.tar.gz from http://penguin-breeder.org/kernel/download/ and

3. unpacked it into ~/HP ScanJet 5100C/ppscsi-beta2

Before applying the changes described in my guide I decided to check if the errors would occur as described:

As ordinary user I cd-ed into ~/HP ScanJet 5100C/ppscsi-beta2 and issued: make

*** make aborted with the following messages (different from my guide):

make -C /lib/modules/`uname -r`/build M=`pwd` modules
make[1]: Map '/usr/src/linux-2.6.31-ARCH' wordt binnengegaan
make[1]: *** Er is geen regel om doel 'ScanJet' te maken.  Gestopt.
make[1]: Map '/usr/src/linux-2.6.31-ARCH' wordt verlaten
make: *** [all] Fout 2

In English it would be something like: no [line,rule] to make target 'ScanJet'

I am stuck and welcome suggestions to help me proceed.

Offline

#2 2009-10-28 10:37:09

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: problem compiling ppscsi module for HP ScanJet 5100C

As I told you in the LQ forum, make sure you have the latest kernel-header which for me is 2.6.31-4,

pacman -Syyu

and then retry. Also see if you have base-devel package installed.

Last edited by sHyLoCk (2009-10-28 10:37:43)


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#3 2009-10-28 11:03:27

BenoitSvB
Member
Registered: 2005-08-13
Posts: 9

Re: problem compiling ppscsi module for HP ScanJet 5100C

sHyLoCk, Thank you for your reaction; probably best to focus on the Arch forum.

I upgraded today to binutils 2.20-1 gcc 4.4.2-2 gcc-libs 4.4.2-2 and kernel-headers 2.6.31.4-1, but it did not change the behaviour of make as described above.

The news I have (but which does not help me with the make problem for the moment) is:

a. from http://bbs.archlinux.org/viewtopic.php?id=69867

ataraxia wrote:

The kernel-headers package is meant to contain the version of the headers glibc was built against, so you can compile things that use kernel headers properly and have them link right against the rest of the userland. It won't normally match the actual kernel version.

b. There is a newer thread about this device driver here:
http://ubuntuforums.org/showthread.php? … 00C&page=5

So it seems the device is working in the latest stable Ubuntu.
I suppose I do something wrong with compiling this device driver module against the Arch kernel...

Offline

#4 2013-03-15 22:03:33

zdenek archlinux
Member
Registered: 2013-03-15
Posts: 1

Re: problem compiling ppscsi module for HP ScanJet 5100C

Hi

Im a novice on this forum, but i think that i have a important message.

Scanner HP Scanjet 5100C works fine on Linux 3.7.10-1-ARCH. Now is 15.3.2013 - scanner is 9 year old.

Because many of old patches is today unavailable (like ppscsi-patched-karmic.tar.gz) here is complete driver for kernel 3.7.10.

http://www.zdenek-stepanek.eu/ppscsi-be … .10.tar.gz

Please understand that I'm not a programmer. Driver above is only original driver (ppscsi-beta2-20060424.tar.gz) with all patchsets, which I found on this and other forums.

If you have any question, please dont use PM or this forum. You can write to me on email zdenek@gavanet.org, but once more, I'm not a programmer...

Please write me if this driver helped.

Goog luck :-)

Last edited by zdenek archlinux (2013-03-15 22:09:46)

Offline

Board footer

Powered by FluxBB