Beiträge von 68gt500

    Hallo,

    meine Antwort ist konstruktiv gemeint, sonst hätte ich jetzt nicht geantwortet.

    Ich kann mich nur wiederholen (Beginn von Beitrag #1964), ich habe keine :gk1: . Wenn Du und keine Information bereitstellst, kann ich Dir auch nicht helfen.

    Schönen Gruß, kle

    Hi Kle,

    war nicht böse gemeint und und sollte auf keinen Fall unfreundlich klingen.

    Bin ja froh, dass Du dieses tolle Projekt immer noch betreust und uns Newbies immer wieder hilfst. ;-).

    mfg

    Michael

    Hallo Kle,

    danke für die Hilfestellung.

    Ausschlaggebend war diese Info, die ich hier nirgendwo gefunden habe:

    --> pip is installed by default in Raspberry Pi OS Desktop images (but not Raspberry Pi OS Lite).

    pip3 muss zuerst mit:

    Code
    sudo apt install python3-pip

    installiert werden.

    Erst danach funktioniert der angesprochene Workarround.

    Jetzt muss ich nur noch meine alte Konfiguration wiederherstellen...

    Nachtrag Konfiguration wiederherstellen:

    /root/newtron-radio.conf

    /etc/asound.conf

    /etc/mpd.conf

    mfg

    Michael

    Nachtrag zum Nachtrag:

    Treiber nachinstalliert und ts_calibrate ausgeführt:

    sudo newtron-radio

    pygame 1.9.4.post1

    Hello from the pygame community. https://www.pygame.org/contribute.html

    using fbcon from SDL_VIDEODRIVER env var.

    Display area size: 480 x 320

    /usr/local/lib/newtron-v3/newtron_radio.py:2079: DeprecationWarning: use_unicode parameter to ``MPDClient`` constructor is deprecated

    MPC = mpd.MPDClient(use_unicode=True)

    connected using unix socket...

    /usr/local/lib/newtron-v3/newtron_radio.py:2083: DeprecationWarning: use_unicode parameter to ``MPDClient`` constructor is deprecated

    MPCTL = mpd.MPDClient(use_unicode=True)

    connected using unix socket...

    could not set volume - continuing anyway...

    Traceback (most recent call last):

    File "/usr/local/lib/newtron-v3/newtron_radio.py", line 2129, in <module>

    SCR = Screen()

    File "/usr/local/lib/newtron-v3/newtron_radio.py", line 1409, in __init__

    MPCTL.send_idle() # check for MPD-events

    AttributeError: 'MPDClient' object has no attribute 'send_idle'


    Es erscheint kurz das Splash Screen, doch dann kommen die o.A. Meldungen.

    Hi Kle,

    Newtron-Radio lief bei mir jetzt etliche Monate ohne Probleme:

    Pi 3b+

    3,5" Touchscreen im Consolemodus. (https://github.com/goodtft/LCD-show)

    Leider hat ein unvorsichtiges Abschalten meine SD Karte so gehimmelt, dass ich sie nicht mehr bootet und ich sie nicht kopiert bekomme.

    Außer /var/lib/mpd/* konnte ich nichts mehr sichern. Zumindest meine Senderlisten.

    - Neues Raspi OS (2021-01-11-raspios-buster-armhf-lite) auf neue SD Karte kopiert

    - Zugriff via WLAN&SSH eingerichtet - funktioniert

    - TFT Treiber installiert, Console ist auf TFT funktional.

    - newtron-radio-setup-v3.2.sh auf Raspi kopiert

    - Installation durchlaufen lassen -> Fehler python

    - sudo apt install python-mpd

    - -Installation durchlaufen lassen -> keine Fehler

    - reboot - kommt nur bis zum Console Login

    nach Anmeldung (User pi)

    newtron-radio -->

    pygame 1.9.4.post1

    Hello from the pygame community. https://www.pygame.org/contribute.html

    trying fbcon

    Unable to open a console terminal

    Driver fbcon failed!

    Is libts/libts-bin installed?

    Also check:

    SDL_FBDEV = /dev/fb1

    SDL_MOUSEDEV = /dev/input/touchscreen

    SDL_MOUSEDRV = TSLIB

    Are theese correct? Set them in Line 26ff.

    Traceback (most recent call last):

    File "/usr/local/lib/newtron-v3/newtron_radio.py", line 1901, in <module>

    WIDTH, HEIGHT = disp_init()

    File "/usr/local/lib/newtron-v3/newtron_radio.py", line 182, in disp_init

    raise Exception('No suitable video driver found!')

    Exception: No suitable video driver found!

    Muss da noch x Installiert werden ? oder hat das was mit dem python zu tun?

    Auch die conf Datei finde ich nicht - normal doch in /home/pi ? Auch bei /root nicht zu finden.

    Ideen?

    mit einer alten Raspi OS Version versuchen?

    Nachtrag: Mit "Diskinternals Linux Reader" kann ich auf die meisten Daten zugreifen und Daten sichern.

    home/pi

    usr/local/lib/newtron-v3

    var/lib/mpd

    Was soll ich sonst noch sichern?

    mfg

    Michael

    Ein Schritt weiter:

    Da mein Display nur im GUI Modus funktioniert, wollte ich den Newtron Autostart in der GUI einrichten.

    Der im Post #1 erwähnte Eintrag in Menü Einstellungen existiert - zumindest bei mir nicht mehr.

    Abhilfe:

    sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

    dort Zeile ein/anfügen:

    @newtron-radio

    Speichern & reboot --> tut!

    Nach einigen Stunden genießen:

    - wie sage ich MPD, dass es auch Bluetooth Lautsprecher gibt ?

    - Paarung war einfach, der Pi zeigt sie an - leider aber unter MPD Audio Options - nur My ALSA Device - dort sollten doch die gepaarten Bluetooth LS wählbar sein.. oder?

    - wo kann ich die Grundlautstärke einstellen ?

    mfg

    Michael

    Erstmal ein großes Danke für die super Lösung.

    habe es in folgender config laufen - völlig problemlos:

    - RPI 4B+ 2GB

    - 2020-05-27-raspios-buster-armhf mit Desktop

    - Pimoroni Hyperpixel 4 Display

    - newtron-radio-setup-v3.2.sh

    - Kabelgebundene Lautsprecher an der 3,5mm Klinke

    Enter, enter --> geht ! So wie es sein sollte aber selten ist ;)

    mfg

    Michael