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 10-09-2004, 08:06 PM   #1
kjellhar
LQ Newbie
 
Registered: Oct 2004
Location: Norway
Distribution: Suse 9.1
Posts: 11

Rep: Reputation: 0
cant get HP4100c scanner to work


I have tried now for a couple of days to get my HP4100c scanner to work under Suse 9.1. It just won't cooperate.

Non of the suggestions I have found so far seems to work. I'm quite new to linux, so I'm not exactly sure what I'm doing, but maybe someone can help me.

YAST doesn't seem to work. First time I set up a scanner everything looks ok, but when try to use the setup tool again it won't find the scanner I just set up.

my hp.conf file looks like this

Code:
scsi HP
# Uncomment the following if you have "Error during device I/O" on SCSI
#   option dumb-read
#
# The usual place for a SCSI-scanner on Linux
#
#
# USB-scanners supported by the hp-backend
# HP ScanJet 4100C
usb 0x03f0 0x0101
# HP ScanJet 5200C
#usb 0x03f0 0x0401
# HP ScanJet 62X0C
#usb 0x03f0 0x0201
# HP ScanJet 63X0C
#usb 0x03f0 0x0601

# from usermap
#usb 0x03f0 0x0102
#usb 0x03f0 0x0105
#usb 0x03f0 0x0205
#usb 0x03f0 0x0305
#usb 0x03f0 0x0405
#usb 0x03f0 0x0705
#usb 0x03f0 0x0805
#usb 0x03f0 0x0901
#usb 0x03f0 0x0a01
#usb 0x03f0 0x1205
#usb 0x03f0 0x1305
#usb 0x03f0 0x2005
#usb 0x03f0 0x2205

#
# Uncomment the following if your scanner is connected by USB,
# but you are not using libusb
 /dev/usb/scanner0
   option connect-device

If I tre sane-find-scanner, I get the following result

Code:
rosebud:/etc/sane.d # sane-find-scanner

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x03f0, product=0x0101) at libusb:002:003
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Scanners connected to the parallel port or other proprietary ports can't be
  # detected by this program.
And if I try scanimage -L, I get

Code:
rosebud:/etc/sane.d # scanimage -L
device `hp:libusb:002:003' is a Hewlett-Packard ScanJet 4100C flatbed scanner
Any attempt to start a scan, both from comand line and X, fail. It cannot find any scanner.
I don't know if it means anything, but if I bring up usbview, the scanner is showing up in red. I have other usb devices (printer and keyboard/mouse) that is working well.

Also tried the vuescan software and it worked like a breeze, but it cost way too much.

Hope someone out there can help me solve this.
Thanks
 
Old 10-09-2004, 09:39 PM   #2
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Rep: Reputation: 30
Try commenting "scsi HP" also check /etc/sane.d/dll.conf and make sure "hp" is uncommented. You can comment the rest. Also check the output of lsmod to be sure your usb is being loaded.
 
Old 10-10-2004, 06:14 AM   #3
kjellhar
LQ Newbie
 
Registered: Oct 2004
Location: Norway
Distribution: Suse 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
I've already tried to comment out the SCSI lline. Didn't work
In my dll.conf file, the only liny that is not commented is the hp line. Looks fine.

When I try lsmod I get this. I'm not sure if anything missing here.

Code:
rosebud:/etc/sane.d # lsmod
Module                  Size  Used by
fglrx                 220604  7
vmnet                  24720  8
vmmon                  41656  0
hid                    40896  0
usb_storage            60096  0
usbserial              29040  0
parport_pc             35520  1
lp                     11044  0
parport                37832  2 parport_pc,lp
edd                     9368  0
joydev                 10304  0
sg                     35616  0
st                     39196  0
sr_mod                 16292  0
nvram                   8456  0
ehci_hcd               27908  0
ohci_hcd               19332  0
ohci1394               30852  0
ieee1394              100152  1 ohci1394
sk98lin               149064  0
nvidia_agp              7708  1
agpgart                30888  2 nvidia_agp
evdev                   9856  0
speedstep_lib           3712  0
freq_table              4612  0
thermal                12680  0
ipv6                  237440  15
processor              16680  1 thermal
snd_seq_oss            31232  0
snd_seq_midi_event      7680  1 snd_seq_oss
snd_seq                54928  5 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            57512  0
snd_mixer_oss          18944  1 snd_pcm_oss
fan                     4228  0
button                  6416  0
battery                 8836  0
ac                      4996  0
snd_intel8x0           33708  4
snd_ac97_codec         62468  1 snd_intel8x0
snd_pcm                97032  2 snd_pcm_oss,snd_intel8x0
snd_timer              25860  2 snd_seq,snd_pcm
snd_page_alloc         11528  2 snd_intel8x0,snd_pcm
gameport                4736  1 snd_intel8x0
snd_mpu401_uart         8064  1 snd_intel8x0
snd_rawmidi            25508  1 snd_mpu401_uart
snd_seq_device          8456  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    61444  21 snd_seq_oss,snd_seq_midi_event,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               9056  1 snd
usbcore               103644  7 hid,usb_storage,usbserial,ehci_hcd,ohci_hcd
forcedeth              14464  0
binfmt_misc            10120  1
ide_cd                 36740  0
cdrom                  36892  2 sr_mod,ide_cd
subfs                   7424  2
nls_utf8                2304  1
ntfs                   86416  1
dm_mod                 50300  0
reiserfs              241488  2
sata_sil                7556  0
libata                 38016  1 sata_sil,[permanent]
sd_mod                 20224  0
scsi_mod              108876  6 usb_storage,sg,st,sr_mod,libata,sd_mod
 
Old 10-10-2004, 06:35 AM   #4
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Re: cant get HP4100c scanner to work

Quote:
Originally posted by kjellhar
Code:
# Uncomment the following if your scanner is connected by USB,
# but you are not using libusb
 /dev/usb/scanner0
   option connect-device
You have the backend set up to use the scanner module, but according to lsmod, it isn't loaded. Try "modprobe scanner" as root.

If you're using a 2.6 kernel, the scanner module won't work - you need to set up the scanner to run with libusb
 
Old 10-10-2004, 06:53 AM   #5
kjellhar
LQ Newbie
 
Registered: Oct 2004
Location: Norway
Distribution: Suse 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
I'm using kernel 2.6, so I guess libusb is the way to go.
Tried to uncomment those two lines in the hp.conf file, but that doesn't seem to make any difference. Is there anything else I should do to use libusb?
 
Old 10-10-2004, 02:16 PM   #6
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Do you have the usb filesystem mounted? I have this line in my fstab to load the FS:
Code:
none            /proc/bus/usb     usbfs      defaults,auto, 0 0
In Suse, it might be "usbdevfs" instead of "usbfs"

If the FS is running, try running "xsane" from terminal. If it doesn't work, try running it as root. If it works in root, but not as user, you have a permissions problem. Read this thread.
 
Old 10-11-2004, 11:38 AM   #7
kjellhar
LQ Newbie
 
Registered: Oct 2004
Location: Norway
Distribution: Suse 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
my fstab is ok.
Running xsane from terminal or as root doesn't help
 
Old 10-11-2004, 12:35 PM   #8
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
What do you mean by "it doesn't help"? Is there an error message when you type "xsane" in terminal? Do you have xsane installed?

Check in /etc/sane.d that all backends are listed as read-only, except for hp, which should be executable. Kak mentioned the dll.conf file before, but this isn't the same thing.
 
Old 10-12-2004, 02:45 AM   #9
kjellhar
LQ Newbie
 
Registered: Oct 2004
Location: Norway
Distribution: Suse 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
Ah, sorry but I was in a bit of a rush yesterday.
When I start xsane from terminal (root), I get a warning that tells me this is extremely dangerous. I boldly ignore that message. Then a popup says it's searching for scanners for maybe 15 seconds, and last it tells me "No device found" before it terminates.

Executable hp.conf file was new information. I will try that tomorrow (I won't see my computer until then)
 
Old 10-13-2004, 02:13 PM   #10
kjellhar
LQ Newbie
 
Registered: Oct 2004
Location: Norway
Distribution: Suse 9.1
Posts: 11

Original Poster
Rep: Reputation: 0
Tried that last thing about making hp.conf executable. Didn't make any difference.
XSane stilll can't locate any devices. I'm a bit fed up by this scanner right now. Think I'll come back to it in a a week or two.

Thanks to everyone for the help so far.
 
  


Reply


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
how would i make a scanner work in linux Paxmaster Linux - General 1 04-10-2005 09:20 PM
Trying to get my scanner to work in Redhat 9? orranview Linux - Newbie 3 03-07-2004 03:21 AM
getting Plustek USB scanner to work demmylls Linux - Hardware 1 11-09-2003 09:26 AM
can't locate module scanner > how to get scanner work? b0uncer Linux - Hardware 1 10-26-2003 06:50 AM
Getting your scanner to work in Mandrake 9.1 geoff_f Linux - Hardware 2 08-14-2003 06:05 AM

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

All times are GMT -5. The time now is 03:52 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration