LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-27-2021, 12:50 PM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,177
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
PCI express Startech PEX4S553B 4 port RS232 [9710:9904]: will work or not? (Debian11 64bits)


Hello,
I bought that PCI card because I wanted to connect few older RS232 devices (printer, modem).
An error come at boot. See below.
It will work? or not? or partially? I am not use to analyse such messages. Or perhaps how to test such an RS232 card in the PC?
For the reason I have several things to debug, I would like to be sure it would work. If not, I will buy another one and not spend more time in debugging something which could obviously not work.

If the signs are this card is not good at all, any advice what hardware PCI-express I should use (2x RS232 output) is welcome (PC HP600G4 SFF).

Remarks or any recommendations are highly welcome.

Kernel from Debian11.
uname -r
5.10.0-8-amd64

dmesg
Quote:
[ 1.180596] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.181083] serial 0000:00:16.3: enabling device (0000 -> 0003)
[ 1.181888] 0000:00:16.3: ttyS0 at I/O 0x5088 (irq = 19, base_baud = 115200) is a 16550A
[ 1.181950] serial 0000:03:00.0: enabling device (0100 -> 0103)
[ 1.182741] 0000:03:00.0: ttyS1 at I/O 0x3018 (irq = 16, base_baud = 115200) is a 16550A
[ 1.183477] serial 0000:03:00.1: enabling device (0100 -> 0103)
[ 1.184311] 0000:03:00.1: ttyS2 at I/O 0x3010 (irq = 17, base_baud = 115200) is a 16550A
[ 1.184394] serial 0000:03:00.2: enabling device (0100 -> 0103)
[ 1.185211] 0000:03:00.2: ttyS3 at I/O 0x3008 (irq = 18, base_baud = 115200) is a 16550A
[ 1.185299] serial 0000:03:00.3: enabling device (0100 -> 0103)
[ 1.185426] serial 0000:03:00.3: Couldn't register serial port 3000, irq 19, type 0, error -28
lspci -nn
..
Quote:
03:00.0 Serial controller [0700]: MosChip Semiconductor Technology Ltd. 4-Port PCIe Serial Adapter [9710:9904]
03:00.1 Serial controller [0700]: MosChip Semiconductor Technology Ltd. 4-Port PCIe Serial Adapter [9710:9904]
03:00.2 Serial controller [0700]: MosChip Semiconductor Technology Ltd. 4-Port PCIe Serial Adapter [9710:9904]
03:00.3 Serial controller [0700]: MosChip Semiconductor Technology Ltd. 4-Port PCIe Serial Adapter [9710:9904]
 
Old 08-27-2021, 01:29 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485
You did not say what distro nor hardware you have. I assume a desktop since you are adding in a card.

Looking for linux drivers for the 9710:9904 chipset gives many results so try a search there and see if you can narrow down the problem.

I did a quick search for "9710:9904 linux drivers" and this is the first link it returned.

You can save yourself and us a lot of time if you do some quick searches yourself before posting.

HTH

Last edited by computersavvy; 08-27-2021 at 01:31 PM.
 
Old 08-27-2021, 03:09 PM   #3
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,177

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by computersavvy View Post
You did not say what distro nor hardware you have. I assume a desktop since you are adding in a card.
Written in the post: HP 600G4
Written in the post: Debian 11 64bits
(I know, not easy to read the whole stuff).
Whatever, comments are welcome and intensive interaction is key of success. Thanks for the hints. I know your links. But fuzzy to understand.

Last edited by floppy_stuttgart; 08-27-2021 at 03:12 PM.
 
Old 08-28-2021, 01:50 AM   #4
obobskivich
Member
 
Registered: Jun 2020
Posts: 609

Rep: Reputation: Disabled
Total shot in the dark: have you gone into the system BIOS and made sure you don't have IRQ conflicts with four serial ports running alongside whatever other devices the system has?

Second shot in the dark: have a look at this thread - https://www.linuxquestions.org/quest...l-card-657198/
 
1 members found this post helpful.
Old 08-28-2021, 06:19 AM   #5
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,177

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Thanks.
Last system status (still not working; no countermeasures in place) in case anybody needs this.
1 serial port is already defined and used daily (via USB). I will have a look if a limitation of numbers (should have minimum 5 for now) is in my kernel setup.
the link https://tldp.org/HOWTO/Serial-HOWTO-15.html#ss15.3 indicates
Quote:
nr_uarts=16 (if serial support built into the kernel)
and
Quote:
or 8250.nr_uarts=16 (if serial support is via a module).
uname -vv
Quote:
#1 SMP Debian 5.10.46-4 (2021-08-03)
lspvi -vv
Quote:
03:00.0 Serial controller: MosChip Semiconductor Technology Ltd. 4-Port PCIe Serial Adapter (prog-if 02 [16550])
Subsystem: Asix Electronics Corporation (Wrong ID) 4-Port PCIe Serial Adapter
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 16
IOMMU group: 12
Region 0: I/O ports at 3018 [size=8]
Region 1: Memory at f1007000 (32-bit, non-prefetchable) [size=4K]
Region 5: Memory at f1006000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [78] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [80] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <1us, L1 <2us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 256 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <64ns, L1 unlimited
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk-
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s (ok), Width x1 (ok)
TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
Capabilities: [100 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
VC1: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable- ID=0 ArbSelect=Fixed TC/VC=00
Status: NegoPending- InProgress-
Capabilities: [800 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Kernel driver in use: serial

03:00.1 Serial controller: MosChip Semiconductor Technology Ltd. 4-Port PCIe Serial Adapter (prog-if 02 [16550])
Subsystem: Asix Electronics Corporation (Wrong ID) 4-Port PCIe Serial Adapter
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin B routed to IRQ 17
IOMMU group: 12
Region 0: I/O ports at 3010 [size=8]
Region 1: Memory at f1005000 (32-bit, non-prefetchable) [size=4K]
Region 5: Memory at f1004000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [78] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [80] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <1us, L1 <2us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 256 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <64ns, L1 unlimited
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk-
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s (ok), Width x1 (ok)
TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Kernel driver in use: serial

03:00.2 Serial controller: MosChip Semiconductor Technology Ltd. 4-Port PCIe Serial Adapter (prog-if 02 [16550])
Subsystem: Asix Electronics Corporation (Wrong ID) 4-Port PCIe Serial Adapter
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin C routed to IRQ 18
IOMMU group: 12
Region 0: I/O ports at 3008 [size=8]
Region 1: Memory at f1003000 (32-bit, non-prefetchable) [size=4K]
Region 5: Memory at f1002000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [78] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [80] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <1us, L1 <2us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 256 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <64ns, L1 unlimited
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk-
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s (ok), Width x1 (ok)
TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Kernel driver in use: serial

03:00.3 Serial controller: MosChip Semiconductor Technology Ltd. 4-Port PCIe Serial Adapter (prog-if 02 [16550])
Subsystem: Asix Electronics Corporation (Wrong ID) 4-Port PCIe Serial Adapter
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin D routed to IRQ 19
IOMMU group: 12
Region 0: I/O ports at 3000 [size=8]
Region 1: Memory at f1001000 (32-bit, non-prefetchable) [size=4K]
Region 5: Memory at f1000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [78] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [80] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 512 bytes, PhantFunc 0, Latency L0s <1us, L1 <2us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 256 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <64ns, L1 unlimited
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk-
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s (ok), Width x1 (ok)
TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Kernel driver in use: serial
lsmod | grep -i "serial"
Quote:
usbserial 61440 3 ftdi_sio
usbcore 323584 9 ftdi_sio,usbserial,xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,uvcvideo,btusb,xhci_pci
dmesg | grep -i "serial"
Quote:
[ 1.180596] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.181083] serial 0000:00:16.3: enabling device (0000 -> 0003)
[ 1.181950] serial 0000:03:00.0: enabling device (0100 -> 0103)
[ 1.183477] serial 0000:03:00.1: enabling device (0100 -> 0103)
[ 1.184394] serial 0000:03:00.2: enabling device (0100 -> 0103)
[ 1.185299] serial 0000:03:00.3: enabling device (0100 -> 0103)
[ 1.185426] serial 0000:03:00.3: Couldn't register serial port 3000, irq 19, type 0, error -28
[ 1.421447] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.421449] usb usb1: SerialNumber: 0000:00:14.0
[ 1.422814] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.422816] usb usb2: SerialNumber: 0000:00:14.0
[ 1.826167] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=3
[ 1.826168] usb 1-2: SerialNumber: 5C00C125
[ 2.108434] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.390612] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.390620] usb 1-7: SerialNumber: A13G18JW
[ 2.675202] usb 1-12: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.675209] usb 1-12: SerialNumber: 0HH00S2011822
[ 2.971047] usb 1-13: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 4.175195] usb 1-14: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 14.071693] usbcore: registered new interface driver usbserial_generic
[ 14.071703] usbserial: USB Serial support registered for generic
[ 14.215027] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 14.215127] ftdi_sio 1-7:1.0: FTDI USB Serial Device converter detected
[ 14.215634] usb 1-7: FTDI USB Serial Device converter now attached to ttyUSB0
grep -i uarts /boot/config-5.10.0-8-amd64
Quote:
CONFIG_SERIAL_8250_NR_UARTS=32
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_RP2_NR_UARTS=32
grep -i 8250 /boot/config-5.10.0-8-amd64
Quote:
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
CONFIG_SERIAL_8250_PNP=y
# CONFIG_SERIAL_8250_16550A_VARIANTS is not set
CONFIG_SERIAL_8250_FINTEK=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_DMA=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_EXAR=m
CONFIG_SERIAL_8250_CS=m
CONFIG_SERIAL_8250_NR_UARTS=32
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
CONFIG_SERIAL_8250_RSA=y
CONFIG_SERIAL_8250_DWLIB=y
CONFIG_SERIAL_8250_DW=y
# CONFIG_SERIAL_8250_RT288X is not set
CONFIG_SERIAL_8250_LPSS=m
CONFIG_SERIAL_8250_MID=y
# Non-8250 serial port support
CONFIG_MEDIA_TUNER_TDA18250=m

