LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-03-2004, 04:37 AM   #1
jagrom
LQ Newbie
 
Registered: Sep 2004
Location: Rome, Italy
Distribution: Mandrake 10.0
Posts: 13

Rep: Reputation: 0
Help installing HP scanjet 3530c




I can't install my HP scanjet 3530c scanner on my PC. I run Mandrake 10.0

Anyone knows where I can find the drivers?

Please help!!!

 
Old 09-03-2004, 12:20 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
some googling told me that the 3530c and the 3300 are basically the same scanner, so this may help

http://sourceforge.net/projects/hp3300backend/

no warranty ;-)
good luck.
 
Old 09-04-2004, 03:33 AM   #3
jagrom
LQ Newbie
 
Registered: Sep 2004
Location: Rome, Italy
Distribution: Mandrake 10.0
Posts: 13

Original Poster
Rep: Reputation: 0
Ehmmm... I downloaded the file and unpacked it... but I don't know what to to do now... Please help!!!

 
Old 09-04-2004, 01:27 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
is there a readme or install instruction file? what does it say?
 
Old 09-04-2004, 03:12 PM   #5
jagrom
LQ Newbie
 
Registered: Sep 2004
Location: Rome, Italy
Distribution: Mandrake 10.0
Posts: 13

Original Poster
Rep: Reputation: 0
I followed the instuction and tried to compile the test program using "make"
But I get a list of errors and I can't figure what is going on...

I have also big problem with the modem/router... I am forced to connect it to the PC using USB but the system doesn't recognize it... Even I can't connect to the server http://10.0.0.2 which is used to configure the ADSL connection... Thank God it works perfectly on Windows but I continuesly have to change OS by restarting my laptop...
 
Old 09-04-2004, 03:29 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
could you post the instructions, and the errors?
 
Old 09-04-2004, 04:11 PM   #7
jagrom
LQ Newbie
 
Registered: Sep 2004
Location: Rome, Italy
Distribution: Mandrake 10.0
Posts: 13

Original Poster
Rep: Reputation: 0
These are the instruction from the file INSTALL
--------------------------------------------------------------

This bundle supplies a sane-patch and a simple testtool
to test the basic functions of your NIASH flatbed scanner

Models are:
HP ScanJet 3300c, 3400c, 4300c
Agfa Snapscan Touch

--------------- PRE-REQUISITES --------------------------------

before trying to make your scanner work, call:
$ less /proc/bus/usb/devices
("q" will exit, cursor up and down will scroll)

if your scanning device is not listed by name, you probably
have a 3400C or 4300C and difficulties with the kernel-usb.
The forum will give you information, how to change the
kernel code, to make your scanner work.

--------------- THE TEST TOOL ----------------------------------

to compile the testtool type:
$ make

to invoke it:
$ ./testtool

The testtool will exclusively use "libusb"
(take care that libusb is installed),
because the "scanner" module is deprecated in the 2.6-kernels.

If your system is complaining about not being able to
access the USB port "ERROR: usb_claim_interface failed"
make sure, that the scanner kernel-module is not loaded
(when using older kernels). If
$ /sbin/lsmod | grep scanner
shows "scanner ...." unload the module by
$ sudo /sbin/rmmod scanner
followed by the root-password

if you still don't have access to the USB port, make sure that
your "/proc/bus/usb" interfaces have write access rights for everybody.
Grant write access rights by:
$ sudo chmod a+rw -R /proc/bus/usb/00*
followed by the root-password

if you still have problems, please check the cables!

--------------- SANE -------------------------------------------

To make your scanner system wide available,
you will need to "patch" SANE (http:/sane-project.org)

to patch the sane backends
get the latest sane-backend-sources from http:/sane-project.org,
unpack them and call:

$ ./patch-sane.sh /path/to/the/sane/sources/sane-backends-1.0.XX
$ cd /path/to/the/sane/sources/sane-backends-1.0.XX
$ ./configure --prefix=/usr # can be different on various systems
$ make
$ sudo make install
followed by the root-password

NOTE:
when you already have a sane-version installed on your system,
the correct --prefix can be retrieved by analizing the output of
$ ls -l `which scanimage`
Strip away everything from the output starting with "/bin/scanimage".
It might be a good idea to uninstall the older sane version first.

Have fun

------------------------------------------------------------------
And this is the list of commands and errors
------------------------------------------------------------------

