Jag kör Debian Squeeze med en custom kärna 3.0.3 kompilerad av debians egna paket och det är en x64 miljö. Installerat telldus paketen som finns tillgängliga vilket är:
Code: Select all
root@TITAN:~# apt-cache search telldus
libtelldus-core-dev - Development file for libtelldus-core
libtelldus-core2 - Library to control a Telldus TellStick
libtelldus-gui2 - GUI library for TelldusCenter
telldus-core - Utilities and driver to control wireless receivers through a TellStick
tellduscenter - Control and configure TellStick devices
Tellstick:en är inkopplad på USB( så klart men är hellre övertydlig än att missa saker ):
Code: Select all
root@TITAN:~# lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null
Bus 002 Device 004: ID 1781:0c30 Multiple Vendors
bDeviceClass 0 (Defined at Interface level)
bDeviceProtocol 0
iProduct 2 TellStick
(Bus Powered)
(Bus Powered)
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
bDeviceClass 9 Hub
bDeviceProtocol 0 Full speed (or root) hub
iProduct 2 OHCI Host Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
bDeviceClass 9 Hub
bDeviceProtocol 0 Full speed (or root) hub
iProduct 2 EHCI Host Controller
Har kollat så att ftdi_sio är laddat:
Code: Select all
root@TITAN:~# lsmod | grep ftd
ftdi_sio 29654 0
usbserial 26434 1 ftdi_sio
usbcore 118947 7 ftdi_sio,usbserial,usbhid,ohci_hcd,ehci_hcd
I konfigurationen har jag konfigurerat en Nexa CRF-2027 som sitter i en golvlampa, denna fungerar och provat att den kan aktivera sitt inlärningsläge och den går igång som den ska( har dock ingen fjärrkontroll då allt ska gå via app:ar):
Code: Select all
root@TITAN:~# cat /etc/tellstick.conf
user = "nobody"
group = "plugdev"
deviceNode = "/dev/tellstick"
device {
id = 1
name = "Golvlampa_1"
controller = 0
protocol = "arctech"
model = "selflearning-switch:nexa"
parameters {
# devices = ""
house = "1"
unit = "1"
# code = ""
# system = ""
# units = ""
# fade = ""
}
}
Men när jag försöker slå på/av den ovan nämda lampan inträffar endast följande:
Code: Select all
root@TITAN:~# tdtool --on 1
Turning on device 1, Golvlampa #1 - An error occurred while communicating with TellStick