You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'make -C /lib/modules/5.15.0-56-generic/build M=/home/hanscees/Downloads/ch341
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-56-generic'
CC [M] /home/hanscees/Downloads/ch341/ch34x.o
/home/hanscees/Downloads/ch341/ch34x.c: In function ‘ch34x_close’:
/home/hanscees/Downloads/ch341/ch34x.c:591:9: error: unknown type name ‘wait_queue_t’; did you mean ‘wait_event’?
591 | wait_queue_t wait;
'
I am using
5.15.0-56-generic
Description: Ubuntu 22.04.1 LTS
The text was updated successfully, but these errors were encountered:
The link you gave says the board uses a CH340K (the 10-pin chip near the USB connector), not a CH343. You shouldn't need to install anything for the CH340 as its driver ch341 (not the one from WCH) has been part of Linux since forever and works just fine.
I'd suggest that you first remove any ch343 code you've installed and reboot, check that all cables and connectors are OK just to be safe, and plug the board back in.
Do an lsusb in the terminal and see if there's the line 1a86:7523 QinHeng Electronics CH340 serial converter: If not, the chip isn't registering on USB at all and it's a hardware problem. If the line is there, check whether there's a /dev/ttyUSB0 (or some other number if you have another UART adapter plugged in): If yes then everything's fine.
Hi,
I am trying to work with lilygo ttgo t-01-esp8266 d1
see https://www.tinytronics.nl/shop/en/development-boards/microcontroller-boards/with-wi-fi/lilygo-ttgo-t-oi-esp8266-d1-mini-compatible?sort=p.price&order=ASC
I have made the ch343.ko driver by doing sudo make and sudo load
lsmod shows the driver fine
But when I plug in the board to usb nothing happens. Do I have the right driver? I am beginning to think not:(
the driver at http://www.wch-ic.com/downloads/CH341SER_LINUX_ZIP.html does not compile at all with several errors
'make -C /lib/modules/5.15.0-56-generic/build M=/home/hanscees/Downloads/ch341
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-56-generic'
CC [M] /home/hanscees/Downloads/ch341/ch34x.o
/home/hanscees/Downloads/ch341/ch34x.c: In function ‘ch34x_close’:
/home/hanscees/Downloads/ch341/ch34x.c:591:9: error: unknown type name ‘wait_queue_t’; did you mean ‘wait_event’?
591 | wait_queue_t wait;
'
I am using
5.15.0-56-generic
Description: Ubuntu 22.04.1 LTS
The text was updated successfully, but these errors were encountered: