How to install CH340 Driver in Ubuntu

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 9

  • @electronicsworld8506
    @electronicsworld8506 8 месяцев назад

    Thanks pro

  • @danipoplpl7053
    @danipoplpl7053 6 месяцев назад +2

    Hello, I get the error
    insmod: ERROR: could not insert module ch341.ko: file exists

  •  9 месяцев назад

    Hello Alvian! Thanks for the video!
    I am having a really hard time trying to compile it. I am receiving this errors:
    make[1]: *** /lib/modules/4.19.95-perf-gd8d20eaa2/build: No such file or directory. Stop.
    I have tried both the main repo and the "ubuntu" repo, but both of the give me the same error.
    Any ideas how I can try to fix this?
    Thanks!

    • @AlvianB
      @AlvianB  9 месяцев назад +1

      Could you explain more about your Ubuntu version? And gcc version?
      In that tutorial, i use Ubuntu 22.04. hope this help. Thanks

    •  9 месяцев назад

      @@AlvianB Hello Alvian! Thanks a lot for your answer.
      I'm using Ububtu 22.04, but it's a versiin from UBPorts for Poco M3.
      I reckon it's not ideal, but I really need it to work (it's for a 3d printer).
      I didn't have gcc installed, but I've installed it and received the exact same error.
      The gcc version is 9.4.0.
      Thanks a lot!

  • @KukinhaGamer
    @KukinhaGamer 4 месяца назад

    If someone is having problem when "sudo make", try to "sudo apt install gcc-12" and try again

  • @Manfred-123
    @Manfred-123 7 месяцев назад +3

    _make -C /lib/modules/6.1.31-sun50iw9/build M=/root/CH341SER_
    _make[1]: _*_*_*_ /lib/modules/6.1.31-sun50iw9/build: No such file or directory. Stop._
    _make: _*_*_*_ [Makefile:7: default] Error 2_ 🤷😢

    • @SeregaTikhonov
      @SeregaTikhonov 7 месяцев назад

      make -C /lib/modules/6.7.0-rc3+/build M=/root/CH341SER
      make[1]: *** /lib/modules/6.7.0-rc3+/build: No such file or directory. Stop.
      make: *** [Makefile:7: default] Error 2