Zwave.ME ZSTICK on Ubuntu 14.04

Forum and Topics about Z-Wave devices.
Post Reply
raymonvdm
Senior Member
Senior Member
Posts: 1153
Joined: Sun Dec 18, 2011 1:23 am

Zwave.ME ZSTICK on Ubuntu 14.04

Post by raymonvdm »

For testing purpose i bought the following Z-Wave Stick and would like to connect it to my Ubuntu system but it is not quite as easy as thought.


The devices shows up when plugged in but no /dev/ttyUSBx is created

Code: Select all

[1566527.812198] usb 2-1: new full-speed USB device number 2 using uhci_hcd
[1566528.376208] usb 2-1: New USB device found, idVendor=0403, idProduct=0000
[1566528.376219] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1566528.376227] usb 2-1: Product: FT232R USB UART
[1566528.376233] usb 2-1: Manufacturer: FTDI
[1566528.376239] usb 2-1: SerialNumber: A9MTTRRF
The Ubuntu kernel should support the device, and i`m not sure what is happening.

Note: Device is working under windows when installing the VCD driver
Running HS3PRO on PC with Z-Wave / OpenTherm / Plugwise / RFXcom / MQTT / XAP400 / Logitech Media Server and Squeezelite on PI`s
uAlex73
Member
Member
Posts: 218
Joined: Sun Jan 01, 2012 3:42 pm
Contact:

Re: Zwave.ME ZSTICK on Ubuntu 14.04

Post by uAlex73 »

Seems to be the same type of USB/serial type as the AEON Z-Wave stick is using, so it is weird why it isn't working. You're sure it doesn't create another device like /dev/ttyACM*?
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
raymonvdm
Senior Member
Senior Member
Posts: 1153
Joined: Sun Dec 18, 2011 1:23 am

Re: Zwave.ME ZSTICK on Ubuntu 14.04

Post by raymonvdm »

Aeon Labs is using a CP20xx chip so it is not the same :D

There is no device created when i look with dmesg

Code: Select all


lsusb -v | more

Bus 002 Device 002: ID 0403:0000 Future Technology Devices International, Ltd H4SMK 7 Port Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0403 Future Technology Devices International, Ltd
  idProduct          0x0000 H4SMK 7 Port Hub
  bcdDevice            6.00
  iManufacturer           1 FTDI
  iProduct                2 FT232R USB UART
  iSerial                 3 A9MTTRRF
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
  iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               90mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              2 FT232R USB UART
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)



Running HS3PRO on PC with Z-Wave / OpenTherm / Plugwise / RFXcom / MQTT / XAP400 / Logitech Media Server and Squeezelite on PI`s
wwolkers
Member
Member
Posts: 273
Joined: Tue Sep 23, 2008 10:10 am
Location: Netherlands
Contact:

Re: Zwave.ME ZSTICK on Ubuntu 14.04

Post by wwolkers »

Do you have the fdti module loaded, or is ftdi support built into your kernel?

$ lsmod | grep ftdi
ftdi_sio 32746 3
usbserial 35252 11 cp210x,pl2303,ftdi_sio

You can also check your kernel config file if you have it:

$ grep -i ftdi /boot/config-3.4.79-sun7i
CONFIG_USB_SERIAL_FTDI_SIO=m
CONFIG_USB_FTDI_ELAN=m
raymonvdm
Senior Member
Senior Member
Posts: 1153
Joined: Sun Dec 18, 2011 1:23 am

Re: Zwave.ME ZSTICK on Ubuntu 14.04

Post by raymonvdm »

I`m told that it is build in the kernel

http://www.ftdichip.com/Drivers/VCP.htm

All FTDI devices now supported in Ubuntu 11.10, kernel 3.0.0-19
Refer to TN-101 if you need a custom VCP VID/PID in Linux

I can try to build self but it fails for now

Code: Select all


wget http://www.ftdichip.com/Drivers/VCP/Linux/ftdi_sio.tar.gz
tar xvfz ftdi_sio.tar.gz
cd ftdi_sio

make
gcc -Wall -D__KERNEL__ -DMODULE -I/lib/modules/3.13.0-39-generic/build/include -D__SMP__ -DSMP -DMODVERSIONS -include /lib/modules/3.13.0-39-generic/build/include/linux/modversions.h -I/usr/src/linux-3.13.0-39-generic/drivers/usb/serial/ -O   -c -o ftdi_sio.o ftdi_sio.c
In file included from <command-line>:0:0:
/usr/include/stdc-predef.h:59:1: fatal error: /lib/modules/3.13.0-39-generic/build/include/linux/modversions.h: No such file or directory
 #endif
 ^
compilation terminated.
make: *** [ftdi_sio.o] Error 1

Still something to fix


When using modprobe and the build in module there still is no /dev/ttyUSBx

Code: Select all


modprobe ftdi_sio

[1696460.980215] usb 2-1: new full-speed USB device number 3 using uhci_hcd
[1696461.546163] usb 2-1: New USB device found, idVendor=0403, idProduct=0000
[1696461.546175] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1696461.546182] usb 2-1: Product: FT232R USB UART
[1696461.546188] usb 2-1: Manufacturer: FTDI
[1696461.546194] usb 2-1: SerialNumber: A9MTTRRF
[1706798.593115] usbcore: registered new interface driver ftdi_sio
[1706798.594189] usbserial: USB Serial support registered for FTDI USB Serial Device

Running HS3PRO on PC with Z-Wave / OpenTherm / Plugwise / RFXcom / MQTT / XAP400 / Logitech Media Server and Squeezelite on PI`s
Post Reply

Return to “Z-Wave Forum”