Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
USB to UART Bridge VCP Drivers for CP210x
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-12-17
04:45 PM
2012-12-17
04:45 PM
USB to UART Bridge VCP Drivers for CP210x
I've just begun looking at using my ReadyNAS Pro 6 as a potential home automation controller for the Z-Wave devices dotted around my home.
I have an Aeon Labs Z-Stick S2 controller connected to my Mac (OSX) and talking to some test devices fine. I'm using the OSX drivers from http://www.silabs.com/products/mcu/Page ... ivers.aspx and they are working fine.
But i'd like to move my Z-Stick over to the ReadyNAS Pro and communicate with the Z-Wave network from PHP using the compiled libopenzwave much in the same way as is done on the Raspberry Pi project and codebase at http://code.google.com/p/lights-control/
I found an old thread on here where WhoCares? had compiled the cp210x drivers for the old NV+ (which i still have powered off in my cupboard!).
Would anybody with ReadyNAS x86 compiling skills be able to assist in getting the cp210x drivers packaged up for use with Frontview to kick off this z-wave journey? 😎
I have an Aeon Labs Z-Stick S2 controller connected to my Mac (OSX) and talking to some test devices fine. I'm using the OSX drivers from http://www.silabs.com/products/mcu/Page ... ivers.aspx and they are working fine.
But i'd like to move my Z-Stick over to the ReadyNAS Pro and communicate with the Z-Wave network from PHP using the compiled libopenzwave much in the same way as is done on the Raspberry Pi project and codebase at http://code.google.com/p/lights-control/
I found an old thread on here where WhoCares? had compiled the cp210x drivers for the old NV+ (which i still have powered off in my cupboard!).
Would anybody with ReadyNAS x86 compiling skills be able to assist in getting the cp210x drivers packaged up for use with Frontview to kick off this z-wave journey? 😎
Message 1 of 8
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-12-17
04:53 PM
2012-12-17
04:53 PM
Re: USB to UART Bridge VCP Drivers for CP210x
I've had a crack at attempting a compile directly on the ReadyNAS Pro. Didn't get far.
Installed apt-get make along with the dev packages mentioned in the other getting started thread.
copied the correct makefile for the kernel in use
I can see 'build' is actually a symlink in the /lib/modules/.../ folder build -> /calzone/raidiator-x86/source/linux-x86-2.6
What is /calzone/raidiator-x86/source/linux-x86-2.6 because it doesn't exist?!
I'm out of my area of knowledge already 😞
Installed apt-get make along with the dev packages mentioned in the other getting started thread.
copied the correct makefile for the kernel in use
cp ./Makefile26 ./Makefilethen attempted:
# make
make -C /lib/modules/2.6.37.6.RNx86_64.2.4/build -I /root/cp210x-3.1.0/cp210x M=/root/cp210x-3.1.0/cp210x modules
make: *** /lib/modules/2.6.37.6.RNx86_64.2.4/build: No such file or directory. Stop.
make: *** [modules] Error 2
I can see 'build' is actually a symlink in the /lib/modules/.../ folder build -> /calzone/raidiator-x86/source/linux-x86-2.6
What is /calzone/raidiator-x86/source/linux-x86-2.6 because it doesn't exist?!
I'm out of my area of knowledge already 😞
Message 2 of 8
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-02-10
12:29 AM
2014-02-10
12:29 AM
Re: USB to UART Bridge VCP Drivers for CP210x
Has somebody solved this problem of installing CP210x driver? I want to connect ReadyNAS Duo v2 to Davis Vantage Pro2 weather station via Davis Weatherlink USB logger, which seems to use this chip. Inspecting with "lsusb" command via SSH I can see Cygnal Integrated Products etc. being connected to USB, but checking with "dmesg" I cannot see any /dev/ttyUSBx device mounted, only a message that a USB device is connected on Bus 3, device nr.3 or something similar.
I found some instructions for installing this driver and compiling it from source code for the particular Linux kernel, but I cannot install the "build-essential" for the particular debian distrubution, and I get the same error message that "build" is not existing although I can see it on the particular path.
Any clue about how to proceed?
I found some instructions for installing this driver and compiling it from source code for the particular Linux kernel, but I cannot install the "build-essential" for the particular debian distrubution, and I get the same error message that "build" is not existing although I can see it on the particular path.
Any clue about how to proceed?
Message 3 of 8
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-02-11
10:02 AM
2014-02-11
10:02 AM
Re: USB to UART Bridge VCP Drivers for CP210x
I do exactly the same with my Ultra 2 running OS6 6.1.4.
I'm using Domoticz with both RFXtrx USB module and Aeon Z-Stick.
In fact, the default Netgear kernel as some missing modules to manage those USB device.
I'll provide howto later, some proxy issues rigth now.
I'm using Domoticz with both RFXtrx USB module and Aeon Z-Stick.
In fact, the default Netgear kernel as some missing modules to manage those USB device.
I'll provide howto later, some proxy issues rigth now.
Message 4 of 8
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-02-11
03:08 PM
2014-02-11
03:08 PM
Re: USB to UART Bridge VCP Drivers for CP210x
### Kernel modules for USB\_FTDI & USB\_CP210x
In order to use USB keys for RFXCOM and Z-Wave, we need to build missing kernel modules.
https://www.readynas.com/forum/viewtopic.php?p=395521#p395521
RFXtrx433 USB needs USB_FTDI.
Aeon Labs Z-Stick needs USB_CP210x.
Install packages for build tools.
Get GPL sources from Netgear. Download the version matching your ReadyNAS OS6 release.
Sources will be unzip into /data/Download folder, as it takes more than 1GB (to adapt if necessary).
Update kernel config (linux-3.xx, to attapt according to the ReadyNAS OS6 release).
Navigate in order to enable as **M**odule
And compile (as root).
### open-zwave
open-zwave is needed to allow Z-Wave networks managment.
Install packages for build.
Get sources.
### Domoticz
Install packages for build.
Get sources.
In order to use USB keys for RFXCOM and Z-Wave, we need to build missing kernel modules.
https://www.readynas.com/forum/viewtopic.php?p=395521#p395521
RFXtrx433 USB needs USB_FTDI.
Aeon Labs Z-Stick needs USB_CP210x.
Install packages for build tools.
apt-get install build-essential libncurses5-dev
Get GPL sources from Netgear. Download the version matching your ReadyNAS OS6 release.
Sources will be unzip into /data/Download folder, as it takes more than 1GB (to adapt if necessary).
cd /data/Download
mkdir GPL
wget http://www.downloads.netgear.com/files/GPL/ReadyNASOS_V6.1.5_WW_src.zip
unzip -oq ReadyNASOS_V6.1.5_WW_src.zip
Update kernel config (linux-3.xx, to attapt according to the ReadyNAS OS6 release).
cd linux-3.0.93
cp arch/x86/configs/readynas_defconfig .config
make menuconfig
Navigate in order to enable as **M**odule
Device Drivers --->
USB Support --->
USB Serial Converter Support --->
<M> USB CP210x family of UART Bridge Controllers
<M> USB FTDI Single Port Serial Driver (EXPERIMENTAL)
And compile (as root).
make ARCH=x86_64
make modules_install ARCH=x86_64
modprobe cp210x
modprobe ftdi_sio
### open-zwave
open-zwave is needed to allow Z-Wave networks managment.
Install packages for build.
apt-get install libudev-dev libxmlrpc-core-c3-dev libjson0 libjson0-dev libcurl4-gnutls-dev
Get sources.
svn co http://open-zwave.googlecode.com/svn/trunk/ open-zwave-read-only
cd open-zwave-read-only/cpp/build/linux
make
### Domoticz
Install packages for build.
apt-get install build-essential
apt-get install cmake libboost-dev libboost-thread-dev libboost-system-dev libsqlite3-dev subversion curl libcurl4-openssl-dev libusb-dev
Get sources.
svn checkout svn://svn.code.sf.net/p/domoticz/code/domoticz
cd domoticz
cmake CMakeLists.txt
make
Message 5 of 8
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-02-11
07:29 PM
2014-02-11
07:29 PM
Re: USB to UART Bridge VCP Drivers for CP210x
budda wrote: I've had a crack at attempting a compile directly on the ReadyNAS Pro. Didn't get far.
Installed apt-get make along with the dev packages mentioned in the other getting started thread.
copied the correct makefile for the kernel in usecp ./Makefile26 ./Makefilethen attempted:# make
make -C /lib/modules/2.6.37.6.RNx86_64.2.4/build -I /root/cp210x-3.1.0/cp210x M=/root/cp210x-3.1.0/cp210x modules
make: *** /lib/modules/2.6.37.6.RNx86_64.2.4/build: No such file or directory. Stop.
make: *** [modules] Error 2
I can see 'build' is actually a symlink in the /lib/modules/.../ folder build -> /calzone/raidiator-x86/source/linux-x86-2.6
What is /calzone/raidiator-x86/source/linux-x86-2.6 because it doesn't exist?!
I'm out of my area of knowledge already 😞
I think download the 4.2.x GPL source code and make a symlink to the kerne source can fix the above issue. But not sure what will happen after that. Do you want to try?
Message 6 of 8
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-07
03:20 AM
2014-09-07
03:20 AM
Re: USB to UART Bridge VCP Drivers for CP210x
Hello,
I am digging up this post, I am trying to install the cp210x driver on my ReadyNAs 104 with os 6.1.8 for Aeon Labs Z-Stick 2.
I have the seme issue as Budda, and can't find a solution...
Thanks for your help.
Mathieu
I am digging up this post, I am trying to install the cp210x driver on my ReadyNAs 104 with os 6.1.8 for Aeon Labs Z-Stick 2.
I have the seme issue as Budda, and can't find a solution...
root@Nas_ReadyNas:/data/Divert1/Linux_3.x.x_VCP_Driver_Source2# make
make -C /lib/modules/3.0.101.RN_ARM.1/build M=/data/Divert1/Linux_3.x.x_VCP_Driver_Source2 modules
make: *** /lib/modules/3.0.101.RN_ARM.1/build: No such file or directory. Stop.
make: *** [all] Error 2
root@Nas_ReadyNas:/data/Divert1/Linux_3.x.x_VCP_Driver_Source2#
Thanks for your help.
Mathieu
Message 7 of 8
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-09-07
02:01 PM
2014-09-07
02:01 PM
Re: USB to UART Bridge VCP Drivers for CP210x
Hi all,
After a few hours of search, here is my share for installing cp210x for ReadyNas 104 with os 6.1.8 => Arm architecture.
All the steps of iamthemitch http://www.readynas.com/forum/viewtopic.php?f=35&t=68537&p=433189#p418890 worked but (as I am a newbie) I did not apply the arm difference ride away .
So, follow those steps and change ARCH=x86_64 by ARCH=arm !
I heve been blocked when doing the
by having
So int the .conf file I commented the line
FYI no need to build the cp210x drivers before.
If you want to use "Homeseer" software, don't select the "Aeon Labs Aeotec Z-Stick" in the dropdown list of the "Controller management" area but the "Generic Serial Controller" instead.
Best regards.
After a few hours of search, here is my share for installing cp210x for ReadyNas 104 with os 6.1.8 => Arm architecture.
All the steps of iamthemitch http://www.readynas.com/forum/viewtopic.php?f=35&t=68537&p=433189#p418890 worked but (as I am a newbie) I did not apply the arm difference ride away .
So, follow those steps and change ARCH=x86_64 by ARCH=arm !
I heve been blocked when doing the
make ARCH=arm
by having
make: arm-mv7-linux-gnueabi-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/bin/sh: 1: arm-mv7-linux-gnueabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
So int the .conf file I commented the line
CONFIG_CROSS_COMPILE="arm-mv7-linux-gnueabi-
FYI no need to build the cp210x drivers before.
If you want to use "Homeseer" software, don't select the "Aeon Labs Aeotec Z-Stick" in the dropdown list of the "Controller management" area but the "Generic Serial Controller" instead.
Best regards.
Message 8 of 8