Video streaming with infragram on intel edison (ubilinux)

Version 1
Visibility: Open to anyone

    Some images after successfully modify the kernel and run our server.

     

     

    edi-nor.pngedi-ndvi.png

    How to install driver uvc:

     

    1. You must have ubuntu 64bit

    2. Download the last file edison-src here : Intel® Download Center

    3. $ sudo apt-get install build-essential git diffstat gawk chrpath texinfo libtool gcc-multilib

    4. $ tar xvf edison-src-rel1-maint-rel1-ww42-14.tgz

    5. $ cd edison-src

    6. $ mkdir dl

    7. $ mkdir sst

    8. $ ./device-software/setup.sh --dl_dir=./dl --sstate_dir=./sst

    9. $ source poky/oe-init-build-env

    10. $ bitbake virtual-kernel

    11. $ bitbake linux-yocto -c menuconfig

    12. Device drivers -->Multimedia support --> Media USB adapters [*] (y)--> USB video [M] (y) --> UVC input events device support [*], save

    13. $ cp tmp/work/edison-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0/linux-edison-standard-build/.config ../device-software/meta-edison/recipes-kernel/linux/files/defconfig

    14. $ bitbake edison-image

    15. $ ./device-software/utils/flash/postBuild.sh

    16. On edison : $ rm /boot/* & $ rm -r /lib/modules/*

    17. $ cd toflash

    18. $ sudo mkdir -p /mnt/edison/kernel

    19. $ sudo mkdir -p /mnt/edison/modules

    20. $ sudo mount -o loop edison-image-edison.hddimg /mnt/edison/kernel

    21. $ sudo mount -o loop edison-image-edison.ext4 /mnt/edison/modules

    22. $ scp /mnt/edison/kernel/* user@192.168.xxx.xxx:/boot/

    23. $ scp -r /mnt/edison/modules/lib/modules/* user@192.168.xxx.xxx:/lib/modules/

    if it does not work directly copy another folder and then move it

    24. Reboot intel edison

    25. $ find / -name uvc* -->

    /sys/bus/usb/drivers/uvcvideo

    /sys/kernel/debug/usb/uvcvideo

    /sys/module/uvcvideo

    /usr/include/linux/uvcvideo.h``

    26. Good!!

    Thanks shiitakeo

     

    Our little websocket server written in c controls the gpio and transmits the video on the browser in pure HTML5.

    The NDVI conversion (javascript) is decentralized to the device.

     

    pjs,