[Xenomai-core] Ipipe xenomai and LTTng

2006-01-22 Thread Alexis Berlemont
Hi, The patch available at http://download.gna.org/adeos/patches/v2.6/i386/combo/adeos-ipipe-2.6.14-i386-1.1-00-lttng-0.5.0a.patch is a Ipipe + LTTng patch for the 2.6.14.5-i386 kernel release. In order to trace LTTng events in Xenomai, the patch xenomai-2.1-rc1-lttng-05.patch.bz2 is

[Xenomai-core] Re: COMEDI over RTDM (was: rtdm_event_timedwait hang-up)

2006-03-21 Thread Alexis Berlemont
Hi, But there are plenty of things I am not happy with : - the original comedilib version is not really well suited for rtdm. In this library for many reasons; for example, you can find calls to malloc/free Oops, not so nice. functions. If I stick to the original implementation, I

[Xenomai-core] Ipipe xenomai and LTTng

2006-01-23 Thread Alexis Berlemont
Hi, The patch available at http://download.gna.org/adeos/patches/v2.6/i386/combo/adeos-ipipe-2.6.14-i386-1.1-00-lttng-0.5.0a.patch is a Ipipe + LTTng patch for the 2.6.14.5-i386 kernel release. In order to trace LTTng events in Xenomai, the patch xenomai-2.1-rc1-lttng-05.patch.bz2 is

[Xenomai-core] Re: LTTng intergration roadmap

2006-05-15 Thread Alexis Berlemont
Hi, the need for a high-level tracing tool constantly increases with the growing code base of Xenomai applications. Yesterday I started a short discussion with Alexis about the status of his LTTng combo patch, the Xenomai integration, and the advances of LTTng itself. But there are

[Xenomai-core] Re: Comedi4xenomai (Was: Re: [Orocos-Dev] [Bug 115] [Project] Move device drivers to orocos-components)

2006-08-01 Thread Alexis Berlemont
Hi, This could change fast with e.g. comedi4xenomai in the pipeline... Do you have more information about this? [putting Alexis Berlemont in cc:, as he is probably the one who can answer this question] I haven't seen anything on the xenomai MLs lately. AFAIS from http://svn.gna.org

Re: [Xenomai-core] [PATCH] comedi: Fix include for do_div

2008-07-07 Thread Alexis Berlemont
Hi, Sorry for answering so lately, I was not at home the last four days. Required with 2.6.26 where there is no more calc64. And asm/div64.h is what you actually want. Thanks. PS: Kernel-style reformatting would be nice - one day... :- Today or tomorrow, that sould be done. Alexis.

[Xenomai-core] skin RTDM in user mode

2008-09-02 Thread Alexis Berlemont
Hi, In ksrc/skins/rtdm/API.CHANGES text file, the TODO list indicates that someone may be working on the development of the user-side RTDM skin (for user-space drivers). Is anyone working on that ? I was wondering what was to be done: - Is it just the porting of the kernel RTDM API

Re: [Xenomai-core] skin RTDM in user mode

2008-09-02 Thread Alexis Berlemont
Hi, - Or do you expect a more complete solution like fuse or fusd ? There are a few tricky parts when you want a seamless driver API, allowing to test or even use RTDM drivers in userspace: - IRQ handling (means: forwarding, acknowledging, sharing). You won't be able to achieve 100%

Re: [Xenomai-core] Problems using rt_intr_wait on PowerPC

