LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-27-2004, 09:13 AM   #1
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Rep: Reputation: 30
hp scanject 2200c don't work slack 10


I want install my scanner (hp scanject 2200c), but the xsane don't detect it. I use slackware 10, and I think that is strange because the scanner it's detected in other distros. I saw in plustek site that's this scanner works fine in linux. I instal the pakages of fedora core 2 (xsane, sane-frontends, sane-backends) with rpm2tgz (because in fedora core 2 this scanner works) but nothing.
Who can help me?... I like slackware, but I need that scanner works...
 
Old 09-27-2004, 03:03 PM   #2
mikz
Member
 
Registered: Sep 2004
Distribution: Slackware current
Posts: 109

Rep: Reputation: 15
Source code

You could try to obtain the source code for the scanner driver and compile it under slackware, but from my own experience the PLUSTEK scanners do give a few problems under Linux.
 
Old 09-27-2004, 03:26 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What output do you get from

lsmod

with the scanner hooked up and turned on?


Cheers,
Tink
 
Old 09-27-2004, 04:00 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Try editing /etc/sane.d/dll.conf and uncomment plustek_pp the parallel port version comes disabled by default, that should do the trick (provided you loaded parport modules on /etc/rc.d/rc.modules)

Btw, try running sane-find-scanner -p
after editing that.

Last edited by gbonvehi; 09-27-2004 at 04:12 PM.
 
Old 09-28-2004, 02:48 AM   #5
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
when I do sane-find-scanner the output is:

# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".

found USB scanner (vendor=0x03f0, product=0x0605) at /dev/usb/scanner0
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0605 [HP ScanJet 2200C], chip=LM983x?) at libusb:003:002
found USB scanner (vendor=0x06b9 [ALCATEL], product=0x4061 [Speed Touch 330 ]) at libusb:002:002
# 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.
 
Old 09-28-2004, 03:06 AM   #6
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
lsmod
with scanner on usb port, output:

Module Size Used by Tainted: P
ppp_synctty 5856 0 (unused)
ppp_async 7392 1
ppp_generic 19492 3 [ppp_synctty ppp_async]
slhc 4976 0 [ppp_generic]
tun 4064 3
snd-pcm-oss 37736 0 (unused)
snd-mixer-oss 12504 0 [snd-pcm-oss]
usb-ohci 19240 0 (unused)
ehci-hcd 17580 0 (unused)
sis900 12396 1
crc32 2880 0 [sis900]
snd-ens1370 7780 0
gameport 1420 0 [snd-ens1370]
snd-pcm 56072 0 [snd-pcm-oss snd-ens1370]
snd-timer 13604 0 [snd-pcm]
snd-page-alloc 6328 0 [snd-ens1370 snd-pcm]
snd-rawmidi 12740 0 [snd-ens1370]
snd-seq-device 3888 0 [snd-rawmidi]
snd-ak4531-codec 4824 0 [snd-ens1370]
snd 30852 0 [snd-pcm-oss snd-mixer-oss snd-ens1370 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ak4531-codec]
soundcore 3396 6 [snd]
nvidia 4585676 6
ide-scsi 9328 0
scanner 11040 0
evdev 4384 0 (unused)
wacom 6008 0 (unused)
usbkbd 3448 0 (unused)
usbmouse 2040 0 (unused)
keybdev 2052 0 (unused)
mousedev 4212 0 (unused)
hid 21220 0 (unused)
input 3200 0 [evdev wacom usbkbd usbmouse keybdev mousedev hid]
usbcore 59308 1 [usb-ohci ehci-hcd scanner wacom usbkbd usbmouse hid]
agpgart 43940 2
parport_pc 14788 1 (autoclean)
lp 6724 0
parport 23336 1 [parport_pc lp]
******************************************************

lsmod
with no scanner on usb port, output:
Module Size Used by Tainted: P
ppp_synctty 5856 0 (unused)
ppp_async 7392 1
ppp_generic 19492 3 [ppp_synctty ppp_async]
slhc 4976 0 [ppp_generic]
tun 4064 3
snd-pcm-oss 37736 0 (unused)
snd-mixer-oss 12504 0 [snd-pcm-oss]
usb-ohci 19240 0 (unused)
ehci-hcd 17580 0 (unused)
sis900 12396 1
crc32 2880 0 [sis900]
snd-ens1370 7780 0
gameport 1420 0 [snd-ens1370]
snd-pcm 56072 0 [snd-pcm-oss snd-ens1370]
snd-timer 13604 0 [snd-pcm]
snd-page-alloc 6328 0 [snd-ens1370 snd-pcm]
snd-rawmidi 12740 0 [snd-ens1370]
snd-seq-device 3888 0 [snd-rawmidi]
snd-ak4531-codec 4824 0 [snd-ens1370]
snd 30852 0 [snd-pcm-oss snd-mixer-oss snd-ens1370 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ak4531-codec]
soundcore 3396 6 [snd]
nvidia 4585676 6
ide-scsi 9328 0
scanner 11040 0
evdev 4384 0 (unused)
wacom 6008 0 (unused)
usbkbd 3448 0 (unused)
usbmouse 2040 0 (unused)
keybdev 2052 0 (unused)
mousedev 4212 0 (unused)
hid 21220 0 (unused)
input 3200 0 [evdev wacom usbkbd usbmouse keybdev mousedev hid]
usbcore 59308 1 [usb-ohci ehci-hcd scanner wacom usbkbd usbmouse hid]
agpgart 43940 2
parport_pc 14788 1 (autoclean)
lp 6724 0
parport 23336 1 [parport_pc lp]
 
Old 09-28-2004, 03:11 AM   #7
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
If I do:
/sbin/modprobe scanner
I've not output
 
Old 09-28-2004, 05:41 AM   #8
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
It looks like you have the modules you need and sane has detected your scanner, although it looks like what I'm assuming is your modem (alcatel) is also being picked up by sane. Is the modem usb? Maybe you should try running sane-find-scanner with your modem unplugged.

Check in /etc/sane.d that only the plustek back-end is executable. All the other backends should be read only.

Then do "scanimage -L" as root and see if your scanner is identified correctly. If it is, run "xsane" as normal user. If that doesn't work, try it as root. If it works as root but not as normal user, you have a permissions problem to which there are a few different solutions.

I'm not sure if using the Fedora packages is a good idea - they might be tweaked to run on FC. It would be safer to use the source, or make a tgz package with checkinstall. But try the other stuff first, maybe the FC packages are OK.
 
Old 09-28-2004, 08:42 AM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
What happens if you run: xsane /dev/usb/scanner0
 
Old 09-28-2004, 10:38 AM   #10
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
If I do:
xsane /dev/usb/scanner0
opens the xsane graphical window and the fallow menssage:

Error to open the device '/dev/usb/scanner0" invallid argument
 
Old 09-28-2004, 11:14 AM   #11
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
hraposo, did u try "scanimage -L" as suggested by scan-find-scanner, also are you doing all this as root?
 
Old 09-28-2004, 11:51 AM   #12
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
When I do
scanimage -L (as root - I tried all as root and as user) the output is:

device `plustek:libusb:002:002' is a Hewlett-Packard Scanjet 2200c USB flatbed scanner

But if I do scan-find-scanner (I think that this is not a command), the output is:

bash: scan-find-scanner: command not found
 
Old 09-28-2004, 12:01 PM   #13
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Sorry it was sane-find-scanner but you already used it.
Try xsane plustek:libusb:002:002 now
Also, read xsane's man pages to see if you spot something there.
 
Old 09-28-2004, 02:27 PM   #14
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
When I do:
xsane plustek:libusb:002:002 now

I've got the same output:
opens the xsane graphical window and the fallow menssage:
Error to open the device 'plustek:libusb:002:002" not suport operation


Don't worry I think this is a waste of time. Maybe I need of distro...
 
Old 09-28-2004, 03:10 PM   #15
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
sane-find-scanner has found your scanner.
scanimage -L has correctly identified your scanner.
Running "xsane" should work on your setup, unless you're using a 2.6 kernel

Are all the backends in /etc/sane.d read-only except for plustek (executable)?

Check in /var/log/dmesg for any lines to do with usb (ohci,uhci, ehci, usbcore) to make sure the kernel is loading the drivers
 
  


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
Any HP Scanject 3500c Scanner support? LinebackerACT SUSE / openSUSE 5 03-14-2006 07:09 AM
need driver for hp scanjet 2200c neophyte_linux Linux - Hardware 1 05-31-2005 03:36 AM
Slack 10.1 will a Slack 10 Wine pkg work? acummings Slackware 1 03-25-2005 04:55 AM
install HP deskjet 845c and hp scanjet 2200c j.vilon Linux - General 7 01-17-2005 10:54 PM
Problem installing HP scanjet 2200c Nixu Linux - Hardware 2 02-21-2004 05:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:35 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
Open Source Consulting | Domain Registration