Porteus 5.0rc2 Document Scanner

Technical issues/questions of an intermediate or advanced nature.
Post Reply
User avatar
Ed_P
Contributor
Contributor
Posts: 5799
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Porteus 5.0rc2 Document Scanner

Post#1 by Ed_P » 24 Oct 2020, 22:48

Missing a file.

Code: Select all

guest@porteus:~$ simple-scan
simple-scan: error while loading shared libraries: libpackagekit-glib2.so.18: cannot open shared object file: No such file or directory
guest@porteus:~$ su
Password: 
root@porteus:/home/guest# simple-scan
simple-scan: error while loading shared libraries: libpackagekit-glib2.so.18: cannot open shared object file: No such file or directory
root@porteus:/home/guest#  

Code: Select all

~#  uname -a
Linux porteus.example.net 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz GenuineIntel GNU/Linux

~#  cat /etc/porteus/*
001-core.xzm:20200807
002-xorg.xzm:20200803
002-xtra.xzm:20200803
003-cinnamon.xzm:20200325
initrd.xz:20200108

~#  ls -l /mnt/live/memory/images
000-kernel.xzm : Aug 9 05:22
001-core.xzm : Aug 7 04:54
002-xorg-20200920.xzm : Aug 3 04:28
002-xtra.xzm : Aug 3 02:15
003-cinnamon.xzm : Jul 20 13:02
07-printing-x86_64-2020-08-10.xzm : Aug 10 11:49
firefox-60.9.0esr-x86_64-enUS.xzm : Apr 15 2020
fixFirefox50rc2.xzm : Jun 10 16:42
flashplayer-plugin-32.0.0.445-x86_64-1.xzm : Oct 23 19:42
gtk+2-2.24.32-x86_64-3.xzm : Apr 23 2020
jre-8u241-x86_64-1.xzm : Jan 15 2020
mychanges.xzm : Oct 24 00:11

ISO: /porteus5.0/rc2ISOModules/Porteus-CINNAMON-v5.0rc2-x86_64-20200920.iso

Grub2 Menu:  Porteus5.0rc menu3
Ed

User avatar
francois
Contributor
Contributor
Posts: 5896
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Porteus 5.0rc2 Document Scanner

Post#2 by francois » 25 Oct 2020, 12:07

I did not test scanner for brother printers. I will come back and contribute to the discussion. Good luck.
Prendre son temps, profiter de celui qui passe.

beny
Full of knowledge
Full of knowledge
Posts: 916
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus 5.0rc2 Document Scanner

Post#3 by beny » 25 Oct 2020, 12:40

hi there is a slackbuild for the package:packagekit the glib2 link is inside the package:/tmp/autoconf-archive-2019.01.06-noarch-1ponce.tgz,/tmp/packagekit-1.1.12-x86_64-1ponce.tgz,and from slackware extra:bash-completion,but i don't know if this is for the compile runtime...

User avatar
Blaze
DEV Team
DEV Team
Posts: 3029
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus 5.0rc2 Document Scanner

Post#4 by Blaze » 25 Oct 2020, 16:11

Image
Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Ed_P
Contributor
Contributor
Posts: 5799
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Porteus 5.0rc2 Document Scanner

Post#5 by Ed_P » 25 Oct 2020, 16:19

Blaze, your 001-core is 0803, my Cinnamon one is 0807.
Ed

User avatar
Blaze
DEV Team
DEV Team
Posts: 3029
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus 5.0rc2 Document Scanner

Post#6 by Blaze » 25 Oct 2020, 16:40

Ed_P, it does not matter, coz:

Code: Select all

# ls /var/lib/pkgtools/packages/*packagekit*
/var/lib/pkgtools/packages/libpackagekit-glib-1.2.0-alt1.x86_64
Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Ed_P
Contributor
Contributor
Posts: 5799
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Porteus 5.0rc2 Document Scanner

Post#7 by Ed_P » 25 Oct 2020, 16:46

Ok, but this does.

Code: Select all

guest@porteus:~$ ls /var/lib/pkgtools/packages/*packagekit*
/var/lib/pkgtools/packages/libpackagekit-glib-1.2.0-alt1.i586

guest@porteus:~$ simple-scan
simple-scan: error while loading shared libraries: libpackagekit-glib2.so.18: cannot open shared object file: No such file or directory
guest@porteus:~$ 
Wrong libpackagekit file in Cinnamon x86_64 iso?
Ed

User avatar
Blaze
DEV Team
DEV Team
Posts: 3029
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus 5.0rc2 Document Scanner

Post#8 by Blaze » 25 Oct 2020, 17:01

1) In AF mode is the same?
2) Do you use i586?
3) Did you try 07-printing-x86_64-2020-09-15.xzm?
Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Ed_P
Contributor
Contributor
Posts: 5799
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Porteus 5.0rc2 Document Scanner

Post#9 by Ed_P » 25 Oct 2020, 17:04

No, I use x86_64. Porteus-CINNAMON-v5.0rc2-x86_64-20200920.iso
And it's not in the iso's 001-core file.

Code: Select all

guest@porteus:~$ ls /home/guest/Downloads/001-core/var/lib/pkgtools/packages/*packagekit*
/bin/ls: cannot access '/home/guest/Downloads/001-core/var/lib/pkgtools/packages/*packagekit*': No such file or directory
guest@porteus:~$ ls /home/guest/Downloads/001-core/
bin/  etc/   lib/    media/  opt/   root/  sbin/  sys/  usr/
dev/  home/  lib64/  mnt/    proc/  run/   srv/   tmp/  var/
guest@porteus:~$ 
Added in 4 minutes 15 seconds:
I have not tried AF mode or the print module you suggested. I use 07-printing-x86_64-2020-08-10.xzm. I will try both suggestions and get back to you later. I've gotta watch my Buffalo Bills game. :D

Thank you for your help. :friends:

Added in 3 hours 51 minutes 37 seconds:
Your new print module solves the problem. :Yahoo!:

Code: Select all

guest@porteus:~$ simple-scan
guest@porteus:~$ 
guest@porteus:~$ ./SysSnapshot.sh
~#  uname -a
Linux porteus.example.net 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz GenuineIntel GNU/Linux

~#  cat /etc/porteus/*
001-core.xzm:20200807
002-xorg.xzm:20200803
002-xtra.xzm:20200803
003-cinnamon.xzm:20200325
initrd.xz:20200108

~#  ls -l /mnt/live/memory/images
000-kernel.xzm : Aug 9 05:22
001-core.xzm : Aug 7 04:54
002-xorg-20200920.xzm : Aug 3 04:28
002-xtra.xzm : Aug 3 02:15
003-cinnamon.xzm : Jul 20 13:02
07-printing-x86_64-2020-09-15.xzm : Sep 15 11:19
firefox-60.9.0esr-x86_64-enUS.xzm : Apr 15 2020
fixFirefox50rc2.xzm : Jun 10 16:42
flashplayer-plugin-32.0.0.445-x86_64-1.xzm : Oct 23 19:42
gtk+2-2.24.32-x86_64-3.xzm : Apr 23 2020
jre-8u241-x86_64-1.xzm : Jan 15 2020
mychanges.xzm : Oct 24 00:11

ISO: /porteus5.0/rc2ISOModules/Porteus-CINNAMON-v5.0rc2-x86_64-20200920.iso
Thank you Blaze. :beer:

Added in 8 hours 10 minutes 58 seconds:
:lol: So simple-scan works now, no more missing packagekit file but the app isn't scanning the page on my HP printer's glass it is scanning my image via my notebook's webcam!! :shock: How do I get it to use the HP printer's scanner?? :%)

Added in 11 minutes 4 seconds:
:(
None of the options I tried worked. All returned "Failed to scan Unable to connect to scanner" windows when I clicked on the Scan button.

Code: Select all

guest@porteus:~$ simple-scan http://localhost:631/printers/HP-Officejet-Pro-8600
guest@porteus:~$ simple-scan 192.168.200.190
guest@porteus:~$ simple-scan 192.168.200.190:9100
guest@porteus:~$ simple-scan socket://192.168.200.190:9100
Ed

User avatar
Blaze
DEV Team
DEV Team
Posts: 3029
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus 5.0rc2 Document Scanner

Post#10 by Blaze » 26 Oct 2020, 16:08

Ed_P, well, you are right with

Code: Select all

# lsxzm 07-printing-x86_64-2020-08-10.xzm | grep packagekit
/usr/lib/libpackagekit-glib2.so.18
/usr/lib/libpackagekit-glib2.so.18.1.3
/var/lib/pkgtools/packages/libpackagekit-glib-1.2.0-alt1.i586
this is my mistake.

CANON Canoscan LIDE300 [2995c010] works for me fine.
Image
Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Ed_P
Contributor
Contributor
Posts: 5799
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Porteus 5.0rc2 Document Scanner

Post#11 by Ed_P » 26 Oct 2020, 18:13

:lol: I like your scan image.

Did simple-scan find your scanner automatically or did you use an argument with it or Manage Printer or ... :%)

Added in 2 hours 52 minutes 17 seconds:
Menu>Graphics>Simple Scan works with my printer's scanner in 4.0. :good:

In terminal mode also.
Ed

Post Reply