October 8, 20241 yr Hello all, I am new here and recently built an Unraid server. Everything is good but one thing: I have a cheap PCI-E card with 2 COM and 1 Parallel ports and can't figure out how to use it. I need just one COM port from it. The card is detected by the system: #lspci -v ... 02:00.0 Serial controller: Nanjing Qinheng Microelectronics Co., Ltd. CH384 Dual Port Serial and Parallel Port Adapter (rev 10) (prog-if 05 [16850]) Subsystem: Nanjing Qinheng Microelectronics Co., Ltd. CH384 Dual Port Serial and Parallel Port Adapter Flags: fast devsel, IRQ 255, IOMMU group 13 I/O ports at 4000 [disabled] [size=256] Memory at 70800000 (32-bit, prefetchable) [disabled] [size=32K] I/O ports at 4100 [disabled] [size=4] Expansion ROM at 74200000 [disabled] [size=32K] Capabilities: [60] Power Management version 3 Capabilities: [68] MSI: Enable- Count=1/32 Maskable+ 64bit+ Capabilities: [80] Express Legacy Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting ... I also see the following in the dmesg: # dmesg | grep ttyS [ 0.299290] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A but I don't know if it is about this card. Probably not. I found this driver from the chip vendor: https://github.com/WCHSoftGroup/ch35_38x_linux but it seems to be impossible to build a custom driver on the Unraid system. The page mentions that the chip should be supported by 8250_pci driver, but it is listed under "Unused" on the Unraid UI Could any one help or give a direction to dig? 😃 Thank you. P.S. I am sorry if this topic is a duplicate but I couldn't find anything related via search...
October 8, 20241 yr 2 hours ago, McFLYer said: Hello all, I am new here and recently built an Unraid server. Everything is good but one thing: I have a cheap PCI-E card with 2 COM and 1 Parallel ports and can't figure out how to use it. I need just one COM port from it. The card is detected by the system: #lspci -v ... 02:00.0 Serial controller: Nanjing Qinheng Microelectronics Co., Ltd. CH384 Dual Port Serial and Parallel Port Adapter (rev 10) (prog-if 05 [16850]) Subsystem: Nanjing Qinheng Microelectronics Co., Ltd. CH384 Dual Port Serial and Parallel Port Adapter Flags: fast devsel, IRQ 255, IOMMU group 13 I/O ports at 4000 [disabled] [size=256] Memory at 70800000 (32-bit, prefetchable) [disabled] [size=32K] I/O ports at 4100 [disabled] [size=4] Expansion ROM at 74200000 [disabled] [size=32K] Capabilities: [60] Power Management version 3 Capabilities: [68] MSI: Enable- Count=1/32 Maskable+ 64bit+ Capabilities: [80] Express Legacy Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting ... I also see the following in the dmesg: # dmesg | grep ttyS [ 0.299290] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A but I don't know if it is about this card. Probably not. I found this driver from the chip vendor: https://github.com/WCHSoftGroup/ch35_38x_linux but it seems to be impossible to build a custom driver on the Unraid system. The page mentions that the chip should be supported by 8250_pci driver, but it is listed under "Unused" on the Unraid UI Could any one help or give a direction to dig? 😃 Thank you. P.S. I am sorry if this topic is a duplicate but I couldn't find anything related via search... I think you need to do modprobe parport_serial But checking the kernel options that module is not set to be created so I think will fail to find module https://forums.gentoo.org/viewtopic-p-8834690.html?sid=f1b5b49f64ff86f50b67cd07e363d55b root@computenode:~# cat /usr/src/linux-6.6.52-Unraid/.config |grep PARPO CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y CONFIG_PARPORT=y CONFIG_PARPORT_PC=y # CONFIG_PARPORT_SERIAL is not set CONFIG_PARPORT_PC_FIFO=y # CONFIG_PARPORT_PC_SUPERIO is not set # CONFIG_PARPORT_1284 is not set # CONFIG_PATA_PARPORT is not set # CONFIG_I2C_PARPORT is not set # CONFIG_PPS_CLIENT_PARPORT is not set root@computenode:~#
October 8, 20241 yr Author Thanks for the reply! Yes, there is no such module built: /usr/src/linux-6.1.106-Unraid# cat .config | grep PARPO CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y CONFIG_PARPORT=y CONFIG_PARPORT_PC=y # CONFIG_PARPORT_SERIAL is not set CONFIG_PARPORT_PC_FIFO=y # CONFIG_PARPORT_PC_SUPERIO is not set # CONFIG_PARPORT_AX88796 is not set # CONFIG_PARPORT_1284 is not set # CONFIG_I2C_PARPORT is not set # CONFIG_PPS_CLIENT_PARPORT is not set /usr/src/linux-6.1.106-Unraid# modprobe parport_serial modprobe: FATAL: Module parport_serial not found in directory /lib/modules/6.1.106-Unraid Is there a way to build anything on the Unraid system? Or should I set up a VM with Gentoo or Slackware with the same kernel to build it and transfer to the server? Edited October 8, 20241 yr by McFLYer
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.