Date: Wed, 12 Oct 2022 11:23:54 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266990] FreeBSD 13.1 can not drive 16950 chip correctly Message-ID: <bug-266990-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266990 Bug ID: 266990 Summary: FreeBSD 13.1 can not drive 16950 chip correctly Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: 16109226@qq.com Created attachment 237234 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237234&action= =3Dedit dmesg.boot I have an industrial control computer, which uses 16950 chips. This chip is used for the serial port of the computer. I installed FreeBSD version 13.1. When the computer starts, the information detected in the dmesg is as follows: -------------------- Split line ------------- uart1: <16950 or compatible> at port 0x2f8 irq 3 on isa0 uart1: non-PNP ISA device will be removed from GENERIC in FreeBSD 14. -------------------- Split line ------------- This is the configuration content of /etc/ttys: -------------------- Split line ------------- console none unknown off insecure ttyv0 "/usr/libexec/getty Pc" xterm onifexists secure ttyv1 "/usr/libexec/getty Pc" xterm onifexists secure ttyu1 "/usr/libexec/getty std.115200" vt100 on secure -------------------- Split line ------------- This is the configuration content of/boot/loader.conf: -------------------- Split line ------------- beastie_disable=3DYES boot_multicons=3DYES comconsole_speed=3D115200 console=3Dcomconsole -------------------- Split line ------------- Kernel Parameters=EF=BC=9A -------------------- Split line ------------- [root@myhost ~]# sysctl kern.console kern.console: ttyv0,/ttyv0, [root@myhost ~]# sysctl kern.console=3Dttyv0,ttyu1 kern.console: ttyv0,/ttyv0, sysctl: kern.console=3Dttyv0,ttyu1: Device not configured [root@myhost ~]# sysctl -a|grep uart uart1: <16950 or compatible> at port 0x2f8 irq 3 on isa0 uart1: non-PNP ISA device will be removed from GENERIC in FreeBSD 14. uart1: <16950 or compatible> at port 0x2f8 irq 3 on isa0 uart1: non-PNP ISA device will be removed from GENERIC in FreeBSD 14. device uart_ns8250 device uart debug.uart_force_poll: 0 debug.uart_poll_freq: 50 irq3: uart1:5 @cpu0(domain0): 3 dev.uart.1.rx_overruns: 0 dev.uart.1.pps_mode: 2 dev.uart.1.%parent: isa0 dev.uart.1.%pnpinfo:=20 dev.uart.1.%location:=20 dev.uart.1.%driver: uart dev.uart.1.%desc: 16950 or compatible dev.uart.%parent:=20 -------------------- Split line ------------- Fault phenomenon: My laptop(MacOS) is connected to this machine through the serial port (RS23= 2), and the console cannot be opened, command line:=E2=80=A8 -------------------- Split line ------------- screen -S aio /dev/tty.usbserial-1410 115200 -------------------- Split line ------------- --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266990-227>