Some quick notes (not complete)

On a “spare” debian computer (virtual), do the following:

apt-get install build-essential
apt-get install libftdi1
apt-get install libftdi-dev
apt-get install libconfuse0
apt-get install libconfuse-dev
apt-get cmake
  1. Download the latest telldus-core version from Telldus

  2. Unpack it by:
    gunzip telldus-core-{version}.tar.gz
    and
    tar xvf telldus-core-{version}.tar

  3. Run: cmake -DCMAKE_INSTALL_PREFIX=/usr/syno

  4. Run: make

  5. Pack it all together and copy it over to the NAS

  6. Download a precompiled cmake to the NAS

  7. Change to 755

  8. Run: cmake-2.8.10.2-Linux-i386.sh –prefix=/usr

  9. Copy libconfuse.so to NAS scp libconfuse.so root@NAS:/lib

  10. Make links:
    ln -s /lib/libconfuse.so.0.0.0 /lib/libconfuse.so
    ln -s /lib/libconfuse.so.0.0.0 /lib/libconfuse.so.0

  11. Copy libftdi to NAS:
    scp libftdi.so.1.18.0 root@NAS:/lib

  12. Make links
    ln -s /lib/libftdi.so.1.18.0 /lib/libftdi.so.1
    ln -s /lib/libftdi.so.1.18.0 /lib/libftdi.so

  13. Copy libusb to NAS:
    scp /lib/libusb-1.0.so.0.0.0 root@NAS:/lib

  14. Make links:
    ln-s /lib/libusb-1.0.so.0 /lib/libusb-1.0.so.0.0.0

  15. Run: make install in the untared telldus folder

  16. Change permissions

chmod 755 /usr/syno/bin/tdtool
chmod 755 /usr/syno/sbin/tdadmin
chmod 755 /usr/syno/sbin/telldusd
chmod 666 /var/state/telldus-core.conf
chmod 755 /usr/syno/share/telldus-core/helpers/udev.sh
  • Other stuff
ln -s /usr/syno/lib/libtelldus-core.so.2.1.1 /usr/syno/lib/libtelldus-core.so.2
ln -s /usr/syno/lib/libtelldus-core.so.2.1.1 /usr/syno/lib/libtelldus-core.so
ln -s /lib/libconfuse.so.0.0.0 /lib/libconfuse.so
ln -s /lib/libconfuse.so.0.0.0 /lib/libconfuse.so.0
libftdi.* > /lib/
ln -s libftdi.so.1.18.0 libftdi.so.1
ln -s libftdi.so.1.18.0 libftdi.so

libusb-0.1.so.4 > lib
ldconfig -v | more
telldusd --nodaemon

lsusb -d 1781: -v