Author Topic: Artec Scanner  (Read 625 times)

0 Members and 1 Guest are viewing this topic.

Offline Rich J

  • Full Member
  • ***
  • Posts: 175
  • Karma: 2
  • Gender: Male
  • A Linux Luvvie!
    • View Profile
    • Awards
Artec Scanner
« on: May 03, 2014, 10:55:57 am »
Hi All!

In preparation for my dumping my old HP all-in-one printer for a new laser one (no scanner) I've dug out an old (c 2000) usb Artec flatbed scanner but I can't get it working with Xsane.

scanimage -L returns this

richard@richard-Ei-306 ~ $ scanimage -L
device `gt68xx:libusb:005:003' is a Mustek BearPaw 1200 CU flatbed scanner
richard@richard-Ei-306 ~ $


so I assume the scanner is recognised but

scanimage returns this

$ scanimage
[gt68xx] Couldn't open firmware file (`/usr/share/sane/gt68xx/PS1fw.usb'): Not a directory
scanimage: open of device gt68xx:libusb:005:003 failed: Invalid argument


Trying with GIMP gives the same result.  Any ideas please? 

Running Mint 13 KDE and ZORIN.  (to get it working in both would be good but either/or would do  ;) )

TIA

Rich


Online Emegra

  • Hero Member
  • *****
  • Posts: 2403
  • Karma: 53
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Artec Scanner
« Reply #1 on: May 03, 2014, 11:32:55 am »
Hi Richard

That looks like it's the same Scanner as mine under a different name, mine is an HP Diamond

You have to add a firmware file to /usr/share/sane/gt68xx, I'm at work right now and don't have a lot of time but I have a copy of the file you need I can send it to you if you like or you could follow the instructions below

Quote
This is more for my own reference than anything else, I've undoubtedly been through this procedure many, many times and I always seem to run into the same problems; so I'm documenting this for my own benefit.

 

Prerequisites -

    Active Internet connection
    Mustek Bearpaw based scanner (obviously)

Procedure -

    Connect scanner to an available USB port
    Drop to a command line and issue the following command:

scanimage

All being well, the output from the command should be:

[gt68xx] Couldn't open firmware file (`/usr/share/sane/gt68xx/PS1Dfw.usb'): No such file or directory
scanimage: open of device gt68xx:libusb:004:002 failed: Invalid argument

This basically means that the system is looking a file 'PS1Dfw.usb' which is the actual firmware for this scanner. We need to acquire a copy of this file and drop it into the relevant directory '/usr/share/sane/gt68xx/'.

Head over to http://www.meier-geinitz.de/sane/gt68xx-backend/ or click here to grab a copy of this file.

Assuming that this file has been downloaded to '/home/user/Downloads/' we need to do the following (as root):

cp /home/user/Downloads/PS1Dfw.usb /usr/share/sane/gt68xx/
chmod 744 /usr/share/sane/gt68xx/PS1Dfw.usb

Once these steps have been followed, the scanner should now work.
Last Updated on Thursday, 22 September 2011 13:26



Good luck


Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13239
  • Karma: 323
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Artec Scanner
« Reply #2 on: May 03, 2014, 12:38:17 pm »
Following Emegra's instructions, run these 5 commands in sequence:
Code: [Select]
sudo mkdir -p /usr/share/sane/gt68xx
then:
Code: [Select]
cd /usr/share/sane/gt68xx
then:
Code: [Select]
sudo wget http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/ps1fw.usb
then:
Code: [Select]
sudo mv -v /usr/share/sane/gt68xx/ps1fw.usb /usr/share/sane/gt68xx/PS1fw.usb
then:
Code: [Select]
sudo chmod 744 /usr/share/sane/gt68xx/PS1fw.usb
now try your scanner.



If that doesn't work, with the scanner attached and switched on, run:
Code: [Select]
lsusb
and post the output here.

--
« Last Edit: May 03, 2014, 12:52:16 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Rich J

  • Full Member
  • ***
  • Posts: 175
  • Karma: 2
  • Gender: Male
  • A Linux Luvvie!
    • View Profile
    • Awards
Re: Artec Scanner
« Reply #3 on: May 04, 2014, 08:52:04 am »
Hi Guys - thanks for the responses.

@ Emegra

Output returns this

richard@richard-Ei-306 ~ $ scanimage
[gt68xx] Couldn't open firmware file (`/usr/share/sane/gt68xx/PS1fw.usb'): Not a directory
scanimage: open of device gt68xx:libusb:005:003 failed: Invalid argument
richard@richard-Ei-306 ~ $ cp /home/richard/Downloads/PS1Dfw.usb /usr/share/sane/gt68xx/
cp: accessing `/usr/share/sane/gt68xx/': Not a directory
richard@richard-Ei-306 ~ $ chmod 744 /usr/share/sane/gt68xx/PS1Dfw.usb
chmod: cannot access `/usr/share/sane/gt68xx/PS1Dfw.usb': Not a directory



@ Mark

Output returns this -

richard@richard-Ei-306 ~ $ sudo mkdir -p /usr/share/sane/gt68xx
[sudo] password for richard:
mkdir: cannot create directory `/usr/share/sane/gt68xx': File exists
richard@richard-Ei-306 ~ $ cd /usr/share/sane/gt68xx
bash: cd: /usr/share/sane/gt68xx: Not a directory
richard@richard-Ei-306 ~ $ sudo wget http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/ps1fw.usb
--2014-05-04 08:29:48--  http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/ps1fw.usb
Resolving www.meier-geinitz.de (www.meier-geinitz.de)... 82.165.100.207
Connecting to www.meier-geinitz.de (www.meier-geinitz.de)|82.165.100.207|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7986 (7.8K) [video/unknown]
Saving to: `ps1fw.usb.1'

100%[==============================================================================>] 7,986       --.-K/s   in 0s     

2014-05-04 08:29:48 (25.2 MB/s) - `ps1fw.usb.1' saved [7986/7986]

richard@richard-Ei-306 ~ $ sudo mv -v /usr/share/sane/gt68xx/ps1fw.usb /usr/share/sane/gt68xx/PS1fw.usb
mv: accessing `/usr/share/sane/gt68xx/PS1fw.usb': Not a directory
richard@richard-Ei-306 ~ $ sudo chmod 744 /usr/share/sane/gt68xx/PS1fw.usb
chmod: cannot access `/usr/share/sane/gt68xx/PS1fw.usb': Not a directory
richard@richard-Ei-306 ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 001 Device 003: ID 145f:0167 Trust Widescreen 3MP Webcam
Bus 005 Device 002: ID 1267:0213 Logic3 / SpectraVideo plc
Bus 005 Device 003: ID 05d8:4002 Ultima Electronics Corp. Artec Ultima 2000 (GT6801 based)/Lifetec LT9385/ScanMagic 1200 UB Plus Scanner
richard@richard-Ei-306 ~ $


Running Xsane returns - Error  Failed to open device 'gt68xx:libusb:005:003': Invalid argument

I did notice that the file in question (ps1.fw/PS1D.fw) comes in capitals or lower case. Given that in Linux it usually matters re capital letters, would this make a difference, do you think?  (I downloaded both versions btw, but the result was the same). Also, it's not recognised as a directory?  I must admit, my knowledge of the Linux file hierarchy is still very hazy so I may have blundered, but did check it twice, to be sure!   ;D

cheers

Rich






Online Emegra

  • Hero Member
  • *****
  • Posts: 2403
  • Karma: 53
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Artec Scanner
« Reply #4 on: May 04, 2014, 09:26:53 am »
Quote
I did notice that the file in question (ps1.fw/PS1D.fw) comes in capitals or lower case. Given that in Linux it usually matters re capital letters, would this make a difference, do you think?  (I downloaded both versions btw, but the result was the same). Also, it's not recognised as a directory?  I must admit, my knowledge of the Linux file hierarchy is still very hazy so I may have blundered, but did check it twice, to be sure!

Yeah you're right I have 3 files in my /usr/sane folder and to be honest I'm not sure what's the right one but the scanner works.

If you want to pm me your email address I can sent you a copy of my /usr/sane folder and you can drop it straight in yourself it's only 22kb and try that if you want hopefully that would work



Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Rich J

  • Full Member
  • ***
  • Posts: 175
  • Karma: 2
  • Gender: Male
  • A Linux Luvvie!
    • View Profile
    • Awards
Re: Artec Scanner
« Reply #5 on: May 04, 2014, 09:46:29 am »
Yeah you're right I have 3 files in my /usr/sane folder and to be honest I'm not sure what's the right one but the scanner works.

If you want to pm me your email address I can sent you a copy of my /usr/sane folder and you can drop it straight in yourself it's only 22kb and try that if you want hopefully that would work
Graeme

Have done so!  Thanks!  ;)

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13239
  • Karma: 323
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Artec Scanner
« Reply #6 on: May 04, 2014, 11:05:18 am »
Quote
mkdir: cannot create directory `/usr/share/sane/gt68xx': File exists
richard@richard-Ei-306 ~ $ cd /usr/share/sane/gt68xx
bash: cd: /usr/share/sane/gt68xx: Not a directory

Run:
Code: [Select]
cd /usr/share/sane
then
Code: [Select]
sudo rm gt68xx
Now go back and do everything in my last posting again.

--
« Last Edit: May 04, 2014, 11:12:49 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Rich J

  • Full Member
  • ***
  • Posts: 175
  • Karma: 2
  • Gender: Male
  • A Linux Luvvie!
    • View Profile
    • Awards
