Re: [Xenomai-core] Bug in a4l_get_chan

2010-03-29 Thread Daniele Nicolodi
Alexis Berlemont wrote: > 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). > However, with your accurate descripti

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_d

[Xenomai-core] Bug in a4l_get_chan

2010-03-26 Thread Daniele Nicolodi
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 array looking for channel descript