From: Danilo De Lorenzo <danilo.delorenzo@mail.polimi.it>
To: Hadrien Caron <hadrienstegosaure@gmail.com>
Cc: Xenomai@xenomai.org
Subject: Re: [Xenomai] analogy attach failed NI-6220
Date: Wed, 06 Jun 2012 11:13:06 +0200 [thread overview]
Message-ID: <4FCF1F22.2030203@mail.polimi.it> (raw)
In-Reply-To: <CA+eKTkb6m22yqmckZusuG+zdzx8pSn1To_hOcgXdEF7ini48sw@mail.gmail.com>
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: danilo.delorenzo@mail.polimi.it
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
> <danilo.delorenzo@mail.polimi.it
> <mailto:danilo.delorenzo@mail.polimi.it>> 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
> Xenomai@xenomai.org <mailto:Xenomai@xenomai.org>
> http://www.xenomai.org/mailman/listinfo/xenomai
>
>
next prev parent reply other threads:[~2012-06-06 9:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-06 8:07 [Xenomai] analogy attach failed NI-6220 Danilo De Lorenzo
2012-06-06 8:51 ` Hadrien Caron
2012-06-06 9:13 ` Danilo De Lorenzo [this message]
2012-06-06 18:25 ` Danilo De Lorenzo
[not found] ` <CAMesUR4rU23ukpC-E0hYWAZ8tiyv4+dzKvyoDGr2ctP5F7vs1g@mail.gmail.com>
2012-06-15 18:06 ` Danilo De Lorenzo
2012-06-20 22:21 ` Alexis Berlemont
2012-06-21 17:01 ` Danilo De Lorenzo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FCF1F22.2030203@mail.polimi.it \
--to=danilo.delorenzo@mail.polimi.it \
--cc=Xenomai@xenomai.org \
--cc=hadrienstegosaure@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.