WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Hplip  (Read 16937 times)

Offline andyj

  • Hero Member
  • *****
  • Posts: 1022
Re: Hplip
« Reply #45 on: April 11, 2020, 08:22:52 AM »
Both. With /admin the style sheet doesn't look like it's being loaded. But even without /admin it should still work, and it does if it's copied and not linked. I spoke too soon about not restarting dbus for 32-bit. I restarted cups for the new configuration, which must have done something to/for dbus. I rebooted to test it all from the beginning, and I had to restart dbus to get hp-scan to work.
« Last Edit: April 11, 2020, 08:38:12 AM by andyj »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14568
Re: Hplip
« Reply #46 on: April 11, 2020, 09:40:01 AM »
I just tested 32-bit and I don't see any problems without copy2fs set...

Offline andyj

  • Hero Member
  • *****
  • Posts: 1022
Re: Hplip
« Reply #47 on: April 11, 2020, 10:33:00 AM »
If I don't use copy2fs at all, then I get this:

Code: [Select]
tc@box:~$ sudo /usr/local/etc/init.d/cups restart
no /usr/local/sbin/cupsd found; none killed
tc@box:~$

A little more info:

Code: [Select]
tc@box:~$ strace -f -s 254 sudo /usr/local/etc/init.d/cups restart 2>&1 | tee cups.strace.log
execve("/usr/bin/sudo", ["sudo", "/usr/local/etc/init.d/cups", "restart"], [/* 28 vars */]) = 0
access(0xb7f28395, F_OK)                = -1 ENOENT (No such file or directory)
brk(0)                                  = 0x9a69000
fcntl64(0, F_GETFD)                     = 0
fcntl64(1, F_GETFD)                     = 0
fcntl64(2, F_GETFD)                     = 0
access(0xb7f28395, F_OK)                = -1 ENOENT (No such file or directory)
access(0xb7f2b058, R_OK)                = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, 0xb7f2a792, O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {...})                       = 0
mmap2(NULL, 47227, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f00000
close(3)                                = 0
openat(AT_FDCWD, 0xb7f30fc0, O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, 0xbfcdd800, 512)                = 512
fstat64(3, {...})                       = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7efe000
mmap2(NULL, 16524, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ef9000
mmap2(0xb7efa000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7efa000
mmap2(0xb7efb000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7efb000
mmap2(0xb7efc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7efc000
close(3)                                = 0
openat(AT_FDCWD, 0xb7efe2a0, O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, 0xbfcdd7e0, 512)                = 512
fstat64(3, {...})                       = 0
mmap2(NULL, 196924, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ec8000
mmap2(0xb7ec9000, 20480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7ec9000
mmap2(0xb7ece000, 8192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7ece000
mmap2(0xb7ed0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb7ed0000
mmap2(0xb7ed2000, 155964, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ed2000
close(3)                                = 0
openat(AT_FDCWD, 0xb7efe560, O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, 0xbfcdd7c0, 512)                = 512
fstat64(3, {...})                       = 0
mmap2(NULL, 82100, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7eb3000
mmap2(0xb7eb5000, 45056, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7eb5000
mmap2(0xb7ec0000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd) = 0xb7ec0000
mmap2(0xb7ec6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7ec6000
close(3)                                = 0
openat(AT_FDCWD, 0xb7efe820, O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
read(3, 0xbfcdd7a0, 512)                = 512
fstat64(3, {...})                       = 0
mmap2(NULL, 1361664, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d66000
mmap2(0xb7d7f000, 933888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19) = 0xb7d7f000
mmap2(0xb7e63000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xfd) = 0xb7e63000
mmap2(0xb7ead000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x146) = 0xb7ead000
mmap2(0xb7eb0000, 9984, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eb0000
close(3)                                = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d64000
set_thread_area(bfcde020)               = 0
mprotect(0xb7ead000, 8192, PROT_READ)   = 0
mprotect(0xb7ec6000, 4096, PROT_READ)   = 0
mprotect(0xb7ed0000, 4096, PROT_READ)   = 0
mprotect(0xb7efc000, 4096, PROT_READ)   = 0
mprotect(0x8065000, 4096, PROT_READ)    = 0
mprotect(0xb7f2f000, 4096, PROT_READ)   = 0
munmap(0xb7f00000, 47227)               = 0
brk(0)                                  = 0x9a69000
brk(0x9a8a000)                          = 0x9a8a000
brk(0x9a8b000)                          = 0x9a8b000
openat(AT_FDCWD, 0xb7e7fd08, O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {...})                       = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7b64000
mmap2(NULL, 2932736, PROT_READ, MAP_PRIVATE, 3, 0x462) = 0xb7898000
close(3)                                = 0
geteuid32()                             = 1001
write(2, 0xbfcded7d, 4sudo)                 = 4
write(2, 0x80630ef, 2: )                  = 2
write(2, 0xbfcdbaec, 19must be setuid root)                = 19
write(2, 0xb7eafcc7, 1
)                 = 1
exit_group(1)                           = ?

But,

Code: [Select]
tc@box:~$ la /usr/bin/sudo
---s--x--x    1 root     root        124604 Feb  3 15:00 /usr/bin/sudo
tc@box:~$ version
11.0
tc@box:~$ uname -a
Linux box 5.4.3-tinycore #2020 SMP Tue Dec 17 17:00:50 UTC 2019 i686 GNU/Linux
tc@box:~$ free
              total        used        free      shared  buff/cache   available
Mem:        3044724      404720     2081136      120500      558868     2238588
Swap:             0           0           0
tc@box:~$ df -a
Filesystem                Size      Used Available Use% Mounted on
rootfs                    2.6G     96.6M      2.5G   4% /
proc                         0         0         0   0% /proc
sysfs                        0         0         0   0% /sys
devpts                       0         0         0   0% /dev/pts
tmpfs                     1.5G      8.1M      1.4G   1% /dev/shm
fusectl                      0         0         0   0% /sys/fs/fuse/connections
/dev/sda1                31.1G     26.5G      4.6G  85% /mnt/sda1
/dev/loop0              864.0K    864.0K         0 100% /tmp/tcloop/ipv6-netfilter-5.4.3-tinycore
/dev/loop1              368.0K    368.0K         0 100% /tmp/tcloop/iptables
/dev/loop2              156.0K    156.0K         0 100% /tmp/tcloop/xtables-addons-5.4.3-tinycore
/dev/loop3                2.9M      2.9M         0 100% /tmp/tcloop/glibc_gconv
/dev/loop4                1.6M      1.6M         0 100% /tmp/tcloop/mylocale-en_US.UTF-8
/dev/loop5               92.0K     92.0K         0 100% /tmp/tcloop/libpng
/dev/loop6              304.0K    304.0K         0 100% /tmp/tcloop/freetype
/dev/loop7               72.0K     72.0K         0 100% /tmp/tcloop/expat2
/dev/loop8              156.0K    156.0K         0 100% /tmp/tcloop/fontconfig
/dev/loop9              708.0K    708.0K         0 100% /tmp/tcloop/Hack-font
/dev/loop10              28.0K     28.0K         0 100% /tmp/tcloop/bzip2-lib
/dev/loop11             256.0K    256.0K         0 100% /tmp/tcloop/pcre
/dev/loop12               1.8M      1.8M         0 100% /tmp/tcloop/openssl-1.1.1
/dev/loop13              56.0K     56.0K         0 100% /tmp/tcloop/libtirpc
/dev/loop14             212.0K    212.0K         0 100% /tmp/tcloop/ncursesw
/dev/loop15             180.0K    180.0K         0 100% /tmp/tcloop/procps-ng
/dev/loop16              32.0K     32.0K         0 100% /tmp/tcloop/libdnet
/dev/loop17             184.0K    184.0K         0 100% /tmp/tcloop/fuse
/dev/loop18              16.0K     16.0K         0 100% /tmp/tcloop/libffi
/dev/loop19               1.4M      1.4M         0 100% /tmp/tcloop/glib2
/dev/loop20             596.0K    596.0K         0 100% /tmp/tcloop/open-vm-tools
/dev/loop21              76.0K     76.0K         0 100% /tmp/tcloop/liblzma
/dev/loop22             584.0K    584.0K         0 100% /tmp/tcloop/libxml2
/dev/loop23             100.0K    100.0K         0 100% /tmp/tcloop/wayland
/dev/loop24               4.0K      4.0K         0 100% /tmp/tcloop/libxshmfence
/dev/loop25              36.0K     36.0K         0 100% /tmp/tcloop/udev-lib
/dev/loop26              16.0K     16.0K         0 100% /tmp/tcloop/libpciaccess
/dev/loop27             132.0K    132.0K         0 100% /tmp/tcloop/libdrm
/dev/loop28               8.0K      8.0K         0 100% /tmp/tcloop/libXdmcp
/dev/loop29               4.0K      4.0K         0 100% /tmp/tcloop/libXau
/dev/loop30             276.0K    276.0K         0 100% /tmp/tcloop/libxcb
/dev/loop31             896.0K    896.0K         0 100% /tmp/tcloop/libX11
/dev/loop32              24.0K     24.0K         0 100% /tmp/tcloop/libXext
/dev/loop33               8.0K      8.0K         0 100% /tmp/tcloop/libXxf86vm
/dev/loop34               8.0K      8.0K         0 100% /tmp/tcloop/libXfixes
/dev/loop35               4.0K      4.0K         0 100% /tmp/tcloop/libXdamage
/dev/loop36             164.0K    164.0K         0 100% /tmp/tcloop/libGL
/dev/loop37              12.0K     12.0K         0 100% /tmp/tcloop/libGLESv2
/dev/loop38              88.0K     88.0K         0 100% /tmp/tcloop/libEGL
/dev/loop39              16.0K     16.0K         0 100% /tmp/tcloop/libXrender
/dev/loop40             276.0K    276.0K         0 100% /tmp/tcloop/pixman
/dev/loop41             516.0K    516.0K         0 100% /tmp/tcloop/cairo
/dev/loop42              12.0K     12.0K         0 100% /tmp/tcloop/libsigc++
/dev/loop43             768.0K    768.0K         0 100% /tmp/tcloop/glibmm
/dev/loop44              52.0K     52.0K         0 100% /tmp/tcloop/cairomm
/dev/loop45              28.0K     28.0K         0 100% /tmp/tcloop/fribidi
/dev/loop46              32.0K     32.0K         0 100% /tmp/tcloop/libXft
/dev/loop47              76.0K     76.0K         0 100% /tmp/tcloop/graphite2
/dev/loop48             476.0K    476.0K         0 100% /tmp/tcloop/harfbuzz
/dev/loop49             212.0K    212.0K         0 100% /tmp/tcloop/pango
/dev/loop50              60.0K     60.0K         0 100% /tmp/tcloop/pangomm
/dev/loop51              44.0K     44.0K         0 100% /tmp/tcloop/atk
/dev/loop52             100.0K    100.0K         0 100% /tmp/tcloop/atkmm
/dev/loop53              28.0K     28.0K         0 100% /tmp/tcloop/libXi
/dev/loop54              16.0K     16.0K         0 100% /tmp/tcloop/libXrandr
/dev/loop55               4.0K      4.0K         0 100% /tmp/tcloop/libXinerama
/dev/loop56              16.0K     16.0K         0 100% /tmp/tcloop/libXcursor
/dev/loop57               4.0K      4.0K         0 100% /tmp/tcloop/libXcomposite
/dev/loop58             116.0K    116.0K         0 100% /tmp/tcloop/libjpeg-turbo
/dev/loop59             180.0K    180.0K         0 100% /tmp/tcloop/libtiff
/dev/loop60             192.0K    192.0K         0 100% /tmp/tcloop/gdk-pixbuf2
/dev/loop61              56.0K     56.0K         0 100% /tmp/tcloop/libxkbfile
/dev/loop62               8.0K      8.0K         0 100% /tmp/tcloop/libXxf86dga
/dev/loop63               8.0K      8.0K         0 100% /tmp/tcloop/libXv
/dev/loop64              12.0K     12.0K         0 100% /tmp/tcloop/libXvmc
/dev/loop65              12.0K     12.0K         0 100% /tmp/tcloop/libXtst
/dev/loop66               4.0K      4.0K         0 100% /tmp/tcloop/libXss
/dev/loop67               4.0K      4.0K         0 100% /tmp/tcloop/libXres
/dev/loop68              12.0K     12.0K         0 100% /tmp/tcloop/libfontenc
/dev/loop69              96.0K     96.0K         0 100% /tmp/tcloop/libXfont2
/dev/loop70              44.0K     44.0K         0 100% /tmp/tcloop/libXpm
/dev/loop71              12.0K     12.0K         0 100% /tmp/tcloop/libSM
/dev/loop72              36.0K     36.0K         0 100% /tmp/tcloop/libICE
/dev/loop73             144.0K    144.0K         0 100% /tmp/tcloop/libXt
/dev/loop74              44.0K     44.0K         0 100% /tmp/tcloop/libXmu
/dev/loop75             272.0K    272.0K         0 100% /tmp/tcloop/libXaw
/dev/loop76              16.0K     16.0K         0 100% /tmp/tcloop/libFS
/dev/loop77             244.0K    244.0K         0 100% /tmp/tcloop/dbus
/dev/loop78              96.0K     96.0K         0 100% /tmp/tcloop/at-spi2-core
/dev/loop79              60.0K     60.0K         0 100% /tmp/tcloop/at-spi2-atk
/dev/loop80             228.0K    228.0K         0 100% /tmp/tcloop/libepoxy
/dev/loop81             456.0K    456.0K         0 100% /tmp/tcloop/shared-mime-info
/dev/loop82               3.4M      3.4M         0 100% /tmp/tcloop/gtk3
/dev/loop83               1.4M      1.4M         0 100% /tmp/tcloop/gtkmm
/dev/loop84             532.0K    532.0K         0 100% /tmp/tcloop/elfutils
/dev/loop85              20.0K     20.0K         0 100% /tmp/tcloop/libvdpau
/dev/loop86              15.3M     15.3M         0 100% /tmp/tcloop/llvm-lib
/dev/loop87               2.7M      2.7M         0 100% /tmp/tcloop/xorg-server
/dev/loop88             756.0K    756.0K         0 100% /tmp/tcloop/xkeyboard-config
/dev/loop89              12.0K     12.0K         0 100% /tmp/tcloop/xf86-video-vesa
/dev/loop90             108.0K    108.0K         0 100% /tmp/tcloop/libwacom
/dev/loop91              36.0K     36.0K         0 100% /tmp/tcloop/libevdev
/dev/loop92              12.0K     12.0K         0 100% /tmp/tcloop/mtdev
/dev/loop93             196.0K    196.0K         0 100% /tmp/tcloop/libinput
/dev/loop94              28.0K     28.0K         0 100% /tmp/tcloop/xf86-input-libinput
/dev/loop95             532.0K    532.0K         0 100% /tmp/tcloop/xcursor-themes
/dev/loop96               1.5M      1.5M         0 100% /tmp/tcloop/Xorg-fonts
/dev/loop97             480.0K    480.0K         0 100% /tmp/tcloop/Xorg-7.7-bin
/dev/loop98             184.0K    184.0K         0 100% /tmp/tcloop/imlib2
/dev/loop99              36.0K     36.0K         0 100% /tmp/tcloop/imlib2-bin
/dev/loop100            456.0K    456.0K         0 100% /tmp/tcloop/fltk-1.3
/dev/loop101              1.1M      1.1M         0 100% /tmp/tcloop/Xlibs
/dev/loop102            128.0K    128.0K         0 100% /tmp/tcloop/Xprogs
/dev/loop103             18.4M     18.4M         0 100% /tmp/tcloop/Xorg-7.7-3d
/dev/loop104             60.0K     60.0K         0 100% /tmp/tcloop/xf86-video-vmware
/dev/loop105             12.0K     12.0K         0 100% /tmp/tcloop/xf86-input-vmmouse
/dev/loop106            132.0K    132.0K         0 100% /tmp/tcloop/i2c-5.4.3-tinycore
/dev/loop107              2.6M      2.6M         0 100% /tmp/tcloop/graphics-5.4.3-tinycore
/dev/loop108            132.0K    132.0K         0 100% /tmp/tcloop/open-vm-tools-desktop
/dev/loop109             28.0K     28.0K         0 100% /tmp/tcloop/flwm
/dev/loop110            376.0K    376.0K         0 100% /tmp/tcloop/rxvt
/dev/loop111             36.0K     36.0K         0 100% /tmp/tcloop/wbar
/dev/loop112              1.3M      1.3M         0 100% /tmp/tcloop/openssh
/dev/loop113            148.0K    148.0K         0 100% /tmp/tcloop/ca-certificates
vmhgfs-fuse               1.8T      1.6T    226.9G  88% /mnt/hgfs/andy-home
/dev/loop114            128.0K    128.0K         0 100% /tmp/tcloop/readline
/dev/loop115             72.0K     72.0K         0 100% /tmp/tcloop/gdbm
/dev/loop116            532.0K    532.0K         0 100% /tmp/tcloop/sqlite3
/dev/loop117             15.6M     15.6M         0 100% /tmp/tcloop/python3.6
/dev/loop118             44.0K     44.0K         0 100% /tmp/tcloop/python3.6-olefile
/dev/loop119            464.0K    464.0K         0 100% /tmp/tcloop/python3.6-pillow
/dev/loop120             20.0K     20.0K         0 100% /tmp/tcloop/libpci
/dev/loop121              2.0M      2.0M         0 100% /tmp/tcloop/net-snmp
/dev/loop122             44.0K     44.0K         0 100% /tmp/tcloop/libieee1284
/dev/loop123            120.0K    120.0K         0 100% /tmp/tcloop/input-joystick-5.4.3-tinycore
/dev/loop124              1.9M      1.9M         0 100% /tmp/tcloop/alsa-modules-5.4.3-tinycore
/dev/loop125              3.1M      3.1M         0 100% /tmp/tcloop/v4l-dvb-5.4.3-tinycore
/dev/loop126            184.0K    184.0K         0 100% /tmp/tcloop/libv4l2
/dev/loop127            404.0K    404.0K         0 100% /tmp/tcloop/libunistring
/dev/loop128             76.0K     76.0K         0 100% /tmp/tcloop/libidn
/dev/loop129             44.0K     44.0K         0 100% /tmp/tcloop/libtasn1
/dev/loop130            504.0K    504.0K         0 100% /tmp/tcloop/p11-kit
/dev/loop131            220.0K    220.0K         0 100% /tmp/tcloop/gmp
/dev/loop132            276.0K    276.0K         0 100% /tmp/tcloop/nettle3
/dev/loop133              1.1M      1.1M         0 100% /tmp/tcloop/gnutls3.6
/dev/loop134           1020.0K   1020.0K         0 100% /tmp/tcloop/gcc_libs
/dev/loop135            152.0K    152.0K         0 100% /tmp/tcloop/libavahi
/dev/loop136            244.0K    244.0K         0 100% /tmp/tcloop/libcups
/dev/loop137             44.0K     44.0K         0 100% /tmp/tcloop/libusb
/dev/loop138             68.0K     68.0K         0 100% /tmp/tcloop/libsane
/dev/loop139             92.0K     92.0K         0 100% /tmp/tcloop/dbus-glib
/dev/loop140            108.0K    108.0K         0 100% /tmp/tcloop/dbus-python3.6
/dev/loop141            172.0K    172.0K         0 100% /tmp/tcloop/lcms2
/dev/loop142              8.4M      8.4M         0 100% /tmp/tcloop/ghostscript
/dev/loop143            508.0K    508.0K         0 100% /tmp/tcloop/qpdf
/dev/loop144            288.0K    288.0K         0 100% /tmp/tcloop/curl
/dev/loop145            260.0K    260.0K         0 100% /tmp/tcloop/openjpeg2
/dev/loop146            116.0K    116.0K         0 100% /tmp/tcloop/nspr
/dev/loop147              1.7M      1.7M         0 100% /tmp/tcloop/nss
/dev/loop148            964.0K    964.0K         0 100% /tmp/tcloop/poppler07
/dev/loop149            876.0K    876.0K         0 100% /tmp/tcloop/cups-filters
/dev/loop150              5.4M      5.4M         0 100% /tmp/tcloop/cups
/dev/loop151              7.5M      7.5M         0 100% /tmp/tcloop/hplip
/dev/loop152              7.1M      7.1M         0 100% /tmp/tcloop/hplip-plugins
/dev/loop153            128.0K    128.0K         0 100% /tmp/tcloop/gamin
/dev/loop154              8.0K      8.0K         0 100% /tmp/tcloop/hicolor-icon-theme
/dev/loop155            404.0K    404.0K         0 100% /tmp/tcloop/libasound
/dev/loop156             70.3M     70.3M         0 100% /tmp/tcloop/firefox-ESR
/dev/loop157             88.0K     88.0K         0 100% /tmp/tcloop/strace

I don't know what's going on, but cups won't start so I can't test the interface.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1022
Re: Hplip
« Reply #48 on: April 11, 2020, 06:49:29 PM »
Maybe more helpful:

Code: [Select]
[pid  7636] writev(2, [{"/usr/local/sbin/cupsd", 21}, {": ", 2}, {"error while loading shared libraries", 36}, {": ", 2}, {"libidn2.so.0", 12}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such
Apparently cupsd has a dependency on libidn2. Adding it to cups.tcz.dep fixed it for me.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14568
Re: Hplip
« Reply #49 on: April 11, 2020, 10:13:59 PM »
The problem is here:
Code: [Select]
$ ldd /usr/local/lib/libgnutls.so | grep idn
        libidn2.so.0 => /usr/local/lib/libidn2.so.0 (0xb7c76000)

..gnutls3.6 is a dep of libcups, but the gnutls3.6 dep file contains libidn rather than libidn2 - corrected now.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1022
Re: Hplip
« Reply #50 on: April 12, 2020, 05:41:56 AM »
I'm pretty sure it's cupsd too:

Code: [Select]
root@box:/home/tc# ldd /usr/local/sbin/cupsd | grep idn
libidn2.so.0 => /usr/local/lib/libidn2.so.0 (0xb798d000)

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14568
Re: Hplip
« Reply #51 on: April 12, 2020, 06:55:07 AM »
Sure, but cups will load libcups, which will load libidn2.

Offline techsuper

  • Newbie
  • *
  • Posts: 34
Re: Hplip
« Reply #52 on: April 12, 2020, 09:03:40 AM »
guys, thanks.
I've been searching to see what "filter failed" refers to. Other distros save an error log in /var/log/cups/error_log,
which TC doesn't have. I've searched for this file with no luck. Is there such a log to see more details?
b

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14568
Re: Hplip
« Reply #53 on: April 12, 2020, 10:29:52 AM »
Are you sure? That file, or something with a similar name, was present on my machine.

Offline techsuper

  • Newbie
  • *
  • Posts: 34
Re: Hplip
« Reply #54 on: April 12, 2020, 07:29:57 PM »
sure, now I do the same thing I've done many times before and the error_log shows up - go figure.
Here is the last line: D [12/Apr/2020:22:07:51 +0000] [Job 1] printer-state-reasons=hplip.plugin-error

do you need the whole log pasted?
I also ran the hp-check command and have the log.
Will that be of any help?
thx
b

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14568
Re: Hplip
« Reply #55 on: April 12, 2020, 08:29:02 PM »
Did you have the hplip-plugins extension loaded?

Offline techsuper

  • Newbie
  • *
  • Posts: 34
Re: Hplip
« Reply #56 on: April 13, 2020, 09:11:20 AM »
Yes.
I have reinstalled with the current version 11.1 on two laptops, both respond the same.
I've went to Apps/Browse and have chosen Cups.tcz, hplip.tcz, hplip-plugins.tcz, and Firefox-ESR.tcz.

At power up, in a terminal, I can type hp-info or hp-check, which to me shows that hplip is running.
Go to Control Panel, Services and tick the line for cups, which also turns dbus green.
set a sudo passwd.
Go to Firefox, open the localhost:631/admin
Add printer, choose the detected entry, choose the top Model in the list (looks correct for the model), add printer
type the root password, accept defaults. Go to Maintenance - print test page.
Both a p1505 and a p3005 don't print, they exhibit seeing a command with noises or a message, and the job shows "filter failed" with both attempts.

sorry if I am doing something wrong or missing something.
hang in there
b

Offline andyj

  • Hero Member
  • *****
  • Posts: 1022
Re: Hplip
« Reply #57 on: April 13, 2020, 09:45:28 AM »
When I read the ppd file for the p1505n (it is the networked model, right? and not connected through a print server), it says it requires the proprietary plugin. It doesn't say anything about firmware, but I would not assume that it is being loaded automatically. Have you tried hp-makeuri {ip address of printer}, then hp-firmware {CUPS URI}?

Offline techsuper

  • Newbie
  • *
  • Posts: 34
Re: Hplip
« Reply #58 on: April 13, 2020, 06:28:20 PM »
yes direct network cable, static IP address.
I tried to add it as a local printer - HP Printer(hplip) and put in the makeuri address that was shown.
Same results as before.
I can't figure out what/how to do the firmware command. Besides, why do I need to update
the firmware on a working printer?

I have also tried a USB cable to both printers, same symptoms and the same job error.

If it helps any, I've installed Linux Mint on another laptop. Go to System - Printers add and whala works like a champ.
The driver it used is HP LJ P1505n Foomatic/foo2xqx. I've searched for this on the web, but holy crap, looks like a major challenge to set it up in CUPS!

b


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11243
Re: Hplip
« Reply #59 on: April 13, 2020, 06:44:15 PM »
Hi techsuper
... The driver it used is HP LJ P1505n Foomatic/foo2xqx. I've searched for this on the web, but holy crap, looks like a major challenge to set it up in CUPS!
I don't know if it relates to this, but there is a  foomatic  extension in TC10:
http://tinycorelinux.net/10.x/x86/tcz/foomatic-rip.tcz.info