3/22/2023 8:51 AM | |
Joined: 6/8/2018 Last visit: 11/6/2024 Posts: 110 Rating: (5) |
Good morning, For information, I also had this problem. The RS-485 serial worked fine when but after a docker reload, unable to communicate -> No signal output from RS. Nothing in cat /dev/ttyUSB0. Is it possible to do a hard reset (hardware) without reload all image ? Or u-boot reset ? sudo dmesg | grep tty [ 0.000000] Kernel command line: root=PARTUUID=8884f2fe-d9ee-4bd1-93ad-99b6abb9fcf2 console=ttyS3,115200n8 earlycon=ns16550a,mmio32,0x02810000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),64k(pru0-fw),64k(pru1-fw),64k(rtu0-fw),64k(rtu1-fw),-@8m(ospi.rootfs) rootwait [ 1.304855] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 16, base_baud = 6000000) is a 8250 [ 1.315076] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 24, base_baud = 3000000) is a 8250 [ 1.323856] printk: console [ttyS3] enabled [ 4.162720] systemd[1]: Created slice system-getty.slice. [ 4.249054] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 8.248321] usb 1-1.4: cp210x converter now attached to ttyUSB0 [ 8.506161] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1 [ 8.695940] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2 [ 8.866688] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3 [ 8.886083] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB4 Thank's. ------------------------------------------------------------------------------------------ |
Last edited by: rfond at: 03/22/2023 08:59:49Last edited by: Jen_Moderator at: 03/29/2023 13:18:40New subject after splitting |
|
3/31/2023 12:58 PM | |
Joined: 6/8/2018 Last visit: 11/6/2024 Posts: 110 Rating: (5) |
For information with image on version 1.3.0 git meta-iot2050, we have directly a rule to create a symbolique link to CP210x serial. Name is /dev/ttyX30. For old version you can use 20-create-symbolic-link-for-serial-port.txt rename to 20-create-symbolic-link-for-serial-port.rules and place into /etc/udev/rules.d/ + reboot This solution is better because you have not to check material id. Attachment20-create-symbolic-link-for-serial-port.txt (417 Downloads) |
Last edited by: rfond at: 03/31/2023 13:00:41 |
|
This contribution was helpful to2 thankful Users |
Follow us on