- From: Spiller, Alexander <Alexander.Spiller_at_ipa.fraunhofer.de>
- Date: Thu, 15 Feb 2007 18:29:31 +0100
Hello community,
I'm using a NI DAQ-6062E together with RTAI 3.4 and Comedi 0.7.73.
I'm getting into trouble with comedi_config, it says it cannot find
an unshared interrupt. But I can't see the problem.
#####
## A comedi_config /dev/comedi0 ni_mio_cs leads to:
Configure failed!: Invalid argument
Check kernel log for more information
Possible reasons for failure:
## And dmesg says:
[29155.884364] comedi0: ni_mio_cs: DAQCard: io 0xd100, irq 3,
DAQCard-6062Ecomedi: cannot get unshared interrupt, will not use RT
interrupts.
[29155.884381] irq not available
## In the first line after ...-6062E a linefeed should be inserted, I
guess.
## Doing cat /proc/interrupts gives:
CPU0
0: 968800 XT-PIC timer
1: 11980 XT-PIC i8042
2: 0 XT-PIC cascade
7: 1 XT-PIC parport0
8: 3 XT-PIC rtc
11: 211678 XT-PIC uhci_hcd:usb1, uhci_hcd:usb2,
uhci_hcd:usb3, yenta, Intel 82801CA-ICH3, yenta, yenta, eth0
12: 104 XT-PIC i8042
14: 16401 XT-PIC ide0
15: 34450 XT-PIC ide1
NMI: 0
ERR: 0
## So IRQ 3 seems to be free. So where's the Problem?
##
## A "lspcmcia -v" says:
(snip)
Socket 2 Bridge: [yenta_cardbus] (bus ID: 0000:02:0b.1)
Configuration: state: on ready: unknown
Voltage: 5.0V Vcc: 5.0V Vpp: 0.0V
Socket 2 Device 0: [ni_mio_cs] (bus ID: 2.0)
Configuration: state: on
Product Name: National Instruments DAQCard-6062E
Identification: manf_id: 0x010b card_id: 0x02c4
prod_id(1): "National Instruments" (0xcbfae091)
prod_id(2): "DAQCard-6062E" (0x6e830e3a)
prod_id(3): --- (---)
prod_id(4): --- (---)
## Call to "pccardctl ls":
Socket 0 Bridge: [yenta_cardbus] (bus ID: 0000:02:0a.0)
Socket 0 Device 0: [-- no driver --] (bus ID: 0.0)
Socket 1 Bridge: [yenta_cardbus] (bus ID: 0000:02:0b.0)
Socket 2 Bridge: [yenta_cardbus] (bus ID: 0000:02:0b.1)
Socket 2 Device 0: [ni_mio_cs] (bus ID: 2.0)
## "lspci -v" tells me:
(snip)
02:0a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus
Controller (rev 01)
Subsystem: Lucent Technologies Unknown device ab01
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at fce00000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=04, sec-latency=176
Memory window 0: 30000000-31fff000 (prefetchable)
Memory window 1: 38000000-39fff000
I/O window 0: 0000d000-0000d0ff
I/O window 1: 0000d400-0000d4ff
16-bit legacy interface ports at 0001
(snip)
#####
(comedi_config /dev/comedi0 ni_mio_cs 0xd100,3 --> same problem)
So what can I do? May I have to "clean up" interrupt 11 so only "yenta"
is using this interrupt?
Any help is appreciated.
Alexander Spiller
Received on 2007-02-15Z17:29:31