After a few challanges on compiling CGMiner 4.3.5, I got it to work. Plugged in my USB Miner, but CGMiner does not recognize it. So, I decided to compile the Silicon Labs CP210X driver.
I compiled it, but when I'm going to activate the driver, I have an error:
Code: Select all
root@RASPBERRY-PI:/home/pi/Linux_3.x.x_VCP_Driver_Source# insmod cp210x.ko
Error: could not insert module cp210x.ko: Invalid module format
Code: Select all
root@RASPBERRY-PI:/home/pi/Linux_3.x.x_VCP_Driver_Source# insmod /lib/modules/$(uname -r)/kernel/drivers/usb/serial/usbserial.ko
Error: could not insert module /lib/modules/3.18.3+/kernel/drivers/usb/serial/usbserial.ko: File exists
I had to get the linux-headers 3.10.x package because it was the only way I managed to compile the drivers. What am I doing wrong? How do I enable the drivers?