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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-27-2021, 12:50 PM
|
#1
|
Senior Member
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,177
Rep:
|
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]
|
|
|
|
08-27-2021, 01:29 PM
|
#2
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
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.
|
|
|
08-27-2021, 03:09 PM
|
#3
|
Senior Member
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,177
Original Poster
Rep:
|
Quote:
Originally Posted by computersavvy
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.
|
|
|
08-28-2021, 01:50 AM
|
#4
|
Member
Registered: Jun 2020
Posts: 609
Rep:
|
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.
|
08-28-2021, 06:19 AM
|
#5
|
Senior Member
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,177
Original Poster
Rep:
|
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.
|
|
|
08-28-2021, 11:39 AM
|
#6
|
Senior Member
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,177
Original Poster
Rep:
|
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.
|
|
|
08-31-2021, 01:43 PM
|
#7
|
Senior Member
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,177
Original Poster
Rep:
|
Quote:
Originally Posted by obobskivich
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 ;-)
|
|
|
All times are GMT -5. The time now is 03:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|