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.
    • 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
                            • D
                              deimos last edited by

                              @Homoran:

                              @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: `

                              Die drei Einträge in der sources.list sind nicht gut, aber das produziert erstmal nur Warnungen und man kann sich nicht sicher sein, ob jetzt testing oder stable verwendet wird.

                              Das die zweite Datei nicht exisitiert ist nicht schlimm. Es muss ein Eintrag entweder in der ersten oder in der zweiten sein. In meinem Image habe ich das immer in der zweiten eigenen, aber das muss nicht zwingend so sein. In meiner ersten Anleitung war es auch noch direkt in der sources.list.

                              Viele Grüße

                              Alex

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

                                ok, das sieht erstmal gut aus. Dann jetzt bitte mal

                                sudo modprobe pl011_raw_uart
                                sudo lsmod
                                sudo dmesg | grep uart
                                sudo pivccu-info
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • C
                                  christianbl88 last edited by

                                  
                                  pi@raspberrypi:~ $ sudo modprobe pl011_raw_uart
                                  modprobe: FATAL: Module pl011_raw_uart not found in directory /lib/modules/4.9.59+
                                  pi@raspberrypi:~ $ sudo 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:~ $ sudo dmesg | grep uart
                                  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
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    deimos last edited by

                                    Ok, ich habe einen neuen Verdacht. Machst du bitte mal ein Detail-Foto von deinem Pi?

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

                                      Foto pi~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201711 ... 530fb9.jpg">https://uploads.tapatalk-cdn.com/20171130/bb328ae59fa6dd90d33b8c277c530fb9.jpg</link_text>" />

                                      Gesendet von meinem ONEPLUS A3003 mit Tapatalk~~

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

                                        Verdacht bestätigt: Das ist kein Pi 2 B.

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

                                          Huch… Wie was... [emoji28]

                                          Gesendet von meinem ONEPLUS A3003 mit Tapatalk

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

                                            Den Bilder nach dürfte es ein Pi 1 B sein. Der wird von piVCCU nicht unterstützt. (macht auch wenig Sinn, der hat kaum CPU Power und je nach Produktionsdatum nur 256MB RAM).

                                            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

                                            423
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            49
                                            5646
                                            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