LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-09-2004, 07:32 PM   #1
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Rep: Reputation: 30
scanner problem


hi i got a usb scanner 'mustek 1200 UB plus'. the scanner was working perfectly until i did an upgrade to kde. now the scanner it is not recognised properly from my system. i am running debian's woody with kernel 2.6.5.
aristos@debian:~$ scanimage -L
device `gt68xx:libusb:002:002' is a Mustek BearPaw 1200 CU flatbed scanner
aristos@debian:~$
, but when i am trying to create an image with scanimage, or launching xsane, errors appear that they can not find the device. any ideas?
 
Old 05-09-2004, 07:58 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
What errors are you getting?
 
Old 05-09-2004, 09:20 PM   #3
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Original Poster
Rep: Reputation: 30
when i launch xsane, it searches for devices, and then it gives me an error which says:
Failed to open device 'gt68xx:libusb:002:002' Invalid argument
also when i use the scanner in console as user (same happens as root:
aristos@debian:~$ scanimage > test.pnm
[gt68xx] Couldn't open firmware file (neither `/usr/share/sane/gt68xx/PS1fw.usb' nor `/usr/share/sane/gt68xx/ps1fw.usb'): No such file or directory
scanimage: open of device gt68xx:libusb:002:002 failed: Invalid argument
aristos@debian:~$


any ideas?
 
Old 05-09-2004, 09:21 PM   #4
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Original Poster
Rep: Reputation: 30
i forgot to say that the correct firmware is 'sbfw.usb'
 
Old 05-09-2004, 09:39 PM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
As root do "sane-find-scanner" and post the output.
 
Old 05-10-2004, 04:34 AM   #6
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Original Poster
Rep: Reputation: 30
debian:~# 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.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".

found USB scanner (vendor=0x05d8, product=0x4002, chip=GT-6801) 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.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
debian:~#
 
Old 05-10-2004, 07:16 AM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Did you try 'scanimage -L'?
 
Old 05-10-2004, 07:59 AM   #8
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Original Poster
Rep: Reputation: 30
here is the scanimage as user. the same apply for root. it is not working.

aristos@debian:~$ scanimage -L
device `gt68xx:libusb:002:002' is a Mustek BearPaw 1200 CU flatbed scanner
aristos@debian:~$
 
Old 05-10-2004, 08:11 AM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Well it seems to find the scanner ok, the problem must be with the firmware file.
 
Old 05-10-2004, 11:32 AM   #10
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Original Poster
Rep: Reputation: 30
thnks for the reply. ok now how do i overcome the problem? i am kinda new
 
Old 05-10-2004, 05:28 PM   #11
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Make a copy of 'sbfw.usb' called 'PS1fw.usb' in "/usr/share/sane/gt68xx/"
 
Old 05-10-2004, 05:45 PM   #12
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Original Poster
Rep: Reputation: 30
in that folder the only file that exists is sbfw.usb. there is nothing called PS1fw.usb!
 
Old 05-10-2004, 06:03 PM   #13
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Yes, but the scanner is looking for PS1fw.usb, so do "cp sbfw.usb PS1fw.usb" and lets see if we can fool it with a name change.
 
Old 05-10-2004, 09:02 PM   #14
tsitras
Member
 
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182

Original Poster
Rep: Reputation: 30
can you tell me the whole command including paths? kinda new.
 
Old 05-10-2004, 09:45 PM   #15
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Ok, as root do the following,
Code:
cd /usr/share/sane/gt68xx/
cp sbfw.usb PS1fw.usb
After that you should have two firmware files both the same except for their names, then try your scanner again and we'll see if the name of the firmware file was causing the error.

[Edit: Remember that linux is case sensitive when you do the cp command.]

Last edited by Aussie; 05-10-2004 at 09:47 PM.
 
  


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
Problem with scanner jnicou Linux - Software 1 10-20-2005 10:53 AM
Scanner Problem robhargreaves Linux - Hardware 2 01-27-2004 07:07 AM
Scanner problem weng Linux - Hardware 2 12-20-2003 10:10 AM
Problem with scanner weng Linux - Hardware 0 12-20-2003 04:37 AM
can't locate module scanner > how to get scanner work? b0uncer Linux - Hardware 1 10-26-2003 06:50 AM

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

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