![]() |
![]() |
#1 |
Member
Регистрация: 18.06.2015
Сообщений: 57
Вес репутации: 0 ![]() |
![]()
Добрый день!
У меня все ардуинки китайские. На всех CH340G юзб-мост. В модуле "Драйвера_USB-Serial" имеется драйвер только для CH341. Наблюдаю, поговаривают что данный мост глюкаво встаёт на CyberWRT. Что я хочу? Мне нужен драйвер CH340G для RT5350F. Видел Этот, и Этот посты собрать из исходников? Раз уж ещё нет компилированного драйвера под RT5350, попробовал бы сам компильнуть, только дайте мануал какой-нибудь или распишите что да как, ибо собирать что-то CyberWRT-шное, а тем более драйвер буду впервые. Заранее благодарен всем кто не прошёл мимо! |
![]() |
![]() |
![]() |
#2 | |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() Цитата:
Вернее с его отключением |
|
![]() |
![]() |
![]() |
#3 |
Member
Регистрация: 18.06.2015
Сообщений: 57
Вес репутации: 0 ![]() |
![]() |
![]() |
![]() |
![]() |
#4 |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
И я тоже про него?
|
![]() |
![]() |
![]() |
#5 |
Member
Регистрация: 18.06.2015
Сообщений: 57
Вес репутации: 0 ![]() |
![]() |
![]() |
![]() |
![]() |
#6 | |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() Цитата:
|
|
![]() |
![]() |
![]() |
#7 | |
Member
Регистрация: 18.06.2015
Сообщений: 57
Вес репутации: 0 ![]() |
![]() Цитата:
Dmesg сообщает лишь что было подключено usb Код:
[ 0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42625) ) #3 Wed Oct 1 16:33:08 CEST 2014 [ 0.000000] SoC Type: Ralink RT5350 id:1 rev:3 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 0001964c (MIPS 24KEc) [ 0.000000] MIPS: machine is Nexx WT1520 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x01ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x01ffffff] [ 0.000000] On node 0 totalpages: 8192 [ 0.000000] free_area_init_node: node 0, pgdat 802b4b40, node_mem_map 81003bc0 [ 0.000000] Normal zone: 64 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 8192 pages, LIFO batch:0 [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: console=ttyS1,57600 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Writing ErrCtl register=000724a0 [ 0.000000] Readback ErrCtl register=000724a0 [ 0.000000] Memory: 29160k/32768k available (2284k kernel code, 3608k reserved, 574k data, 212k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:256 [ 0.000000] CPU Clock: 360MHz [ 0.060000] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080) [ 0.070000] pid_max: default: 32768 minimum: 301 [ 0.070000] Mount-cache hash table entries: 512 [ 0.080000] pinctrl core: initialized pinctrl subsystem [ 0.090000] NET: Registered protocol family 16 [ 0.110000] rt2880-pinmux pinctrl.1: try to register 28 pins ... [ 0.110000] pinctrl core: registered pin 0 (io0) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 1 (io1) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 2 (io2) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 3 (io3) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 4 (io4) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 5 (io5) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 6 (io6) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 7 (io7) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 8 (io8) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 9 (io9) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 10 (io10) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 11 (io11) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 12 (io12) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 13 (io13) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 14 (io14) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 15 (io15) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 16 (io16) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 17 (io17) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 18 (io18) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 19 (io19) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 20 (io20) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 21 (io21) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 22 (io22) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 23 (io23) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 24 (io24) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 25 (io25) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 26 (io26) on rt2880-pinmux [ 0.110000] pinctrl core: registered pin 27 (io27) on rt2880-pinmux [ 0.110000] pinctrl core: add 1 pinmux maps [ 0.110000] rt2880-pinmux pinctrl.1: found group selector 4 for jtag [ 0.110000] rt2880-pinmux pinctrl.1: request pin 17 (io17) for pinctrl.1 [ 0.110000] rt2880-pinmux pinctrl.1: request pin 18 (io18) for pinctrl.1 [ 0.110000] rt2880-pinmux pinctrl.1: request pin 19 (io19) for pinctrl.1 [ 0.110000] rt2880-pinmux pinctrl.1: request pin 20 (io20) for pinctrl.1 [ 0.110000] rt2880-pinmux pinctrl.1: request pin 21 (io21) for pinctrl.1 [ 0.110000] rt2880-pinmux pinctrl.1: failed to lookup the sleep state [ 0.140000] bio: create slab at 0 [ 0.150000] rt2880_gpio 10000600.gpio: registering 22 gpios [ 0.160000] rt2880_gpio 10000600.gpio: registering 22 irq handlers [ 0.170000] Switching to clocksource MIPS [ 0.180000] NET: Registered protocol family 2 [ 0.190000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.210000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.220000] TCP: Hash tables configured (established 512 bind 512) [ 0.230000] TCP: reno registered [ 0.240000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.250000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.260000] NET: Registered protocol family 1 [ 0.270000] rt-timer 10000100.timer: maximum frequncy is 7324Hz [ 0.290000] alarmtimer alarmtimer: no of_node; not parsing pinctrl DT [ 0.330000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.340000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.360000] msgmni has been set to 56 [ 0.370000] io scheduler noop registered [ 0.380000] io scheduler deadline registered (default) [ 0.390000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.420000] serial8250 serial8250: no of_node; not parsing pinctrl DT [ 0.420000] pinctrl core: add 1 pinmux maps [ 0.420000] rt2880-pinmux pinctrl.1: found group selector 2 for uartf [ 0.420000] rt2880-pinmux pinctrl.1: request pin 7 (io7) for 10000500.uart [ 0.420000] rt2880-pinmux pinctrl.1: request pin 8 (io8) for 10000500.uart [ 0.420000] rt2880-pinmux pinctrl.1: request pin 9 (io9) for 10000500.uart [ 0.420000] rt2880-pinmux pinctrl.1: request pin 10 (io10) for 10000500.uart [ 0.420000] rt2880-pinmux pinctrl.1: request pin 11 (io11) for 10000500.uart [ 0.420000] rt2880-pinmux pinctrl.1: request pin 12 (io12) for 10000500.uart [ 0.420000] rt2880-pinmux pinctrl.1: request pin 13 (io13) for 10000500.uart [ 0.420000] rt2880-pinmux pinctrl.1: request pin 14 (io14) for 10000500.uart [ 0.420000] 10000500.uart: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A [ 0.430000] pinctrl core: add 1 pinmux maps [ 0.430000] rt2880-pinmux pinctrl.1: found group selector 3 for uartlite [ 0.440000] rt2880-pinmux pinctrl.1: request pin 15 (io15) for 10000c00.uartlite [ 0.440000] rt2880-pinmux pinctrl.1: request pin 16 (io16) for 10000c00.uartlite [ 0.440000] 10000c00.uartlite: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A [ 0.450000] console [ttyS1] enabled, bootconsole disabled [ 0.480000] pinctrl core: add 1 pinmux maps [ 0.480000] pinctrl core: add 1 pinmux maps [ 0.480000] rt2880-pinmux pinctrl.1: found group selector 1 for spi [ 0.480000] rt2880-pinmux pinctrl.1: found group selector 6 for spi_cs1 [ 0.480000] rt2880-pinmux pinctrl.1: request pin 3 (io3) for 10000b00.spi [ 0.480000] rt2880-pinmux pinctrl.1: request pin 4 (io4) for 10000b00.spi [ 0.480000] rt2880-pinmux pinctrl.1: request pin 5 (io5) for 10000b00.spi [ 0.480000] rt2880-pinmux pinctrl.1: request pin 6 (io6) for 10000b00.spi [ 0.480000] rt2880-pinmux pinctrl.1: request pin 27 (io27) for 10000b00.spi [ 0.480000] m25p80 spi32766.0: found pm25lq032, expected w25q32 [ 0.500000] m25p80 spi32766.0: pm25lq032 (4096 Kbytes) [ 0.510000] 4 ofpart partitions found on MTD device spi32766.0 [ 0.520000] Creating 4 MTD partitions on "spi32766.0": [ 0.530000] 0x000000000000-0x000000030000 : "u-boot" [ 0.540000] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.560000] 0x000000040000-0x000000050000 : "factory" [ 0.570000] 0x000000050000-0x000000400000 : "firmware" [ 0.590000] 0x0000001517eb-0x000000400000 : "rootfs" [ 0.600000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.620000] mtd: device 4 (rootfs) set to be root filesystem [ 0.640000] mtd: partition "rootfs_data" created automatically, ofs=0x2b0000, len=0x150000 [ 0.650000] 0x0000002b0000-0x000000400000 : "rootfs_data" [ 0.680000] eth0: done loading [ 0.680000] rt3xxx-usbphy usbphy.3: loaded [ 0.700000] rt2880_wdt 10000120.watchdog: Initialized [ 0.710000] TCP: cubic registered [ 0.710000] NET: Registered protocol family 17 [ 0.720000] Bridge firewalling registered [ 0.730000] 8021q: 802.1Q VLAN Support v1.8 [ 0.760000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 0.780000] Freeing unused kernel memory: 212K (802cb000 - 80300000) [ 6.050000] usbcore: registered new interface driver usbfs [ 6.060000] usbcore: registered new interface driver hub [ 6.080000] usbcore: registered new device driver usb [ 6.100000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 6.110000] ehci-platform: EHCI generic platform driver [ 6.320000] rt3xxx-usbphy usbphy.3: remote usb device wakeup disabled [ 6.340000] rt3xxx-usbphy usbphy.3: UTMI 16bit 30MHz [ 6.340000] ehci-platform 101c0000.ehci: EHCI Host Controller [ 6.360000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1 [ 6.370000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000 [ 6.410000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00 [ 6.420000] usb usb1: no of_node; not parsing pinctrl DT [ 6.420000] hub 1-0:1.0: no of_node; not parsing pinctrl DT [ 6.420000] hub 1-0:1.0: USB hub found [ 6.430000] hub 1-0:1.0: 1 port detected [ 6.440000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 6.450000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller [ 6.470000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2 [ 6.480000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000 [ 6.550000] usb usb2: no of_node; not parsing pinctrl DT [ 6.550000] hub 2-0:1.0: no of_node; not parsing pinctrl DT [ 6.550000] hub 2-0:1.0: USB hub found [ 6.560000] hub 2-0:1.0: 1 port detected [ 6.820000] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 7.000000] rt305x-esw 10110000.esw: link changed 0x00 [ 7.130000] usb 1-1: no of_node; not parsing pinctrl DT [ 7.130000] hub 1-1:1.0: no of_node; not parsing pinctrl DT [ 7.130000] hub 1-1:1.0: USB hub found [ 7.140000] hub 1-1:1.0: 4 ports detected [ 7.440000] usb 1-1.2: new high-speed USB device number 3 using ehci-platform [ 7.560000] usb 1-1.2: no of_node; not parsing pinctrl DT [ 7.640000] usb 1-1.4: new high-speed USB device number 4 using ehci-platform [ 7.780000] usb 1-1.4: no of_node; not parsing pinctrl DT [ 8.690000] rt305x-esw 10110000.esw: link changed 0x01 [ 11.010000] jffs2: notice: (310) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 9 of xref (0 dead, 2 orphan) found. [ 14.380000] SCSI subsystem initialized [ 14.410000] usb-storage 1-1.2:1.0: no of_node; not parsing pinctrl DT [ 14.410000] usb-storage 1-1.2:1.0: USB Mass Storage device detected [ 14.420000] scsi0 : usb-storage 1-1.2:1.0 [ 14.430000] usbcore: registered new interface driver usb-storage [ 15.430000] scsi 0:0:0:0: Direct-Access Mass Storage Device PQ: 0 ANSI: 0 CCS [ 15.450000] sd 0:0:0:0: no of_node; not parsing pinctrl DT [ 15.450000] sd 0:0:0:0: [sda] 3920896 512-byte logical blocks: (2.00 GB/1.86 GiB) [ 15.470000] sd 0:0:0:0: [sda] Write Protect is off [ 15.480000] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00 [ 15.480000] sd 0:0:0:0: [sda] No Caching mode page found [ 15.490000] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 15.510000] sd 0:0:0:0: [sda] No Caching mode page found [ 15.520000] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 15.540000] sda: sda1 [ 15.550000] sd 0:0:0:0: [sda] No Caching mode page found [ 15.560000] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 15.570000] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 20.710000] EXT4-fs (sda1): recovery complete [ 20.730000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: [ 25.100000] NTFS driver 2.1.30 [Flags: R/O MODULE]. [ 25.200000] Linux video capture interface: v2.00 [ 25.260000] fuse init (API version 7.22) [ 25.280000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea [ 25.300000] Backport generated by backports.git backports-20140320-37-g5c33da0 [ 25.370000] usbcore: registered new interface driver usbserial [ 25.390000] usbcore: registered new interface driver usbserial_generic [ 25.410000] usbserial: USB Serial support registered for generic [ 25.450000] uvcvideo 1-1.4:1.0: no of_node; not parsing pinctrl DT [ 25.450000] uvcvideo: Found UVC 1.00 device VF0530 Live! Cam Chat IM (041e:406b) [ 25.470000] input: VF0530 Live! Cam Chat IM as /devices/101c0000.ehci/usb1/1-1/1-1.4/1-1.4:1.0/input/input0 [ 25.510000] usbcore: registered new interface driver uvcvideo [ 25.520000] USB Video Class driver (1.1.1) [ 25.600000] cfg80211: Calling CRDA to update world regulatory domain [ 25.620000] cfg80211: World regulatory domain updated: [ 25.630000] cfg80211: DFS Master region: unset [ 25.630000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 25.650000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 25.670000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 25.690000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 25.700000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A) [ 25.720000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 25.730000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 25.750000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 25.770000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 25.920000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected [ 25.930000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected [ 25.980000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 29.000000] rt305x-esw 10110000.esw: link changed 0x00 [ 30.620000] rt305x-esw 10110000.esw: link changed 0x01 [ 34.490000] device eth0.2 entered promiscuous mode [ 34.500000] device eth0 entered promiscuous mode [ 34.520000] br-wan: port 1(eth0.2) entered forwarding state [ 34.530000] br-wan: port 1(eth0.2) entered forwarding state [ 35.860000] cfg80211: Calling CRDA for country: US [ 35.890000] cfg80211: Regulatory domain changed to country: US [ 35.900000] cfg80211: DFS Master region: FCC [ 35.910000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 35.930000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A) [ 35.940000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A) [ 35.960000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s) [ 35.970000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A) [ 35.990000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A) [ 36.530000] br-wan: port 1(eth0.2) entered forwarding state [ 2365.940000] usb 1-1.4: USB disconnect, device number 4 [ 2368.740000] usb 1-1.4: new full-speed USB device number 5 using ehci-platform [ 2368.870000] usb 1-1.4: no of_node; not parsing pinctrl DT [ 2371.320000] usb 1-1.4: USB disconnect, device number 5 [ 2371.580000] usb 1-1.4: new full-speed USB device number 6 using ehci-platform [ 2371.710000] usb 1-1.4: no of_node; not parsing pinctrl DT [ 2372.340000] usb 1-1.4: USB disconnect, device number 6 [ 2376.680000] usb 1-1.4: new full-speed USB device number 7 using ehci-platform [ 2376.810000] usb 1-1.4: no of_node; not parsing pinctrl DT Код:
root@CyberWrt:/www/> ls -l /dev/ |grep tty crw-r--r-- 1 root root 5, 0 Jan 1 1970 tty lrwxrwxrwx 1 root root 10 Jun 18 13:19 ttyATH0 -> /dev/ttyS0 crw-r--r-- 1 root root 4, 64 Jan 1 1970 ttyS0 crw-r--r-- 1 root root 4, 65 Jan 1 1970 ttyS1 crw-r--r-- 1 root root 4, 74 Jan 1 1970 ttyS10 crw-r--r-- 1 root root 4, 75 Jan 1 1970 ttyS11 crw-r--r-- 1 root root 4, 76 Jan 1 1970 ttyS12 crw-r--r-- 1 root root 4, 77 Jan 1 1970 ttyS13 crw-r--r-- 1 root root 4, 78 Jan 1 1970 ttyS14 crw-r--r-- 1 root root 4, 79 Jan 1 1970 ttyS15 crw-r--r-- 1 root root 4, 66 Jan 1 1970 ttyS2 crw-r--r-- 1 root root 4, 67 Jan 1 1970 ttyS3 crw-r--r-- 1 root root 4, 68 Jan 1 1970 ttyS4 crw-r--r-- 1 root root 4, 69 Jan 1 1970 ttyS5 crw-r--r-- 1 root root 4, 70 Jan 1 1970 ttyS6 crw-r--r-- 1 root root 4, 71 Jan 1 1970 ttyS7 crw-r--r-- 1 root root 4, 72 Jan 1 1970 ttyS8 crw-r--r-- 1 root root 4, 73 Jan 1 1970 ttyS9 Последний раз редактировалось Dmt; 18.06.2015 в 15:13. Причина: добавил описание поведения nano |
|
![]() |
![]() |
![]() |
#8 |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
Проблема в том что stty не умеет отключать сигнал DTR
И соответственно каждый раз при обращении к порту происходит сброс ардуины Для того что бы этого не происходило можно физически отключить сигнал DTR |
![]() |
![]() |
![]() |
#9 | |
Member
Регистрация: 18.06.2015
Сообщений: 57
Вес репутации: 0 ![]() |
![]() Цитата:
|
|
![]() |
![]() |
![]() |
#10 |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
Они и без отключения DTR опознаются
Для примера можете в одном окне в консоли выполнить cat /dev/ttyUSB0 А в другом смело отправлять ардуинке команды, и все будет работать |
![]() |
![]() |
![]() |
Здесь присутствуют: 3 (пользователей: 0 , гостей: 3) | |
|
|