<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[forum.rcl-radio.ru &mdash; LGT8F328 CH340]]></title>
	<link rel="self" href="http://forum.rcl-radio.ru/extern.php?action=feed&amp;tid=608&amp;type=atom" />
	<updated>2024-01-31T02:11:20Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.rcl-radio.ru/viewtopic.php?id=608</id>
		<entry>
			<title type="html"><![CDATA[Re: LGT8F328 CH340]]></title>
			<link rel="alternate" href="http://forum.rcl-radio.ru/viewtopic.php?pid=9347#p9347" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>liman28@liman28-DEPO-VIP:~$ cd /home/liman28/CH341SER_LINUX
liman28@liman28-DEPO-VIP:~/CH341SER_LINUX$ make clean
rm -rf .tmp_versions Module.symvers *.mod.c *.o *.ko .*.cmd Module.markers modules.order
liman28@liman28-DEPO-VIP:~/CH341SER_LINUX$ make
make -C /lib/modules/4.9.0-040900-generic/build  M=/home/liman28/CH341SER_LINUX  
make[1]: вход в каталог «/usr/src/linux-headers-4.9.0-040900-generic»
  LD      /home/liman28/CH341SER_LINUX/built-in.o
  CC [M]  /home/liman28/CH341SER_LINUX/ch34x.o
/home/liman28/CH341SER_LINUX/ch34x.c: In function ‘ch34x_close’:
/home/liman28/CH341SER_LINUX/ch34x.c:591:15: warning: unused variable ‘wait’ [-Wunused-variable]
  wait_queue_t wait;
               ^
/home/liman28/CH341SER_LINUX/ch34x.c:590:7: warning: unused variable ‘timeout’ [-Wunused-variable]
  long timeout;
       ^
/home/liman28/CH341SER_LINUX/ch34x.c:589:6: warning: unused variable ‘bps’ [-Wunused-variable]
  int bps;
      ^
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/liman28/CH341SER_LINUX/ch34x.mod.o
  LD [M]  /home/liman28/CH341SER_LINUX/ch34x.ko
make[1]: выход из каталога «/usr/src/linux-headers-4.9.0-040900-generic»
liman28@liman28-DEPO-VIP:~/CH341SER_LINUX$ sudo make load
[sudo] пароль для liman28: 
modprobe usbserial
insmod ch34x.ko
liman28@liman28-DEPO-VIP:~/CH341SER_LINUX$ sudo rmmod ch341
liman28@liman28-DEPO-VIP:~/CH341SER_LINUX$ lsmod | grep ch34
ch34x                  20480  0
usbserial              53248  1 ch34x</code></pre></div>]]></content>
			<author>
				<name><![CDATA[liman324]]></name>
				<uri>http://forum.rcl-radio.ru/profile.php?id=2</uri>
			</author>
			<updated>2024-01-31T02:11:20Z</updated>
			<id>http://forum.rcl-radio.ru/viewtopic.php?pid=9347#p9347</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: LGT8F328 CH340]]></title>
			<link rel="alternate" href="http://forum.rcl-radio.ru/viewtopic.php?pid=9346#p9346" />
			<content type="html"><![CDATA[<p>Install CH340 Driver Linux<br />When the download is complete, please extract the CH341SER-master.zip file.</p><p>Open a terminal and navigate to the CH341SER-master folder.</p><p>For example, the location of the extracted file is in the “Downloads” folder, then enter into that folder using the command:</p><p>cd Downloads/CH341SER-master</p><p>If you look, some files like this:</p><p>neon@linux:~/Downloads/CH341SER-master$ ls -l<br />total 92<br />-rw-rw-r-- 1 neon neon 35395 Jul&nbsp; 2 00:08 ch34x.c<br />drwxrwxr-x 2 neon neon&nbsp; 4096 Jul&nbsp; 2 00:08 images<br />-rw-rw-r-- 1 neon neon 35149 Jul&nbsp; 2 00:08 LICENSE<br />-rw-rw-r-- 1 neon neon&nbsp; &nbsp;332 Jul&nbsp; 2 00:08 Makefile<br />-rw-rw-r-- 1 neon neon&nbsp; 5866 Jul&nbsp; 2 00:08 README.md<br />-rw-rw-r-- 1 neon neon&nbsp; &nbsp;531 Jul&nbsp; 2 00:08 readme.txt</p><p>Use the following command to compile:</p><p>make</p><p>After that, you will see there are files created.</p><p>Then use the following command to make load:</p><p>sudo make load</p><p>Replug Device<br />After this, replug the device and reload the application you are using. In the example of this article, I used the Arduino IDE application.</p><p>If it doesn’t appear, please logout/reboot your Linux operating system.</p>]]></content>
			<author>
				<name><![CDATA[liman324]]></name>
				<uri>http://forum.rcl-radio.ru/profile.php?id=2</uri>
			</author>
			<updated>2024-01-30T16:58:36Z</updated>
			<id>http://forum.rcl-radio.ru/viewtopic.php?pid=9346#p9346</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[LGT8F328 CH340]]></title>
			<link rel="alternate" href="http://forum.rcl-radio.ru/viewtopic.php?pid=9345#p9345" />
			<content type="html"><![CDATA[<p><span class="postimg"><img src="http://forum.rcl-radio.ru/uploads/images/2024/01/46a1fb9ac189343be1a521b945af8e35.png" alt="http://forum.rcl-radio.ru/uploads/images/2024/01/46a1fb9ac189343be1a521b945af8e35.png" /></span> </p><div class="codebox"><pre><code>https://raw.githubusercontent.com/nulllaborg/arduino_nulllab/master/package_nulllab_boards_index.json</code></pre></div><p>linux</p><p><a href="https://github.com/juliagoda/CH341SER.git">https://github.com/juliagoda/CH341SER.git</a></p><p>make<br />sudo make load</p><p><span class="postimg"><img src="http://forum.rcl-radio.ru/uploads/images/2024/01/93f033c02b5e1af9eed7b38deec719ea.png" alt="http://forum.rcl-radio.ru/uploads/images/2024/01/93f033c02b5e1af9eed7b38deec719ea.png" /></span></p>]]></content>
			<author>
				<name><![CDATA[liman324]]></name>
				<uri>http://forum.rcl-radio.ru/profile.php?id=2</uri>
			</author>
			<updated>2024-01-30T16:57:05Z</updated>
			<id>http://forum.rcl-radio.ru/viewtopic.php?pid=9345#p9345</id>
		</entry>
</feed>
