- From: Szabo B, Gabor (MED, Student) <"Szabo>
- Date: Fri, 21 Feb 2003 09:31:30 +0100
Hi!
> An I/O base address of 100 (decimal) is probably not a good idea.
> 0x200 would be a better place, assuming that area is free. (Note
> that 100 (decimal) is in the middle of your keyboard controller.)
Sorry the right value is 0x100. This value made by isapnp auto command.
/proc/isapnp:
Card 1 'NIC2600:National Instruments, AT-MIO-64E-3' PnP version 1.0
Logical device 0 'NIC2600:Unknown'
Supported registers 0x2
Device is active
Active port 0x100
Active IRQ 12 [0x2]
Active DMA 5,6
Resources 0
Priority acceptable
Port 0x20-0xffe0, align 0x1f, size 0x20, 16-bit address decoding
IRQ 3,4,5,7,10,11,12,15 High-Edge
DMA 5,6,7 16-bit word-count compatible
DMA 5,6,7 16-bit word-count compatible
Alternate resources 0:1
Priority acceptable
Port 0x20-0xffe0, align 0x1f, size 0x20, 16-bit address decoding
IRQ 3,4,5,7,10,11,12,15 High-Edge
DMA 5,6,7 16-bit word-count compatible
Alternate resources 0:2
Priority acceptable
Port 0x20-0xffe0, align 0x1f, size 0x20, 16-bit address decoding
IRQ 3,4,5,7,10,11,12,15 High-Edge
Alternate resources 0:3
Priority acceptable
Port 0x20-0xffe0, align 0x1f, size 0x20, 16-bit address decoding
IRQ <none> High-Edge
Logical device 1 'NIC2600:Unknown'
Device is active
Resources 0
Priority acceptable
DMA 5,6,7 16-bit word-count compatible
Alternate resources 0:1
Priority acceptable
DMA <none> 16-bit word-count compatible
/proc/ioports:
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0100-011f : ni_atmio
0170-0177 : ide1
01f0-01f7 : ide0
0213-0213 : isapnp read
02f8-02ff : serial(set)
....
> Is interrupt 12 shared with another device? That will cause
> problems if you also want to use RTAI.
/proc/interrupts:
CPU0
0: 22675282 RT SPVISD timer
1: 81534 RT SPVISD keyboard
2: 0 RT SPVISD cascade
10: 528318 RT SPVISD eth0
11: 0 RT SPVISD usb-uhci
12: 0 RT SPVISD ni_atmio
14: 23668 RT SPVISD ide0
15: 3 RT SPVISD ide1
NMI: 0
ERR: 0
I tested the 0x200 port but the comedi_config return error.
Thank you very much!
Gabor
Received on 2003-02-21Z08:31:30