On the Silabs website I found this driver (http://www.silabs.com/products/mcu/page ... ivers.aspx) for linux (kernel > 3.x.x). The problem is that this driver is just a single C program with zero documentation. An include make file is about as useful considering it has a single line in it that fails (for me) at run-time.
$this->bbcode_second_pass_code('', ' obj-m = cp210x.o
KVERSION = $(shell uname -r)
all:
make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean')
The driver source can be found here (http://pastie.org/private/kulx2zqdyvkafoxekwjq)
Where my make error is
- make -C /lib/modules/3.14.4-1-ARCH/build M=/home/branden/Desktop/Linux_3.x.x_VCP_Driver_Source modules
make[ 1 ]: Entering directory '/usr/lib/modules/3.14.4-1-ARCH/build'
make[ 1 ]: *** No rule to make target 'modules. Stop.
make[ 1 ]: Leaving directory '/usr/lib/modules/3.14.4-1-ARCH/build'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
There is no documentation aside from:
- make ( your cp210x driver )
cp cp210x.ko to /lib/modules/<kernel-version>/kernel/drivers/usb/serial
insmod /lib/modules/<kernel-version/kernel/drivers/usb/serial/usbserial.ko
insmod cp210x.ko
Can anyone provide some guidance on the steps to install this driver (or at least where to look) and why there is such a lack of documentation? Are there assumptions here that I am not aware of? How is anyone suppose to use this? If you look in the source there are structures being used as arguments to functions that are never defined as far as I can tell. Perhaps they are part of the header files included at the top, but I could not find some of those on my machine either.
Has anyone had success using this device?