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

      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
                                • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            825
                                            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