0

我在 Intel Panel PC 上安装了 Linux Ubuntu。我的代码没有运行,我使用cutecom检查了数据包传输。它确实成功地打开了端口,但没有传输数据。我把串口插到我自己的电脑上,它可以工作。我想到一件事,错误可能来自于检查 BIOS,如何分配 ttyS0-3。Bios 显示 S0 到 11 或更高。在 AVAILABLE 模式下,我将 S3 设置为 RESERVED 并再次通过 cutecom 检查。不得转让!另一方面,我不认为应该安装驱动程序来区分 PC COM,它应该自动识别它们。

/input0
[    0.416691] ACPI: Power Button [PWRB]

[    0.416846] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1

[    0.416859] ACPI: Power Button [PWRF]

[    0.443708] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

[    0.557357] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

[    0.708888] serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A

[    0.872588] serial8250: ttyS3 at I/O 0x2e8 (irq = 3) is a 16550A

[    1.015669] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

[    1.036607] 00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

[    1.060599] 00:08: ttyS2 at I/O 0x3e8 (irq = 11) is a 16550A

[    1.084589] 00:09: ttyS3 at I/O 0x2e8 (irq = 10) is a 16550A

[    1.085551] agpgart-intel 0000:00:00.0: detected gtt size: 262144K total, 262144K 

[   14.956323] serio: Serial port ttyS1

[   14.994250] serio: Serial port ttyS1

[   15.032073] input: Elo Serial TouchScreen as /devices/pnp0/00:07/tty/ttyS1/serio2/input

dmesg 显示的内容有什么问题吗?我应该使用 setirq 更改 irqs 吗?如果是,请给我写一个详细信息的例子。

4

0 回答 0