[1] 2 >>> MLD-5.x / Systems / Raspberry PI / [MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
 

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
Mein Weihnachtsgeschenk ist schon heute eingetroffen  8)

Also habe ich auch das Paket "argoneone_case" installiert. Die Installation ist ohne Fehler gelaufen.
Jedoch führt der Aufruf des Config-Tools zu einer Fehlermeldung:
Code: [Select]
MLD /root# argonone-config
-sh: argonone-config: Too many levels of symbolic links
MLD /root#

Die Fehlermeldung erhalte ich sowohl unter 5.5-unstable, als auch unter 5.5-testing.
Gerne werde ich bei der Fehlerbeseitigung helfen/testen.

Viele Grüße
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20120
    • View Profile
    • ClausMuus.de
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #1 on: December 22, 2021, 11:50:57 »
Versuch's mal mit dem neuen Paket im unstable.
« Last Edit: December 22, 2021, 11:53:23 by clausmuus »
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #2 on: December 22, 2021, 14:26:42 »
Hallo Claus,

vielen Dank.
Das Paket habe ich aktualisiert, aber es läuft noch nicht.

Das argonone-config-script läuft unter bash - auf sh geändert hat es nicht funktioniert.
Also habe ich bash nachinstalliert - das Script läuft.

Weiterhin fehlt python3 und libmpdec2 - das konnte ich nachinstallieren:
Code: [Select]
MLD /root# apt install python3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libmpdec2
The following NEW packages will be installed:
  libmpdec2 python3
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 8.282 kB of archives.
After this operation, 23,8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://www.minidvblinux.de/download/5.5/files unstable/main armhf libmpdec2 armhf 2.4.2-~1 [75,2 kB]
Get:2 http://www.minidvblinux.de/download/5.5/files unstable/main armhf python3 armhf 3.7-4.1 [8.207 kB]
Fetched 8.282 kB in 4s (1.878 kB/s) 
Create a snapshot of '/mnt/root/@root' in '/mnt/root/2021-12-22 12:54'
Delete subvolume (no-commit): '/mnt/root/2021-12-22 12:30'
Selecting previously unselected package libmpdec2.
(Reading database ... 4356 files and directories currently installed.)
Preparing to unpack .../libmpdec2_2.4.2-~1_armhf.deb ...
Unpacking libmpdec2 (2.4.2-~1) ...
Selecting previously unselected package python3.
Preparing to unpack .../python3_3.7-4.1_armhf.deb ...
Unpacking python3 (3.7-4.1) ...
Setting up libmpdec2 (2.4.2-~1) ...
Setting up python3 (3.7-4.1) ...

Der script-daemon läuft aber trotzdem nicht - von Hand gestartet spuckt er aber ein fehlendes Modul aus:
Code: [Select]
MLD /root# python3 -- /usr/bin/argononed.py
Traceback (most recent call last):
  File "/usr/bin/argononed.py", line 2, in <module>
    import smbus
ModuleNotFoundError: No module named 'smbus'

Weder das Paket python3-smbus noch python-smbus kann ich nachinstallieren:
Code: [Select]
MLD /root# apt install python3-smbus
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python3-smbus

MLD /root# apt install python-smbus
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python-smbus

Viele Grüße
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20120
    • View Profile
    • ClausMuus.de
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #3 on: December 22, 2021, 15:35:17 »
Du kannst es jetzt noch mal versuchen.
Ich habe es u.a. auf python2 umgestellt und das fehlende smbus hinzugefügt.

Ich habe das Paket in argoneone-case umbenannt, also den Unterstrich durch einen Bindestrich ersätzt.
« Last Edit: December 22, 2021, 15:56:51 by clausmuus »
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #4 on: December 22, 2021, 16:52:01 »
Hallo Claus,

das alte Paket habe ich über Web-GUI entfernt:
Code: [Select]
Uninstall argonone_case
Removing argonone_case

Und das neue versucht zu installieren - das klappt noch nicht:
Code: [Select]
Install argonone-case
E: Unable to correct problems, you have held broken packages.
Some packages have unmet dependencies
argonone-case:armhf-rpi4 : Depends: python-smbus:armhf-rpi4 but it is not installable
failed

Und hier noch einmal von Hand:
Code: [Select]
MLD /root# apt install python-smbus
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package python-smbus:armhf-rpi4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python-smbus:armhf-rpi4' has no installation candidate

Viele Grüße
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20120
    • View Profile
    • ClausMuus.de
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #5 on: December 22, 2021, 17:11:51 »
Keine Ahnung was da geharkt hat, aber jetzt sollte es wieder gehen.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #6 on: December 22, 2021, 17:42:03 »
Hallo Claus,

Jetzt fehlt wohl noch das Modul GPIO - Mensch ist das spannend:
Code: [Select]
MLD /root# python -- /usr/bin/argononed.py
Traceback (most recent call last):
  File "/usr/bin/argononed.py", line 3, in <module>
    import RPi.GPIO as GPIO
ImportError: No module named RPi.GPIO

Das Paket gpio-read habe ich installiert, aber das hat es nicht gebracht.

