This page last changed on Jan 08, 2014 by plindeas.

Hi!
I have struggled some nights and really need help...
Have installed qpgk on QNAP
Replaced zwave.jar
DEBUG in log4j.appender.zwave-file
Sync with empty panel but I cannot get anything in the zwave log...
Seems as the QNAP dont recognise the AEON Z-stick...
Dot get anything regarding ttyUSB0 for dmesg..
any idea?
BR Peter

If i type "lsusb" I get:
[~] # lsusb
Bus 001 Device 006: ID 03f0:a611 Hewlett-Packard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x Composite Device
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

If I type "cat /proc/bus/usb/devices"
T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=10c4 ProdID=ea60 Rev= 1.00
S: Manufacturer=Silicon Labs
S: Product=CP2102 USB to UART Bridge Controller
S: SerialNumber=0001
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

so the stick is recognized in some way...
but if I type "dmesg | grep -i usb"
[~] # dmesg | grep -i usb
[ 97.106320] usbcore: registered new interface driver usbhid
[ 97.111124] usbhid: USB HID core driver
[ 97.217748] usblp6: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x03F0 pid 0xA611
[ 97.230189] usbcore: registered new interface driver usblp
[ 98.506368] usbcore: registered new interface driver snd-usb-audio
[ 98.518280] usbcore: registered new interface driver snd-usb-caiaq
[ 98.568102] usbcore: registered new interface driver uvcvideo
[ 98.573458] USB Video Class driver (1.1.1)
[ 1328.787309] usb 1-2: USB disconnect, device number 3
[ 1328.794218] usblp6: removed
[ 1331.750099] usb 2-1: USB disconnect, device number 2
[ 1334.362071] usb 2-2: new full-speed USB device number 3 using uhci_hcd
[ 1335.250101] usb 2-2: USB disconnect, device number 3
[ 1336.956075] usb 2-2: new full-speed USB device number 4 using uhci_hcd
[ 1341.562069] usb 1-1: new high-speed USB device number 6 using ehci_hcd
[ 1341.704423] usblp3: USB Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x03F0 pid 0xA611
[ 1341.740831] scsi11 : usb-storage 1-1:1.2
[ 1342.815089] [#] set usb polling mode (sds)

I cannot see the device....
Anyone got zwave AEON stick working on a QNAP (TS-239Pro)?

Posted by plindeas at Jan 09, 2014 11:55

Hi Peter,

I have exactly the same problem...
See QNAP forum topic: http://forum.qnap.com/viewtopic.php?f=306&t=89223

Hope we could fine the solution soon

Robert

Posted by robdou at Jan 13, 2014 14:44

Hi Peter,

Did you try to install OpenRemote on a regular PC or Mac to test your AEON stick?

Posted by robdou at Jan 13, 2014 17:32

Robert,
I tried to install OR on a PC but could not get it working so I installed "InControl HA" and tested the stick, could connect and control my switch... so I guess the stick is ok...
It feels like the QNAP dont really recognise the AEON stick, maybe the modules for serial (usbserial.ko, cp210x.ko...got from Synology...) are not loaded but I do not know how to load this drivers...
/Peter

Posted by plindeas at Jan 14, 2014 10:43

Same for me
My AEON stick works fine on a mac running "indigo 6". I can turn on, off and dimm my zwave device
I found an other guy having the same problem: http://www.openremote.org/display/forums/zwave+discovery+problem

Posted by robdou at Jan 14, 2014 22:05

I successfully installed OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17 on a mac. Panel is created and work like a charm on my Iphone
I followed these steps:
1) download and install Mac OS X driver for the AEON stick (http://www.silabs.com/Support%20Documents/Software/Mac_OSX_VCP_Driver.zip)
2) download OpenRemote-Controller-2.1.0_SNAPSHOT-2013-06-17.zip and extract zip file to desktop
3) Dowload and copy zwave.jar in folder .../webapps/controller/WEB-INF/Lib/
4) In file log4j.properties I check that log4j.appender.zwave-file.Threshold = DEBUG
5) Plug the AEON USB stick
6) run OR by typing "./openremote.sh run" in terminal after moving into ../bin folder
7) In Building Modeler, webapp.port is set to 8080
8) zwave.comPort: is set to /dev/tty.SLAB_USBtoUART
9) zwave.commLayer: is set to RXTX
10) save and go to localhost:8080/controller
11) sync online
11) zwave.log started to show something like in the how to
12) Create a panel with switch and dim button

and it works

Posted by robdou at Jan 16, 2014 10:25

Hi Peter,
On the QNAP, I found these usbserial.ko and cp210x.ko in two folders:

/usr/local/modules

and

/share/MD0_DATA/.qpkg/OpenRemote/module/misc/

In Putty I typed the two command:
insmod /usr/local/modules/usbserial.ko
insmod /usr/local/modules/cp210x.ko

then:
lsmod command shows that they are loaded.
dmesg command shows something like : ...cp210x converter now attached to ttyUSB0

I thought I solved the problem but nothing changed regarding the empty log file and my panel doesn't turn on off or dim my light.

I also tried to load the two file from the second folder but I got errors:

[~] # insmod /share/MD0_DATA/.qpkg/OpenRemote/module/misc/usbserial.ko
insmod: cannot insert `/share/MD0_DATA/.qpkg/OpenRemote/module/misc/usbserial.ko': Invalid module format (-1): Exec format error
[~] # insmod /share/MD0_DATA/.qpkg/OpenRemote/module/misc/cp210x.ko
insmod: cannot insert `/share/MD0_DATA/.qpkg/OpenRemote/module/misc/cp210x.ko': Invalid module format (-1): Exec format error
[~] #

Aeon labs provides driver for linux 3.X.X. There are two files:
cp210x.c
Makefile

How can we use and install them on the QNAP? For Info my QNAP Kernel is linux 3.4.6

Any help would be very appreciate

Posted by robdou at Jan 27, 2014 19:21

Hi,

Did you get this working?

I've just picked up a QNAP TS-451 and would like to get ZWave functionality.

Posted by nodecentral at Oct 19, 2014 10:18

http://www.openremote.org/pages/viewpage.action?pageId=23592977&focusedCommentId=23593011#comment-23593011

Posted by aleksey_z at Oct 19, 2014 12:34
Document generated by Confluence on Jun 05, 2016 09:36