jeedom et dépendance mosquitto


suite à une réinstallation de jeedom j’avais oublié comment installer la dépendance mqtt, ce n’est pas automatisé , il faut installer pecl et suivre la procédure suivante https://jeedom.com/doc_old/documentation/plugins/MQTT/fr_FR/MQTT#_troubleshoting

enfin ajouter le plugins  : dans

/etc/php5/mods-available/mosquitto.ini

 

 

Publicités

Installation et configuration de zoneminder sur A10


zoneminder est un logiciel de vidéosurveillance, beaucoup plus évolué que motion (ou ce que j’aurais codé 🙂 )

par contre sur débian jessie (distribution sur A10 olinuxino) il faut réaliser quelques opérations :

voila, reste à configurer l’ensemble avec les caméras, et develloper une passerelle vers jeedom

 

olinuxino A10S on debian jessie with cedarx accel


these instructions activate the acceleration on X11 and cedarx for A10S ,

first , i install the A10S stock image , then i resize the partition and cross compile a linux sunxi kernel, the 3.4.103+ is ok , when i use the 3.4.104+ it doesn’t work, activate :

  • CONFIG_FHANDLE=y
  • CONFIG_DRM=m
  • CONFIG_FB=y
  • CONFIG_FB_SUNXI=y
  • CONFIG_FB_SUNXI_RESERVED_MEM=y
  • CONFIG_FB_SUNXI_LCD=y
  • CONFIG_FB_SUNXI_HDMI=y

NOTA :

  • if you don’t activate the DRM it will crash when you try to use cedar for acceleration
  • i’don’t activate MALI , it seems very unstable

here is my config config_3.4.103+_accelok

after that :

  • use this tuto and serial console to upgrade to jessie , i also create a new user as a member of « video » group
  • use these instructions to install FBTURBO : https://linux-sunxi.org/Xorg and configure xorg.conf as bellow (no G2D on A10S) :

Section « Device »
Identifier « Allwinner A10/A13 FBDEV »
Driver « fbturbo »
Option « fbdev » « /dev/fb0 »
Option « AccelMethod » « CPU »
Option « SwapbuffersWait » « true »
EndSection

test using becnhmark functions of ffmpeg

without acceleration –> 15fps and 85% load

export VDPAU_DRIVER=sunxi

export DISPLAY=:0.0

FFmpeg-Cedrus/ffmpeg -benchmark  -i big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4  -f null out.null

with acceleration –> 30fps and 50% load

export VDPAU_DRIVER=sunxi

export DISPLAY=:0.0

FFmpeg-Cedrus/ffmpeg -benchmark -hwaccel vdpau -i big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4 -f null out.null

that’s all!

olimex A20 lime2 debian jessie image with 3.4.103 kernel, 2D & H264 acceleration


the current image available here https://www.olimex.com/wiki/A20-OLinuXino-LIME2
is a wheezy version limited to 4gb
– first, i copy the content of this image into a 16gb sdcard and resize the second partition
– boot the A20 LIME 2 card and copy the current kernel (3.4.90) configuration available in /proc/config.gz
– i cross compile the linux sunxi kernel (3.4.103) using the config and activate CONFIG_FHANDLE, because udev will request it during upgrade, for i use a linux mint 17 distro & this tuto https://olimex.wordpress.com/2013/11/05/building-the-ultimate-debian-sd-card-for-linux-with-kernel-3-4-for-a20-olinuxino-micro/
– install the new kernel & module into the sdcard
– edit the /etc/network/interface , to configure eth0 in dhcp and reboot
– edit the the source.list and replace each wheezy occurence by jessie
– apt-get update&&apt-get upgrade&&apt-get dist-upgrade (take many cup of coffee )
– install Xorg acceleration , using the https://linux-sunxi.org/Xorg
– install cedrus acceleration , https://linux-sunxi.org/Cedrus
– reboot
– test with mplayer / mpv & ffmpeg
have fun !

OLinuXino and Raspberry Pi compare


RPi / Olinuxino comparison, i agree this point of view, the Olinuxino card are better for complex dev and more powerfull (more IO)

olimex

A10-OLinuXino-LIME-1RaspberryPi

While we have been on Linux Con lot of people came to our table where we had our OLinuXino boards.

One of the most asked question was: What is the difference between OLinuXino and Raspberry Pi?

This is self understandable as Raspberry Pi is the most popular small Linux board and it’s natural people to have heard of it – RPi Foundation with the Broadcom support made sure it’s all over the news, while OLinuXino is still small project.

As we hear this question again and again I though it would be good idea to blog about it so people can read and instead to tell them one and same thing again and again to just refer them to this blog post.

Raspberry Pi Foundation goal is to teach kids programming for this purpose they have created small and low cost Linux board, which helps them to reach their goal…

View original post 901 mots de plus