Re: Artec Scanner
« Reply #7 on: May 05, 2014, 08:28:48 am »
Quote
mkdir: cannot create directory `/usr/share/sane/gt68xx': File exists
richard@richard-Ei-306 ~ $ cd /usr/share/sane/gt68xx
bash: cd: /usr/share/sane/gt68xx: Not a directory

Run:
Code: [Select]
cd /usr/share/sane
then
Code: [Select]
sudo rm gt68xx
Now go back and do everything in my last posting again.

--

Ok - here's where I'm at so far.......

@ Graeme

Received the files, thank you. Have saved them to /Desktop but can't get them to copy to/move to the correct folder.  The dropdown "Open Current Folder as Root" doesn't appear.  (I'm running Mint 13 KDE, if that makes a difference?)

@ Mark

Have done all that you requested above.  Sane now opens and the scanner is listed - but when I click 'scan' the software works (what I mean is, a scanned image box appears and it 'says' it has scanned) but the scanner itself doesn't operate!   ???  No data appears in the scanned image box?

Output as requested -

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 001 Device 003: ID 145f:0167 Trust Widescreen 3MP Webcam
Bus 005 Device 002: ID 1267:0213 Logic3 / SpectraVideo plc
Bus 005 Device 003: ID 05d8:4002 Ultima Electronics Corp. Artec Ultima 2000 (GT6801 based)/Lifetec LT9385/ScanMagic 1200 UB Plus Scanner


Thanks again

Rich

Online Emegra

  • Hero Member
  • *****
  • Posts: 2403
  • Karma: 53
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Artec Scanner
« Reply #8 on: May 05, 2014, 09:18:31 am »
if my memory serves me right normally when you select scan you should hear the scanner kicking in then a circle of large dots should appear on the screen and start rotating as the scan progresses then the image should appear on the screen is that happening ?

One problem I've noticed with mine is occasionally I have to unplug the usb lead and plug it back in  to get it working might be worth trying that

if you don't have the right firmware file in the right place you would normally get a message saying no scanners detected or something like that

Can you be sure the scanner is good ?



Graeme
« Last Edit: May 05, 2014, 09:29:37 am by Emegra »
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13239
  • Karma: 323
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Artec Scanner
« Reply #9 on: May 05, 2014, 11:04:26 am »
OK, if this is an Artec Ultima 2000 flatbed .. follow these instructions:-

Open a terminal and run
Code: [Select]
gksudo gedit /etc/sane.d/gt68xx.conf
find the 3 lines that read:-
Code: [Select]
# Artec Ultima 2000:
#override "artec-ultima-2000"
#firmware "ePlus2k.usb"
and uncomment the last 2 of those lines, so they now read:-
Code: [Select]
# Artec Ultima 2000:
override "artec-ultima-2000"
firmware "ePlus2k.usb"
SAVE the file, and close gedit.

Back in the terminal, run these commands in sequence:
Code: [Select]
cd /usr/share/sane/gt68xx
then
Code: [Select]
sudo wget https://dl.dropboxusercontent.com/u/11876059/Artec-Ultima-2000-firmware.tar.gz
(I extracted that firmware directly from the Artec windows driver, and uploaded it to my dropbox)
then
Code: [Select]
sudo tar xvf Artec-Ultima-2000-firmware.tar.gz
then
Code: [Select]
sudo chown root:root ePlus2k.usb gt680xfw.usb
then
Code: [Select]
sudo chmod a+r ePlus2k.usb gt680xfw.usb
Now unplug your scanner .. wait 10 seconds .. replug your scanner .. test your scanner.

If still having problems, what's the output from:
Code: [Select]
scanimage -L
and
Code: [Select]
scanimage
now ?

and can you confirm the exact model of your scanner ?

--
« Last Edit: May 05, 2014, 11:27:27 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Rich J

  • Full Member
  • ***
  • Posts: 175
  • Karma: 2
  • Gender: Male
  • A Linux Luvvie!
    • View Profile
    • Awards
Re: Artec Scanner
« Reply #10 on: May 07, 2014, 08:12:07 am »
Job done!

Thanks to Mark and Graeme for their invaluable help!

It was the final set of instructions from Mark that solved the issue and the scanner now works perfectly with Sane and Simple Scan. 

Just for info purposes, output from the last two commands are -

richard@richard-Ei-306 ~ $ scanimage -L
device `gt68xx:libusb:005:004' is a Artec Ultima 2000 flatbed scanner
richard@richard-Ei-306 ~ $ scanimage
scanimage: output is not a file, exiting
richard@richard-Ei-306 ~ $


Am I right in thinking that the 'scanimage' command should fire up one of the scanning apps?  Not that it matters - they work fine from the application launcher anyway.

Rich

Online Emegra

  • Hero Member
  • *****
  • Posts: 2403
  • Karma: 53
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Artec Scanner
« Reply #11 on: May 07, 2014, 08:31:54 am »
Well done glad you got it sorted :)




Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13239
  • Karma: 323
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Artec Scanner
« Reply #12 on: May 07, 2014, 09:20:59 am »
Great news .. and for my part you're welcome :)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal