From bzc0fq at gmail.com Tue Feb 24 14:13:24 2009 From: bzc0fq at gmail.com (Marek Mazon) Date: Tue, 24 Feb 2009 20:13:24 +0100 Subject: [Linux-parport] NetMos 6xRS232 and FC9 Message-ID: <02960CA8661A4B7A8B0329900B79CE72@mareczek> Hi All, I have a problem with 6x serial port card from MonsChip built on MCS9845CV chip. I use fedora 9 with 2.6.25-14.fc9.i586 kernel. Have 7 lines configured as follows: [root at turtle1 ~]# /bin/setserial -avg /dev/ttyS* /dev/ttyS0, Line 0, UART: 16550A, Port: 0xcc00, IRQ: 10 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test /dev/ttyS1, Line 1, UART: 16550A, Port: 0x02f8, IRQ: 3 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test /dev/ttyS2, Line 2, UART: 16550A, Port: 0xd000, IRQ: 10 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test /dev/ttyS3, Line 3, UART: 16550A, Port: 0xd400, IRQ: 10 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test /dev/ttyS4, Line 4, UART: 16550A, Port: 0xc000, IRQ: 10 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test /dev/ttyS5, Line 5, UART: 16550A, Port: 0xc400, IRQ: 10 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test /dev/ttyS6, Line 6, UART: 16550A, Port: 0xc800, IRQ: 10 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test Port that works on IRQ 3 comes from motherboard and it works fine. All other portsworking on IRQ10 are from NetMos card and looks to be fine but do not work. From bogus@does.not.exist.com Fri Feb 6 10:56:42 2009 From: bogus@does.not.exist.com () Date: Fri, 06 Feb 2009 15:56:42 -0000 Subject: No subject Message-ID: [root at turtle1 ~]# /sbin/lspci -vvvx 00:0b.0 Serial controller: NetMos Technology PCI 9845 Multi-I/O = Controller (rev 01) (prog-if 02 [16550]) Subsystem: LSI Logic / Symbios Logic 0P6S (6 port 16550a serial = card) Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- = ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=3Dmedium = >TAbort- SERR-
Hi All,
 
I have a problem with 6x serial port = card from=20 MonsChip built on MCS9845CV chip.
I use fedora 9 with 2.6.25-14.fc9.i586=20 kernel.
 
Have 7 lines configured as = follows:
 
[root at turtle1 ~]# /bin/setserial -avg=20 /dev/ttyS*
/dev/ttyS0, Line 0, = UART: 16550A,=20 Port: 0xcc00, IRQ: 10
        = Baud_base:=20 115200, close_delay: 50, divisor:=20 0
        closing_wait:=20 3000
        Flags: spd_normal=20 skip_test
 
/dev/ttyS1, Line 1, UART: 16550A, Port: = 0x02f8,=20 IRQ: 3
        Baud_base: 115200,=20 close_delay: 50, divisor: = 0
       =20 closing_wait: 3000
        Flags:=20 spd_normal skip_test
 
/dev/ttyS2, Line 2, UART: 16550A, Port: = 0xd000,=20 IRQ: 10
        Baud_base: 115200, = close_delay: 50, divisor: = 0
       =20 closing_wait: 3000
        Flags:=20 spd_normal skip_test
 
/dev/ttyS3, Line 3, UART: 16550A, Port: = 0xd400,=20 IRQ: 10
        Baud_base: 115200, = close_delay: 50, divisor: = 0
       =20 closing_wait: 3000
        Flags:=20 spd_normal skip_test
 
/dev/ttyS4, Line 4, UART: 16550A, Port: = 0xc000,=20 IRQ: 10
        Baud_base: 115200, = close_delay: 50, divisor: = 0
       =20 closing_wait: 3000
        Flags:=20 spd_normal skip_test
 
/dev/ttyS5, Line 5, UART: 16550A, Port: = 0xc400,=20 IRQ: 10
        Baud_base: 115200, = close_delay: 50, divisor: = 0
       =20 closing_wait: 3000
        Flags:=20 spd_normal skip_test
 
/dev/ttyS6, Line 6, UART: 16550A, Port: = 0xc800,=20 IRQ: 10
        Baud_base: 115200, = close_delay: 50, divisor: = 0
       =20 closing_wait: 3000
        Flags:=20 spd_normal skip_test
 
Port that works on IRQ 3 comes from = motherboard and=20 it works fine.
All other portsworking on IRQ10 are = from NetMos=20 card and looks to be fine but do not work.
 
 
From the PCI side it looks like = this:
 
[root at turtle1 ~]# /sbin/lspci = -vvvx
00:0b.0 Serial controller: NetMos = Technology PCI=20 9845 Multi-I/O Controller (rev 01) (prog-if 02=20 [16550])
        Subsystem: LSI = Logic /=20 Symbios Logic 0P6S (6 port 16550a serial=20 card)
        Control: I/O+ Mem+=20 BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ = FastB2B-=20 DisINTx-
        Status: Cap- = 66MHz- UDF-=20 FastB2B+ ParErr- DEVSEL=3Dmedium >TAbort- <TAbort- <MAbort- = >SERR-=20 <PERR- INTx-
        Interrupt: = pin A=20 routed to IRQ 10
        Region 0: = I/O=20 ports at c000 [size=3D8]
        = Region 1:=20 I/O ports at c400 = [size=3D8]
        Region=20 2: I/O ports at c800 = [size=3D8]
       =20 Region 3: I/O ports at cc00=20 [size=3D8]
        Region 4: I/O = ports at=20 d000 [size=3D8]
        Region 5: = I/O ports=20 at d400 [size=3D16]
        Kernel = driver in=20 use: serial
        Kernel = modules:=20 parport_serial
00: 10 97 45 98 43 01 80 02 01 02 00 07 08 20 00 = 00
10: 01=20 c0 00 00 01 c4 00 00 01 c8 00 00 01 cc 00 00
20: 01 d0 00 00 01 d4 00 = 00 00=20 00 00 00 00 10 06 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 00 = 00
 
 
 
I looked at the other posts and noticed = that=20 'Kernel driver in use: serial' in my case is 'Kernel driver in use: = parport_serial' in some other cases. I am not sure whether this is a = death end=20 or not but have no clue how to change the driver = anyway. 
 
I can configure ports without any = issues but when I=20 try to use minicom to send/receive data it simply does not=20 work.
 
Could anyone comment on this/help = please?=20
 
Many Thanks!
 
Cheers
Marek 
 
 
 
 
 
 
------=_NextPart_000_000B_01C996BC.58F689E0--