Last edited by floppy_stuttgart; 08-29-2021 at 10:09 AM.
 
Old 08-28-2021, 11:39 AM   #6
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,177

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
How to increase the number of serial ports? (more than the standard 4)

I have tried 8250.nr_uarts=10 and nr_uarts=10 as command line boot parameter.
with nr_uarts=10, the serial error in dmesg was still there.

8250.nr_uarts=10 looks much better.
cat /proc/cmdline
Quote:
BOOT_IMAGE=/boot/vmlinuz-5.10.0-8-amd64 root=UUID=300f2560-ac9d-4eb9-8d18-c155909766c7 ro quiet 8250.nr_uarts=10
the error is gone. The
Quote:
[ 1.185426] serial 0000:03:00.3: Couldn't register serial port 3000, irq 19, type 0, error -28
from previous dmesg is gone. Looks very promising. I will make now update-grub and will further work on my testing. lets close this thread.

dmesg | grep -i "serial"
Quote:
[ 1.175725] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 1.176440] serial 0000:00:16.3: enabling device (0000 -> 0003)
[ 1.177299] serial 0000:03:00.0: enabling device (0100 -> 0103)
[ 1.178879] serial 0000:03:00.1: enabling device (0100 -> 0103)
[ 1.179785] serial 0000:03:00.2: enabling device (0100 -> 0103)
[ 1.180667] serial 0000:03:00.3: enabling device (0100 -> 0103)
[ 1.395719] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.395721] usb usb1: SerialNumber: 0000:00:14.0
[ 1.397033] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.397034] usb usb2: SerialNumber: 0000:00:14.0
[ 1.817969] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=3
[ 1.817970] usb 1-2: SerialNumber: 5C00C125
[ 2.100649] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.382508] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.382514] usb 1-7: SerialNumber: A13G18JW
[ 2.662784] usb 1-12: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.662791] usb 1-12: SerialNumber: 0HH00S2011822
[ 2.946659] usb 1-13: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.409980] usb 1-14: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 13.982220] usbcore: registered new interface driver usbserial_generic
[ 13.982262] usbserial: USB Serial support registered for generic
[ 14.178751] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 14.178852] ftdi_sio 1-7:1.0: FTDI USB Serial Device converter detected
[ 14.179353] usb 1-7: FTDI USB Serial Device converter now attached to ttyUSB0

Last edited by floppy_stuttgart; 08-31-2021 at 01:41 PM.
 
Old 08-31-2021, 01:43 PM   #7
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,177

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by obobskivich View Post
Total shot in the dark: have you gone into the system BIOS and made sure you don't have IRQ conflicts with four serial ports running alongside whatever other devices the system has?

Second shot in the dark: have a look at this thread - https://www.linuxquestions.org/quest...l-card-657198/
Thanks for shooting in the dark. It helped me (especially the link). We shot down a first small devil ;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Startech PEX4S553 4 port RS232 not working radiomanL Linux - Newbie 21 08-28-2016 02:32 AM
PCI Express 3.0 video card on PCI Express 2.0 motherboard, will it work? Compatibles? nando321 Linux - Hardware 2 02-09-2013 02:37 AM
SLI with PCI Express and PCI Express 2 Cards? ESC201 Linux - Hardware 2 07-10-2009 09:41 PM
To be 64bits or not to be 64bits, that's the question... Mega Man X General 9 01-11-2008 10:26 AM
Graphics Card: PCI Express x16 Detected as PCI Express Link width: 4X deepclutch Linux - Hardware 3 06-09-2007 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration