From: Alexis Berlemont <berlemont.hauw@domain.hid>
To: Ettore Pedretti <epedrett@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Help on analogy_ni_pcimio (Alexis Berlemont?)
Date: Thu, 07 Jan 2010 23:18:55 +0100 [thread overview]
Message-ID: <4B465DCF.5080003@domain.hid> (raw)
In-Reply-To: <4bed572e1001071124x55a964f8u22558c05c2a4485c@domain.hid>
Ettore Pedretti wrote:
> Hi,
>
> I did not quite understand how to checkout the analogy branch. When I
> do git branch -a either in xenomai-head or in xenomai-2.5 I get only:
>
> * master
> origin/HEAD
> origin/master
>
> no other branch is available for checkout. I'm obviously missing something.
The analogy branch is located in my repository. So you need to add my
repository as a remote one:
git remote add xenomai-abe git://xenomai.org/xenomai-abe.git
git fetch xenomai-abe
Now, the branch should be available:
git branch -r
...
xenomai-abe/analogy
...
You just have to create a new branch on your repo:
git branch --track xenomai-abe/analogy analogy
>
> I tried to apply the patch but it failed. At the end I edited
> mio_common.c directly. I hope I did not introduce any error.
> Everything compiled and installed fine.
>
> The attach command did not complain this time:
>
> analogy_config analogy0 analogy_ni_pcimio
>
> The error trace is attached (dmesg_07Jan2010.txt). I also attached the
> kernel config as you asked: (config_analogy).
>
> However the device /dev/analogy0 does not seem to be created.
>
> The content of /proc/analogy/drivers is:
>
> -- Analogy drivers --
>
> | idx | driver name
> | 00 | analogy_ni_pcimio
> | 01 | analogy_8255
>
> /proc/analogy/devices is:
>
> -- Analogy devices --
>
> | idx | status | driver
> | 00 | Linked | analogy_ni_pcimio
> | 01 | Unused | No driver
> | 02 | Unused | No driver
> | 03 | Unused | No driver
> | 04 | Unused | No driver
> | 05 | Unused | No driver
> | 06 | Unused | No driver
> | 07 | Unused | No driver
> | 08 | Unused | No driver
> | 09 | Unused | No driver
>
> /proc/analogy/00-analogy_ni_pcimio
>
> -- Subdevices --
>
> | idx | type
> | 00 | Unused subdevice
> | 01 | Analog output subdevice
> | 02 | Digital input/output subdevice
> | 03 | Unused subdevice
> | 04 | Unused subdevice
> | 05 | Calibration subdevice
> | 06 | Memory subdevice
> | 07 | Digital input/output subdevice
> | 08 | Unused subdevice
> | 09 | Serial subdevice
> | 10 | Unused subdevice
> | 11 | Counter subdevice
> | 12 | Counter subdevice
> | 13 | Counter subdevice
>
> When I try cmd_write I get this
>
> cmd_write: triggering failed (ret=-16)
>
> I was expecting complaints about /dev/analogy0 not existing. I'm confused.
>
> Progress though!
>
> Ettore
>
Alexis.
prev parent reply other threads:[~2010-01-07 22:18 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-22 19:35 [Xenomai-help] Help on analogy_ni_pcimio (Alexis Berlemont?) Ettore Pedretti
2009-11-22 22:41 ` Alexis Berlemont
[not found] ` <200911222337.02840.alexis.berlemont@domain.hid>
2009-11-23 8:28 ` Ettore Pedretti
2009-11-23 12:24 ` Alexis Berlemont
2009-11-23 17:26 ` Ettore Pedretti
2009-11-23 22:10 ` Alexis Berlemont
2009-11-24 21:34 ` Ettore Pedretti
2009-11-24 22:51 ` Alexis Berlemont
2009-11-24 22:57 ` Alexis Berlemont
2009-11-26 8:22 ` Ettore Pedretti
2009-11-26 9:34 ` Alexis Berlemont
2009-11-26 14:22 ` Philippe Gerum
2009-11-27 0:43 ` Alexis Berlemont
2009-11-27 18:14 ` Philippe Gerum
2009-11-27 18:30 ` Philippe Gerum
2009-11-26 23:38 ` Ettore Pedretti
2009-11-27 0:47 ` Alexis Berlemont
2009-11-29 23:02 ` Alexis Berlemont
2009-11-30 8:41 ` Ettore Pedretti
2009-12-02 23:21 ` Alexis Berlemont
2009-12-15 15:41 ` Ettore Pedretti
2009-12-15 23:49 ` Alexis Berlemont
2009-12-16 12:58 ` Ettore Pedretti
2009-12-18 21:32 ` Alexis Berlemont
2010-01-05 18:15 ` Ettore Pedretti
2010-01-05 22:34 ` Alexis Berlemont
2010-01-06 13:57 ` Ettore Pedretti
2010-01-06 22:15 ` Alexis Berlemont
2010-01-07 19:24 ` Ettore Pedretti
2010-01-07 21:58 ` Alexis Berlemont
2010-01-08 11:14 ` Ettore Pedretti
2010-02-09 17:21 ` Felipe Brandão Cavalcanti
2010-02-10 23:00 ` Alexis Berlemont
2010-02-10 23:03 ` Alexis Berlemont
2010-01-07 22:18 ` Alexis Berlemont [this message]
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=4B465DCF.5080003@domain.hid \
--to=berlemont.hauw@domain.hid \
--cc=epedrett@domain.hid \
--cc=xenomai@xenomai.org \
/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.