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.

  • cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    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.

    • 30p87@feddit.de
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      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
    • sntx@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      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

      • cmnybo@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        0
        ·
        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.