Toon firmware: issues (and solutions)

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

QuasaR
Starting Member
Starting Member
Posts: 23
Joined: Wed Feb 08, 2017 1:06 pm

Re: Toon firmware: issues (and solutions)

Post by QuasaR »

I don't know if klaphekje has been able to downgrade but I can supply the packages from any released version you need.
(Currently backed up : 3.2.18, 3.0.29, 3.3.0, 3.6.3, 3.7.7).
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware: issues (and solutions)

Post by marcelr »

Do you know if is it possible to disable processes like hue, smartplug, weather etc to free up resources? or does that crash the system?
Yes, you may want to edit
/HCBv2/qml/qb/base/Globals.qml for that. This qml code loads all apps, including some that you apparently don't want. You can just disable that in that file.
It shouldn't crash the system, since these apps aren't loaded in standalone mode either. And that mode just works.
and as a last resort, is it possible to roll back the update?
Yes, the packages updated in 3.7.9 are in the table below (AFAIK, and never mind the layout, emacs is a pain when it comes to tabs. But that's the way it is). Note that not all packages are updated every update. So, you may need packages from several earlier releases to roll back the last update.

Oh, and the base package overwrites the iptables.conf. It's easily patched (5 minutes of work). Just unpack the .ipk. It's a tar.gz archive, then unpack data.tar.gz, edit /etc/iptables.conf (or wherever it resides) according to the rooting manual, and repack in reverse order. Make sure to keep the package names the same. Only then install base.<whatever> and your toon remains open.

Code: Select all

Install date	Package				Version

3.7.9:
		base-qb2-ene			3.7.9-1067-0
		ca-certificates			20160104-r0_all
		firmware-ba			1.43
		firmware-ma			1.94
		happ-kpi			1.318-master
		happ-pwrusage			1.561-ene-master
		happ-scsync			1.213-ene-master
		happ-smartplug			1.153-master
		happ-thermstat			1.1117-ene-master
		happ-weather			1.115-master
		hcb-bxtproxy			1.133-master
		hcb-config			1.283-master
		hcb-netcon			1.288-master
		hcb-rrd				2.140-master
		hdrv-p1				1.609-ene-master
		hdrv-zwave			1.905-master
		libhcb-base			1.244-master
		libhcb-boxtalk			1.108-master
		libhcb-com			1.109-TN-master
		libhcb-drv			1.304-master
		libhcb-xml			1.95-master
		qt-gui				1.6755-ene-release-ene-3.7
		x11vnc				0.9.13-r2

3.6.3:
		base-qb2-ene			3.6.3-1022-0
		happ-eventmgr			1.164-master
		happ-kpi			1.295-master
		happ-pwrusage			1.553-ene-master
		happ-scsync			1.196-ene-master
		happ-smartplug			1.146-master
		happ-thermstat			1.852-ene-master
		happ-usermsg			1.48-master
		happ-weather			1.111-master
		hcb-bxtproxy			1.107-master
		hcb-comm			1.165-TN-master
		hcb-config			1.264-master
		hcb-log				1.65-master
		hcb-rrd				2.138-master
		hcb-upnp			1.87-master
		hcb-watchdog			1.44-master
		hdrv-hue			1.86-master
		hdrv-zwave			1.850-master
		libhcb-base			1.232-master
		libhcb-boxtalk			1.107-master
		libhcb-com			1.108-TN-master
		libhcb-drv			1.295-master
		libhcb-xml			1.93-master
		libuuid				2.18-r36.0
		qt-gui				1.6144-ene-develop

3.5.4:

		base-qb2-ene			3.5.4-1005-0
		glibc-patch-dns			2.10.1-r37.2
		happ-pwrusage			1.469-ene-master
		happ-scsync			1.185-ene-master
		happ-thermstat			1.816-ene-master
		happ-weather			1.106
		hcb-config			1.259-master
		hdrv-p1				1.479-master
		qt-gui				1.5958-ene-release-3.5

3.4.4:

		base-qb2-ene			3.4.4-990-0
		firmware-ba			1.40
		happ-eventmgr			1.161-master
		happ-kpi			1.276-master
		happ-pwrusage			1.460-ene-master
		happ-scsync			1.163-ene-master
		happ-smartplug			1.118
		happ-thermstat			1.784-ene-master
		hdrv-zwave			1.767-3-4-qubino-smart-meter
		kernel				2.6.36-R10-h25
		kernel-image			2.6.36-R10-h25
		kernel-module-fat		2.6.36-R10-h25
		kernel-module-msdos		2.6.36-R10-h25
		kernel-module-rt5370sta		2.6.36-R10-h25
		kernel-module-rt5370sta-cfg	2.6.36-R10-h25
		kernel-module-rtl8191su		2.6.36-R10-h25
		kernel-module-vfat		2.6.36-R10-h25
		kernel-module-zwave300		2.6.36-R10-h25
		qt-gui				1.5738-release-3.4-ene

3.3.8:

		base-qb2-ene			3.3.8-981-0
		firmware-ma			1.88
		flash-gui			1.651-ene-qeio
		happ-kpi			1.261-master
		happ-scsync			1.150-ene-fix-AET-1312-send-message-to-gui-on-new-ma-firmware-available
		happ-smartplug			1.114
		happ-thermstat			1.744-ene-master
		happ-usermsg			1.44
		hcb-bxtproxy			1.96-master
		hcb-config			1.240-master
		hdrv-p1				1.452-master
		hdrv-zwave			1.636-master
		qt-gui				1.5498-develop-ene

3.2.18:

1458995634	kernel-image			2.6.36-R10-h23
1456853211	dropbear			2015.71-r0
1456593605	kernel-module-zwave300		2.6.36-R10-h23
1456593584	kernel-module-vfat		2.6.36-R10-h23
1456593560	kernel-module-rtl8191su		2.6.36-R10-h23
1456593532	kernel-module-rt5370sta		2.6.36-R10-h23
1456593506	kernel-module-rt5370sta-cfg	2.6.36-R10-h23
1456593467	kernel-module-pl2303		2.6.36-R10-h23
1456593450	kernel-module-msdos		2.6.36-R10-h23
1456593434	kernel-module-ftdi-sio		2.6.36-R10-h23
1456593419	kernel-module-fat		2.6.36-R10-h23
1456593387	kernel				2.6.36-R10-h23
1456591493	qt-gui				1.5077-release-3.2.9-with-dateselectorcomponent-hotfix
1456591029	openvpn				2.3.6-r2.1
1456590928	base-qb2-ene			3.2.18-962-0

3.1.x:

1450714980	happ-smartplug	1.105
1450714975	hdrv-zwave	1.598-master
1450714741	happ-kpi	1.146-master

3.0.29:

1450216896	hcb-watchdog	1.4
1450216894	hcb-config	1.218
1450216889	lighttpd-mod-hcb-web	1.4.33-26
1450216885	happ-scsync	1.112
1450216883	happ-thermstat	1.618-master
1450216875	hdrv-hue	1.62-eneDevices
1450216873	hdrv-p1		1.393
1450216855	happ-weather	1.96
1450216853	lighttpd	1.4.33-17
1450216850	libpcre		7.6-r8
1450216845	happ-usermsg	1.36
1450216840	qt-libs		5.3.1-06-setpos
1450216405	happ-eventmgr	1.14
1450216389	hcb-bxtproxy	1.85-master
1450216383	firmware-ma	1.74
1450216346	libhcb-xml	1.83
1450216345	hcb-comm	1.160-TN
1450216342	hcb-rrd		2.125
1450216340	flash-gui	1.648-ene-qeio
1450216330	libhcb-drv	1.272
1450216326	flash-qwidget-diy	1.161-qeio
1450216310	boot-logos	1.64-ene
1450216305	happ-pwrusage	1.431
1450216299	hcb-netcon	1.246

2.9.x

1429820837	firmware-zwave-ctrlr	1.8-4.55-NrNfNm-noeep



1418163197	jansson	1.3-r1.0
1418163194	hcb-upnp	1.73
1418163158	libhcb-base	1.171



1411237415	tzdata-americas	2011b-r8.0



1406916468	libhcb-boxtalk	1.85



1400823958	hcb-log	1.52



1383330079	flash-lite-adobe	4.0.3-55-fb0



1372181861	wpa-supplicant-passphrase	2.0-r3
1372181859	firmware-ba	1.35
1372181811	initscripts	1.2-r6-runlvls
1372181807	chrony	1.27-r1
1372181804	wpa-supplicant-cli	2.0-r3
1372181638	wpa-supplicant	2.0-r3

first release:

1346244072	gnupg	1.4.10-r3
1346244072	gpgv	1.4.10-r3
1346244072	libbz2	1.0.6-r0
1346244072	libopkg	0.1.8??r7-gcv
1346244072	opkg	0.1.8??r7-gcv
1346244072	opkg-collateral	1.0-r3
1346244072	readline	5.2-r8
1346244071	glibc-binary-localedata-en-us	2.10.1-r37.1
1346244071	glibc-binary-localedata-fr-fr	2.10.1-r37.1
1346244071	glibc-localedata-i18n	2.10.1-r37.1
1346244071	glibc-localedata-iso14651-t1	2.10.1-r37.1
1346244071	glibc-localedata-iso14651-t1-common	2.10.1-r37.1
1346244071	glibc-localedata-translit-circle	2.10.1-r37.1
1346244071	glibc-localedata-translit-cjk-compat	2.10.1-r37.1
1346244071	glibc-localedata-translit-compat	2.10.1-r37.1
1346244071	glibc-localedata-translit-font	2.10.1-r37.1
1346244071	glibc-localedata-translit-fraction	2.10.1-r37.1
1346244071	glibc-localedata-translit-narrow	2.10.1-r37.1
1346244071	glibc-localedata-translit-neutral	2.10.1-r37.1
1346244071	glibc-localedata-translit-small	2.10.1-r37.1
1346244071	glibc-localedata-translit-wide	2.10.1-r37.1
1346244071	gpgme	1.1.4-r5
1346244071	locale-base-en-us	2.10.1-r37.1
1346244071	locale-base-fr-fr	2.10.1-r37.1
1346244071	makedevs	1.0.0-r10
1346244071	pth	2.0.2-r2
1346244071	samba-nmbd	3.0.20-r8
1346244071	sysvinit	2.86-r63
1346244071	sysvinit-inittab	2.86-r63
1346244071	sysvinit-pidof	2.86-r63
1346244071	sysvinit-utils	2.86-r63
1346244070	glibc-binary-localedata-de-de	2.10.1-r37.1
1346244070	glibc-binary-localedata-en-gb	2.10.1-r37.1
1346244070	glibc-binary-localedata-es-es	2.10.1-r37.1
1346244070	glibc-binary-localedata-it-it	2.10.1-r37.1
1346244070	libnl2	1:2.0-r2
1346244070	locale-base-en-gb	2.10.1-r37.1
1346244070	locale-base-es-es	2.10.1-r37.1
1346244070	locale-base-it-it	2.10.1-r37.1
1346244070	wireless-tools	29-r5
1346244069	glibc-binary-localedata-nl-nl	2.10.1-r37.1
1346244069	locale-base-de-de	2.10.1-r37.1
1346244069	locale-base-nl-nl	2.10.1-r37.1
1346244069	www-jquery-ui	1.8.21-16
1346244069	www-resources	1.16
1346244068	libhcb-com	1.91-TN
1346244063	curl	7.21.2-r5.0
1346244063	directfb	1.2.8-r1.0
1346244063	glibc-gconv	2.10.1-r37.1
1346244063	glibc-gconv-iso8859-1	2.10.1-r37.1
1346244063	gnutls	2.10.4-r11.0
1346244063	iptables	1.4.9.1-r7.1
1346244063	libcurl	7.21.2-r5.0
1346244063	libgcrypt	1.4.1-r0
1346244063	libgpg-error	1.4-r7.1
1346244063	pointercal	0.0-r22
1346244063	tslib-calibrate	1.0-r28.7hae
1346244063	tzdata-europe	2011b-r8.0
1346244062	freetype	2.4.3-r1
1346244062	joe	3.1-r3
1346244062	jpeg	8b-r1
1346244062	less	436-r1
1346244062	libnetfilter-conntrack	0.0.101-r0
1346244062	libnfnetlink	1.0.0-r0.0
1346244062	libpng12	1.2.44-r3.0
1346244062	libstdc++	4.5-r33.1???
1346244062	libsysfs	2.1.0-r3
1346244062	ncurses	5.7???r16
1346244062	ncurses-libncurses	5.7???r16
1346244062	ncurses-libtinfo	5.7???r16
1346244062	ncurses-terminfo	5.7???r16
1346244062	ncurses-terminfo-base	5.7???r16
1346244062	tslib	1.0-r28.7hae
1346244062	tslib-conf	1.0-r28.7hae
1346244062	wget	1.12-r8.2
1346244060	i2c-tools	3.0.3-r0
1346244060	module-init-tools	3.12-r6
1346244060	module-init-tools-depmod	3.12-r6
1346244060	modutils-initscripts	1.0-r3
1346244060	mtd-utils	1.4.1-r0
1346244060	netbase	4.21-r50
1346244060	openssl	0.9.8m-r14.1
1346244060	update-modules	1.0-r10
1346244059	base-files	3.0.14-r100
1346244059	base-passwd	3.5.20-r1
1346244059	busybox	1.18.3-r42.1
1346244059	busybox-mountall	1.18.3-r42.1
1346244059	busybox-syslog	1.18.3-r42.1
1346244059	glibc	2.10.1-r37.1
1346244059	libcrypto	0.9.8m-r14.1
1346244059	libgcc	4.5-r33.1???
1346244059	libssl	0.9.8m-r14.1
1346244059	lzo2	2.03-r0
1346244059	openssl-conf	0.9.8m-r14.1
1346244059	zlib	1.2.3-r7.0
1346244058	update-rc.d	0.7-r2
klaphekje
Starting Member
Starting Member
Posts: 36
Joined: Sat Oct 08, 2016 10:05 pm

Re: Toon firmware: issues (and solutions)

Post by klaphekje »

QuasaR wrote:I don't know if klaphekje has been able to downgrade but I can supply the packages from any released version you need.
(Currently backed up : 3.2.18, 3.0.29, 3.3.0, 3.6.3, 3.7.7).
I tried and bricked my Toon... It does not boot anymore. i'll try to fix that somewhere this week.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon firmware: issues (and solutions)

Post by Toonz »

Is there a changelog of some sorts for the new FW version? In other words, worth the trouble of upgrading?
member of the Toon Software Collective
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware: issues (and solutions)

Post by marcelr »

Toonz wrote:Is there a changelog of some sorts for the new FW version? In other words, worth the trouble of upgrading?
AFAIK: no, the only publicly available information is given at Eneco's toon forum.
klaphekje wrote:I tried and bricked my Toon... It does not boot anymore. i'll try to fix that somewhere this week.
Strange, this risk should only exist if you replace the bootloader and/or the kernel. The bootloader is unreachable for the installer, FW 3.7.9 had no kernel upgrade, so I assume that you didn't try to install an older one? Anyway, if you need any help, just yell.
klaphekje
Starting Member
Starting Member
Posts: 36
Joined: Sat Oct 08, 2016 10:05 pm

Re: Toon firmware: issues (and solutions)

Post by klaphekje »

It seems you are right again. The Toon was not bricked at all. The screen just did'nt lit up anymore and the iptables config was reverted to default. So i had a black screen and no SSH access anymore.
The serial console however still worked. OPKG had a lot of errors regarding dependencies. I tried to fix that be hand but without succes.

At this point it boots halfway and then it "hangs". I can start qt manually (/usr/bin/startqt) but then it won't remember any settings, so i start with an empty screen after each reboot.

I can't find a usefull log so i have no idea where to start. So... any ideas? ;)
Image
Last edited by klaphekje on Sun Apr 09, 2017 4:26 pm, edited 1 time in total.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware: issues (and solutions)

Post by marcelr »

klaphekje wrote:I can't find a usefull logs so i have no idea where to start. So... any ideas? ;)
All software for toon is started in /etc/inittab.

In a rooted toon, this file looks like this (hasn't changed essentially, since its introduction back in the first linux distro, until systemd came along):

Code: Select all

# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:5:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# HCBv2 static stuff
# Commented-out VPN access for the service center. Uncomment if you want 
# to use it. See /etc/openvpn/README for further instructions.
#ovpn:235:respawn:/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0 >/dev/null 2>&1
qtqt:245:respawn:/usr/bin/startqt >/dev/null 2>&1
# added tty for direct serial access
gett:235:respawn:/sbin/getty -L 115200 ttymxc0 vt102

# WARNING: auto-managed by '/etc/init.d/HCBv2 inittabwrap' with '/HCBv2/etc/start.d/*'
#          lines containing 'inittabwrap' will be removed automagically.
netc:235:respawn:/etc/init.d/HCBv2 inittabwrap hcb_netcon
comm:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_comm
even:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_eventmgr
kpik:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_kpi
pwru:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_pwrusage
scsy:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_scsync
smar:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_smartplug
ther:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_thermstat
user:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_usermsg
weat:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_weather
bxtp:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_bxtproxy
conf:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_config
logl:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_log
rrdr:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_rrd
upnp:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_upnp
watc:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_watchdog
hueh:345:respawn:/etc/init.d/HCBv2 inittabwrap hdrv_hue
p1p1:345:respawn:/etc/init.d/HCBv2 inittabwrap hdrv_p1
zwav:345:respawn:/etc/init.d/HCBv2 inittabwrap hdrv_zwave
ligh:345:respawn:/etc/init.d/HCBv2 inittabwrap lighttpd
# end of 'inittabwrap' section.
Then, after a reboot, check which of the toon-specific executables actually run You can use the top command for this.

Code: Select all

toon:~# top

Code: Select all

Mem: 120548K used, 5160K free, 0K shrd, 0K buff, 12952K cached
CPU:   5% usr   4% sys   0% nic  90% idle   0% io   0% irq   0% sirq
Load average: 0.45 0.40 0.35 1/150 20746
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
  692     1 root     S    39708  32%   3% HCBv2 hdrv_zwave     [OK] [E9E6F8F5 SIS Z-Wave 3.67] [S1|N1]
22603     1 root     S     163m 133%   2% /HCBv2/sbin/qt-gui -platform linuxfb -plugin Tslib
20728 20492 root     R     3048   2%   1% top
  681     1 root     S    22060  18%   1% HCBv2 hcb_rrd        [OK] [S1|N1]
27345     1 root     S    12576  10%   0% /usr/bin/x11vnc-bin -shared -forever -rawfb map:/dev/fb0@800x480x32 -pipeinput UINPUT:touch,touch_alw
  659     1 root     S     350m 286%   0% HCBv2 hcb_comm       [OK] [21 clients] [S1|N1]
  673     1 root     S    22220  18%   0% HCBv2 hcb_config     [OK] [S1|N1]
  658     1 root     S    21676  17%   0% HCBv2 hcb_netcon     [OK] [S1|N1]
  691     1 root     S    21636  17%   0% HCBv2 hdrv_p1        [OK] [Z:OK E:OP (P1) G:OP S:OP] [S1|N1]
  682     1 root     S    15044  12%   0% HCBv2 hcb_upnp       [OK] [S20|N1]
  680     1 root     S    12292  10%   0% HCBv2 hcb_log        [OK] [S1|N1]
  690     1 root     S    22720  18%   0% HCBv2 hdrv_hue       [OK] [S1|N1]
  668     1 root     S    22664  18%   0% HCBv2 happ_thermstat [OK] [S20|N1]
  662     1 root     S    21868  17%   0% HCBv2 happ_pwrusage  [OK] [S30|N1]
  661     1 root     S    21552  17%   0% HCBv2 happ_kpi       [OK] [S1|N1]
  689     1 root     S    21464  17%   0% HCBv2 hcb_watchdog   [OK] [S20|N1]
  660     1 root     S    21144  17%   0% HCBv2 happ_eventmgr  [OK] [S1|N1]
  667     1 root     S    20636  16%   0% HCBv2 happ_smartplug [OK] [S1|N1]
  665     1 root     S    20508  16%   0% HCBv2 happ_scsync    [OK] [S1|N1]
  670     1 root     S    20432  16%   0% HCBv2 happ_usermsg   [OK] [S1|N1]
  671     1 root     S    14440  11%   0% HCBv2 happ_weather   [OK] [S20|N1]
  672     1 root     S    13824  11%   0% HCBv2 hcb_bxtproxy   [OK] [S:0:4263:2733 R:0:0 Q:0 (PRD)] [S1|N1]
  702     1 root     S    13512  11%   0% /HCBv2/bin/lighttpd -D -m /HCBv2/lib/lighttpd -f /HCBv2/etc/lighttpd/lighttpd.conf
14624     1 root     S     3488   3%   0% wpa_supplicant -B -i wlan0 -P /var/run/wpa_supp-wlan0.pid -c /etc/network/wpa_supplicant.wlan0.conf -
14667     1 root     S     3472   3%   0% /usr/sbin/nmbd -s /etc/samba/smb.conf
20492 20483 root     S     3048   2%   0% -sh
  598     1 root     S     2876   2%   0% /bin/sh /root/read_temp.sh toon_t
  657     1 root     S     2876   2%   0% /sbin/getty -L 115200 ttymxc0 vt102
  614     1 root     S     2872   2%   0% /sbin/syslogd -n -O /var/log/messages -s 128 -b 1 -m 20
  616     1 root     S     2872   2%   0% /sbin/klogd -n
14590     1 root     S     2872   2%   0% udhcpc -b -R -i eth0 -A 5 -p /var/run/udhcpc.eth0.pid -H toon
14683     1 root     S     2872   2%   0% udhcpc -b -R -i wlan0 -A 5 -p /var/run/udhcpc.wlan0.pid -H toon
20703   598 root     S     2740   2%   0% sleep 60
14753     1 root     S     2616   2%   0% /usr/sbin/chronyd -r
20483   611 root     S     2336   2%   0% /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22
  611     1 root     S     2164   2%   0% /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22
    1     0 root     S     1600   1%   0% init [5]
    3     2 root     SW       0   0%   0% [ksoftirqd/0]
 
... snip ...

All HCBv2-related stuff should be there. If not, start checking what's missing.

Then, I'm not sure what you actually did with the rollback, but it could very well be that some packages from different versions do not really work together very well. So, it may be interesting to find out which version of each package you use (if not the ones supplied in a _single_ FW update), and then correct if necessary.
klaphekje
Starting Member
Starting Member
Posts: 36
Joined: Sat Oct 08, 2016 10:05 pm

Re: Toon firmware: issues (and solutions)

Post by klaphekje »

The only thing missing is the qt-gui but unfortunately, starting it manually is no option because it always starts with blank tiles. Maybe it is possible to add an argument to point to a config file?

Do some of you also run on 3.7.9? I would like to compare the package versions.

My packages:

Code: Select all

base-files - 3.0.14-r100
base-passwd - 3.5.20-r1
base-qb2-ene - 3.7.9-1067-0
boot-logos - 1.64-ene
busybox - 1.18.3-r42.1
busybox-mountall - 1.18.3-r42.1
busybox-syslog - 1.18.3-r42.1
ca-certificates - 20160104-r0
chrony - 1.27-r1
curl - 7.21.2-r5.0
directfb - 1.2.8-r1.0
dropbear - 2015.71-r0
firmware-ba - 1.43
firmware-ma - 1.94
firmware-zwave-ctrlr - 1.7-4.55-NrNfNm-noeep
flash-gui - 1.651-ene-qeio
flash-lite-adobe - 4.0.3-54-fb0
flash-qwidget-diy - 1.161-qeio
freetype - 2.4.3-r1
glibc - 2.10.1-r37.1
glibc-binary-localedata-de-de - 2.10.1-r37.1
glibc-binary-localedata-en-gb - 2.10.1-r37.1
glibc-binary-localedata-en-us - 2.10.1-r37.1
glibc-binary-localedata-es-es - 2.10.1-r37.1
glibc-binary-localedata-fr-fr - 2.10.1-r37.1
glibc-binary-localedata-it-it - 2.10.1-r37.1
glibc-binary-localedata-nl-nl - 2.10.1-r37.1
glibc-gconv - 2.10.1-r37.1
glibc-gconv-iso8859-1 - 2.10.1-r37.1
glibc-localedata-i18n - 2.10.1-r37.1
glibc-localedata-iso14651-t1 - 2.10.1-r37.1
glibc-localedata-iso14651-t1-common - 2.10.1-r37.1
glibc-localedata-translit-circle - 2.10.1-r37.1
glibc-localedata-translit-compat - 2.10.1-r37.1
glibc-localedata-translit-fraction - 2.10.1-r37.1
glibc-localedata-translit-narrow - 2.10.1-r37.1
glibc-localedata-translit-neutral - 2.10.1-r37.1
glibc-localedata-translit-small - 2.10.1-r37.1
glibc-patch-dns - 2.10.1-r37.2
gnupg - 1.4.10-r3
gnutls - 2.10.4-r11.0
gpgv - 1.4.10-r3
happ-eventmgr - 1.164-master
happ-kpi - 1.318-master
happ-pwrusage - 1.561-ene-master
happ-scsync - 1.213-ene-master
happ-smartplug - 1.153-master
happ-thermstat - 1.1117-ene-master
happ-usermsg - 1.48-master
happ-weather - 1.115-master
hcb-bxtproxy - 1.133-master
hcb-comm - 1.165-TN-master
hcb-config - 1.283-master
hcb-log - 1.65-master
hcb-netcon - 1.288-master
hcb-rrd - 2.140-master
hcb-upnp - 1.87-master
hcb-watchdog - 1.44-master
hdrv-hue - 1.86-master
hdrv-p1 - 1.609-ene-master
hdrv-zwave - 1.905-master
i2c-tools - 3.0.3-r0
initscripts - 1.2-r6-runlvls
iptables - 1.4.9.1-r7.1
jansson - 1.3-r1.0
joe - 3.1-r3
jpeg - 8b-r1
kernel - 2.6.36-R10-h25
kernel-image - 2.6.36-R10-h25
kernel-module-fat - 2.6.36-R10-h25
kernel-module-ftdi-sio - 2.6.36-R10-h25
kernel-module-msdos - 2.6.36-R10-h25
kernel-module-pl2303 - 2.6.36-R10-h25
kernel-module-rt5370sta - 2.6.36-R10-h25
kernel-module-rtl8191su - 2.6.36-R10-h25
kernel-module-vfat - 2.6.36-R10-h25
kernel-module-zwave300 - 2.6.36-R10-h25
less - 436-r1
libcrypto - 0.9.8m-r14.1
libcurl - 7.21.2-r5.0
libgcc - 4.5-r33.1+svnr170443
libgcrypt - 1.4.1-r0
libgpg-error - 1.4-r7.1
libhcb-base - 1.244-master
libhcb-boxtalk - 1.108-master
libhcb-com - 1.109-TN-master
libhcb-drv - 1.304-master
libhcb-xml - 1.95-master
libnetfilter-conntrack - 0.0.101-r0
libpcre - 7.6-r8
libpng12 - 1.2.44-r3.0
libssl - 0.9.8m-r14.1
libstdc++ - 4.5-r33.1+svnr170443
libsysfs - 2.1.0-r3
libuuid - 2.18-r36.0
lighttpd - 1.4.33-17
lighttpd-mod-hcb-web - 1.4.33-26
locale-base-de-de - 2.10.1-r37.1
locale-base-en-gb - 2.10.1-r37.1
locale-base-es-es - 2.10.1-r37.1
locale-base-it-it - 2.10.1-r37.1
locale-base-nl-nl - 2.10.1-r37.1
lzo2 - 2.03-r0
makedevs - 1.0.0-r10
module-init-tools-depmod - 3.12-r6
modutils-initscripts - 1.0-r3
mtd-utils - 1.4.1-r0
ncurses-libncurses - 5.7+20110115-r16
ncurses-libtinfo - 5.7+20110115-r16
openssh-sftp-server - 7.3p1-r10.0
openssl - 0.9.8m-r14.1
openssl-conf - 0.9.8m-r14.1
openvpn - 2.3.6-r2.1
opkg - 0.1.8+svns635-r7-gcv
opkg-collateral - 1.0-r3
pointercal - 0.0-r22
qt-gui - 1.6755-ene-release-ene-3.7
qt-libs - 5.3.1-06-setpos
qt-squish - 5.3.1-5.1.1-03-setpos-4
samba-nmbd - 3.0.20-r8
sysvinit-inittab - 2.86-r63
sysvinit-utils - 2.86-r63
tslib-conf - 1.0-r28.7hae
tzdata-americas - 2011b-r8.0
update-modules - 1.0-r10
wget - 1.12-r8.2
wireless-tools - 29-r5
wpa-supplicant - 2.0-r3
wpa-supplicant-cli - 2.0-r3
wpa-supplicant-passphrase - 2.0-r3
www-jquery-ui - 1.8.21-16
www-resources - 1.16
x11vnc - 0.9.13-r2
zlib - 1.2.3-r7.0
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware: issues (and solutions)

Post by marcelr »

I don't have 3.7.9 running, but I compared my list with yours. Apart from a lot of old stuff (from the initial install of my toon, version 1.9.10) that has been removed, only one file stands out: qt-squish - 5.3.1-5.1.1-03-setpos-4
It's probably not a package that has been installed lately. Can you check its installation date? I can't find it anywhere in my lists, not sure what it does.

While you're at it, can you also check the contents of /HCBv2/config/config_qt-gui.xml? This file should hold your tile configuration.
QuasaR
Starting Member
Starting Member
Posts: 23
Joined: Wed Feb 08, 2017 1:06 pm

Re: Toon firmware: issues (and solutions)

Post by QuasaR »

marcelr wrote:I don't have 3.7.9 running, but I compared my list with yours. Apart from a lot of old stuff (from the initial install of my toon, version 1.9.10) that has been removed, only one file stands out: qt-squish - 5.3.1-5.1.1-03-setpos-4
It's probably not a package that has been installed lately. Can you check its installation date? I can't find it anywhere in my lists, not sure what it does.

While you're at it, can you also check the contents of /HCBv2/config/config_qt-gui.xml? This file should hold your tile configuration.
That package is already in 3.0.29 release. It hasn't changed since.
If you know the previous firmware versions we might be able to track in which version it was introduced.
klaphekje
Starting Member
Starting Member
Posts: 36
Joined: Sat Oct 08, 2016 10:05 pm

Re: Toon firmware: issues (and solutions)

Post by klaphekje »

The contents of the qt-gui config seem to be in the state i left them when it still worked. There are several tiles defined, but they do not show up.

What do you make of this:

Code: Select all

eneco-001:~# /HCBv2/sbin/qt-gui 
[hxml] libhcb_xml          v0.1 r95    (Sep 16 2016 14:47:44) [master#5f72a810bf] (ezxml 0.8.6)
[hbxt] libhcb_boxtalk      v0.1 r108   (Sep 16 2016 14:48:00) [master#3304abef08]
[hcom] libhcb_com          v0.1 r109   (Sep 16 2016 14:48:13) [master#10e07c208f] (OpenSSL 0.9.8m)
[hdrv] libhcb_drv          v0.1 r304   (Oct 18 2016 15:08:54) [master#63d8ae157a]
[hbas] libhcb_base         v0.1 r244   (Sep 26 2016 15:17:41) [master#59edff2eb6]
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
This application failed to start because it could not find or load the Qt platform plugin "directfb".

Available platform plugins are: linuxfb.

Reinstalling the application may fix this problem.
Aborted
Starting qt via the "/usr/sbin/startqt" does work.
Offcourse reinstalling "qt-gui" or "directfb" does not work -_-"
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware: issues (and solutions)

Post by marcelr »

Starting qt via the "/usr/sbin/startqt" does work.
Offcourse reinstalling "qt-gui" or "directfb" does not work -_-"
Makes sense.

/usr/sbin/startqt adds two cli arguments to qt-gui:

Code: Select all

exec /HCBv2/sbin/qt-gui -platform linuxfb -plugin Tslib
Platform info (directfb, so framebuffer support) and a plugin to enable the touchscreen (Tslib), qt-gui by itself lacks this information and therefore gives you the error.
If startqt works and gives you "normal" behaviour, the problem may be in /etc/inittab.
What is the _exact_ line in inittab for starting qt-gui?
klaphekje
Starting Member
Starting Member
Posts: 36
Joined: Sat Oct 08, 2016 10:05 pm

Re: Toon firmware: issues (and solutions)

Post by klaphekje »

Your comments about qt-gui / startqt pointed me in the right direction.
My inittab looks like this after the update:

Code: Select all

# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:5:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# HCBv2 static stuff
ovpn:235:respawn:/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0 >/dev/null 2>&1
qtqt:245:respawn:/usr/bin/startsquish >/dev/null 2>&1

#Aanvulling serial console  22-2-2017
gett:235:respawn:/sbin/getty -L 115200 ttymxc0 vt102

# WARNING: auto-managed by '/etc/init.d/HCBv2 inittabwrap' with '/HCBv2/etc/start.d/*'
#          lines containing 'inittabwrap' will be removed automagically.
netc:235:respawn:/etc/init.d/HCBv2 inittabwrap hcb_netcon
comm:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_comm
even:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_eventmgr
kpik:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_kpi
pwru:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_pwrusage
scsy:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_scsync
smar:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_smartplug
ther:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_thermstat
user:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_usermsg
weat:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_weather
bxtp:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_bxtproxy
conf:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_config
logl:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_log
rrdr:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_rrd
upnp:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_upnp
watc:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_watchdog
ligh:345:respawn:/etc/init.d/HCBv2 inittabwrap lighttpd
# end of 'inittabwrap' section.
I don't know where the "squishserver" is for but i commented that line out and simply added:

Code: Select all

qt:245:respawn:/usr/bin/startqt >/dev/null 2>&1
Two problems are solved now, qt-gui works again and the extreme lag i experienced after the upgrade to 3.7.9 is gone by commenting out the squishserver line.

Thanks again for the help!
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware: issues (and solutions)

Post by marcelr »

klaphekje wrote:I don't know where the "squishserver" is for
Apparently it's a piece of code that's being used for field testing. My toons don't have it, they were never used in field tests. It enables remote debugging/controlling of (in this case) Qt applications. From your picture, it's clear that it serves its data on port 4322. Most likely, your /etc/default/iptables.conf has an extra line for that port.

Installation size is quite something: 14.4 MiB. Possibly it replaces the standard qt library (which is ~12.4 MiB). If not, you will likely have issues in memory usage ...
homesweethome
Starting Member
Starting Member
Posts: 5
Joined: Sun Aug 20, 2017 9:55 am

Re: Toon firmware: issues (and solutions)

Post by homesweethome »

I rooted my Toon with the info i got on this board, thanks for the very detailed 'how to's', it went nice and easy, even bought a 'test Toon' as well on MP

One thing i can't figure out, my SSH connection to Toon is no problem, but only no problem if i connect Toon with UTP, if UTP cable is disconnected and i want to make SSH connection via WiFi, there's no connection possible, when i connect UTP cable all is well and SSH connection is even possible via WiFi ip adres, same behavior has my test Toon. (no SSH connection possible via WiFi, no problem via cable)
Can some point me in the right direction?
Post Reply

Return to “Toon Firmware”