Artec Scanner SOLVED

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 :wink: )

TIA

Rich

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

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 SANE GT68xx Backend Homepage 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

Following Emegra’s instructions, run these 5 commands in sequence:

sudo mkdir -p /usr/share/sane/gt68xx

then:

cd /usr/share/sane/gt68xx

then:

sudo wget http://www.meier-geinitz.de/sane/gt68xx-backend/firmware/ps1fw.usb

then:

sudo mv -v /usr/share/sane/gt68xx/ps1fw.usb /usr/share/sane/gt68xx/PS1fw.usb

then:

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:

lsusb

and post the output here.

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

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

Have done so! Thanks! :wink:

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:

cd /usr/share/sane

then

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

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

OK, if this is an Artec Ultima 2000 flatbed … follow these instructions:-

Open a terminal and run:

gksudo gedit /etc/sane.d/gt68xx.conf

find the 3 lines that read:-

# Artec Ultima 2000:
#override "artec-ultima-2000" 
#firmware "ePlus2k.usb"

and uncomment the last 2 of those lines, so they now read:-

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

sudo mkdir -p /usr/share/sane/gt68xx

then:

cd /usr/share/sane/gt68xx

then:

sudo wget https://peppermintos.info/misc/Artec-Ultima-2000-firmware.tar.gz

(I extracted that firmware directly from the Artec windows driver, and it’s now hosted on the peppermint server)

then:

sudo tar xvf Artec-Ultima-2000-firmware.tar.gz

then:

sudo chown root:root ePlus2k.usb gt680xfw.usb

then:

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:

scanimage -L

and:

sane-find-scanner

now ?

and can you confirm the exact model of your scanner ?

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

Well done glad you got it sorted :slight_smile:

Graeme

Great news … and for my part you’re welcome :slight_smile:

I’m very pleased to report that Mark’s method still works perfectly on Ubuntu 16.04 - I’ve just got my Artec Ultima 2000 working again after several years of it sitting on top of the wardrobe! ;D

Thank you!!

Great news, thanks for that 1967kevin and welcome to the forum :slight_smile:

Hi Mark - I’ve revived this old thread as I’m having problems installing the firmware for my scanner into my new setup of M18.3

I’ve followed the instructions given by Graeme and you in this thread (missing out the now-dead dropbox links) but nothing I’ve tried works. I actually have the Artec firmware files still in my Downloads folder but I can’t get Mint to ‘see’ them - I just keep getting this error: ‘No such file or directory’

Any clues to where I’m going wrong, please?

TIA

Rich

Unplug the USB scanner … wait 5 seconds or so … replug the USB scanner … and post the output from:

dmesg | tail -n 30

As requested

richard@richard-OEM ~ $ dmesg | tail -n 30
[ 2002.313750] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=89 TC=0 HOPLIMIT=1 FLOWLBL=434593 PROTO=UDP SPT=22161 DPT=161 LEN=49 
[ 2002.480047] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=89 TC=0 HOPLIMIT=1 FLOWLBL=434593 PROTO=UDP SPT=22161 DPT=161 LEN=49 
[ 2002.646291] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=89 TC=0 HOPLIMIT=1 FLOWLBL=434593 PROTO=UDP SPT=22161 DPT=161 LEN=49 
[ 2003.035200] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=128892 PROTO=UDP SPT=8612 DPT=8612 LEN=24 
[ 2003.035241] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=2208 PROTO=UDP SPT=8612 DPT=8610 LEN=24 
[ 2003.045484] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=128892 PROTO=UDP SPT=8612 DPT=8612 LEN=24 
[ 2003.045522] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=2208 PROTO=UDP SPT=8612 DPT=8610 LEN=24 
[ 2039.454810] retire_capture_urb: 3 callbacks suppressed
[ 2179.353496] usb 5-1: new full-speed USB device number 2 using uhci_hcd
[ 2179.508547] usb 5-1: New USB device found, idVendor=05d8, idProduct=4002
[ 2179.508552] usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2180.790716] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=89 TC=0 HOPLIMIT=1 FLOWLBL=434593 PROTO=UDP SPT=22161 DPT=161 LEN=49 
[ 2180.957048] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=89 TC=0 HOPLIMIT=1 FLOWLBL=434593 PROTO=UDP SPT=22161 DPT=161 LEN=49 
[ 2181.123249] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=89 TC=0 HOPLIMIT=1 FLOWLBL=434593 PROTO=UDP SPT=22161 DPT=161 LEN=49 
[ 2181.468869] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=128892 PROTO=UDP SPT=8612 DPT=8612 LEN=24 
[ 2181.468915] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=2208 PROTO=UDP SPT=8612 DPT=8610 LEN=24 
[ 2181.479118] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=128892 PROTO=UDP SPT=8612 DPT=8612 LEN=24 
[ 2181.479158] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=2208 PROTO=UDP SPT=8612 DPT=8610 LEN=24 
[ 2273.279931] usb 5-1: USB disconnect, device number 2
[ 2274.088928] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=89 TC=0 HOPLIMIT=1 FLOWLBL=434593 PROTO=UDP SPT=22161 DPT=161 LEN=49 
[ 2274.255231] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=89 TC=0 HOPLIMIT=1 FLOWLBL=434593 PROTO=UDP SPT=22161 DPT=161 LEN=49 
[ 2274.421489] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=89 TC=0 HOPLIMIT=1 FLOWLBL=434593 PROTO=UDP SPT=22161 DPT=161 LEN=49 
[ 2274.776698] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=128892 PROTO=UDP SPT=8612 DPT=8612 LEN=24 
[ 2274.776740] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=2208 PROTO=UDP SPT=8612 DPT=8610 LEN=24 
[ 2274.786954] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=128892 PROTO=UDP SPT=8612 DPT=8612 LEN=24 
[ 2274.786992] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=2208 PROTO=UDP SPT=8612 DPT=8610 LEN=24 
[ 2282.187701] usb 5-1: new full-speed USB device number 3 using uhci_hcd
[ 2282.342753] usb 5-1: New USB device found, idVendor=05d8, idProduct=4002
[ 2282.342758] usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2283.664954] [UFW BLOCK] IN=enp2s3 OUT= MAC= SRC=fe80:0000:0000:0000:0215:58ff:fec1:7cf4 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=89 TC=0 HOPLIMIT=1 FLOWLBL=434593 PROTO=UDP SPT=22161 DPT=161 LEN=49 
richard@richard-OEM ~ $

Hi Rich

If you have the firmware files you have to place them in /usr/share/sane/gt68xx/

Then

chmod 744 /usr/share/sane/gt68xx/

Good luck

Graeme

Hi Graeme and thanks for the info!

Therein lies the problem! I don’t know the correct commands to get the files copied over. I’ve tried following yours and Mark’s old instructions to no avail (keep getting ‘no such file…’ error) and when I open the sane folder it won’t let me drag and drop into it - ‘permission denied’. I need to change the permissions in the firmware folder but I haven’t worked that one out yet!

Rich

Edit: I’ve managed to copy the firmware files across by opening the /usr/share/sane/gt68xx/ folder as root. The files now sit in the gt68xx part - is that correct?

When I try the chmod command (with and without sudo) I get this - chmod: cannot access ‘gt680xfw.usb’: No such file or directory

Any ideas?