• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Seriell/Parallel Controller NetMos 9901 (11.1)

Hallo Leute,

ich versuche nun schon seit Stunden meinen PCIe Seriell/Parallel Port Controller zum Laufen zu kriegen.
Code:
lcpci -vvv
[...]
02:00.0 Serial controller: NetMos Technology PCIe 9901 Multi-I/O Controller (prog-if 02 [16550])
  Subsystem: Device a000:1000
  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
  Region 0: I/O ports at 9480 [size=8]
  Region 1: Memory at fe6fb000 (32-bit, non-prefetchable) [size=4K]
  Region 4: Memory at fe6fa000 (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 PME-Enable- DSel=0 DScale=1 PME-
  Capabilities: [88] Message Signalled Interrupts: Mask- 64bit+ Count=1/32 Enable-
        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: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                MaxPayload 128 bytes, MaxReadReq 512 bytes
        DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
        LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 unlimited, L1 unlimited
                ClockPM- Suprise- LLActRep- BwNot-
        LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
                ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
  Capabilities: [100] Power Budgeting <?>


02:00.1 Serial controller: NetMos Technology PCIe 9901 Multi-I/O Controller (prog-if 02 [16550])
  Subsystem: Device a000:1000
  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
  Region 0: I/O ports at 9800 [size=8]
  Region 1: Memory at fe6fd000 (32-bit, non-prefetchable) [size=4K]
  Region 4: Memory at fe6fc000 (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 PME-Enable- DSel=0 DScale=1 PME-
  Capabilities: [88] Message Signalled Interrupts: Mask- 64bit+ Count=1/32 Enable-
        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: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                MaxPayload 128 bytes, MaxReadReq 512 bytes
        DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
        LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 unlimited, L1 unlimited
                ClockPM- Suprise- LLActRep- BwNot-
        LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
                ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
  Capabilities: [100] Power Budgeting <?>

02:00.2 Parallel controller: NetMos Technology PCIe 9901 Multi-I/O Controller (prog-if 03 [IEEE1284])
  Subsystem: Device a000:2000
  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-
  Latency: 0, Cache Line Size: 32 bytes
  Interrupt: pin C routed to IRQ 15
  Region 0: I/O ports at 9c00 [size=8]
  Region 1: I/O ports at 9880 [size=4]
  Region 2: Memory at fe6ff000 (32-bit, non-prefetchable) [size=4K]
  Region 4: Memory at fe6fe000 (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 PME-Enable- DSel=0 DScale=1 PME-
  Capabilities: [88] Message Signalled Interrupts: Mask- 64bit+ Count=1/32 Enable-
        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: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                MaxPayload 128 bytes, MaxReadReq 512 bytes
        DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
        LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 unlimited, L1 unlimited
                ClockPM- Suprise- LLActRep- BwNot-
        LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
                ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
  Capabilities: [100] Power Budgeting <?>
[...]

Der Controller wurde also erkannt. Aber Kernelmodul?! Normal sollte ja in der letzten Zeile z.B. stehen "Kernel modules: sky2" (von meinem onboard LAN).

lsmod sagt:
Code:
Module                  Size  Used by
lp                     11236  0
parport_pc             40392  0
ppdev                   8208  0
parport                41568  3 lp,parport_pc,ppdev
st                     38892  0
ide_disk               14872  0
ide_cd_mod             33984  0
joydev                 12112  0
ipt_MASQUERADE          4104  3
xt_pkttype              2152  7
xt_TCPMSS               4600  1
xt_tcpudp               3608  4
ipt_LOG                 6812  18
xt_limit                3180  18
iptable_nat             7208  1
nf_nat                 23920  2 ipt_MASQUERADE,iptable_nat
pppoe                  12304  2
pppox                   3992  1 pppoe
nfsd                  270184  13
lockd                  72096  1 nfsd
nfs_acl                 3480  1 nfsd
auth_rpcgss            44688  1 nfsd
sunrpc                219272  12 nfsd,lockd,nfs_acl,auth_rpcgss
exportfs                5336  1 nfsd
af_packet              20728  4
ppp_generic            26816  6 pppoe,pppox
snd_pcm_oss            48896  0
snd_mixer_oss          16808  1 snd_pcm_oss
binfmt_misc            10260  1
snd_seq                61968  0
snd_seq_device          8604  1 snd_seq
8021q                  24176  0
garp                    9640  1 8021q
stp                     3020  1 garp
capidrv                28496  1
isdn                  133216  5 capidrv
slhc                    6008  2 ppp_generic,isdn
fcpci                 644076  3
capi                   16272  6
capifs                  5416  2 capi
kernelcapi             44208  3 capidrv,fcpci,capi
xt_NOTRACK              2152  2
ipt_REJECT              3480  3
xt_state                2568  28
iptable_raw             2760  1
iptable_filter          3400  1
nf_conntrack_netbios_ns     2840  0
nf_conntrack_ipv4      12792  31 iptable_nat,nf_nat
nf_conntrack           80480  7 ipt_MASQUERADE,iptable_nat,nf_nat,xt_NOTRACK,xt_state,nf_conntrack_netbios_ns,nf_conntrack_ipv4
ip_tables              19464  3 iptable_nat,iptable_raw,iptable_filter
ip6_tables             21048  0
x_tables               23376  12 ipt_MASQUERADE,xt_pkttype,xt_TCPMSS,xt_tcpudp,ipt_LOG,xt_limit,iptable_nat,xt_NOTRACK,ipt_REJECT,xt_state,ip_tables,ip6_tables
fuse                   61088  1
xfs                   545312  1
loop                   17924  0
dm_mod                 73952  0
mt312                   9036  1
stv0297                 8056  0
bcm3510                10748  0
lgdt330x                9404  0
nxt200x                14588  0
mt352                   7196  0
stv0299                11280  0
snd_hda_intel         545508  2
b2c2_flexcop_pci        7328  0
b2c2_flexcop           29828  1 b2c2_flexcop_pci
dvb_core               87948  3 lgdt330x,stv0299,b2c2_flexcop
snd_pcm                95440  2 snd_pcm_oss,snd_hda_intel
snd_timer              26664  2 snd_seq,snd_pcm
cx24123                15392  1 b2c2_flexcop
usb_storage           101072  0
i2c_i801               12836  0
s5h1420                12780  1 b2c2_flexcop
ohci1394               31380  0
snd_page_alloc          9816  2 snd_hda_intel,snd_pcm
snd_hwdep               9072  1 snd_hda_intel
rtc_cmos               13960  0
sr_mod                 16196  0
ieee1394               98880  1 ohci1394
snd                    74632  12 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
rtc_core               22420  1 rtc_cmos
i2c_core               35280  11 mt312,stv0297,bcm3510,lgdt330x,nxt200x,mt352,stv0299,b2c2_flexcop,cx24123,i2c_i801,s5h1420
button                  8328  0
pcspkr                  3064  0
soundcore               8816  1 snd
intel_agp              29936  0
rtc_lib                 3560  1 rtc_core
cdrom                  36200  2 ide_cd_mod,sr_mod
sky2                   51116  0
sg                     35344  0
floppy                 63240  0
usbhid                 52896  0
hid                    41568  1 usbhid
ff_memless              8912  1 usbhid
sd_mod                 35064  6
crc_t10dif              2152  1 sd_mod
uhci_hcd               27928  0
ehci_hcd               55348  0
usbcore               198656  5 usb_storage,usbhid,uhci_hcd,ehci_hcd
edd                    10272  0
ext3                  141912  2
mbcache                10412  1 ext3
jbd                    68824  1 ext3
fan                     6016  0
ide_pci_generic         4652  0
ide_core              118012  3 ide_disk,ide_cd_mod,ide_pci_generic
3w_9xxx                32932  4
ata_generic             6044  0
pata_marvell            4824  0
thermal                24232  0
processor              49904  1 thermal
thermal_sys            14336  3 fan,thermal,processor
hwmon                   4040  1 thermal_sys
ahci                   34628  0
libata                183376  3 ata_generic,pata_marvell,ahci
scsi_mod              179144  7 st,usb_storage,sr_mod,sg,sd_mod,3w_9xxx,libata
dock                   14564  1 libata

Nach ein bisschen Googlen habe ich dann versucht mit setserial was zu machen:
Code:
setserial /dev/ttyS2 port 0x9480 UART 16550A irq 16 Baud_base 115200
setserial /dev/ttyS3 port 0x9800 UART 16550A irq 17 Baud_base 115200
Wäre das richtig?

Fragen über Fragen... habe bei netmos mir auch mal die Treibersources gezogen... die lassen sich aber nicht kompilieren...
Weiß jemand mehr?
 
Oben