Author Topic: My scanner doesn´t work on Ubuntu  (Read 3196 times)

0 Members and 1 Guest are viewing this topic.

Offline Matilda

  • Jr. Member
  • **
  • Posts: 48
  • Karma: 0
  • Gender: Female
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #15 on: July 30, 2021, 12:54:29 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]:~$


Got 2 Linux computers:
Peppermint on a netbook
Ubuntu on a Macbook Pro
Also got a Chromebook!

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1493
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #16 on: July 30, 2021, 10:02:59 am »
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

The Linux Community Forum

Re: My scanner doesn´t work on Ubuntu
« Reply #16 on: July 30, 2021, 10:02:59 am »

Offline Matilda

  • Jr. Member
  • **
  • Posts: 48
  • Karma: 0
  • Gender: Female
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #17 on: July 31, 2021, 08:20:00 pm »
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--
Got 2 Linux computers:
Peppermint on a netbook
Ubuntu on a Macbook Pro
Also got a Chromebook!

Offline Matilda

  • Jr. Member
  • **
  • Posts: 48
  • Karma: 0
  • Gender: Female
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #18 on: July 31, 2021, 08:21:50 pm »
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.
Got 2 Linux computers:
Peppermint on a netbook
Ubuntu on a Macbook Pro
Also got a Chromebook!

Offline emegra

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 1
  • Gender: Male
  • I've just joined!
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #19 on: August 01, 2021, 04:47:02 pm »
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

Code: [Select]
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

The Linux Community Forum

Re: My scanner doesn´t work on Ubuntu
« Reply #19 on: August 01, 2021, 04:47:02 pm »

Offline Matilda

  • Jr. Member
  • **
  • Posts: 48
  • Karma: 0
  • Gender: Female
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #20 on: August 01, 2021, 06:27:08 pm »


Nothing much seemed to happen there Emegra!

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


Got 2 Linux computers:
Peppermint on a netbook
Ubuntu on a Macbook Pro
Also got a Chromebook!

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1493
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #21 on: August 01, 2021, 06:33:48 pm »
The command just created a directory.  You can check using
Code: [Select]
ls /usr/share/sane/gt68xx
Emegra will add file(s) later.

Offline emegra

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 1
  • Gender: Male
  • I've just joined!
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #22 on: August 01, 2021, 06:36:44 pm »
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

Code: [Select]
cp ~/Downloads/PS1Dfw.usb /usr/share/sane/gt68xx/

Then post output of

Code: [Select]
ls -l  /usr/share/sane/gt68xx


Graeme
« Last Edit: August 01, 2021, 06:38:53 pm by emegra »
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline Matilda

  • Jr. Member
  • **
  • Posts: 48
  • Karma: 0
  • Gender: Female
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #23 on: August 01, 2021, 06:37:24 pm »
The command just created a directory.  You can check using
Code: [Select]
ls /usr/share/sane/gt68xx
Emegra 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.
Got 2 Linux computers:
Peppermint on a netbook
Ubuntu on a Macbook Pro
Also got a Chromebook!

The Linux Community Forum

Re: My scanner doesn´t work on Ubuntu
« Reply #23 on: August 01, 2021, 06:37:24 pm »

Offline Matilda

  • Jr. Member
  • **
  • Posts: 48
  • Karma: 0
  • Gender: Female
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #24 on: August 01, 2021, 06:39:50 pm »
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]:~$

Got 2 Linux computers:
Peppermint on a netbook
Ubuntu on a Macbook Pro
Also got a Chromebook!

Offline emegra

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 1
  • Gender: Male
  • I've just joined!
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #25 on: August 01, 2021, 06:43:59 pm »
Ok that's my fault Matilda I'm sorry

try this


Code: [Select]
sudo cp ~/Downloads/PS1Dfw.usb /usr/share/sane/gt68xx/

Then

Code: [Select]
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

Offline Matilda

  • Jr. Member
  • **
  • Posts: 48
  • Karma: 0
  • Gender: Female
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #26 on: August 01, 2021, 06:47:05 pm »
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.
Got 2 Linux computers:
Peppermint on a netbook
Ubuntu on a Macbook Pro
Also got a Chromebook!

Offline Matilda

  • Jr. Member
  • **
  • Posts: 48
  • Karma: 0
  • Gender: Female
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #27 on: August 01, 2021, 06:48:46 pm »
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]:~$

Got 2 Linux computers:
Peppermint on a netbook
Ubuntu on a Macbook Pro
Also got a Chromebook!

Offline Matilda

  • Jr. Member
  • **
  • Posts: 48
  • Karma: 0
  • Gender: Female
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #28 on: August 01, 2021, 06:50:24 pm »
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.
Got 2 Linux computers:
Peppermint on a netbook
Ubuntu on a Macbook Pro
Also got a Chromebook!

Offline emegra

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 1
  • Gender: Male
  • I've just joined!
    • View Profile
    • Awards
Re: My scanner doesn´t work on Ubuntu
« Reply #29 on: August 01, 2021, 06:52:16 pm »
Ok we're nearly there Matilda
now copy & paste the following command into the terminal

Code: [Select]
sudo chmod 744 /usr/share/sane/gt68xx/PS1Dfw.usb

then once again

Code: [Select]
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

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal