Přihlásit
: [1]
   |   
: Řadič sériového portu (4 porty) jak zprovoznit pod mandrivou  ( 5050 )
pecou
Newbie
*

Karma: -3
: 49


« : January 27, 2011, 00:14:48 »

Mám problém s řadičem sériového portu, kde píšou i na vlastní krabici, že má podporu v linuxu, ale mandriva ho nezná.

výpis lspci -v

01:00.0 Serial controller: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 0 (Uart) (rev 01) (prog-if 06 [16950])
        Subsystem: Oxford Semiconductor Ltd Device 0000
        Flags: medium devsel, IRQ 11
        I/O ports at a400 [size=32]
        Memory at ffcfd000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at a000 [size=32]
        Memory at ffcfc000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: serial

01:00.1 Bridge: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 1 (8bit bus) (rev 01)
        Subsystem: Oxford Semiconductor Ltd Device 0000
        Flags: medium devsel, IRQ 11
        I/O ports at ac00 [size=32]
        Memory at ffcff000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at a800 [size=32]
        Memory at ffcfe000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: serial

setserial -g /dev/ttyS*                                   
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3                                         
/dev/ttyS2, UART: 16950/954, Port: 0xa400, IRQ: 11
/dev/ttyS3, UART: 16950/954, Port: 0xa408, IRQ: 11

jsou zde jen dva porty, ve skutečnosti jsou 4 (první dva jsou board)

V drakhardware je jako neznámé zařízení:

Identifikace
Dodavatel: ‎Oxford Semiconductor Ltd
Popis: ‎OX16PCI954 (Quad 16950 UART) function 0 (Uart)
Třída médií: ‎Serial controller
Připojení
Sběrnice: ‎PCI
PCI doména: ‎0
Sběrnice PCI #: ‎1
Zařízení PCI #: ‎0
Funkce PCI #: ‎0
PCI revize: ‎0x01
ID dodavatele: ‎0x1415
ID zařízení: ‎0x9501
Sub ID dodavatele: ‎0x1415
Sub ID zařízení: ‎0
Ostatní
Modul: ‎neznámý

Hobil
Hero Member
*****

Karma: 58
: 4 006


« #1 : January 27, 2011, 19:37:22 »

rozumim tomu dobre, ze vypis z lspci je jen z tech onboardovych portu?

Vypis z dmesg by nebyl?

typ karty by nebyl? (presna identifikace vyrobku)

Podle vypisu z ovladaciho centra (‎OX16PCI954) by melo jit (take?) o oxford semiconductor, takze fakt nevim, ktery vypis je k cemu.

Mozna by pomohlo, kdyby jsi kartu vyndal, udelal znovu ty vypisy, at jasne vime, jak se hlasi ty seriaky z desky a jak se pripadne vypisy zmeni, kdyz zasunes tu kartu. Objevi se neco noveho v pcimodules?

H.

« : January 27, 2011, 19:41:27 Hobil »

Benzínem se nemá hasit ohniště
teď už je to jedno, ale pro příště... (K.P.)
D.Palamarchuk
Sr. Member
****

Karma: 7
: 377

156814113
« #2 : January 27, 2011, 20:11:11 »

Seriajky s zakladni desky asi ti,ktere maji IRQ 3 a 4. Ti, ktere jsou asi na pridavne karte maji IRQ11. A dva proty sdileji stejne IRQ, coz asi i je ten problem proc to nefunguje.

PC: AMD AthlonII X4 2,6GHz 4GB RAM Zotac NVidia GT240 AMP 512MB VRAM Mageia 2 64bit KDE 4.8.5
Netbook: HP Pavilion dm-1 Intel Pentium U4100 1.3GHz 3GB RAM Intel X4500MHD Mageia 2 64bit KDE 4.8.5
pecou
Newbie
*

Karma: -3
: 49


« #3 : January 27, 2011, 20:35:07 »

Posunul jsem se o kousek dál....
podle nějaké diskuse na netu se musí zapnout podpora v kernelu pro více jak 4 serial porty, tak jsem dělal pokusy a vyjelo po vlastní kompilaci kernelu zatím toto

/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: 16450, Port: 0xac00, IRQ: 11
/dev/ttyS3, UART: 16450, Port: 0xac08, IRQ: 11
/dev/ttyS4, UART: 16950/954, Port: 0xa400, IRQ: 16
/dev/ttyS5, UART: 16950/954, Port: 0xa000, IRQ: 16
/dev/ttyS6, UART: 16950/954, Port: 0xa410, IRQ: 11
/dev/ttyS7, UART: 16950/954, Port: 0xa800, IRQ: 16

ta externí karta je ta 16950/954

