LinuxQuestions.org
Help answer threads with 0 replies.
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-07-2004, 08:54 AM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
how-to: Mustek 1200 UB PLUS does work with linux !


hey guys, after a year or so using linux,
i finaly got my mustel 1200 UB plus scanner working in linux.

even though many other sites i have read say that the mustek driver
will NOT work for this scanner.

since i found hundreds of posts around the internet asking how to do it,
and ending with some one forwarding a link to some sane site saying this scanner isnt suported, i thought i should post my sucess story.. seeing as it seems to be the only one.

anyway....
i use fedora core 1, but i suppose this should work on any distro right ?

u need to have the following installed...

libusb (im using version 0.1.7-3)
sane-backends (im using 1.0.12-4)
xsane (im using 0.91-1)

you need the following kernel modules loaded
(to see loaded kernel modules, become root (su -) and type lsmod)

usbcore
usb-ohci
scanner

if you are missing one, you can load it as root (su -) with the command
modprobe module_name

you ALSO need the CD disk that came with your scanner.
this is the stupid part..... you the usb program which is uploaded to the scanner
before each use... it might be on the cd.. search for a file named somthing.usb

if you cant find it, then it is likely that the file is generated dureing a windows install.
if you have a windows machine, install the cd, then look in the windows system or system32 folder for the .usb file. when you retrieve it, put it on a floppy, and get the file on your linux machine.

now make sure you have the following folders, if not create them
/usr/share/sane/gt68xx/

move the usb file into that folder.

now run xsane in command line.....

it will probably fail with the error "coundnt open /dev/scanner0 invalid argument"
look in the command line you executed it from, there will be an error opening the usb file because sane has got the name wrong....

rename the usb file to match the file xsane tries to open.

if all goes to plan, you should now be looking at xsane and a mustek logo..
slap somthing in the scanner and hit the scan button.

hope this helps.
 
Old 05-07-2004, 09:01 AM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
ohh, forgot to mention.... if you dont have access to a windows machine,
and the somthing.usb file is not on the disk, then you will need a program called wine.

wine allow linux to run windows programs, use wine to run the windows installer.
it will install the driver to a 'fake' c drive.. (usually $HOME/.wine/c) you can then copy the usb file from there, and then delete the fake c drive to save disk space.
 
Old 05-09-2004, 09:14 AM   #3
HoOLi
LQ Newbie
 
Registered: Apr 2004
Location: West Aust
Distribution: SuSE 10.2
Posts: 17

Rep: Reputation: 0
Nice one stop shop for the cheap little scanner!

Here's a few extra tips for Mandrake 10 (kernel 2.6.x)

Look at http://www.meier-geinitz.de/sane/gt68xx-backend/ for support and it is the place to get the required firmware file - instead of doing all that wine stuff.

Open up a console and su as root
Create the directory /usr/share/sane/gt68xx
Copy the downloaded sbfw.usb firmware file to the gt68xx directory
Type in: scannerdrake - follow your nose with the dialog boxes.

The final test is a scan, so as a regular user run xsane or kooka and scan away!

I did encounter initial disappointment ( I think my mainboard is well flaky though..) and found it necessary to unplug / plug the usb cable and then re-run xsane...
 
Old 05-22-2004, 08:02 PM   #4
tewaru
Member
 
Registered: Nov 2002
Location: New Zealand
Distribution: Mandrake 9.0
Posts: 46

Rep: Reputation: 15
Thanks for that information qwijibow Guru, done what you said on my mandrake 9.1 worked very well.
Thanks again
Tewaru
 
Old 05-22-2004, 10:27 PM   #5
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
Mine worked with Mandrake 8.2, 9.2, and 10.0 along with Redhat 8.0 out of the box.
 
Old 05-24-2004, 05:31 AM   #6
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
moosedaddy....
strange. the redhat hardware compatability list said it didnt work when i last looked.
also, its SANE said it wouldnt work either !
 
