Hi all, I’ve recently switched over to Linux Mint from Windows 10 and I’m having trouble installing a CH340 driver from Sparkfun. I’ve managed to unzip the contents and have it in this location: /home/user/Downloads/CH341SER_LINUX. I’ve tried running the files using the ./ command for both the ch34x.c and Makefile but ran into a bash issue which I’m stuck trying to figure out. Could someone please tell me how to make it work? I’ve already looked up a couple of different videos on Youtube but they kind of skip the explanation of how to install this driver on Linux in favor of Windows and MacOS.
Please see the attached image for the response I get in the terminal.
*.c files are C source files, you can’t run these directly. Run the makefile with
sudo make
orsudo make install
(assuming you havemake
installed) to build (or build and install) the driver.edit: Oops didn’t read far enough into your post, you’ve already tried
make
. What error does it give you?I get this as a result:
user@user-System-Product-Name:~/Downloads/CH341SER_LINUX$ sudo make Makefile
make: Nothing to be done for ‘Makefile’.
You don’t pass in
Makefile
tomake
as it will read that file automatically. Nor you needsudo
withmake
as compiling doesn’t need any special privileges.Step:
make
: compile the code to binarysudo make install
: install the binary to your systemPlease dont just run whatever command with sudo.
Please read a bit of stuff before trying out crazy stuff.
Do you even need that driver?