From mboxrd@z Thu Jan 1 00:00:00 1970 Sender: Alexis Berlemont Message-ID: <4B465DCF.5080003@domain.hid> Date: Thu, 07 Jan 2010 23:18:55 +0100 From: Alexis Berlemont MIME-Version: 1.0 References: <4bed572e0911221135s64fc4726x1cd7235f116e11a4@domain.hid> <4B16F674.5090200@domain.hid> <4bed572e0912150741l37bea514t773c71f645fbeba5@domain.hid> <4B28208B.7000305@domain.hid> <4bed572e0912160458i32834958q9512476f1603979d@domain.hid> <4B2BF4D9.6000503@domain.hid> <4bed572e1001051015l21e71e8eyaec207701c2e21ad@domain.hid> <4B43BE72.6040101@domain.hid> <4bed572e1001060557x12ffd808k193573c565830a1b@domain.hid> <4B450B7E.80106@domain.hid> <4bed572e1001071124x55a964f8u22558c05c2a4485c@domain.hid> In-Reply-To: <4bed572e1001071124x55a964f8u22558c05c2a4485c@domain.hid> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Help on analogy_ni_pcimio (Alexis Berlemont?) List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ettore Pedretti Cc: xenomai@xenomai.org 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.