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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-09-2004, 08:32 PM
|
#1
|
Member
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182
Rep:
|
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?
|
|
|
05-09-2004, 08:58 PM
|
#2
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
What errors are you getting?
|
|
|
05-09-2004, 10:20 PM
|
#3
|
Member
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182
Original Poster
Rep:
|
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?
|
|
|
05-09-2004, 10:21 PM
|
#4
|
Member
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182
Original Poster
Rep:
|
i forgot to say that the correct firmware is 'sbfw.usb'
|
|
|
05-09-2004, 10:39 PM
|
#5
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
As root do "sane-find-scanner" and post the output.
|
|
|
05-10-2004, 05:34 AM
|
#6
|
Member
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182
Original Poster
Rep:
|
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:~#
|
|
|
05-10-2004, 08:16 AM
|
#7
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
Did you try 'scanimage -L'?
|
|
|
05-10-2004, 08:59 AM
|
#8
|
Member
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182
Original Poster
Rep:
|
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:~$
|
|
|
05-10-2004, 09:11 AM
|
#9
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
Well it seems to find the scanner ok, the problem must be with the firmware file.
|
|
|
05-10-2004, 12:32 PM
|
#10
|
Member
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182
Original Poster
Rep:
|
thnks for the reply. ok now how do i overcome the problem? i am kinda new
|
|
|
05-10-2004, 06:28 PM
|
#11
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
Make a copy of 'sbfw.usb' called 'PS1fw.usb' in "/usr/share/sane/gt68xx/"
|
|
|
05-10-2004, 06:45 PM
|
#12
|
Member
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182
Original Poster
Rep:
|
in that folder the only file that exists is sbfw.usb. there is nothing called PS1fw.usb!
|
|
|
05-10-2004, 07:03 PM
|
#13
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
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.
|
|
|
05-10-2004, 10:02 PM
|
#14
|
Member
Registered: Mar 2003
Distribution: Debian Squeeze
Posts: 182
Original Poster
Rep:
|
can you tell me the whole command including paths? kinda new.
|
|
|
05-10-2004, 10:45 PM
|
#15
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
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 10:47 PM.
|
|
|
All times are GMT -5. The time now is 06:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|