this post was submitted on 07 Jul 2024
28 points (88.9% liked)

Linux

47990 readers
1417 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

UPDATE: It turns out I had a bad micro USB cable. Most of the ones I was using to connect to an ESP32 board were charge only. Mint apparently had the driver for this all along. Thanks for the help everyone.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 36 points 4 months ago (2 children)

Why are you trying to install a driver for a CH340? The driver is already built into the kernel. Just plug it in and it will work.

[–] [email protected] 6 points 4 months ago (1 children)

This.

However sometimes the user can't access the device. Depending on your system, I recommend adding your user to the dialout/serial group.

I.e. quick online search

[–] [email protected] 3 points 4 months ago

Another issue is that brltty can take over the serial port. The easiest fix is to just uninstall it if you don't use a braille display.

[–] [email protected] 4 points 4 months ago (2 children)

Like nearly all drivers lol

Drivers I needed to pay special attention to:

  • NVidia (we all know the official stance on that topic)
  • e1000e needs patching because my Laptops NIC somehow reports the wrong NVM checksum
  • Some obscure chinese "USB to DVI-D" adapter
  • The fingerprint sensor in my Laptop, as it's still experimental
[–] [email protected] 2 points 3 months ago (1 children)

Whoa, you got the fingerprint sensor working? What laptop brand is it, and what distro are you using?

[–] [email protected] 2 points 3 months ago

It's a Dell Latitude 5420, with a Broadcom Corp. 58200. Per https://wiki.archlinux.org/title/Laptop/Dell#Latitude, the 5420 is supported with libfprint-2-tod1-broadcom. And of course, I use Arch btw.

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

Drawing tablet drivers!

To be fair, it actually does work out of the box, but shortcut mapping doesn't really work well outside of the buttons on the pen itself and pressure curves isn't customizable yet, at least on KDE.