Thanks Hadrien,
I've already enabled the analogy driver in the kernel configuration and this is confirmed since I have all the analogy and ni modules loaded...

Danilo De Lorenzo, PhD
NearLab - Bioengineering Department
Politecnico di Milano, via Colombo 40, 20133 Milan, Italy
www.nearlab.polimi.it

email: [email protected]
phone: +39 02-2399-9013
fax: +39 02-2399-9003


On 06/06/2012 10:51 AM, Hadrien Caron wrote:
Hello Danilo,

I am no expert, but I had a similar issue when I forgot to enable the analogy driver
in the kernel configuration (through menuconfig for example).

hope it helps,

Hadrien

On Wed, Jun 6, 2012 at 10:07 AM, Danilo De Lorenzo <[email protected] <mailto:[email protected]>> wrote:

    Hi,
    I'm trying to make a NI-6220 acquisition board working with
    xenomai on a x86_64 patched kernel, but I'm getting the following
    error when I try to attach the device with the command:

    /usr/xenomai/sbin/analogy_config analogy0 analogy_ni_pcimio 0xc,5

    The error is:
    analogy_config: attach failed err=-2

    I know that Xenomai is working well since I can run all the
    examples (latency, etc...).

    The dmesg command gave me only this error:
    [   69.926138] Analogy: a4l_assign_driver: call(drv->attach)
    failed (ret=-2)


    Thi is the lspci output for the board:

    0c:05.0 Unassigned class [ff00]: National Instruments PCI-6220

    I also checked for shared IRQ, it seems there is no IRQ sharing
    with other devices and I also tried to change the PCI slot without
    success.

    Any help is appreciated



    _______________________________________________
    Xenomai mailing list
    [email protected] <mailto:[email protected]>
    http://www.xenomai.org/mailman/listinfo/xenomai


_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to