Solved Aeon Labs Z-wave Z-stick Gen5

Hello,

I want to use Aeon Labs Z-wave stick in FreeBSD 10.2. It is supposed to be a usb serial device. On inserting the stick dmesg reports

Code:
ugen1.4: <vendor 0x0658> at usbus1
umodem0: <vendor 0x0658 product 0x0200, class 2/0, rev 2.00/0.00, addr 4> on usbus1
umodem0: data interface 1, has no CM over data, has no break

It seems that 'no CM over data' should not happen. Under Linux the device comes up as
Code:
usb 1-1: new full-speed USB device number 12 using xhci_hcd
usb 1-1: New USB device found, idVendor=0658, idProduct=0200
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
cdc_acm 1-1:1.0: ttyACM0: USB ACM device
usbcore: registered new interface driver cdc_acm

Is there any way to make this device usable?
 
I was able to get this going in a jail running openhab. The driver used was the umodem driver and fortunately, I did not have to add any VID/PID. To make this work, i specified the following.

Exposed usb devices to the jail via /etc/devfs.rules
Code:
[devfsrules_jail_allow_usb=4]
add path 'cu*' unhide

Added openhab user to the dialer group.

Compiled openhab along with serial library following this: https://github.com/openhab/openhab/wiki/FreeBSD

In openhab.cfg, specified the device as zwave:port=/dev/cuaU0

Openhab reports the z-wave device correctly now.
Code:
2016-03-15 17:31:20.920 [INFO ] [.z.internal.ZWaveActiveBinding] - Update config, port = /dev/cuaU0
2016-03-15 17:31:20.920 [INFO ] [.service.AbstractActiveService] - ZWave Refresh Service has been started
2016-03-15 17:31:20.938 [INFO ] [b.z.i.protocol.ZWaveController] - Starting Z-Wave controller
2016-03-15 17:31:20.938 [INFO ] [b.z.i.protocol.ZWaveController] - Z-Wave timeout is set to 5000ms. Soft reset is false.
2016-03-15 17:31:20.939 [INFO ] [b.z.i.protocol.ZWaveController] - Connecting to serial port /dev/cuaU0
2016-03-15 17:31:21.384 [INFO ] [b.z.i.protocol.ZWaveController] - Serial port is initialized
2016-03-15 17:31:24.510 [INFO ] [rialApiGetInitDataMessageClass] - NODE 1: Node found
2016-03-15 17:31:24.511 [INFO ] [rialApiGetInitDataMessageClass] - NODE 2: Node found
2016-03-15 17:31:24.511 [INFO ] [rialApiGetInitDataMessageClass] - ZWave Controller using Controller API
2016-03-15 17:31:24.511 [INFO ] [rialApiGetInitDataMessageClass] - ZWave Controller is Primary Controller
2016-03-15 17:31:24.511 [INFO ] [rialApiGetInitDataMessageClass] - ------------Number of Nodes Found Registered to ZWave Controller------------
2016-03-15 17:31:24.511 [INFO ] [rialApiGetInitDataMessageClass] - # Nodes = 2
2016-03-15 17:31:24.511 [INFO ] [rialApiGetInitDataMessageClass] - ----------------------------------------------------------------------------
 
Back
Top