Add a rule to udev that will automatically load a driver for an USB device. This works on Debian 8, and Ubuntu 14. You are using.
![Cp210x Cp210x](/uploads/1/2/5/8/125847041/983778486.png)
![Cp210x ubuntu driver download Cp210x ubuntu driver download](/uploads/1/2/5/8/125847041/100630689.png)
Good morning all. I am currently using Ubuntu 18.04.02 LTS release. The problem I am running into is using multiple usb devices that uses the cp210x. It seems to disconnect from one usb port and connect to the other then back again over and over when I put them to use. I have a futurebit moonlander 2 and a gekkoscience newpac for crypto mining. (for tinkering mainly). I am fairly new to using linux and still in the process of learning. I also have a 3rd device, an Arduino Uno that I will be connecting soon for other electronic projects. And I have a concern that this issue will possibly affect it as well. And sadly I do not know enough to correct this.
So testing this out and showing the output after a reboot. When I do a lsusb I have the below info:
Moonlander is on Device 004. Gekko Newpac is on Device03
Next I run the following command: dmesg | grep ttyUSB
Again so far this looks correct. ttyUSB0 is the Moonlander and ttyUSB1 is the Gekko.
Now when I launch the mining software on the moonlander with the gekko newpac not being used but plugged in, I get the following when I run the dmesg command again:
Next if I launch the gekko miner it will crash the moonlander as this cp210x will then alternate between the two ttyusb0 and ttyusb1 and disconnecting from each other. I sadly do not know enough on how to correct this? Any help is appreciated as I believe running any Arduino IDE uploads to my uno on this same machine while these are attemping to run will also create problems. So trying to fix this before I attach and start the next. Right now I'm switching the Arduino over to my windows 10 machine. But would prefer to use Ubuntu as it'll also help getting me used to operating off Linux.
Thanks for any help.