Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Raspbian light Stretch für Raspberry Pi 2/3 All-In-One mit piVCCU

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Raspbian light Stretch für Raspberry Pi 2/3 All-In-One mit piVCCU

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      christianbl88 last edited by

      Auch nach dem Update kommt die Meldung wieder.

      Hab jetzt aber auch festgestellt das der Pi nicht die ganze SD-Karte volle 16GB angenommen hat.

      Werde den heute Abend nochmal alles neu aufsetzen.

      Vermutlich wurden die Updates nicht komplett installiert..

      @deimos:

      Hi,

      Hast du ein fertiges Image verwendet, oder die manuelle Installation? Bei letzterem würde ich dann sehr stark vermuten, dass du die Reboots nicht durchgeführt hast.

      Ansonsten bitte mal auf die aktuellste Version upgraden:

      sudo apt update && sudo apt upgrade
      

      dann Reboot und dann nochmal die Ausgabe von pivccu-info.

      Viele Grüße

      Alex `

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        @christianbl88:

        Hab jetzt aber auch festgestellt das der Pi nicht die ganze SD-Karte volle 16GB angenommen hat. `
        Das wäre auch noch möglich.

        @[url=http://www.iobroker.net/docu/?page_id=7603⟨=de:

        Doku"]<size size="150">Nach dem ersten Start</size>

        Nach dem ersten Starten des Raspberry Pi bitte mit

        sudo raspi-config
        

        folgende Einstellungen vornehmen:

        Expand filesystem (Erweitern des root-filesystems bis zur maximalen Größe der verwendeten SD-Karte)

        Change User passwort (Eigenes Passwort für den User Pi vergeben)

        Advanced Options – Hostname (Namen des Raspberry Pi ggf. ändern. Vorgabe ist ioBroker-Pi) `

        Dann brauchst du wahrscheinlich:
        @christianbl88:

        den heute Abend nochmal alles neu aufsetzen. `

        nicht zu machen.

        Gruß

        Rainer

        1 Reply Last reply Reply Quote 0
        • C
          christianbl88 last edited by

          Der Pi bricht die Erweiterung auf die ganze SD-Karte ab mit (weiß nicht genau was da stand) konnte nicht epandiert werden!! Vermute das der "leere" Bereich falsch Partitioniert ist!

          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            @Homoran:

            Danke, dann sehe ich da heute abend mal nach. `

            Ergebnis 1 ( /etc/apt/sources.list)

            deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free $
            # Uncomment line below then 'apt-get update' to enable 'apt-get source'
            #deb-src http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpi
            deb http://alexreinert.github.io/piVCCU stable main
            deb http://alexreinert.github.io/piVCCU stable main
            deb http://alexreinert.github.io/piVCCU testing main
            

            Ergebnis 1 ( Ergebnis 1 ( /etc/apt/sources.list.d/pivccu.list)

            =leer

            muss ich dann wohl nochmal mit deinem Image neu machen :shock:

            Gruß

            Rainer

            1 Reply Last reply Reply Quote 0
            • C
              christianbl88 last edited by

              So System neu aufgespielt und erfolgreich Expandiert.

              Beim Upgrade hat er am ende diese Fehler angezeigt.

              Setting up pivccu (2.29.23-16) ...
              Created symlink /etc/systemd/system/multi-user.target.wants/pivccu.service → /lib/systemd/system/pivccu.service.
              Job for pivccu.service failed because the control process exited with error code.
              See "systemctl status pivccu.service" and "journalctl -xe" for details.
              WARNING: No network bridge could be detected.
              Processing triggers for man-db (2.7.6.1-2) ...
              Setting up libcurl3:armhf (7.52.1-5+deb9u3) ...
              Setting up curl (7.52.1-5+deb9u3) ...
              Processing triggers for libc-bin (2.24-11+deb9u1) ...
              
              

              Der Fehler besteht weiter..:

              ! ````
              pi@raspberrypi:~ $ systemctl start pivccu
              Failed to start pivccu.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
              See system logs and 'systemctl status pivccu.service' for details.
              ! pi@raspberrypi:~ $ systemctl status pivccu.service
              ● pivccu.service - piVCCU
              Loaded: loaded (/lib/systemd/system/pivccu.service; enabled; vendor preset: e
              Active: failed (Result: exit-code) since Thu 2017-11-30 19:07:11 UTC; 16min a
              Process: 496 ExecStart=/var/lib/piVCCU/start_container.sh (code=exited, status
              CPU: 79ms
              ! Nov 30 19:07:10 raspberrypi systemd[1]: Starting piVCCU...
              Nov 30 19:07:11 raspberrypi start_container.sh[496]: <11>Nov 30 19:07:11 piVCCU:
              Nov 30 19:07:11 raspberrypi systemd[1]: pivccu.service: Control process exited,
              Nov 30 19:07:11 raspberrypi systemd[1]: Failed to start piVCCU.
              Nov 30 19:07:11 raspberrypi systemd[1]: pivccu.service: Unit entered failed stat
              Nov 30 19:07:11 raspberrypi systemd[1]: pivccu.service: Failed with result 'exit
              lines 1-12/12 (END)...skipping...
              ● pivccu.service - piVCCU
              Loaded: loaded (/lib/systemd/system/pivccu.service; enabled; vendor preset: enabled)
              Active: failed (Result: exit-code) since Thu 2017-11-30 19:07:11 UTC; 16min ago
              Process: 496 ExecStart=/var/lib/piVCCU/start_container.sh (code=exited, status=1/FAILURE)
              CPU: 79ms
              ! Nov 30 19:07:10 raspberrypi systemd[1]: Starting piVCCU...
              Nov 30 19:07:11 raspberrypi start_container.sh[496]: <11>Nov 30 19:07:11 piVCCU: Could not locate raw uart interface. Are the kernel modules and the device tree overlays installed?
              Nov 30 19:07:11 raspberrypi systemd[1]: pivccu.service: Control process exited, code=exited status=1
              Nov 30 19:07:11 raspberrypi systemd[1]: Failed to start piVCCU.
              Nov 30 19:07:11 raspberrypi systemd[1]: pivccu.service: Unit entered failed state.
              Nov 30 19:07:11 raspberrypi systemd[1]: pivccu.service: Failed with result 'exit-code'.

              
              ~~@christianbl88:~~ 
              
              > Der Pi bricht die Erweiterung auf die ganze SD-Karte ab mit (weiß nicht genau was da stand) konnte nicht epandiert werden!! Vermute das der "leere" Bereich falsch Partitioniert ist! `  
              
              ****Geändert: Code in Code-Tags; Homoran (Mod)****
              1 Reply Last reply Reply Quote 0
              • D
                deimos last edited by

                Hi,

                kannst du bitte genauer beschreiben, wie du das System neu aufgesetzt hast?

                Besteht das Problem auch nach einem Neustart?

                Und dann bitte mal die Ausgabe folgender Befehle (jeweils Zeile pro Zeile ausführen)

                sudo dpkg --get-selection | grep pivccu
                sudo dmesg | grep uart
                cat /boot/config.txt
                sudo pivccu-info
                
                

                Viele Grüße

                Alex

                1 Reply Last reply Reply Quote 0
                • C
                  christianbl88 last edited by

                  Hallo,

                  mit dem Win32Diskmanager das Image aus dem Download bereich aufgespielt.

                  Danach das Password geändert.

                  reboot

                  Expand filesystem (Ohne Fehler und über die Konsole geprüft)

                  sudo reboot

                  und zum Schluss:

                  sudo apt-get update && sudo apt-get upgrade -y 
                  

                  sudo reboot

                  `pi@raspberrypi:~ $ sudo dpkg --get-selection | grep pivccu
                  dpkg: error: unknown option --get-selection
                  
                  Type dpkg --help for help about installing and deinstalling packages [*];
                  Use 'apt' or 'aptitude' for user-friendly package management;
                  Type dpkg -Dhelp for a list of dpkg debug flag values;
                  Type dpkg --force-help for a list of forcing options;
                  Type dpkg-deb --help for help about manipulating *.deb files;
                  
                  Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
                  pi@raspberrypi:~ $ sudo dmesg | grep uart
                  pi@raspberrypi:~ $ cat /boot/config.txt
                  # For more options and information see
                  # http://rpf.io/configtxt
                  # Some settings may impact device functionality. See link above for details
                  
                  # uncomment if you get no picture on HDMI for a default "safe" mode
                  #hdmi_safe=1
                  
                  # uncomment this if your display has a black border of unused pixels visible
                  # and your display can output without overscan
                  #disable_overscan=1
                  
                  # uncomment the following to adjust overscan. Use positive numbers if console
                  # goes off screen, and negative if there is too much border
                  #overscan_left=16
                  #overscan_right=16
                  #overscan_top=16
                  #overscan_bottom=16
                  
                  # uncomment to force a console size. By default it will be display's size minus
                  # overscan.
                  #framebuffer_width=1280
                  #framebuffer_height=720
                  
                  # uncomment if hdmi display is not detected and composite is being output
                  #hdmi_force_hotplug=1
                  
                  # uncomment to force a specific HDMI mode (this will force VGA)
                  #hdmi_group=1
                  #hdmi_mode=1
                  
                  # uncomment to force a HDMI mode rather than DVI. This can make audio work in
                  # DMT (computer monitor) modes
                  #hdmi_drive=2
                  
                  # uncomment to increase signal to HDMI, if you have interference, blanking, or
                  # no display
                  #config_hdmi_boost=4
                  
                  # uncomment for composite PAL
                  #sdtv_mode=2
                  
                  #uncomment to overclock the arm. 700 MHz is the default.
                  #arm_freq=800
                  
                  # Uncomment some or all of these to enable the optional hardware interfaces
                  #dtparam=i2c_arm=on
                  #dtparam=i2s=on
                  #dtparam=spi=on
                  
                  # Uncomment this to enable the lirc-rpi module
                  #dtoverlay=lirc-rpi
                  
                  # Additional overlays and parameters are documented /boot/overlays/README
                  
                  # Enable audio (loads snd_bcm2835)
                  dtparam=audio=on
                  dtoverlay=pi3-disable-bt
                  dtoverlay=pivccu-bcm2835` 
                  
                  `~~[code]~~pi@raspberrypi:~ $ sudo pivccu-info
                  piVCCU version: 2.29.23-16
                  Kernel modules: Not available
                  Raw UART dev:   Not available
                  Board serial:   Unknown
                  State:          STOPPED
                  
                  [/code]`
                  
                  ~~[quote]~~Hi,
                  
                  kannst du bitte genauer beschreiben, wie du das System neu aufgesetzt hast?
                  
                  Besteht das Problem auch nach einem Neustart?
                  
                  Und dann bitte mal die Ausgabe folgender Befehle (jeweils Zeile pro Zeile ausführen)
                  `~~[code]~~sudo dpkg --get-selection | grep pivccu
                  sudo dmesg | grep uart
                  cat /boot/config.txt
                  sudo pivccu-info
                  [/code]`
                  
                  Viele Grüße 
                  
                  Alex `  ` 
                  
                  1 Reply Last reply Reply Quote 0
                  • C
                    christianbl88 last edited by

                    Auch nach einem neustart besteht das Problem. Hab auch das ganze mal Spannung's frei gemacht

                    1 Reply Last reply Reply Quote 0
                    • D
                      deimos last edited by

                      Ok, ich habe eine Ahnung.

                      Bitte mal

                      sudo dpkg --get-selections | grep pivccu
                      sudo dpkg -s pivccu
                      sudo dpkg -s pivccu-modules-raspberrypi
                      cat /etc/apt/source.list
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • C
                        christianbl88 last edited by

                        pi@raspberrypi:~ $ sudo dpkg --get-selections | grep pivccu
                        pivccu                                          install
                        pivccu-modules-raspberrypi                      install
                        pi@raspberrypi:~ $ sudo dpkg -s pivccu
                        Package: pivccu
                        Status: install ok installed
                        Priority: extra
                        Section: misc
                        Maintainer: Alexander Reinert <alex@areinert.de>Architecture: armhf
                        Version: 2.29.23-16
                        Depends: pivccu-kernel-modules
                        Pre-Depends: lxc, bridge-utils, systemd
                        Conffiles:
                         /etc/piVCCU/lxc.config 5fcfff8ebb7c6f59c48ee5861216edbf
                         /lib/systemd/system/pivccu.service c4c2be318a53f427124b4c0364d12636
                        Description: piVCCU - Homematic CCU LXC container
                          This package contains piVCCU - a Homematic CCU LXC container
                        Homepage: https://github.com/alexreinert/piVCCU
                        pi@raspberrypi:~ $ sudo dpkg -s pivccu-modules-raspberrypi
                        Package: pivccu-modules-raspberrypi
                        Status: install ok installed
                        Priority: extra
                        Section: kernel
                        Maintainer: Alexander Reinert <alex@areinert.de>Architecture: armhf
                        Version: 1.20171029-1-3
                        Provides: pivccu-kernel-modules
                        Depends: raspberrypi-kernel (= 1.20171029-1)
                        Description: Raspberry Pi kernel modules needed for Homematic
                          This package contains the Raspberry Pi kernel needed for Homematic.
                        Homepage: https://github.com/alexreinert/piVCCU
                        pi@raspberrypi:~ $ cat /etc/apt/source.list
                        cat: /etc/apt/source.list: No such file or directory
                        pi@raspberrypi:~ $</alex@areinert.de></alex@areinert.de> 
                        
                        1 Reply Last reply Reply Quote 0
                        • D
                          deimos last edited by

                          Und welches Image genau hast du genommen? Das originale von pivccu.de oder das angepasste mit ioBroker?

                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators last edited by

                            Ich fürchte meins 😞

                            hast du dir das hier mal angesehen?

                            http://forum.iobroker.net/viewtopic.php … 76#p100305

                            Gruß

                            Rainer

                            1 Reply Last reply Reply Quote 0
                            • C
                              christianbl88 last edited by

                              Dieses hier aus dem Download bereich:

                              ioBroker_Image_RPi_2-3_20171109_stretch_pivCCU

                              1 Reply Last reply Reply Quote 0
                              • D
                                deimos last edited by

                                Sorry, beim letzten Befehl muss es sources.list sein (Blöde Autokorrektur…)

                                1 Reply Last reply Reply Quote 0
                                • C
                                  christianbl88 last edited by

                                  @deimos:

                                  Sorry, beim letzten Befehl muss es sources.list sein (Blöde Autokorrektur…) `

                                  pi@raspberrypi:~ $ cat /etc/apt/sources.list
                                  deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
                                  # Uncomment line below then 'apt-get update' to enable 'apt-get source'
                                  #deb-src http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpi
                                  deb http://alexreinert.github.io/piVCCU stable main
                                  deb http://alexreinert.github.io/piVCCU stable main
                                  deb http://alexreinert.github.io/piVCCU testing main
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    deimos last edited by

                                    Ich versuch das Image mal bei mir zu starten, kann aber etwas dauern. Welchen Pi hast du? 2 oder 3?

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      christianbl88 last edited by

                                      pi2 model B

                                      1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators last edited by

                                        Auf so einem habe ich die Installation gemacht

                                        Gruß

                                        Rainer

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          deimos last edited by

                                          Ok, habe das Image jetzt grade mal ausprobiert auf einen Pi2B:

                                          • Image auf SD Karte geschrieben

                                          • Erster Start –> piVCCU läuft wunderbar

                                          • Expand Filesystem über raspi-config & Reboot

                                          • piVCCU läuft wunderbar

                                          • sudo apt update && sudo apt upgrade, danach Reboot

                                          • piVCCU läuft wunderbar

                                          Am Image liegt es also nicht.

                                          Aus irgendeinem Grund sind bei dir aber die Kernel Module nicht geladen. Den Grund müssen wir rausbekommen.

                                          Mach bitte mal:

                                          uname -a
                                          ls -la /lib/modules/
                                          ls -la /lib/modules/*/kernel/drivers/pivccu/*
                                          lsmod
                                          ls -la /boot/overlays/pivccu*
                                          cat /proc/device-tree/compatible
                                          ls -la /proc/device-tree/soc/serial*/compatible
                                          cat /proc/device-tree/soc/serial*/compatible
                                          
                                          

                                          Viele Grüße

                                          Alex

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            christianbl88 last edited by

                                            Das Ergebniss:

                                            
                                            pi@raspberrypi:~ $ uname -a
                                            Linux raspberrypi 4.9.59+ #1047 Sun Oct 29 11:47:10 GMT 2017 armv6l GNU/Linux
                                            pi@raspberrypi:~ $ ls -la /lib/modules/
                                            total 16
                                            drwxr-xr-x  4 root root 4096 Nov  1 15:39 .
                                            drwxr-xr-x 16 root root 4096 Nov  1 16:15 ..
                                            drwxr-xr-x  3 root root 4096 Nov  1 15:39 4.9.59+
                                            drwxr-xr-x  3 root root 4096 Nov 30 19:04 4.9.59-v7+
                                            pi@raspberrypi:~ $ ls -la /lib/modules/*/kernel/drivers/pivccu/*
                                            -rw-r--r-- 1 root root 10732 Nov 19 12:53 /lib/modules/4.9.59-v7+/kernel/drivers/pivccu/dw_apb_raw_uart.ko
                                            -rw-r--r-- 1 root root 16680 Nov 19 12:53 /lib/modules/4.9.59-v7+/kernel/drivers/pivccu/eq3_char_loop.ko
                                            -rw-r--r-- 1 root root 17796 Nov 19 12:53 /lib/modules/4.9.59-v7+/kernel/drivers/pivccu/generic_raw_uart.ko
                                            -rw-r--r-- 1 root root  9912 Nov 19 12:53 /lib/modules/4.9.59-v7+/kernel/drivers/pivccu/pl011_raw_uart.ko
                                            -rw-r--r-- 1 root root  5332 Nov 19 12:53 /lib/modules/4.9.59-v7+/kernel/drivers/pivccu/plat_eq3ccu2.ko
                                            pi@raspberrypi:~ $ lsmod
                                            Module                  Size  Used by
                                            iptable_filter          2220  0
                                            bridge                112535  0
                                            stp                     2218  1 bridge
                                            llc                     5790  2 bridge,stp
                                            fuse                   94600  3
                                            snd_bcm2835            23131  0
                                            snd_pcm                97825  1 snd_bcm2835
                                            snd_timer              22706  1 snd_pcm
                                            snd                    68784  3 snd_timer,snd_bcm2835,snd_pcm
                                            bcm2835_gpiomem         3791  0
                                            uio_pdrv_genirq         3718  0
                                            uio                    10166  1 uio_pdrv_genirq
                                            fixed                   3029  0
                                            ip_tables              12512  1 iptable_filter
                                            x_tables               20921  2 ip_tables,iptable_filter
                                            ipv6                  384613  13 bridge
                                            pi@raspberrypi:~ $ ls -la /boot/overlays/pivccu*
                                            -rwxr-xr-x 1 root root 296 Nov 30 19:04 /boot/overlays/pivccu-bcm2835.dtbo
                                            pi@raspberrypi:~ $ cat /proc/device-tree/compatible
                                            brcm,bcm2835pi@raspberrypi:~ $ ls -la /proc/device-tree/soc/serial*/compatible
                                            -r--r--r-- 1 root root 13 Nov 30 21:28 /proc/device-tree/soc/serial@7e201000/compatible
                                            -r--r--r-- 1 root root 22 Nov 30 21:28 /proc/device-tree/soc/serial@7e215040/compatible
                                            pi@raspberrypi:~ $ cat /proc/device-tree/soc/serial*/compatible
                                            pivccu,pl011brcm,bcm2835-aux-uartpi@raspberrypi:~ $
                                            
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            551
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            49
                                            5614
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo