Updates:

Forums updated to SMF version 2.1.1

My scanner doesn´t work on Ubuntu

Started by Matilda, June 16, 2021, 05:00:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Matilda

Quote from: Rich J on June 18, 2021, 06:20:48 AM
You might try this - https://forums.linuxmint.com/viewtopic.php?t=150579

Copy and paste the instructions, in turn, into terminal.

(found by googling your scanner model)

Rich

Started that, but got a scary response, so did not go any further.
[email protected]:~$ sudo apt-get install xsane
[sudo] password for avon:
Sorry, try again.
[sudo] password for avon:
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 25667 (unattended-upgr)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
[email protected]:~$


Using an Asus netbook running on Peppermint 9.

Keith

That's OK - the system was updating itself in the background so couldn't let you do anything with the system.
If you try again, it should be alright. 

Keith


Matilda

No, it still doesn't work! It still says it is unable to connect to the scanner, so yet again I have to use my tiny Peppermint netbook, which takes ages to boot up, to scan documents..grrr--
Using an Asus netbook running on Peppermint 9.

Matilda

I'm not very impressed with Ubuntu as an OS to be honest. Peppermint is much better! I'll have to take this MacBook to the computer shop in the near future and ask them to get rid of Ubuntu and put the latest Peppermint distro on it.
Using an Asus netbook running on Peppermint 9.

emegra

Hi Matila

There's a few steps we have to go through I needed to know /usr/share/sane was on your system before we could proceed

please copy and paste into the terminal the following command

sudo mkdir /usr/share/sane/gt68xx

then let me know when you've done that

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


Matilda



Nothing much seemed to happen there Emegra!

[email protected]:~$ sudo mkdir /usr/share/sane/gt68xx
[sudo] password for avon:
[email protected]:~$


Using an Asus netbook running on Peppermint 9.

Keith

The command just created a directory.  You can check usingls /usr/share/sane/gt68xxEmegra will add file(s) later.

emegra

#22
Quote
Nothing much seemed to happen there Emegra!

That's ok, all we need to do now is place the file I sent you into that folder you just created and the set the permissions, so paste the following into the terminal

cp ~/Downloads/PS1Dfw.usb /usr/share/sane/gt68xx/

Then post output of

ls -l  /usr/share/sane/gt68xx


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

Matilda

Quote from: Keith on August 01, 2021, 06:33:48 PM
The command just created a directory.  You can check usingls /usr/share/sane/gt68xxEmegra will add file(s) later.

Ok. I have to admit I have no idea what a directory is unless I Google it. Do you think my brother put an old version of Ubuntu on this MacBook? It seems to be taking a lot of effort to load software unlike Peppermint. I had the same problem with Ubuntu with the little netbook my other brother gave me and then Mark Greaves (bless him) told me to post it to him, and he put Peppermint on it. He always used to say that laptops/netbooks work best with Peppermint.
Using an Asus netbook running on Peppermint 9.


Matilda

It still doesn't like it!

[email protected]:~$ cp ~/Downloads/PS1Dfw.usb /usr/share/sane/gt68xx/
cp: cannot create regular file '/usr/share/sane/gt68xx/PS1Dfw.usb': Permission denied
[email protected]:~$

Using an Asus netbook running on Peppermint 9.

emegra

Ok that's my fault Matilda I'm sorry

try this


sudo cp ~/Downloads/PS1Dfw.usb /usr/share/sane/gt68xx/

Then

ls -l  /usr/share/sane/gt68xx

Then post the output



Graeme

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

Matilda

Oh well, never mind guys. I will call the computer shop in town tomorrow and see how much they will charge me to wipe this Ubuntu off and put the latest Peppermint distro on this MacBook. This Ubuntu seems to have too many problems. My bro probably used an old version! I told him last time he put Ubuntu on a computer for me ( which was the netbook my other brother gave me, which Mark later on put Peppermint on) that he should only put Peppermint onto laptops and netbooks. Ubuntu doesn't seem suited to them.
Using an Asus netbook running on Peppermint 9.

Matilda

No idea if this is what you were hoping for, but here it is!

[email protected]:~$ sudo cp ~/Downloads/PS1Dfw.usb /usr/share/sane/gt68xx/
[sudo] password for avon:
[email protected]:~$ ls -l  /usr/share/sane/gt68xx
total 8
-rw-r--r-- 1 root root 7256 Aug  1 18:47 PS1Dfw.usb
[email protected]:~$

Using an Asus netbook running on Peppermint 9.

Matilda

You do know that the software is called document scanner on Ubuntu and not simple scanner as in Peppermint? It is not the same one.
Using an Asus netbook running on Peppermint 9.

emegra

Ok we're nearly there Matilda
now copy & paste the following command into the terminal

sudo chmod 744 /usr/share/sane/gt68xx/PS1Dfw.usb

then once again

sudo ls -l  /usr/share/sane/gt68xx

then post the output

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