Page 1 of 1
Zwave.ME ZSTICK on Ubuntu 14.04
Posted: Wed Nov 19, 2014 11:43 pm
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
Re: Zwave.ME ZSTICK on Ubuntu 14.04
Posted: Thu Nov 20, 2014 9:28 am
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*?
Re: Zwave.ME ZSTICK on Ubuntu 14.04
Posted: Thu Nov 20, 2014 11:55 am
by raymonvdm
Aeon Labs is using a CP20xx chip so it is not the same
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)
Re: Zwave.ME ZSTICK on Ubuntu 14.04
Posted: Fri Nov 21, 2014 11:43 am
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
Re: Zwave.ME ZSTICK on Ubuntu 14.04
Posted: Fri Nov 21, 2014 11:59 am
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