ich betreibe mein System mehrere Monate stabil und habe zuletzt vor ein paar Monaten auf den Pi3 gewechselt.
Darauf läuft ein halbwegs aktuelles Jessie mit Kernel 4.4.13-v7+. Darauf läuft der YAHM Container mit der aktuellem 2.25.15.
Bisher war alles via LAN Gateway verbunden nur die Reichweite im Keller war nicht ausreichend.
Daher wollte ich mit einem RPI Modul erweitern, was mir allerdings seit zwei Tagen nicht gelingen will.
Habe folgendes gemacht/geprüft:
Code: Alles auswählen
cat /proc/version
Linux version 4.4.13-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #894 SMP Mon Jun 13 13:13:27 BST 2016
Code: Alles auswählen
sudo yahm-ui
Code: Alles auswählen
cat /boot/config
dtparam=audio=on
gpu_mem=16
# Allow the normal UART pins to work
dtoverlay=pi3-miniuart-bt
enable_uart=1
force_turbo=1
Code: Alles auswählen
cat /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Code: Alles auswählen
cat /lib/systemd/system/hciuart.service
[Unit]
Description=Configure Bluetooth Modems connected by UART
ConditionPathIsDirectory=/proc/device-tree/soc/gpio@7e200000/bt_pins
Before=bluetooth.service
After=dev-ttyS0.device
[Service]
Type=forking
ExecStart=/usr/bin/hciattach /dev/ttyS0 bcm43xx 921600 noflow -
[Install]
WantedBy=multi-user.target
Code: Alles auswählen
sudo yahm-ctl join
Joining LXC container, you are now inside yahm
/ # mknod -m 666 /dev/ttyAMA0 c 204 64
mknod: /dev/ttyAMA0: File exists
/ # ln -s /dev/ttyAMA0 /dev/mmd_bidcos
ln: /dev/mmd_bidcos: File exists
/ # ln -s /sys/class/gpio/gpio18/value /dev/ccu2-ic200
ln: /dev/ccu2-ic200: File exists
/ #
die Zuordnung sieht auch ok aus
Code: Alles auswählen
ls -l /dev
lrwxrwxrwx 1 root root 5 Feb 1 11:14 serial1 -> ttyS0
Code: Alles auswählen
systemctl status serial-getty@ttyAMA0.service
Loaded: loaded (/lib/systemd/system/serial-getty@.service; disabled)
Active: inactive (dead)
Docs: man:agetty(8)
man:systemd-getty-generator(8)
http://0pointer.de/blog/projects/serial-console.html
beim Versuch ein Update zu machen, kommt:
Code: Alles auswählen
pi@Raspi3-Yahm:/opt/YAHM/share/tools/hmgw $ sudo yahm-ctl stop
Stopping yahm LXC container
pi@Raspi3-Yahm:/opt/YAHM/share/tools/hmgw $ ./hmlangw -u
2017/02/01 10:56:34.267 <Error> Could not start Coprocessor application.
2017/02/01 10:56:34.268 <Error> Could not start Application, maybe no application on device, do update with dummy Version: 0.0.0
2017/02/01 10:56:34.268 <Info> Update necessary, installed: 0.0.0, avaiable 1.4.1
can't get serial number!
bei manueller Installation vom Modul sieht alles ok aus...
Code: Alles auswählen
pi@Raspi3-Yahm:/opt/YAHM/share/tools/hmgw $ sudo yahm-module -f -m hm-mod-rpi-pcb enable
Executing hm-mod-rpi-pcb module_install()
Found hardware: Raspberry Pi 3
Trying to disable bluetooth on Raspberry Pi 3 to use HM-MOD-RPI-PCB
Trying to disable serial console
Serial already disabled
Preparing devices inside LXC container
Preparing modification rfd.conf...
[Interface 0] block found in rfd.conf checking it...
Modification rfd.conf done.
HM-MOD-RPI-PCB was installed successfully, please restart YAHM to apply changes
Trying to start service
Synchronizing state for hm-mod-rpi-pcb.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d hm-mod-rpi-pcb defaults
Executing /usr/sbin/update-rc.d hm-mod-rpi-pcb enable
STATUS: Module hm-mod-rpi-pcb was successfully installed
Was mir zuletzt noch aufgefallen ist, ich hatte immer wieder Fehlereldungen im WebIf bzgl. HMip, weshalb ich mit
Code: Alles auswählen
sudo yahm-module -f -n yahm -m homematic-ip disable
Code: Alles auswählen
LXC container information
Name: yahm
State: RUNNING
PID: 3052
IP: 192.168.186.124
CPU use: 4517.01 seconds
Memory use: 88.53 MiB
Link: veth5J8HK1
TX bytes: 9.75 MiB
RX bytes: 3.53 MiB
Total bytes: 13.28 MiB
Code: Alles auswählen
Executing homematic-ip module_install()
noch nicht fertig
Vielen Dank im Voraus!