bohužel zatím stále nefunguje, porty nekomunikují, zvláštní je, že se objevily porty 16450, to netuším co je za zařízení...

budu hledat dál...

toto je ta karta http://www.lycom.com.tw/IO104.htm
pecou
Newbie
*

Karma: -3
: 49


« #4 : January 29, 2011, 14:11:42 »

dmesg  (jedná se o S4 až S7)

Serial: 8250/16550 driver, 8 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
serial 0000:00:1f.6: PCI INT B -> Link[LNKB] -> GSI 5 (level, low) -> IRQ 5
serial 0000:00:1f.6: PCI INT B disabled
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
serial 0000:01:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
0000:01:00.0: ttyS4 at I/O 0xa400 (irq = 11) is a 16C950/954
0000:01:00.0: ttyS5 at I/O 0xa408 (irq = 11) is a 16C950/954
0000:01:00.0: ttyS6 at I/O 0xa410 (irq = 11) is a 16C950/954
0000:01:00.0: ttyS7 at I/O 0xa418 (irq = 11) is a 16C950/954
serial 0000:01:00.1: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
0000:01:00.1: ttyS2 at I/O 0xac00 (irq = 11) is a 16450
0000:01:00.1: ttyS3 at I/O 0xac08 (irq = 11) is a 16450
Couldn't register serial port 0000:01:00.1: -28
serial8250 serial8250.3: unable to register port at index 0 (IO1a0 MEM0 IRQ9): -28
serial8250 serial8250.3: unable to register port at index 1 (IO1a8 MEM0 IRQ9): -28
serial8250 serial8250.3: unable to register port at index 2 (IO1b0 MEM0 IRQ9): -28
serial8250 serial8250.3: unable to register port at index 3 (IO1b8 MEM0 IRQ9): -28
serial8250 serial8250.3: unable to register port at index 4 (IO2a0 MEM0 IRQ5): -28
serial8250 serial8250.3: unable to register port at index 5 (IO2a8 MEM0 IRQ5): -28
serial8250 serial8250.3: unable to register port at index 6 (IO2b0 MEM0 IRQ5): -28
serial8250 serial8250.3: unable to register port at index 7 (IO2b8 MEM0 IRQ5): -28
serial8250 serial8250.4: unable to register port at index 0 (IO330 MEM0 IRQ4): -28
serial8250 serial8250.4: unable to register port at index 1 (IO338 MEM0 IRQ4): -28
serial8250 serial8250.5: unable to register port at index 0 (IO100 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 1 (IO108 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 2 (IO110 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 3 (IO118 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 4 (IO120 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 5 (IO128 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 6 (IO130 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 7 (IO138 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 8 (IO140 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 9 (IO148 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 10 (IO150 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 11 (IO158 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 12 (IO160 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 13 (IO168 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 14 (IO170 MEM0 IRQ12): -28
serial8250 serial8250.5: unable to register port at index 15 (IO178 MEM0 IRQ12): -28
serial8250 serial8250.6: unable to register port at index 0 (IO100 MEM0 IRQ5): -28
serial8250 serial8250.6: unable to register port at index 1 (IO108 MEM0 IRQ5): -28
serial8250 serial8250.6: unable to register port at index 2 (IO110 MEM0 IRQ5): -28
serial8250 serial8250.6: unable to register port at index 3 (IO118 MEM0 IRQ5): -28
serial8250 serial8250.7: unable to register port at index 0 (IO302 MEM0 IRQ3): -28
serial8250 serial8250.7: unable to register port at index 1 (IO302 MEM0 IRQ3): -28
serial8250 serial8250.7: unable to register port at index 2 (IO302 MEM0 IRQ3): -28
serial8250 serial8250.7: unable to register port at index 3 (IO302 MEM0 IRQ3): -28
serial8250 serial8250.7: unable to register port at index 4 (IO302 MEM0 IRQ3): -28
serial8250 serial8250.7: unable to register port at index 5 (IO302 MEM0 IRQ3): -28
serial8250 serial8250.7: unable to register port at index 6 (IO302 MEM0 IRQ3): -28
serial8250 serial8250.7: unable to register port at index 7 (IO302 MEM0 IRQ3): -28
serial8250 serial8250.7: unable to register port at index 8 (IO302 MEM0 IRQ3): -28
serial8250 serial8250.7: unable to register port at index 9 (IO302 MEM0 IRQ3): -28
serial8250 serial8250.7: unable to register port at index 10 (IO302 MEM0 IRQ3): -28
serial8250 serial8250.7: unable to register port at index 11 (IO302 MEM0 IRQ3): -28
: [1]
   |   
 
: