LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   scanner problem (https://www.linuxquestions.org/questions/linux-hardware-18/scanner-problem-179761/)

tsitras 05-09-2004 07:32 PM

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?

Aussie 05-09-2004 07:58 PM

What errors are you getting?

tsitras 05-09-2004 09:20 PM

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?

tsitras 05-09-2004 09:21 PM

i forgot to say that the correct firmware is 'sbfw.usb'

Aussie 05-09-2004 09:39 PM

As root do "sane-find-scanner" and post the output.

tsitras 05-10-2004 04:34 AM

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:~#

Aussie 05-10-2004 07:16 AM

Did you try 'scanimage -L'?

tsitras 05-10-2004 07:59 AM

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:~$

Aussie 05-10-2004 08:11 AM

Well it seems to find the scanner ok, the problem must be with the firmware file.

tsitras 05-10-2004 11:32 AM

thnks for the reply. ok now how do i overcome the problem? i am kinda new

Aussie 05-10-2004 05:28 PM

Make a copy of 'sbfw.usb' called 'PS1fw.usb' in "/usr/share/sane/gt68xx/"

tsitras 05-10-2004 05:45 PM

in that folder the only file that exists is sbfw.usb. there is nothing called PS1fw.usb!

Aussie 05-10-2004 06:03 PM

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.

tsitras 05-10-2004 09:02 PM

can you tell me the whole command including paths? kinda new.

Aussie 05-10-2004 09:45 PM

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.]


All times are GMT -5. The time now is 10:35 AM.