Old 05-24-2004, 07:54 AM   #7
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
I am about to try FC2 hopefully tonight. I will report back after I get it installed.
 
Old 05-25-2004, 08:15 AM   #8
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
I was unable to get Fedora loaded, it would not load onto my second harddrive. So I managed to get Mandrake 10 installed.
 
Old 07-20-2004, 07:12 PM   #9
RadonicMan
LQ Newbie
 
Registered: Jun 2004
Location: Serbia and Montenegro/Sr.Mitrovica
Distribution: Mandrake 10.0
Posts: 9

Rep: Reputation: 0
I have 2 problems I can`t load usb-ohci just usb-uhci and my gt86xx isn`t a folder but a file what to do?
 
Old 08-08-2004, 04:05 PM   #10
zipjay
LQ Newbie
 
Registered: Mar 2004
Location: Huddy KY
Posts: 12

Rep: Reputation: 0
THANK YOU!!!!!!

I GOT MY MUSTEK 1200 UB PLUS WORKING!! IMAGES ARE BEATUTIFUL!!!!

now you know whats funny about all that??
i cant get it to work in windows at all.. i mean it wont work on my laptop and it WONT work on win2003 server AT ALL and yet all it takes is that one tiny usb file thats barely 200kb NO proprietory software and BLAM it works!!! THANK YOU SO MUCH!!! GOD I LOVE LINUX
 
Old 08-12-2004, 12:47 PM   #11
kwongwah
LQ Newbie
 
Registered: Aug 2004
Location: Toronto
Posts: 2

Rep: Reputation: 0
In answer to qwijibaw's post #1 comment below, the usb file name should be PS1fw.usb for my Mandrake 9.1 system. I created a link rather than renaming the file. My scanner works now. Many thanks to him.

"now run xsane in command line.....

it will probably fail with the error "coundnt open /dev/scanner0 invalid argument"
look in the command line you executed it from, there will be an error opening the usb file because sane has got the name wrong....

rename the usb file to match the file xsane tries to open."
 
Old 03-17-2008, 09:26 PM   #12
marti99
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
Redhat 9 mustek 1200 xsane invalid argument

Hello,
I can get my mustek 1200 scanner working using,

Now scan it:
$ /usr/local/bin/scanimage --device-name=gt68xx:/dev/usb/scanner0 --mode Color --resolution 600 > aaa.pnm

Now open up the file and save it as aaa.jpg file format:
$ gimp aaa.pnm

But when trying to execute the xsane command,

$ xsane gt68xx:/dev/usb/scanner0
or
$ xsane

I get error message, >> Failed to open device gt68xx:/dev/usb/scanner0: Invalid argument.


Any ideas would be greatly appreciated, thanks.
 
Old 03-22-2008, 06:22 AM   #13
mazouz_n
LQ Newbie
 
Registered: Jan 2008
Location: Moscow
Distribution: fedora 8 64 bits
Posts: 23

Rep: Reputation: 15
Quote:
Originally Posted by marti99 View Post
Hello,

I get error message, >> Failed to open device gt68xx:/dev/usb/scanner0: Invalid argument.
Any ideas would be greatly appreciated, thanks.
Hi All,
I have Fedora core 8 64 bits, when I tried to use my scaner Mustek 1200 I got this error

Failed to open device gt68xx:/dev/usb/scanner0: Invalid argument.
what's going on ??
 
  


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
Linux on Dell Inspiron 1200 joshya Linux - Laptop and Netbook 9 11-02-2005 04:05 PM
Mustek dv4000 wire lunarcloud_88 Linux - Hardware 0 07-29-2005 09:10 AM
Mustek 6000P Scanner esteeven Linux - Hardware 4 12-06-2004 10:41 AM
Mustek ScanMagic 1200 UB Plus (not detected) JohnnySA Linux - Hardware 1 05-02-2004 01:08 PM
Mustek SCSI scanner problems FiveFlat Linux - Hardware 0 01-20-2004 01:14 PM

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

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