Viele Grüße
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20120
    • View Profile
    • ClausMuus.de
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #7 on: December 22, 2021, 19:56:38 »
Du kannst es nach einem Update noch mal versuchen.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #8 on: December 22, 2021, 22:52:41 »
Hallo Claus,

das Update ist gelaufen, aber da steckt wohl noch ein Wurm drin:

Nach einem Neustart des RPI schaltet der Lüfter beim Erreichen der 40°-Schwelle nicht ein.
Hier die Parameter aus /etc/argononed.conf:
# Start below:
40=10
45=20
65=100

Erst wenn ich /etc/init.d/argonone stop/start ausgeführt habe funktioniert es wie erwartet.
Auffällig ist das der Stop mit failed antwortet:

Der Lüfter sollte eigentlich schon laufen, tut es aber nicht:
Code: [Select]
MLD /root# vcgencmd measure_temp
temp=42.3'C

MLD /root# /etc/init.d/argonone stop
Stopping argonone                                                       failed
MLD /root# /etc/init.d/argonone start
Starting argonone                                                       done

Der Lüfter startet und schaltet nach kurzer Laufzeit wieder aus:
Code: [Select]
MLD /root# vcgencmd measure_temp
temp=39.4'C

Viele Grüße
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline rfehr

  • MLD-Developer
  • Expert Member
  • ******
  • Posts: 1462
    • View Profile
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #9 on: December 22, 2021, 22:56:16 »
Hi NoTape,

Bist du sicher das er bei etwas über 40°C nicht läuft?
denn da macht er ja nur 10%, und das merkt man kaum ob er läuft.

Gruß,
  Roland
1x OctopusNet 4x DVB-C
1x Zotac ITX-A Atom 330
1x RPI2 als Client
1x BananaPi
1x Wetekplay
1x MCC 100
2x RPI3
2x RPi4
1x https://www.zotac.com/at/product/mini_pcs/pi335

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20120
    • View Profile
    • ClausMuus.de
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #10 on: December 22, 2021, 23:01:25 »
Du kannst mal im /var/log/sysinit schauen schauen ob der Start dort erfolgreich war.
Außerdem kannst Du per "ps | grep argononed.py" schauen ob der Dienst nach dem Booten läuft.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #11 on: December 22, 2021, 23:34:41 »
Hallo Claus,

im sysinit ist nichts von einem argonone-start zu sehen.
Lediglich zwei fails sind mir aufgefallen:
Code: [Select]
MLD /root# more /var/log/sysinit
Configure packages:
Setting up libzstd1 (1.3.8-~1) ...
Setting up ldconfig (2.28-12) ...
Setting up liblzma5 (5.2.4-~1) ...
Setting up rpi-firmware:armhf-rpi4 (1:2021.08.08-3.7) ...
Setting up libgpg-error0 (1.35-~1) ...
Setting up init (0-107) ...
Setting up libgcc1 (8.3.0-~1) ...
Setting up liblz4-1 (1.8.3-~1) ...
Setting up libssl1.1 (1.1.1-~2) ...
Setting up libsqlite3-0 (3.27.2-~2) ...
Setting up libunistring2 (0.9.10-~1) ...
Setting up libgcrypt20 (1.8.4-~1) ...
Setting up liblzo2-2 (2.10-~1) ...
Setting up zlib1g (1.2.11-~1) ...
Setting up kernel:armhf-rpi4 (5.12.6.4-202.122) ...
Setting up libffi6 (3.2.1-~1) ...
Setting up libidn2-0 (2.0.5-~1) ...
Setting up libassuan0 (2.5.2-~1) ...
Setting up libseccomp2 (2.3.3-~1) ...
Setting up libsystemd0 (241-~1) ...
Setting up busybox (1:1.25.1-58) ...
Setting up initramfs:armhf-rpi4 (2021.09.08-113) ...
Setting up libgmp10 (6.1.2-~1) ...
Setting up libp11-kit0 (0.23.15-~1) ...
Setting up libnettle6 (3.4.1-~1) ...
Setting up libudev1 (241-~1) ...
Setting up libattr1 (2.4.48-~1) ...
Setting up libtasn1-6 (4.13-~1) ...
Setting up psplash (2009.05.28-23) ...
Setting up libbz2-1.0 (1.0.6-~1) ...
Setting up libstdc++6 (8.3.0-~1) ...
Setting up libkmod2 (26-~1) ...
Setting up libreadline7 (7.0-~2) ...
Setting up btrfs:armhf-rpi4 (4.20.1-116+5.12.6.4) ...
Setting up libhogweed4 (3.4.1-~1) ...
Setting up libacl1 (2.2.53-~1) ...
Setting up libgnutls30 (3.6.7-~1) ...
Setting up udev (241-51) ...
Setting up dpkg (1.19.7-19) ...
Setting up libapt-pkg5.0 (1.8.2.3-~1) ...
Setting up apt (1.8.2.3-74.1) ...                                                                                        done
Root device is: /dev/sda2                                                                                                done
Setting up logging: level 1
  log to tmpfs                                                                                                           done
  Waiting for locales
Setting up localhost:                                                                                                    done
Load preselected kernel modules:
modprobe: module i2c-dev not found in modules.dep                                                                        failed
Setting time:
Mi Dez 22 22:11:25 UTC 2021                                                                                              done
Load keymap: de-latin1                                                                                                   done
Starting udev Daemon                                                                                                     done
Turn on DMA:
  Waiting for dma
  Waiting for network
Checking filesystems:                                                                                                    done
Mounting filesystems:                                                                                                    done
Init network
  Starting DHCP connection for: eth0                                                                                     done
  Waiting for ntp
Starting ntp-client
ntpd: setting time to 2021-12-22 23:12:20.343856 (offset +44,103387s)                                                    done
Starting xorg                                                                                                            done


Starting dbus:                                                                                                           done
  Waiting for alsa
Starting eventlircd                                                                                                      done
Init sound card:           
Init sound settings:
Found hardware: "vc4-hdmi" "" "" "" ""
Hardware is initialized using a generic method
alsactl: get_control:256: Cannot read control '3,0,0,Playback Channel Map,0': Invalid argument                           failed

  Waiting for vdr
Starting vdr                                                                                                             done

Starting webif:                                                                                                          done
Loading rpi gpio ir driver                                                                                               done

Starting irkeytable                                                                                                      done

  Waiting for webif-msg
Starting at daemon:                                                                                                      done
Starting ssh:
  Listen on IP: 192.168.178.48                                                                                           done

Der Dienst läuft:
Code: [Select]
MLD /root# ps | grep python
 2588 root     26048 S    {argononed.py} /usr/bin/python /usr/bin/argononed.py
 2932 root      5284 S    grep python

Viele Grüße
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline rfehr

  • MLD-Developer
  • Expert Member
  • ******
  • Posts: 1462
    • View Profile
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #12 on: December 23, 2021, 00:13:57 »
Hi NoTape,

also läuft es doch.

Gruß,
 Roland
1x OctopusNet 4x DVB-C
1x Zotac ITX-A Atom 330
1x RPI2 als Client
1x BananaPi
1x Wetekplay
1x MCC 100
2x RPI3
2x RPi4
1x https://www.zotac.com/at/product/mini_pcs/pi335

Offline NoTape

  • Adv. Member
  • ***
  • Posts: 112
    • View Profile
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #13 on: December 23, 2021, 13:04:19 »
Hallo Roland,

erst einmal zum Lüfter selbst; man kann ihn auch bei 10% noch deutlich hören.

Gestern war es wohl schon zu spät für mich. Neuer Tag, neues Glück!

Bei einem frisch gestarteten System funktioniert der Lüfter nicht, denn der Dienst ist nicht gestartet!
Code: [Select]
BusyBox v1.25.1 (2021-08-05 15:40:33 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.

MLD /root# ps | grep python
 2265 root      5284 S    grep python

MLD /root# /etc/init.d/argonone stop
Stopping argonone                                                                                     failed
MLD /root# /etc/init.d/argonone start
Starting argonone 
                                                                                                      done
MLD /root# ps | grep python
 2322 root     26048 S    {argononed.py} /usr/bin/python /usr/bin/argononed.py
 2333 root      5284 S    grep python
MLD /root#

Erst nach "/etc/init.d/argonone start" läuft der Dienst, und der Lüfter wird temperaturgesteuert ein- und ausgeschaltet.

Viele Grüße
NoTape
VDR1: MLD-5.4 testing DVB-C  * ASRock FM2A88X-ITX+ * Dual Core AMD A4-6300 * GeForce GT 520 * Hauppauge WinTV-dualHD
VDR2: MLD-5.5 testing DVB-T2 * ASUS M5A78L * AMD FX-4300 * MSI GT1030 Silent * SDC Megtron 240x128 * Hauppauge WinTV-dualHD

Offline thinokoe

  • Newbie
  • *
  • Posts: 21
    • View Profile
[MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
« Reply #14 on: December 23, 2021, 23:47:06 »
Hallo alle,
ich habe das argonone auch ausprobiert, es lief auf anhieb:

Quote
Raspi-LibreELEC-2> /etc/init.d/argonone start
Starting argonone                                                    done
Raspi-LibreELEC-2> /etc/init.d/argonone stop
Stopping argonone                                                    done
Raspi-LibreELEC-2> /etc/init.d/argonone start
Starting argonone                                                    done

Der Lüfter ist deutlich zu hören. Er schaltet bei über 45° ein und nach 90 Sek. wieder ab. Konfiguriert habe ich zum Testen erst mal 45=10. Ich werde aber wieder die voreingestellte Konfiguration (55=10) übernehmen, weil die Temperatur im Normalbetrieb unter 50° bleibt und so die passive Kühlung völlig ausreicht.
Kann mir noch jemand sagen, was ich wo eintragen muss, damit der Dienst  bei jedem Bootvorgang gestartet wird.

Es freut mich sehr, das dass so schnell geklappt hat. Vielen, vielen Dank an die aktiven Entwickler
Grüße
thinokoe  :D




[1] 2 >>> MLD-5.x / Systems / Raspberry PI / [MLD-5.5-unstable] Argon ONE Case - Paket: argoneone_case
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.