$ hp-makeuri 192.168.1.170
...
CUPS URI: hp:/net/Officejet_6700?ip=192.168.1.170
SANE URI: hpaio:/net/Officejet_6700?ip=192.168.1.170
HP Fax URI: hpfax:/net/Officejet_6700?ip=192.168.1.170
$ simple-scan hpaio:/net/Officejet_6700?ip=192.168.1.170
$ sudo pip3.6 install policykit
Collecting policykit
Could not find a version that satisfies the requirement policykit (from versions: )
No matching distribution found for policykit
$ python3.6 setup.py build
$ sudo python3.6 setup.py install --root=/tmp/pkg
PyYAML<6.0,>=5.1
attrs<20.0,>=19.3
click<8.0,>=7.0
colorama<0.5.0,>=0.4.1
dataclasses-json<0.4.0,>=0.3.5
delegator.py<0.2.0,>=0.1.1
... I used the Download and load option for both files. (hplip_ppd.tcz and hplip.tcz) ...
tce-load -i hplip.tcz
hp-info
work now?tc@box:~$ simple-scan -d
(simple-scan:13923): dbind-WARNING **: 04:57:59.012: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[+0.00s] DEBUG: simple-scan.vala:638: Starting simple-scan 3.36.0, PID=13923
[+0.00s] DEBUG: posix_spawn avoided (fd close requested)
[+0.01s] DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
[+0.01s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.08s] DEBUG: _g_io_module_get_default: Found default implementation keyfile (GKeyfileSettingsBackend) for ‘gsettings-backend’
[+0.13s] DEBUG: app-window.vala:1908: Loading state from /home/tc/.cache/simple-scan/state
[+0.13s] DEBUG: app-window.vala:1887: Restoring window to 600x424 pixels
[+0.19s] DEBUG: scanner.vala:1541: sane_init () -> SANE_STATUS_GOOD
[+0.19s] DEBUG: scanner.vala:1547: SANE version 1.0.24
[+0.19s] DEBUG: scanner.vala:1608: Requesting redetection of scan devices
[+0.19s] DEBUG: scanner.vala:828: Processing request
[+0.32s] DEBUG: app-window.vala:1983: Saving state to /home/tc/.cache/simple-scan/state
[+1.59s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
[+1.59s] DEBUG: scanner.vala:353: Device: name="hpaio:/net/hp_color_laserjet_mfp_m477fdw?ip=192.168.3.77&queue=false" vendor="Hewlett-Packard" model="hp_color_laserjet_mfp_m477fdw" type="all-in-one"
[+1.69s] DEBUG: app-window.vala:1983: Saving state to /home/tc/.cache/simple-scan/state
[+38.47s] DEBUG: app-window.vala:1983: Saving state to /home/tc/.cache/simple-scan/state
[+38.55s] DEBUG: simple-scan.vala:455: Requesting scan at 300 dpi from device 'hpaio:/net/hp_color_laserjet_mfp_m477fdw?ip=192.168.3.77&queue=false'
[+38.55s] DEBUG: scanner.vala:1676: Scanner.scan ("hpaio:/net/hp_color_laserjet_mfp_m477fdw?ip=192.168.3.77&queue=false", dpi=300, scan_mode=ScanMode.COLOR, depth=8, type=single, paper_width=2159, paper_height=2794, brightness=0, contrast=0, delay=3000ms)
[+38.55s] DEBUG: scanner.vala:828: Processing request
[+38.56s] DEBUG: posix_spawn avoided (fd close requested)
[+38.57s] DEBUG: scanner.vala:889: sane_open ("hpaio:/net/hp_color_laserjet_mfp_m477fdw?ip=192.168.3.77&queue=false") -> SANE_STATUS_IO_ERROR
[+38.57s] WARNING: scanner.vala:893: Unable to open device: Error during device I/O
[+38.87s] DEBUG: app-window.vala:1983: Saving state to /home/tc/.cache/simple-scan/state
[+42.06s] DEBUG: app-window.vala:1983: Saving state to /home/tc/.cache/simple-scan/state
[+42.06s] DEBUG: autosave-manager.vala:201: Deleting autosave records
[+42.06s] DEBUG: scanner.vala:1704: Stopping scan thread
[+42.06s] DEBUG: scanner.vala:828: Processing request
[+42.06s] DEBUG: scanner.vala:1715: sane_exit ()
tc@box:~$
tc@box:~$ ps faux|awk '$5'
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 3936 284 ? Ss Apr05 0:00 /sbin/init
root 317 0.0 0.0 4592 4056 ? Ss Apr05 0:03 /sbin/udevd --daemon
root 13784 0.0 0.0 4476 3880 ? S 04:55 0:00 \_ /sbin/udevd --daemon
root 13785 0.0 0.0 4476 3884 ? S 04:55 0:00 \_ /sbin/udevd --daemon
root 614 0.0 0.0 3936 108 ? Ss Apr05 0:00 /sbin/syslogd
root 616 0.0 0.0 3936 104 ? Ss Apr05 0:00 /sbin/klogd
tc 4967 0.0 0.0 4016 2548 tty1 Ss+ Apr05 0:00 -sh
tc 4999 0.0 0.0 240412 1492 ? Ssl Apr05 0:02 vmhgfs-fuse -o allow_other .host:/andy-home /mnt/hgfs/andy-home
root 5304 0.0 0.0 3936 112 ? Ss Apr05 0:00 /sbin/udhcpc -b -i eth0 -x hostname:box -p /var/run/udhcpc.eth0.pid
root 5465 0.1 0.8 260928 72896 tty2 Ssl+ Apr05 2:22 /usr/local/lib/xorg/Xorg -nolisten tcp
tc 5469 0.0 0.0 25124 7144 tty1 S Apr05 0:03 flwm
tc 5504 0.1 0.5 232804 48968 tty1 Sl Apr05 3:23 /usr/local/bin/vmtoolsd -n vmusr
tc 5533 0.0 0.0 6692 2224 tty1 S Apr05 0:00 dbus-launch --autolaunch 24856ab4d1cf4fa9363cbed05e8a3ead --binary-syntax --close-stderr
tc 5547 0.0 0.1 31372 10848 tty1 S Apr05 0:08 urxvt
tc 5548 0.0 0.0 4016 2604 pts/0 Ss+ Apr05 0:00 \_ sh
tc 11349 0.0 0.0 21660 7932 pts/0 S 04:21 0:00 apps
tc 12241 0.0 0.1 56552 8756 pts/0 S 04:22 0:00 wbar
tc 13910 0.0 0.1 30136 8592 pts/0 S 04:57 0:00 \_ urxvt
tc 13911 0.0 0.0 4016 2488 pts/1 Ss 04:57 0:00 \_ sh
tc 13930 0.0 0.0 15092 2816 pts/1 R+ 05:05 0:00 \_ ps faux
tc 13931 0.0 0.0 3936 956 pts/1 S+ 05:05 0:00 \_ awk $5
tc 13438 0.0 0.0 5412 1944 ? Ss 04:31 0:00 /usr/local/bin/dbus-daemon --system
tc 13444 0.0 0.1 253580 9868 ? Sl 04:31 0:00 /usr/local/lib/colord/colord
root 13463 0.0 0.0 111064 6740 ? Ssl 04:34 0:00 /usr/local/sbin/cupsd -C /usr/local/etc/cups/cupsd.conf -s /usr/local/etc/cups/cups-files.conf
root 13684 0.0 0.0 6692 2296 pts/0 S 04:46 0:00 dbus-launch --autolaunch 24856ab4d1cf4fa9363cbed05e8a3ead --binary-syntax --close-stderr
root 13685 0.0 0.0 5388 2060 ? Ss 04:46 0:00 /usr/local/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
root 13687 0.0 0.0 230364 5012 ? Sl 04:46 0:00 /usr/local/lib/at-spi2-core/at-spi-bus-launcher
root 13691 0.0 0.0 5280 2404 ? S 04:46 0:00 \_ /usr/local/bin/dbus-daemon --config-file=/usr/local/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
root 13699 0.0 0.0 162020 6196 ? Sl 04:46 0:00 /usr/local/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
tc@box:~$
cups.tcz
ghostscript.tcz
dbus-python3.6.tcz
libsane.tcz
net-snmp.tcz
..which means that python3.6 will be loaded when you load hplip.$ tce-status -i | grep python
... I just ran the command tce-load -wi hp-plugins, which looks like it installed/updated hplip-plugins, dbus-python3.6, and python3.6. ...No, tce-load does not update anything.
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-update
Click the Exit icon and select reboot.tc@box:~$ hp-scan -m color -o scan1.jpg
HP Linux Imaging and Printing System (ver. 3.20.3)
Scan Utility ver. 2.2
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Using device hpaio:/net/hp_color_laserjet_mfp_m477fdw?ip=192.168.3.77&queue=false
Opening connection to device...
Resolution: 300dpi
Mode: color
Compression: JPEG
Scan area (mm):
Top left (x,y): (0.000000mm, 0.000000mm)
Bottom right (x,y): (215.899994mm, 296.925995mm)
Width: 215.899994mm
Height: 296.925995mm
Destination(s): file
Output file: /home/tc/scan1.jpg
Warming up...
Scanning...
Reading data: [*****************************************************************************************] 100% 25.6 MB
Read 25.6 MB from scanner.
Closing device.
Outputting to destination 'file':
Done.
... and dbus needs to be restarted for some reason. ...Its been awhile, but this has come up before. The dbus-daemon does not automatically get started when dbus.tcz is installed.
tc@box:~$ ps faux|awk '$5'
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 1.2 0.0 3936 288 ? Ss 03:57 0:00 /sbin/init
root 316 2.6 0.0 4840 4336 ? Ss 03:57 0:01 /sbin/udevd --daemon
root 2425 0.0 0.0 4840 4244 ? S 03:57 0:00 \_ /sbin/udevd --daemon
root 2458 0.0 0.0 4840 4236 ? S 03:57 0:00 \_ /sbin/udevd --daemon
root 577 0.0 0.0 3936 108 ? Ss 03:57 0:00 /sbin/syslogd
root 579 0.0 0.0 3936 100 ? Ss 03:57 0:00 /sbin/klogd
tc 4981 0.0 0.0 4016 2456 tty1 Ss+ 03:57 0:00 -sh
tc 5026 0.0 0.0 100852 640 ? Ssl 03:57 0:00 vmhgfs-fuse -o allow_other .host:/andy-home /mnt/hgfs/andy-home
root 5093 0.0 0.0 3936 108 ? Ss 03:57 0:00 /sbin/udhcpc -b -i eth0 -x hostname:box -p /var/run/udhcpc.eth0.pid
root 5492 4.2 0.6 241364 53344 tty2 Ssl+ 03:57 0:01 /usr/local/lib/xorg/Xorg -nolisten tcp
tc 5496 0.3 0.0 24700 6364 tty1 S 03:57 0:00 flwm
tc 5528 0.7 0.6 232676 49096 tty1 Sl 03:57 0:00 /usr/local/bin/vmtoolsd -n vmusr
tc 5554 0.3 0.1 56376 8664 tty1 S 03:57 0:00 wbar
tc 5574 0.4 0.1 30984 10140 tty1 S 03:57 0:00 \_ urxvt
tc 5575 0.0 0.0 4016 2452 pts/0 Ss 03:57 0:00 \_ sh
tc 5591 0.0 0.0 15092 2820 pts/0 R+ 03:58 0:00 \_ ps faux
tc 5592 0.0 0.0 3936 956 pts/0 S+ 03:58 0:00 \_ awk $5
tc 5560 0.0 0.0 6692 2304 tty1 S 03:57 0:00 dbus-launch --autolaunch 9fc2c0577895299f3544eb305e8e9d31 --binary-syntax --close-stderr
tc 5561 0.0 0.0 5272 2056 ? Ss 03:57 0:00 /usr/local/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
tc 5563 0.0 0.0 230380 5276 ? Sl 03:57 0:00 /usr/local/lib/at-spi2-core/at-spi-bus-launcher
tc 5567 0.0 0.0 5280 2404 ? S 03:57 0:00 \_ /usr/local/bin/dbus-daemon --config-file=/usr/local/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
tc 5569 0.0 0.0 162020 6208 ? Sl 03:57 0:00 /usr/local/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
tc@box:~$
write(1, "\n", 1
) = 1
write(1, "Resolution: 300dpi\n", 19Resolution: 300dpi
) = 19
write(1, "Mode: color\n", 12Mode: color
) = 12
write(1, "Compression: JPEG\n", 18Compression: JPEG
) = 18
write(1, "Scan area (mm):\n", 16Scan area (mm):
) = 16
write(1, " Top left (x,y): (0.000000mm, 0.000000mm)\n", 43 Top left (x,y): (0.000000mm, 0.000000mm)
) = 43
write(1, " Bottom right (x,y): (215.899994mm, 296.925995mm)\n", 51 Bottom right (x,y): (215.899994mm, 296.925995mm)
) = 51
write(1, " Width: 215.899994mm\n", 22 Width: 215.899994mm
) = 22
write(1, " Height: 296.925995mm\n", 23 Height: 296.925995mm
) = 23
write(1, "Destination(s): file\n", 21Destination(s): file
) = 21
write(1, "Output file: /home/tc/scan3.jpg\n", 32Output file: /home/tc/scan3.jpg
) = 32
write(1, "\nWarming up...", 14
Warming up...) = 14
write(1, "\n", 1
) = 1
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(1, "\10 \10", ) = 3
write(1, "\n", 1
) = 1
write(1, "\nScanning...", 12
Scanning...) = 12
write(1, "\n", 1
) = 1
getpid() = 7396
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(8289), sin_addr=inet_addr("192.168.3.77")}, 16) = 0
select(5, NULL, [4], NULL, {45, 0}) = 1 (out [4], left {44, 999995})
sendto(4, "POST / HTTP/1.1\r\nHost: http:0\r\nUser-Agent: gSOAP/2.7\r\nContent-Type: application/soap+xml; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: close\r\n\r\n", 154, 0, NULL, 0) = 154
select(5, NULL, [4], NULL, {45, 0}) = 1 (out [4], left {44, 999998})
sendto(4, "5ee\r\n", 5, 0, NULL, 0) = 5
select(5, NULL, [4], NULL, {45, 0}) = 1 (out [4], left {44, 999998})
sendto(4, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:SOAP-ENC=\"http://www.w3.org/2003/05/soap-encoding\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org"..., 1518, 0, NULL, 0) = 1518
select(5, NULL, [4], NULL, {45, 0}) = 1 (out [4], left {44, 999998})
sendto(4, "\r\n0\r\n\r\n", 7, 0, NULL, 0) = 7
select(5, [4], NULL, NULL, {45, 0}) = 1 (in [4], left {42, 466271})
recvfrom(4, "HTTP/1.1 202 ACCEPTED\r\nServer: gSOAP/2.7\r\nContent-Type: application/soap+xml; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: close\r\n\r\n", 4096, 0, NULL, NULL) = 142
select(5, [4], NULL, NULL, {45, 0}) = 1 (in [4], left {44, 999859})
recvfrom(4, "5C7\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:SOAP-ENC=\"http://www.w3.org/2003/05/soap-encoding\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w"..., 4096, 0, NULL, NULL) = 1448
select(5, [4], NULL, NULL, {1, 0}) = 1 (in [4], left {0, 998341})
recvfrom(4, "</SOAP-ENV:Body></SOAP-ENV:Envelope>\r\n0\r\n\r\n", 4096, 0, NULL, NULL) = 43
close(4) = 0
nanosleep({0, 100000000}, NULL) = 0
getpid() = 7396
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(8289), sin_addr=inet_addr("192.168.3.77")}, 16) = 0
select(5, NULL, [4], NULL, {45, 0}) = 1 (out [4], left {44, 999994})
sendto(4, "POST / HTTP/1.1\r\nHost: http:0\r\nUser-Agent: gSOAP/2.7\r\nContent-Type: application/soap+xml; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: close\r\n\r\n", 154, 0, NULL, 0) = 154
select(5, NULL, [4], NULL, {45, 0}) = 1 (out [4], left {44, 999997})
sendto(4, "1f3\r\n", 5, 0, NULL, 0) = 5
select(5, NULL, [4], NULL, {45, 0}) = 1 (out [4], left {44, 999998})
sendto(4, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:SOAP-ENC=\"http://www.w3.org/2003/05/soap-encoding\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org"..., 499, 0, NULL, 0) = 499
select(5, NULL, [4], NULL, {45, 0}) = 1 (out [4], left {44, 999998})
sendto(4, "\r\n0\r\n\r\n", 7, 0, NULL, 0) = 7
select(5, [4], NULL, NULL, {45, 0}) = 1 (in [4], left {41, 298280})
recvfrom(4, "HTTP/1.1 200 OK\r\nServer: gSOAP/2.7\r\nContent-Type: application/dime\r\nTransfer-Encoding: chunked\r\nConnection: close\r\n\r\n", 4096, 0, NULL, NULL) = 117
select(5, [4], NULL, NULL, {45, 0}) = 1 (in [4], left {44, 997132})
recvfrom(4, "800\r\n\f \0\0\0\7\0'\0\0\1\314cid:id0\0http://www.w3.org/2003/05/soap-envelope\0<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:SOAP-ENC=\"http://www.w3.org/2003/05/soap-encoding\" xmlns:xsi=\"http:/"..., 4096, 0, NULL, NULL) = 1453
getuid() = 1001
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 5
lseek(5, 0, SEEK_CUR) = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=211, ...}) = 0
read(5, "root:x:0:0:root:/root:/bin/sh\nlp:x:7:7:lp:/var/spool/lpd:/bin/sh\nnobody:x:65534:65534:nobody:/nonexistent:/bin/false\ntc:x:1001:50:Linux User,,,:/home/tc:/bin/sh\nandy:x:1000:1000:Linux User,,,:/home/andy:/bin/sh\n", 4096) = 211
close(5) = 0getpid() = 7396
write(2, "dbus[7396]: ", 12dbus[7396]: ) = 12
write(2, "arguments to dbus_connection_send() were incorrect, assertion \"connection != NULL\" failed in file dbus-connection.c line 3307.\nThis is normally a bug in some application using the D-Bus library.\n", 195arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3307.
This is normally a bug in some application using the D-Bus library.
) = 195
write(2, "\n", 1
) = 1
write(2, " D-Bus not built with -rdynamic so unable to print a backtrace\n", 64 D-Bus not built with -rdynamic so unable to print a backtrace
) = 64
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
getpid() = 7396
gettid() = 7396
tgkill(7396, 7396, SIGABRT) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=7396, si_uid=1001} ---
+++ killed by SIGABRT +++
Aborted
... Dbus is running right after I boot: ...I'm running TC10 x86 and /usr/local/tce.installed/dbus sets up a couple of directories but does not start dbus. Maybe another
tce-status -i | grep python
yeilds dbus-python3.6
$ tce-status -i | grep python
dbus-python3.6
python3.6
Did you download hplip and/or dbus-python3.6 manually using wget or a browser?
tc@box:~$ cat /mnt/sda1/tce64-11/onboot.lst
xtables-addons-KERNEL.tcz
Hack-font.tcz
mylocale-en_US.UTF-8.tcz
open-vm-tools-desktop.tcz
flwm.tcz
rxvt.tcz
wbar.tcz
openssh.tcz
ca-certificates.tcz
tc@box:~$ tce-status -i
Hack-font
Hack-fonts
Xlibs
Xorg-7.7
Xorg-7.7-3d
Xorg-7.7-bin
Xorg-7.7-lib
Xorg-fonts
Xprogs
acl
at-spi2-atk
at-spi2-core
atk
atkmm
attr
bzip2-lib
ca-certificates
cairo
cairomm
dbus
elfutils
elogind
expat2
fltk-1.3
flwm
fontconfig
freetype
fribidi
fuse
gdk-pixbuf2
glib2
glibc_gconv
glibmm
graphics-5.4.3-tinycore64
graphite
gtk3
gtkmm
gudev-lib
harfbuzz
i2c-5.4.3-tinycore64
imlib2
imlib2-bin
iptables
ipv6-netfilter-5.4.3-tinycore64
libEGL
libFS
libGL
libGLESv2
libICE
libSM
libX11
libXau
libXaw
libXcomposite
libXcursor
libXdamage
libXdmcp
libXext
libXfixes
libXfont2
libXft
libXi
libXinerama
libXmu
libXpm
libXrandr
libXrender
libXres
libXss
libXt
libXtst
libXv
libXvmc
libXxf86dga
libXxf86vm
libcap
libdnet
libdrm
libepoxy
libevdev
libffi
libfontenc
libinput
libjpeg-turbo
liblzma
libpciaccess
libpng
libsigc++
libtiff
libtirpc
libvdpau
libwacom
libxcb
libxkbcommon
libxkbfile
libxml2
libxshmfence
llvm-lib
mtdev
mylocale-en_US.UTF-8
ncursesw
open-vm-tools
open-vm-tools-desktop
openssh
openssl-1.1.1
pango
pangomm
pcre
pixman
procps-ng
rxvt
shared-mime-info
udev-lib
wayland
wayland-protocols
wbar
xcursor-themes
xf86-input-libinput
xf86-input-vmmouse
xf86-video-vesa
xf86-video-vmware
xkeyboard-config
xorg-server
xtables-addons-5.4.3-tinycore64
tc@box:~$ tce-load -i hplip-plugins
readline.tcz: OK
gdbm.tcz: OK
sqlite3.tcz: OK
python3.6.tcz: OK
python3.6-olefile.tcz: OK
python3.6-pillow.tcz: OK
libunistring.tcz: OK
libidn2.tcz: OK
gmp.tcz: OK
nettle3.tcz: OK
libtasn1-4.tcz: OK
p11-kit.tcz: OK
gnutls35.tcz: OK
gcc_libs.tcz: OK
libavahi.tcz: OK
libcups.tcz: OK
libusb.tcz: OK
libsane.tcz: OK
dbus-glib.tcz: OK
dbus-python3.6.tcz: OK
libnl.tcz: OK
libpci.tcz: OK
net-snmp.tcz: OK
liblcms2.tcz: OK
ghostscript.tcz: OK
qpdf.tcz: OK
nspr.tcz: OK
nss.tcz: OK
openjpeg.tcz: OK
curl.tcz: OK
libpoppler07.tcz: OK
cups-filters.tcz: OK
cups.tcz: OK
hplip.tcz: OK
hplip-plugins.tcz: OK
tc@box:~$ hp-scan -m color -f scan4.jpg
HP Linux Imaging and Printing System (ver. 3.20.3)
Scan Utility ver. 2.2
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Using device hpaio:/net/hp_color_laserjet_mfp_m477fdw?ip=192.168.3.77&queue=false
Opening connection to device...
Resolution: 300dpi
Mode: color
Compression: JPEG
Scan area (mm):
Top left (x,y): (0.000000mm, 0.000000mm)
Bottom right (x,y): (215.899994mm, 296.925995mm)
Width: 215.899994mm
Height: 296.925995mm
Destination(s): file
Output file: /home/tc/scan4.jpg
Warming up...
Scanning...
dbus[7532]: arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3307.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted
tc@box:~$ sudo /usr/local/etc/init.d/dbus restart
stopped /usr/local/bin/dbus-daemon (pid 5560 5554)
rm: can't remove '/var/run/dbus/pid': No such file or directory
tc@box:~$ hp-scan -m color -f scan4.jpg
HP Linux Imaging and Printing System (ver. 3.20.3)
Scan Utility ver. 2.2
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Using device hpaio:/net/hp_color_laserjet_mfp_m477fdw?ip=192.168.3.77&queue=false
Opening connection to device...
Resolution: 300dpi
Mode: color
Compression: JPEG
Scan area (mm):
Top left (x,y): (0.000000mm, 0.000000mm)
Bottom right (x,y): (215.899994mm, 296.925995mm)
Width: 215.899994mm
Height: 296.925995mm
Destination(s): file
Output file: /home/tc/scan4.jpg
Warming up...
Scanning...
Reading data: [***************************************************************************************************************************************************] 100% 25.6 MB
Read 25.6 MB from scanner.
Closing device.
Outputting to destination 'file':
Done.
... There's nothing in bootsync.sh or bootlocal.sh to start dbus, so I don't know who is starting it. ...It could be another extension starting it:
grep -i dbus /usr/local/tce.installed/*
Hi andyj... There's nothing in bootsync.sh or bootlocal.sh to start dbus, so I don't know who is starting it. ...It could be another extension starting it:Code: [Select]grep -i dbus /usr/local/tce.installed/*
tc@box:/usr/local/tce.installed$ grep dbus *
dbus:[ -d /var/lib/dbus ] || mkdir -p /var/lib/dbus
dbus:[ -f /var/lib/dbus/machine-id ] || dbus-uuidgen --ensure=/var/lib/dbus/machine-id
$ cd /usr/local/bin
$ sudo mv dbus-launch dbus-launch-real
#!/bin/sh
log=/home/tc/log.txt
echo "My PID is $$ and my PPID is $PPID" >>$log
ps -ef | grep $$ >>$log
ps -ef | grep $PPID >>$log
exec dbus-launch-real "$@"
#!/bin/sh
# this ensures that dbus goes away after the application closes:
exec dbus-run-session /usr/local/bin/filezilla "$@"
#!/bin/sh
# this wrapper script prevents mktrayicon from starting dbus
export NO_AT_BRIDGE=1
exec /usr/local/bin/mktrayicon "$@"
tc@box:~$ sudo /usr/local/etc/init.d/cups restart
no /usr/local/sbin/cupsd found; none killed
tc@box:~$
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) = ?
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
[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
$ ldd /usr/local/lib/libgnutls.so | grep idn
libidn2.so.0 => /usr/local/lib/libidn2.so.0 (0xb7c76000)
root@box:/home/tc# ldd /usr/local/sbin/cupsd | grep idn
libidn2.so.0 => /usr/local/lib/libidn2.so.0 (0xb798d000)
... 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:
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 don't know if it relates to this, but there is a foomatic extension in TC10:
Run these commands:Code: [Select]tce-audit builddb
Click the Exit icon and select reboot.
tce-audit updatedeps
tce-audit fetchmissing
tce-update
[7416:7431:0419/150553.684207:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
tc@box:~$ ps faux|awk '$5'
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.8 0.0 3936 288 ? Ss 16:40 0:00 /sbin/init
root 316 2.0 0.0 4816 4332 ? Ss 16:40 0:01 /sbin/udevd --daemon
root 2448 0.0 0.0 4168 3600 ? S 16:40 0:00 \_ /sbin/udevd --daemon
root 2452 0.0 0.0 4168 3600 ? S 16:40 0:00 \_ /sbin/udevd --daemon
root 598 0.0 0.0 3936 108 ? Ss 16:40 0:00 /sbin/syslogd
root 600 0.0 0.0 3936 104 ? Ss 16:40 0:00 /sbin/klogd
tc 4981 0.0 0.0 4016 2408 tty1 Ss+ 16:40 0:00 -sh
root 5004 0.0 0.0 3936 104 ? Ss 16:40 0:00 /sbin/udhcpc -b -i eth0 -x hostname:box -p /var/run/udhcpc.eth0.pid
tc 5019 0.0 0.0 100852 2688 ? Ssl 16:40 0:00 vmhgfs-fuse -o allow_other .host:/andy-home /mnt/hgfs/andy-home
root 5480 2.9 0.6 240892 53036 tty2 Ssl+ 16:40 0:01 /usr/local/lib/xorg/Xorg -nolisten tcp
tc 5484 0.2 0.0 24700 6472 tty1 S 16:40 0:00 flwm
tc 5523 0.6 0.6 232684 49048 tty1 Sl 16:41 0:00 /usr/local/bin/vmtoolsd -n vmusr
tc 5541 0.2 0.1 56376 8732 tty1 S 16:41 0:00 wbar
tc 5562 0.3 0.1 30892 9692 tty1 S 16:41 0:00 \_ urxvt
tc 5563 0.0 0.0 4016 2404 pts/0 Ss 16:41 0:00 \_ sh
tc 5603 0.0 0.0 15092 2820 pts/0 R+ 16:41 0:00 \_ ps faux
tc 5604 0.0 0.0 3936 1084 pts/0 S+ 16:41 0:00 \_ awk $5
tc 5548 0.0 0.0 6692 2276 tty1 S 16:41 0:00 dbus-launch --autolaunch d873e3f4578a5a99d11c29345e9c7f12 --binary-syntax --close-stderr
tc 5549 0.0 0.0 5280 2056 ? Ss 16:41 0:00 /usr/local/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
tc 5551 0.0 0.0 230380 5252 ? Sl 16:41 0:00 /usr/local/lib/at-spi2-core/at-spi-bus-launcher
tc 5555 0.0 0.0 5272 2400 ? S 16:41 0:00 \_ /usr/local/bin/dbus-daemon --config-file=/usr/local/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
tc 5557 0.0 0.1 162020 8228 ? Sl 16:41 0:00 /usr/local/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
tc@box:~$ find /var -type s
tc@box:~$ sudo mkdir -m 1777 /var/run/dbus
tc@box:~$ sudo /usr/local/etc/init.d/dbus restart
stopped /usr/local/bin/dbus-daemon (pid 5555 5549)
rm: can't remove '/var/run/dbus/pid': No such file or directory
tc@box:~$ find /var -type s
/var/run/dbus/system_bus_socket
tc@box:~$
maybe the ppd file on the Mint box would work for cups on the TC box.
That’s not what I see, I’ll check some more tomorrow.
$ ls /var/run/dbus
ls: /var/run/dbus: No such file or directory
$ sudo /usr/local/etc/init.d/dbus start
$ ls /var/run/dbus
pid system_bus_socket
$ sudo /usr/local/etc/init.d/dbus stop
stopped /usr/local/bin/dbus-daemon (pid 6203)
$ ls /var/run/dbus
system_bus_socket
$ ls /var/run/dbus
ls: /var/run/dbus: No such file or directory
$ pavucontrol &
$ ls /var/run/dbus
ls: /var/run/dbus: No such file or directory
$ ps aux | grep dbus
8112 tc dbus-launch --autolaunch 4b010dc45263d95cfeda85535e9d635f --binary-syntax --close-stderr
8113 tc /usr/local/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
8119 tc /usr/local/bin/dbus-daemon --config-file=/usr/local/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
$ sudo /usr/local/etc/init.d/dbus status
dbus is not running.
$ ls /var/run/dbus
ls: /var/run/dbus: No such file or directory
$ sudo /usr/local/etc/init.d/dbus start
$ ls /var/run/dbus
pid system_bus_socket
$ ps aux | grep dbus
8247 tc /usr/local/bin/dbus-daemon --system
$ pavucontrol &
$ ps aux | grep dbus
8247 tc /usr/local/bin/dbus-daemon --system
8257 tc dbus-launch --autolaunch 4b010dc45263d95cfeda85535e9d635f --binary-syntax --close-stderr
8258 tc /usr/local/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
8264 tc /usr/local/bin/dbus-daemon --config-file=/usr/local/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
$ sudo /usr/local/etc/init.d/dbus stop
stopped /usr/local/bin/dbus-daemon (pid 8264 8258 8247)
$ ps aux | grep dbus
8257 tc dbus-launch --autolaunch 4b010dc45263d95cfeda85535e9d635f --binary-syntax --close-stderr
$ cat /etc/sysconfig/tcedir/optional/ghostscript.tcz.md5.txt
2f94b893d509661ff85adc5eca9b9d9a ghostscript.tcz
$ ldd /usr/local/bin/gs | grep idn
libidn2.so.0 => /usr/local/lib/libidn2.so.0
$ tce-load -i hplip
$ sudo passwd
$ sudo /usr/local/etc/init.d/dbus start
$ sudo /usr/local/etc/init.d/cups start
$ hp-makeuri 192.168.1.170
...
CUPS URI: hp:/net/Officejet_6700?ip=192.168.1.170
SANE URI: hpaio:/net/Officejet_6700?ip=192.168.1.170
HP Fax URI: hpfax:/net/Officejet_6700?ip=192.168.1.170
$ hp-probe -bnet
...
Device URI Model Name
--------------------------------------- -------------- --------
hp:/net/Officejet_6700?ip=192.168.1.170 Officejet_6700 HP86C02B
$ hp-info -x -dhp:/net/Officejet_6700?ip=192.168.1.170
$ cat ~/.hplip/hplip.conf
[last_used]
device_uri = hp:/net/Officejet_6700?ip=192.168.1.170
$ sudo passwd
$ sudo /usr/local/etc/init.d/dbus start
$ sudo /usr/local/etc/init.d/cups start
$ hp-setup -i (root password needed to confirm)
"hp-setup -i" complained that /usr/local/share/cups/model was missing. After creating that directory, "hp-setup -i" works and creates another cups printer with the same uri as the existing printerI wonder if this is why I get duplicate printers in Slackware?
"hp-setup -i" complained that /usr/local/share/cups/model was missing.
$ tce-load -i hplip
$ sudo passwd
$ sudo /usr/local/etc/init.d/dbus start
$ sudo /usr/local/etc/init.d/cups start
$ hp-setup -i (root password needed to confirm)
$ hp-testpage
... Is there an additional command to run the plugins, or is running with hplip? ...
... Did you load hplip-plugins before you ran the "hplip-setup -i" command? ...Did you install hplip-plugins.tcz ?
... Did you try the "hp-firmware -i" or "hp-plugin -i" commands? ...These commands are included in hplip.tcz.
sorry, didn't mention the model, figured you would see it in the logs.
hp-plugin -i and choosing d for download, yields bin/sh: lsb_release not found. core distro not found in Auth_Types. download failed with error 1.Do not do this. Installing the hplip-plugins extension replaces this step.
ldd /usr/local/lib/cups/filter/hpcups > ldd.txt 2>&1
Now you can copy/paste from the ldd.txt file you just created.[code][ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]
[ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517
$ tce-load -i hplip-plugins
$ sudo passwd
$ sudo /usr/local/etc/init.d/dbus start
$ sudo /usr/local/etc/init.d/cups start
$ hp-setup -i (root password needed to confirm)
$ hp-testpage
Gutenprint works also, but why couldn't someone simply say that HPLip HAS TO BE removed FIRST?because I no longer have any HP printers so unable to test on 64 bit.