[jagrom@localhost jagrom]$ cd '/home/jagrom/Desktop/backend'
[jagrom@localhost backend]$ make
gcc -Wall -g -DSTATIC="" -c -o niash_libusb.o niash_libusb.c
niash_libusb.c:30:58: usb.h: No such file or directory
niash_libusb.c: In function `NiashLibUsbInit':
niash_libusb.c:52: warning: implicit declaration of function `usb_init'
niash_libusb.c:53: warning: implicit declaration of function `usb_find_busses'
niash_libusb.c:54: warning: implicit declaration of function `usb_find_devices'
niash_libusb.c:55: error: `usb_busses' undeclared (first use in this function)
niash_libusb.c:55: error: (Each undeclared identifier is reported only once
niash_libusb.c:55: error: for each function it appears in.)
niash_libusb.c:55: error: dereferencing pointer to incomplete type
niash_libusb.c:57: error: dereferencing pointer to incomplete type
niash_libusb.c:57: error: dereferencing pointer to incomplete type
niash_libusb.c:62: error: dereferencing pointer to incomplete type
niash_libusb.c:63: error: dereferencing pointer to incomplete type
niash_libusb.c:67: error: dereferencing pointer to incomplete type
niash_libusb.c:68: error: dereferencing pointer to incomplete type
niash_libusb.c: In function `NiashLibUsbOpen':
niash_libusb.c:85: error: `usb_dev_handle' undeclared (first use in this function)
niash_libusb.c:85: error: `devLibUsb' undeclared (first use in this function)
niash_libusb.c:91: error: `usb_busses' undeclared (first use in this function)
niash_libusb.c:91: error: dereferencing pointer to incomplete type
niash_libusb.c:93: error: dereferencing pointer to incomplete type
niash_libusb.c:93: error: dereferencing pointer to incomplete type
niash_libusb.c:96: error: dereferencing pointer to incomplete type
niash_libusb.c:97: error: dereferencing pointer to incomplete type
niash_libusb.c:102: warning: implicit declaration of function `usb_open'
niash_libusb.c:103: warning: implicit declaration of function `usb_claim_interface'
niash_libusb.c:106: warning: implicit declaration of function `usb_close'
niash_libusb.c:109: error: dereferencing pointer to incomplete type
niash_libusb.c:110: error: dereferencing pointer to incomplete type
niash_libusb.c: In function `NiashLibUsbExit':
niash_libusb.c:125: error: `usb_dev_handle' undeclared (first use in this function)
niash_libusb.c:125: error: `devLibUsb' undeclared (first use in this function)
niash_libusb.c:133: error: parse error before ')' token
niash_libusb.c:135: warning: implicit declaration of function `usb_release_interface'
niash_libusb.c: In function `_LibUsbReadControl':
niash_libusb.c:148: error: `usb_dev_handle' undeclared (first use in this function)
niash_libusb.c:148: error: `devLibUsb' undeclared (first use in this function)
niash_libusb.c:155: error: parse error before ')' token
niash_libusb.c:159: warning: implicit declaration of function `usb_control_msg'
niash_libusb.c: In function `_LibUsbWriteControl':
niash_libusb.c:168: error: `usb_dev_handle' undeclared (first use in this function)
niash_libusb.c:168: error: `devLibUsb' undeclared (first use in this function)
niash_libusb.c:175: error: parse error before ')' token
niash_libusb.c: In function `NiashLibUsbWriteBulk':
niash_libusb.c:202: error: `usb_dev_handle' undeclared (first use in this function)
niash_libusb.c:202: error: `devLibUsb' undeclared (first use in this function)
niash_libusb.c:209: error: parse error before ')' token
niash_libusb.c:214: warning: implicit declaration of function `usb_bulk_write'
niash_libusb.c: In function `NiashLibUsbReadBulk':
niash_libusb.c:230: error: `usb_dev_handle' undeclared (first use in this function)
niash_libusb.c:230: error: `devLibUsb' undeclared (first use in this function)
niash_libusb.c:237: error: parse error before ')' token
niash_libusb.c:242: warning: implicit declaration of function `usb_bulk_read'
make: *** [niash_libusb.o] Error 1
[jagrom@localhost backend]$
 
Old 10-18-2004, 08:11 AM   #8
robindr
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora
Posts: 3

Rep: Reputation: 0
I have Fedora Core 2 installed and don't see how to install the drivers for my hp scanjet 3530c anybody who can help?

thx
 
  


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
HP Scanjet 4570c harley51 Fedora 0 01-15-2005 03:19 PM
Trouble installing hp scanjet 5470c backend on Redhat 9.0 ravi_iisc Linux - Hardware 0 10-28-2004 05:35 PM
Problem installing HP scanjet 2200c Nixu Linux - Hardware 2 02-21-2004 05:28 AM
HP Scanjet 5300C uranologist Linux - Hardware 0 09-10-2003 03:28 AM
HP Scanjet 5300c Radiomaan Linux - General 3 05-10-2001 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:39 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