2008-09-29 Thread Alexis Berlemont
Hi, Based on the user_irq.c I created a simple test program for my PPC405GPr board. We have a FPGA which generates an interrupt every millisecond. It seems to work as simple test (fire it once and assure that it sets the interrupt-bit). When I connect it to the irq_server however (letting

Re: [Xenomai-core] application porting to Comedi4RTDM

2008-10-16 Thread Alexis Berlemont
Hi, Sorry for answering so late (not at home, no access to my private mails, not even able to answer your mail properly). Even if the Comedi API has been slightly modified, the Comedi principles remain the same. Consequently, I think you will be able to port your application to Comedi4RTDM.

Re: [Xenomai-core] Comedi buffer management.

2008-10-20 Thread Alexis Berlemont
Hi Gilles, Sorry for answering so late. I was unable to regularly check my private mails the last week; I missed yours. I commited in trunk a fix of Xenomai heap management for the highmem case. What the patch does is essentially replacing __va_to_kva (which does not work correctly with

[Xenomai-core] Unstable driver integration policy

2008-11-18 Thread Alexis Berlemont
Hi, I would like to find a way to populate the Comedi drivers set. However, I am stuck by a simple fact: I have no acquisition board to validate a least driver... Starting from here, I am trying to find out what should be the proper method to provide non-validated drivers to anybody inclined

Re: [Xenomai-core] Unstable driver integration policy

2008-11-23 Thread Alexis Berlemont
Hi Philippe, Hi Jan, Many thanks for your answers. I would like to find a way to populate the Comedi drivers set. However, I am stuck by a simple fact: I have no acquisition board to validate a least driver... Starting from here, I am trying to find out what should be the proper

[Xenomai-core] [PATCH 2/2] RTDM in user mode

2008-12-30 Thread Alexis Berlemont
...@gmx.net. + * Copyright (C) 2008 Alexis Berlemont alexis.berlem...@free.fr. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License

[Xenomai-core] [PATCH 1/2] RTDM in user mode

2008-12-30 Thread Alexis Berlemont
/device.c (revision 0) @@ -0,0 +1,569 @@ +/* + * Copyright (C) 2005 Joerg Langenberg joerg.langenb...@gmx.net. + * Copyright (C) 2008 Alexis Berlemont alexis.berlem...@free.fr. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser

Re: [Xenomai-core] [PATCH 0/2] RTDM in user mode

2009-01-04 Thread Alexis Berlemont
Hi, I already created some local branch with your patches and compiled them. Only minor issues visible: please check for pointer-int conversion warnings on 64-bit - and please add spaces after if, while, for etc. :). I will look into this in more details soon. OK. Did you already tried to

Re: [Xenomai-core] Comedi drivers in Xenomai porting/integration status ?

2009-02-16 Thread Alexis Berlemont
Hi, Hello all! I would like to know what is the current status of the Comedi port to Xenomai. Should all the specific Comedi drivers (ni_pcimio, ni_mite) be available for testing (by me or someone with a supported DAQ card) and (if ok) for futher integration ? I am still working on that

Re: [Xenomai-core] Comedi drivers in Xenomai porting/integration status ?

2009-02-17 Thread Alexis Berlemont
Hi, Peter Soetens peter.soet...@fmtc.be writes: On Tuesday 17 February 2009 10:41:10 Jan Kiszka wrote: Peter Soetens wrote: These are the facts we observed: * The Xenomai/Comedi port breaks the complete Comedi API, user space *and* kernel space. (We thought/assumed that only the user

Re: [Xenomai-core] Comedi drivers in Xenomai porting/integration status ?

2009-02-18 Thread Alexis Berlemont
Hi, That was the reason why, I was really suprised to find Comedi integrated into the mainline kernel. What strikes me more is that Comedi seems to be left as is. Do you think, it will be cleaned up or reworked ? Without rework Comedi will not make into mainline (I wouldn't call the

[Xenomai-core] Pull request for head

2009-09-15 Thread Alexis Berlemont
The following changes since commit 13d66eb4c8f1648614095d43dd529a3c98fc5278: Philippe Gerum (1): x86: upgrade I-pipe support to 2.6.31-x86-2.4-05 are available in the git repository at: ssh+git://g...@xenomai.org/xenomai-abe.git comedi Alexis Berlemont (46): Replace

[Xenomai-core] Comedi/RTDM becomes Analogy.

2009-09-24 Thread Alexis Berlemont
Hi, About two years ago, I started an effort aimed at porting the Comedi framework over RTDM. The goal was to provide, for the acquisition applications, strict determinism from kernel to user space. As the work progressed, it seemed to me that such effort should be an opportunity to improve

[Xenomai-core] Some thoughts on Analogy kernel side framework

2009-10-07 Thread Alexis Berlemont
Hi, The last week, I have been working on the global architecture of the analogy project. I tried to sum-up the main characteristics of Comedi. That was a start to figure out what shape analogy will get. Here are some notes on that subject: 1) Comedi drivers are not common Linux drivers. In

Re: [Xenomai-core] Some thoughts on Analogy kernel side framework

2009-10-08 Thread Alexis Berlemont
Hi, On Thu, Oct 8, 2009 at 7:37 PM, Philippe Gerum r...@xenomai.org wrote: On Thu, 2009-10-08 at 01:26 +0200, Alexis Berlemont wrote: Hi, The last week, I have been working on the global architecture of the analogy project. I tried to sum-up the main characteristics of Comedi

Re: [Xenomai-core] Some thoughts on Analogy kernel side framework

2009-10-11 Thread Alexis Berlemont
On Friday 09 October 2009 10:04:07 you wrote: On Fri, 2009-10-09 at 00:00 +0200, Alexis Berlemont wrote: If I understand well, I have gone too far too soon; the idea should be to keep the current framework as it is for 2.5. However, my former mail was not a definitive plan. The first goal

Re: [Xenomai-core] Some thoughts on Analogy kernel side framework

2009-10-12 Thread Alexis Berlemont
On Monday 12 October 2009 11:30:11 you wrote: On Mon, 2009-10-12 at 00:51 +0200, Alexis Berlemont wrote: On Friday 09 October 2009 10:04:07 you wrote: On Fri, 2009-10-09 at 00:00 +0200, Alexis Berlemont wrote: If I understand well, I have gone too far too soon; the idea should

[Xenomai-core] [PULL REQUEST] analogy renaming + many bugfixes

2009-10-19 Thread Alexis Berlemont
The following changes since commit 8c847c4bf43fa65c3ec541850ecdb7e96113e94f: Philippe Gerum (1): powerpc: fix commit number for 2.6.30.3-DENX are available in the git repository at: ssh+git://g...@xenomai.org/xenomai-abe.git analogy Alexis Berlemont (18): Remove useless

Re: [Xenomai-core] Some thoughts on Analogy kernel side framework

2009-10-20 Thread Alexis Berlemont
On Saturday 17 October 2009 19:55:41 Philippe Gerum wrote: On Mon, 2009-10-12 at 23:52 +0200, Alexis Berlemont wrote: On Monday 12 October 2009 11:30:11 you wrote: On Mon, 2009-10-12 at 00:51 +0200, Alexis Berlemont wrote: On Friday 09 October 2009 10:04:07 you wrote: On Fri, 2009

Re: [Xenomai-core] [PULL REQUEST] analogy renaming + many bugfixes

2009-10-25 Thread Alexis Berlemont
Hi, On Sunday 25 October 2009 12:08:58 Philippe Gerum wrote: On Mon, 2009-10-19 at 23:18 +0200, Alexis Berlemont wrote: The following changes since commit 8c847c4bf43fa65c3ec541850ecdb7e96113e94f: Philippe Gerum (1): powerpc: fix commit number for 2.6.30.3-DENX are available

[Xenomai-core] [PULL REQUEST] Analogy: many bugfixes

2009-10-27 Thread Alexis Berlemont
Hi Philippe, Sorry, I forgot the prefix rule for the short log for many commits. I will take more care starting from now. Alexis. The following changes since commit 39614e10be1d7fc5344b56646b8801cbf8756e08: Alexis Berlemont (1): Add error messages for the IOCTL interface (attach

[Xenomai-core] [PULL REQUEST] analogy: critical bugfixes for the NI PCIMIO driver

2009-11-03 Thread Alexis Berlemont
commit 255cf6b2bf8dca9dad05a1c169dcecf6e742955e: Alexis Berlemont (1): analogy: force NI TIO / MIO selections when NI PCIMIO is set are available in the git repository at: ssh+git://git.xenomai.org/xenomai-abe.git analogy Alexis Berlemont (4): analogy: force NI MITE selection when

[Xenomai-core] [PULL REQUEST] analogy: many bugfixes, doxygen updates, parport driver, insn_write

2009-11-20 Thread Alexis Berlemont
The following changes since commit e6e21a3e183f145dd1c583e60fbecda982e00c70: Alexis Berlemont (1): analogy: improve ioctl error handling are available in the git repository at: ssh+git://git.xenomai.org/xenomai-abe.git analogy Alexis Berlemont (21): analogy: fix a bug

[Xenomai-core] [PULL REQUEST] analogy: doxygen errors descriptions, headers sources fixes

2009-11-22 Thread Alexis Berlemont
The following changes since commit 76456b88f8fe8cf9885996f2c042df7d4b266df0: Alexis Berlemont (1): analogy: add error messages in instruction handling are available in the git repository at: ssh+git://git.xenomai.org/xenomai-abe.git analogy Alexis Berlemont (4): analogy: add

Re: [Xenomai-core] Build tests.

2009-12-14 Thread Alexis Berlemont
Hi Gilles, Gilles Chanteperdrix wrote: Hi, I am working on automated build tests of several configurations of Xenomai head. While running them, I found a few issues, and would need acks, since it is in parts others maintain. Alex:

Re: [Xenomai-core] digital I/O with analgoy using ni_pcmcia

2009-12-21 Thread Alexis Berlemont
Hi, Stefan Schaal wrote: Hi everybody, we have an NI6259 board working xenomai 2.5, using the analogy APIs. Read/write to analog channels is quite straightforward and can be inferred from the cmd_read and cmd_write source code. Now I would also like to use the digital I/O of this board

Re: [Xenomai-core] cmd_write

2009-12-22 Thread Alexis Berlemont
Hi, Stefan Schaal wrote: Hi, I have been trying to test the functionality of the analogy_ni_pcimio driver on a NI6259 board. I am using a linux kernel 2.6.29.5 with the xenomai-head (rc5). Doing an a4l_sync_write to an analog output channel works fine. Now I am trying to use the cmd

Re: [Xenomai-core] Build tests: analogy, blackfin, rtcan and nios2.

2009-12-22 Thread Alexis Berlemont
Hi Gilles, Gilles Chanteperdrix wrote: Hi, Since I started talking about it, I have run build tests fixing a few things here and there. The current status is this (still at the same place: http://sisyphus.hd.free.fr/~gilles/bx): * analogy: I have tried to disable some parts of analogy

Re: [Xenomai-core] cmd_write

2009-12-23 Thread Alexis Berlemont
randomly on a card to which I have a remote access. The occurences were scarce, that is the reason why this bug is still at the tail of my todo list. On your board, I suppose it happens at every try. I will try to fix this bug as soon as possible. -Stefan On Dec 22, 2009, at 16:52, Alexis Berlemont

[Xenomai-core] [PULL REQUEST] analogy: build fixes and many bug fixes.

2009-12-25 Thread Alexis Berlemont
The following changes since commit e305035eb6adc4220fe179477f3e300ad944f85c: Alexis Berlemont (1): analogy: fix bad error handling path in test programs are available in the git repository at: ssh+git://git.xenomai.org/xenomai-abe.git analogy Alexis Berlemont (22): analogy

[Xenomai-core] [PULL REQUEST] analogy: one forgotten option dependency

2009-12-25 Thread Alexis Berlemont
The following changes since commit eecb6ee65712a8b412be455344f84fc13ced555b: Alexis Berlemont (1): analogy: make the MITE option depends on the PCI option are available in the git repository at: ssh+git://git.xenomai.org/xenomai-abe.git analogy Alexis

Re: [Xenomai-core] Build tests: analogy, blackfin, rtcan and nios2.

2009-12-25 Thread Alexis Berlemont
Hi Gilles, Gilles Chanteperdrix wrote: Alexis Berlemont wrote: Hi Gilles, Gilles Chanteperdrix wrote: Hi, Since I started talking about it, I have run build tests fixing a few things here and there. The current status is this (still at the same place: http://sisyphus.hd.free.fr/~gilles

Re: [Xenomai-core] [PATCH] Sensoray 526 analogy driver

2009-12-28 Thread Alexis Berlemont
Hi Simon, Simon Boulay wrote: Hi, Here is a patch which adds the support of the Sensoray Model 526 board to analogy. Great ! I had a look at the code, that is fine for me. I just have few remarks: - some printk were left commented in the original comedi driver, you correctly translated

[Xenomai-core] [PULL REQUEST] analogy: various fixes and debug traces

2009-12-28 Thread Alexis Berlemont
://git.xenomai.org/xenomai-abe.git analogy Alexis Berlemont (5): analogy: fix a bug in the configuration of the debug trace system analogy: add a debug level threshold for drivers analogy: add debug traces in the attach procedure of the NI PCIMIO driver analogy: add some

Re: [Xenomai-core] [PATCH] Sensoray 526 analogy driver

2010-01-04 Thread Alexis Berlemont
in function compute_opts is set to 0 due to %u if I use the decimal value of ioport it works ... analogy_config analogy0 analogy_s526 3520 It seems the version you are using is not up to date, this bug was fixed two months ago: commit 01bcfd898555425e96350b306155cba429a65539 Author: Alexis

Re: [Xenomai-core] [PATCH] Sensoray 526 analogy driver

2010-01-07 Thread Alexis Berlemont
Hi, Alessio Margan @ IIT wrote: Hi, I've got a doubt about s526 driver on reading analog input. I read analog data in this way sampl_t data; a4l_insn_t insn_tab = { .type = A4L_INSN_READ, .idx_subd = idx_subd, .chan_desc = CHAN(idx_chan), .data_size = sizeof(data), .data = data};

Re: [Xenomai-core] [PATCH] Sensoray 526 analogy driver

2010-01-11 Thread Alexis Berlemont
Hi, On Mon, Jan 11, 2010 at 5:08 PM, Alessio Margan @ IIT alessio.mar...@iit.it wrote: Hi, I try to configure sensoray counters to generate PWM signal #define SUBD_CNT 0 #define SUBD_AI 1 #define SUBD_AO 2 #define SUBD_DIO 3 insn.type = A4L_INSN_CONFIG; insn.idx_subd = SUBD_COUNTER;

[Xenomai-core] [PULL REQUEST] analogy: sensoray s526 and bug fixes

2010-01-11 Thread Alexis Berlemont
: rename s526 driver (analogy_s526) Alexis Berlemont (3): analogy: fix the tests of the subdevice flags in the basic checks analogy: do not check the range if no range descriptor is found analogy: fix an ugly access in NI MIO driver Simon Boulay (8): analogy: add s526

Re: [Xenomai-core] Analogy DIO speed

2010-03-04 Thread Alexis Berlemont
to enable commands for DIO subdevices? Commands are possible with DIO subdevices. The main problem is my test application which does not handle all the cases. Thanks a lot! -Stefan On Mar 3, 2010, at 15:58, Alexis Berlemont wrote: Hi Stefan, Sorry for the late reply, I was unavailable

Re: [Xenomai-core] Analogy a4l_ioctl_bufinfo() bug?

2010-03-18 Thread Alexis Berlemont
Daniele Nicolodi wrote: Daniele Nicolodi wrote: Hello. As reported in the xenomai-help mailing list I'm investigating why a4l_mmap() is not supported for the ni pcimio driver. Hacking on the driver I discovered that, apparently, the only problem in supporting mmap of the device buffer is in

Re: [Xenomai-core] [PULL REQUEST] analogy: bug fixes

2010-03-21 Thread Alexis Berlemont
Daniele Nicolodi wrote: Alexis Berlemont wrote: The following changes since commit 8cfc1103fe1cf9e700698e8230baf562ffb5cf06: Gilles Chanteperdrix (1): x86 syscalls: make __xn_get_eip a macro are available in the git repository at: git://git.xenomai.org/xenomai

Re: [Xenomai-core] Bug in a4l_get_chan

2010-03-28 Thread Alexis Berlemont
Daniele Nicolodi wrote: Hello Alexis, I found that a4l_get_chan() in buffer.c does not work for subdevices that use a global channels description struct (mode = A4L_CHAN_GLOBAL_CHANDESC in the a4l_chdesc_t structure). The problem is that a4l_get_chan() iterates (twice) on the chan_desc

Re: [Xenomai-core] Analogy: A4L_CHAN_AREF_* and AREF_* and other macros

2010-04-04 Thread Alexis Berlemont
Hi, Daniele Nicolodi wrote: Hello Alexis, I have noticed that in Analogy headers there are two sets of macros to define channels references, one with prefix A4L_CHAN_AREF_ and the other with prefix AREF_. I think keeping both is confusing and dangerous, because similar symbols are defined

Re: [Xenomai-core] Analogy: improve a4l_find_range()

2010-04-04 Thread Alexis Berlemont
Hi, Sorry for the delay. Daniele Nicolodi wrote: Hello Alexis, I wrote a small patch to improve a4l_find_range(). As many every other functions expect to have the range specified as its idx into the struct describing the subdevice it is useful have it returned from a4l_find_range(). I also

Re: [Xenomai-core] Analogy: cancel ongoing commands when a device is closed

2010-04-05 Thread Alexis Berlemont
Hi, Daniele Nicolodi wrote: Alexis Berlemont wrote: Daniele Nicolodi wrote: After fixing analogy to permit continuous acquisition, I discovered that ongoing commands are not canceled when a device is closed (I obtain a DMA buffer owerwrite warning in the kernel log when I abruptly

Re: [Xenomai-core] Analogy: cmd_bits

2010-04-24 Thread Alexis Berlemont
Hi, Stefan Schaal wrote: I tried the new cmd_bits function today to use commands to write to a DIO device on my NI6259 board (thanks a lot, Alexis, for starting this!). Unfortunately, cmd_bits terminates with an error: r...@unix ./cmd_bits -v -s 2 0x 0x cmd_bits: device

[Xenomai-core] [PULL REQUEST] analogy bug fixes + rtdm_rt_capable related changes

2010-05-04 Thread Alexis Berlemont
The following changes since commit e9b509c9021e0134117d0fe75d11e495f0e954b7: arm: add missing #include (2010-05-04 03:44:01 +0200) are available in the git repository at: git://git.xenomai.org/xenomai-abe.git analogy Alexis Berlemont (17): analogy: fix ring-buffer issues analogy

Re: [Xenomai-core] analogy - experimental branch

2010-06-24 Thread Alexis Berlemont
Hi, Alexis Berlemont wrote: Hi Stefan, Stefan Schaal wrote: Hi Alexis, I was just wondering whether the new experimental branch in your git repository is something that can be tried already. No. Not yet. This branch is aimed at temporarily holding the corrections I am

Re: [Xenomai-core] Analogy: cancel ongoing commands when a device is closed

2010-06-24 Thread Alexis Berlemont
Hi, Alexis Berlemont wrote: Hi, Daniele Nicolodi wrote: Alexis Berlemont wrote: Daniele Nicolodi wrote: After fixing analogy to permit continuous acquisition, I discovered that ongoing commands are not canceled when a device is closed (I obtain a DMA buffer owerwrite warning

[Xenomai-core] Some changes in Analogy core

2010-06-24 Thread Alexis Berlemont
Hi, I just pushed into my git repository (branch analogy) some significant changes in the asynchronous buffer management. These modifications intend to fix a major issue in the analogy architecture: only the default input and output subdevices were reachable via read / write syscalls. These

Re: [Xenomai-core] analogy - experimental branch

2010-06-27 Thread Alexis Berlemont
triggered an interrupt ? Could you send a dump of cat /proc/xenomai/irq after having made the test program hang ? Many thanks, Best wishes, -Stefan On Jun 24, 2010, at 15:43, Alexis Berlemont wrote: Hi, Alexis Berlemont wrote: Hi Stefan, Stefan Schaal wrote: Hi Alexis

Re: [Xenomai-core] Analogy a4l_fill_desc() bug

2010-06-27 Thread Alexis Berlemont
Hi, Alexis Berlemont wrote: Hi, On Wed, Jun 16, 2010 at 7:01 PM, Daniele Nicolodi dani...@grinta.net wrote: On 11/03/10 18:12, Daniele Nicolodi wrote: Hello. I found a bug in a4l_fill_desc(). If I call it on a descriptor obtained for an unattached device, the memory allocated

Re: [Xenomai-core] analogy - experimental branch

2010-06-30 Thread Alexis Berlemont
you configured with cmd_bits ? I think the digital output is misconfigured. I am working on it. -Stefan On Jun 27, 2010, at 3:37, Alexis Berlemont wrote: Hi, Stefan Schaal wrote: Hi Alexis, thanks so much for the new analogy software. Here are some first observations

Re: [Xenomai-core] analogy - experimental branch

2010-07-05 Thread Alexis Berlemont
of information. Please, if anyone have the info (the mapping between the CDO_Mode register values and the sample clock source), do not hesitate to help us. Best wishes, -Stefan On Jun 30, 2010, at 15:45, Alexis Berlemont wrote: Hi, Stefan Schaal wrote: Hi Alexis, I did a reboot

Re: [Xenomai-core] analogy - experimental branch

2010-07-05 Thread Alexis Berlemont
Hi, Alexis Berlemont wrote: Hi, Stefan Schaal wrote: Hi Alexis, thanks for the feedback. We have 32 bit DIO on subdevice #2, and I am not sure that there is anything special to be configured. I will check again. Feel free to log into our machine with the pwd I indicated to you

[Xenomai-core] [PULL REQUEST] analogy bug fixes

2010-07-07 Thread Alexis Berlemont
The following changes since commit 653a38669af4427471ed8cdd129eb0bbb33ba178: nucleus: finalize heap mapping sanitization (2010-07-04 18:57:54 +0200) are available in the git repository at: git://git.xenomai.org/xenomai-abe.git analogy ..BRANCH.NOT.VERIFIED.. Alexis Berlemont (48

Re: [Xenomai-core] [PULL REQUEST] analogy bug fixes

2010-07-09 Thread Alexis Berlemont
Hi, Gilles Chanteperdrix wrote: Alexis Berlemont wrote: The following changes since commit 653a38669af4427471ed8cdd129eb0bbb33ba178: nucleus: finalize heap mapping sanitization (2010-07-04 18:57:54 +0200) Ok. Could you rebase on the current master? The commit message would

Re: [Xenomai-core] analogy - experimental branch

2010-07-09 Thread Alexis Berlemont
for the comment (/* in ns */) which is an inappropriate copy-paste (as a matter of fact, it is the whole command interface which is unsuitable but that's another topic). Best wishes, -Stefan On Jul 5, 2010, at 15:02, Alexis Berlemont wrote: Hi, Alexis Berlemont wrote: Hi, Stefan

Re: [Xenomai-core] analogy - experimental branch

2010-07-12 Thread Alexis Berlemont
, at 15:17, Alexis Berlemont wrote: Stefan Schaal wrote: Hi Alexis, I conceptually understand what you are telling us, but I am bit confused how to implement your advice: So, Stefan, here is a quick solution: if you have access to your board you can choose one

Re: [Xenomai-core] analogy - experimental branch

2010-07-14 Thread Alexis Berlemont
wishes, -Stefan On Jul 12, 2010, at 15:29, Alexis Berlemont wrote: Hi, Stefan Schaal wrote: Hi Alexis, I guess I slowly understand that my clocking signal connected to scan_begin_arg has to come from an external DIO input, if scan_bigin_src = TRIG_EXT, and that the insn

Re: [Xenomai-core] analogy - experimental branch

2010-07-14 Thread Alexis Berlemont
. Wouldn't one be able to just use the same clock source for DIO as in analogue I/O? Best wishes, -Stefan On Jul 12, 2010, at 15:29, Alexis Berlemont wrote: Hi, Stefan Schaal wrote: Hi Alexis, I guess I slowly understand that my clocking signal connected

Re: [Xenomai-core] analogy - experimental branch

2010-07-19 Thread Alexis Berlemont
, clock source? Best wishes, -Stefan On Jul 14, 2010, at 14:03, Alexis Berlemont wrote: Stefan Schaal wrote: Hi Alexis, maybe it is more useful to mention what I actually want to achieve with DIO on my NI6259. My DIO communication involves a series of interactions

Re: [Xenomai-core] analogy - experimental branch

2010-08-23 Thread Alexis Berlemont
it a try with your own test program. There was a bug in the mite configuration which explained why the wrong data were sent to the DIO subdevice. That was also the reason why no interrupt came from the mite. Best wishes, -Stefan On Jul 19, 2010, at 15:01, Alexis Berlemont wrote: Hi

Re: [Xenomai-core] analogy - experimental branch

2010-09-04 Thread Alexis Berlemont
to the square waves on the oscilloscope. I will go back to developing our DAQ interface, and report back to the Xenomai list about performance. Thanks so much Best wishes, -Stefan On Aug 23, 2010, at 16:09, Alexis Berlemont wrote: Hi, Stefan Schaal wrote

Re: [Xenomai-core] analogy - experimental branch

2010-09-09 Thread Alexis Berlemont
according to the square waves on the oscilloscope. I will go back to developing our DAQ interface, and report back to the Xenomai list about performance. Thanks so much Best wishes, -Stefan On Aug 23, 2010, at 16:09, Alexis Berlemont wrote: Hi, Stefan Schaal wrote: Hi Alexis

[Xenomai-core] [PULL REQUEST] analogy: bugfixes

2010-09-20 Thread Alexis Berlemont
The following changes since commit 9d70c373eee0ac43a1b5869600e33ec6bff89868: rtcan: Mask the SJA_MOD register when probing for channels (2010-09-16 20:43:34 +0200) are available in the git repository at: git://git.xenomai.org/xenomai-abe.git analogy Alexis Berlemont (9): analogy

Re: [Xenomai-core] Analogy regressions in xenomai 2.5.5.1

2010-10-13 Thread Alexis Berlemont
Hi, On Tue, Oct 12, 2010 at 10:44 AM, Daniele Nicolodi dani...@grinta.net wrote: Hello, I just installed xenomai 2.5.5 on a 2.6.35.7 kernel and I'm noticing serious regressions on analogy basic features: 1. Buffer management is badly broken. It is not possible to run any acquisition command

Re: [Xenomai-core] Analogy regressions in xenomai 2.5.5.1

2010-10-15 Thread Alexis Berlemont
Hi, Do not worry. I have not forgotten. On Fri, Oct 15, 2010 at 11:16 AM, Daniele Nicolodi dani...@grinta.net wrote: Hi Alexis, do you have the possibility to look at those bugs soonish? Otherwise I can try to fix them, but I would need some hints on where I should look in the code. Thank

Re: [Xenomai-core] Analogy DIO data acquisition

2011-01-03 Thread Alexis Berlemont
Hi, Sorry for the late reply. Happy new Year!!! Stefan Schaal wrote: Hi Alexis, I was wondering whether you could help me with some information about CMD based data acquisition in analogy. You might recall from previous emails with you, we are trying to implement high speed data DIO

Re: [Xenomai-core] CMD based acquisition with Analogy

2011-01-10 Thread Alexis Berlemont
Hi, Stefan Schaal wrote: Hi Alexis, here is an observation with CMD-based acquisition that puzzles me. Just to recall, we use an NI6259 board, using your latest analogy branch of xenomai on a 2.6.29.5 kernel in Ubuntu 9.10. Our computer is a 32bit Dell Precision with 8 core Xeon

[Xenomai-core] [PULL REQUEST] analogy: bug fixes in buffer size config

2011-01-12 Thread Alexis Berlemont
The following changes since commit c0993894a7ab56d9c3f5444e90e68602673288de: 16550A: Disable PCI configuration option for platforms without PCI (2011-01-08 01:05:02 +0100) are available in the git repository at: ssh+git://git.xenomai.org/xenomai-abe.git analogy Alexis Berlemont (5

Re: [Xenomai-core] Integration of new drivers in xenomai

2011-05-12 Thread Alexis Berlemont
Hi, Sorry for answering late. Philippe Gerum wrote: On Tue, 2011-05-10 at 10:42 +0200, julien.dela...@esa.int wrote: Dear all, For my work, I had to develop drivers for the 6052 and 6701 boards from National Instruments. These boards are already supported by the Comedi drivers but

[Xenomai-core] analogy: wake-up threshold

2011-05-12 Thread Alexis Berlemont
Hi Stefan, A few months ago, you asked me whether it was possible to prevent the OS from waking up your process each time a few bytes were acquired. You came with the idea to implement a wake-up threshold below which the user space process is kept in sleep state. A few days ago, I updated my

Re: [Xenomai-core] [ANALOGY] ni660x and ni670x : patch and examples

2011-08-07 Thread Alexis Berlemont
Hi, Sorry for the late reply, I just came back from holidays. On Wed, Aug 3, 2011 at 2:18 PM, Julien Delange julien.dela...@gmail.com wrote: Dear all, Please find a patch for the support of ni660x and ni670x in the analogy layer. The driver works fine and I tested it. I enclosed test

Re: [Xenomai-core] Xenomai 2.6.0, or -rc1?

2011-08-29 Thread Alexis Berlemont
Hi, On Fri, Aug 26, 2011 at 2:34 PM, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: Hi, I think it is about time we release Xenomai 2.6.0. Has anyone anything pending (maybe Alex)? Should we release an -rc first? Yes. in my experimental branch, I have a few things which are

[Xenomai-core] PULL REQUEST: analogy

2011-09-04 Thread Alexis Berlemont
The following changes since commit fa167ed2f2d9ce569968d801796f7e760772e97b: doc: regenerate (2011-09-04 21:48:41 +0200) are available in the git repository at: ssh+git://git.xenomai.org/xenomai-abe.git analogy Alexis Berlemont (28): analogy: add first version of waveform generation

Re: [Xenomai-core] Analogy DIO data acquisition with NI6259

2011-09-18 Thread Alexis Berlemont
Hi, On Wed, Sep 14, 2011 at 5:38 AM, Stefan Schaal ssch...@usc.edu wrote: This is a summary and conclusion of using a NI6259 with Xenomai/Analogy for digital data I/O. First of all, many thanks to Alexis whose Analogy branch really allowed us to succeed! We would just like share the final

Re: [Xenomai-core] Analogy: idx_write_subd field in a4l_desc_t

2011-09-30 Thread Alexis Berlemont
Hi, On Tue, Sep 27, 2011 at 4:06 PM, Daniele Nicolodi dani...@grinta.net wrote: Hello, I'm using xenomai-head on a 2.6.38.8 kernel on x86 with a NI-6251 DAQ board. In this configuration the idx_write_subd field of the a4l_desc_t structure filled by a4l_open() is not set to the proper value

Re: [Xenomai-core] Analogy: idx_write_subd field in a4l_desc_t

2011-10-05 Thread Alexis Berlemont
Hi, On Tue, Oct 4, 2011 at 3:31 PM, Daniele Nicolodi dani...@grinta.net wrote: On 04/10/11 13:17, Gilles Chanteperdrix wrote: If you want things merged, send the patches, they will reach xenomai-head repository through Alex. Of course. Here is my simple patch. Thanks. Thank you. Cheers,

Re: [Xenomai-core] Analogy/mite

2011-12-06 Thread Alexis Berlemont
Hi On Thu, Dec 1, 2011 at 4:03 PM, Anders Blomdell anders.blomd...@control.lth.se wrote: On 11/30/2011 07:03 PM, Anders Blomdell wrote: Hi, just found that echo :06:01.0 /sys/bus/pci/drivers/analogy_mite/unbind does not do the same thing as analogy_config -r analogyN in fact it