You try to use your scanner with XSane but it says that it cannot open the device and gives you the error «invalid argument»? If so, I may have an easy solution for you!
First of all, and after ensuring that you have the package sane-utils installed, open a terminal and run «scanimage -L». Look at the command’s output for the line matching your scanner, which may be something like «gt68xx:libusb:001:005 is a Mustek BearPaw 12: f00 CU flatbed scanner». If your line starts the same way, that is, with «gt68xx», then keep on reading! (If not, then I’m sorry but you’ll have to look somewhere else for instructions on how to get your scanner to work).
Alright, so now that you know for sure that your scanner works with the gt68xx driver, you only need to do one thing: install the firmware for your model. This is a «.usb» file which you can find in the driver CD for your scanner or at this website: firmware for gt68xx scanners, and you only need to copy it into the directory «/usr/share/sane/gt68xx/».
I have tried this with a Packard Bell Diamond 1200 Plus, which needs the firmware file «PS1Dfw.usb». So, I just copied that file from the driver CD (it’s in the directory WinXP; note that, if you prefer, you can also download the file from the above mentioned webpage) to my home folder and then using the terminal moved it by doing «sudo mv PS1Dfw.usb /usr/share/sane/gt68xx/» and set the right permissions for it with «sudo chmod 644 /usr/share/sane/gt68xx/PS1Dfw.usb».
That’s it, now you can go to Applications -> Graphics -> XSane Image Scanner and it will work just fine :).
Related posts:
- Reducing SSH’s connection time on Ubuntu
If you use SSH on your local network you may suffer from the annoyance that... - On Intel AppUp, the ExoPC Slate, MeeGo and Ubuntu 10.10
Introduction (Intel Rocks!) Last Wednesday I attended the Intel AppUp Developer Day, a workshop where... - GNOME Activity Journal, and installing it on Ubuntu
As already announced by Seif, the first development release of the GNOME Activity Journal (what... - Updated Voxforge packages in Ubuntu
Just a quick note today to mention that I’ve updated the julius-voxforge package in Ubuntu...







Nice tutorial, I used it myself and it worked.
But I think that this is too complicated for the average user, we shoud have this in the “Hardware drivers” (jockey-gtk) application.
I’m happy that it helped :). And I agree, having to do this manually is suboptimal.
i have the same scanner (branded Mustek). I know this situation.
try to launch xsane without the firmware, from the console.
xsane writes on the console output that it needs the firmware, and says where to put it!!!
it’s really imbecile from xsane if it KNOWS it, to just say “invalid argument in the GUI…
someone should probably open a bug about it.