serial driver issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi. I have a problem with linux "serial" driver. I`m using a MosChip
9901 based ExpressCard 34 dual rs-232 controller. When I plugged this
card into my PC, the system detected it, but when I tried to send or
read something from one of the ports, there was silence. Loopback test
also fails. On windows this card works perfectly, so this is not a
hardware issue. My kernel version is "5.15.78-1-MANJARO".

"dmesg" output about this card:

[64329.311478] pcieport 0000:00:1c.1: pciehp: Slot(1): Card present
[64329.311485] pcieport 0000:00:1c.1: pciehp: Slot(1): Link Up
[64329.442833] pci 0000:02:00.0: [9710:9901] type 00 class 0x070002
[64329.442867] pci 0000:02:00.0: reg 0x10: [io  0x0000-0x0007]
[64329.442883] pci 0000:02:00.0: reg 0x14: [mem 0x00000000-0x00000fff]
[64329.442922] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff]
[64329.443096] pci 0000:02:00.0: supports D1 D2
[64329.443099] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[64329.443402] pci 0000:02:00.1: [9710:9901] type 00 class 0x070002
[64329.443434] pci 0000:02:00.1: reg 0x10: [io  0x0000-0x0007]
[64329.443451] pci 0000:02:00.1: reg 0x14: [mem 0x00000000-0x00000fff]
[64329.443495] pci 0000:02:00.1: reg 0x20: [mem 0x00000000-0x00000fff]
[64329.443679] pci 0000:02:00.1: supports D1 D2
[64329.443683] pci 0000:02:00.1: PME# supported from D0 D1 D2 D3hot D3cold
[64329.443948] pci 0000:02:00.0: BAR 1: assigned [mem 0xd0000000-0xd0000fff]
[64329.443960] pci 0000:02:00.0: BAR 4: assigned [mem 0xd0001000-0xd0001fff]
[64329.443969] pci 0000:02:00.1: BAR 1: assigned [mem 0xd0002000-0xd0002fff]
[64329.443979] pci 0000:02:00.1: BAR 4: assigned [mem 0xd0003000-0xd0003fff]
[64329.443987] pci 0000:02:00.0: BAR 0: assigned [io  0x2000-0x2007]
[64329.443995] pci 0000:02:00.1: BAR 0: assigned [io  0x2008-0x200f]
[64329.444006] pcieport 0000:00:1c.1: PCI bridge to [bus 02-22]
[64329.444012] pcieport 0000:00:1c.1:   bridge window [io  0x2000-0x3fff]
[64329.444017] pcieport 0000:00:1c.1:   bridge window [mem
0xd0000000-0xd3ffffff]
[64329.444023] pcieport 0000:00:1c.1:   bridge window [mem
0xbfb00000-0xbfcfffff 64bit pref]
[64329.444110] serial 0000:02:00.0: enabling device (0000 -> 0003)
[64329.444690] 0000:02:00.0: ttyS6 at I/O 0x2000 (irq = 17, base_baud
= 115200) is a 16550A
[64329.448040] serial 0000:02:00.1: enabling device (0000 -> 0003)
[64329.452843] 0000:02:00.1: ttyS7 at I/O 0x2008 (irq = 18, base_baud
= 115200) is a 16550A

"lspci -vvv" output about this card:

02:00.0 Serial controller: MosChip Semiconductor Technology Ltd. PCIe
9901 Multi-I/O Controller (prog-if 02 [16550])
       Subsystem: Asix Electronics Corporation (Wrong ID) Device 1000
       Physical Slot: 1
       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 17
       Region 0: I/O ports at 2000 [size=8]
       Region 1: Memory at d0000000 (32-bit, non-prefetchable) [size=4K]
       Region 4: Memory at d0001000 (32-bit, non-prefetchable) [size=4K]
       Capabilities: [80] Power Management version 3
               Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)
               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
       Capabilities: [88] MSI: Enable- Count=1/32 Maskable- 64bit+
               Address: 0000000000000000  Data: 0000
       Capabilities: [c0] Express (v1) Legacy Endpoint, MSI 00
               DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s
<64ns, L1 <1us
                       ExtTag- AttnBtn+ AttnInd+ PwrInd+ RBE- FLReset-
               DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
                       RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                       MaxPayload 128 bytes, MaxReadReq 512 bytes
               DevSta: CorrErr- NonFatalErr+ FatalErr- UnsupReq+
AuxPwr- TransPend-
               LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1,
Exit Latency L0s unlimited, 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, Width x1
                       TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
       Capabilities: [100 v1] Power Budgeting <?>
       Capabilities: [200 v1] Device Serial Number 88-99-ff-ee-dd-cc-bb-aa
       Kernel driver in use: serial

02:00.1 Serial controller: MosChip Semiconductor Technology Ltd. PCIe
9901 Multi-I/O Controller (prog-if 02 [16550])
       Subsystem: Asix Electronics Corporation (Wrong ID) Device 1000
       Physical Slot: 1
       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 18
       Region 0: I/O ports at 2008 [size=8]
       Region 1: Memory at d0002000 (32-bit, non-prefetchable) [size=4K]
       Region 4: Memory at d0003000 (32-bit, non-prefetchable) [size=4K]
       Capabilities: [80] Power Management version 3
               Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)
               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
       Capabilities: [88] MSI: Enable- Count=1/32 Maskable- 64bit+
               Address: 0000000000000000  Data: 0000
       Capabilities: [c0] Express (v1) Legacy Endpoint, MSI 00
               DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s
<64ns, L1 <1us
                       ExtTag- AttnBtn+ AttnInd+ PwrInd+ RBE- FLReset-
               DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
                       RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                       MaxPayload 128 bytes, MaxReadReq 512 bytes
               DevSta: CorrErr- NonFatalErr+ FatalErr- UnsupReq+
AuxPwr- TransPend-
               LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1,
Exit Latency L0s unlimited, 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, Width x1
                       TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
       Capabilities: [100 v1] Power Budgeting <?>
       Capabilities: [200 v1] Device Serial Number 00-00-00-00-00-00-00-00
       Kernel driver in use: serial



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux