All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jorge Ramirez Ortiz <jro@xenomai.org>
To: Wojciech Domski <wojciech.domski@gmail.com>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] sensoray 626 patch [Re: Xenomai Digest, Vol 27, Issue 12]
Date: Thu, 31 Jul 2014 16:14:08 -0400	[thread overview]
Message-ID: <53DAA390.7040406@xenomai.org> (raw)
In-Reply-To: <CACKc53LL5C2AUTjd6cah1JyoDD5BMGeg5RQjsDjX9_FNvqdAJQ@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/31/2014 05:22 AM, Wojciech Domski wrote:
 I prepared the driver to work well with multiple Sensoray 626 and I tested
 it with two of those. I have a problem, however.
 I suspect that the analogy interface doesn't play along with the driver but
 I'm not certain about that. Here what's happening.
 I have two s626 cards: s0 and s1. For the sake of conversation let's assume
 that analogy device analogy0 is a0 and so on.
 When I link s0 to a0, unlink, link s1 to a1, unlink everything works fine,
 however. Once more when I link s0 but this time to a1 something goes wrong.
 I get -16 error from a4l_sys_attach() which is

 No such device

 What is the reason of this happening? I do clean everything every time when
 I release s626.
 Here is what I do when I want to open my device:

 a4l_sys_open();
 a4l_sys_attach();
 a4l_open();
 rt_dev_open();
 a4l_fill_desc();

 When I close the s626 I do:

 rt_dev_close();
 a4l_close();
 a4l_sys_detach();
 a4l_sys_close();

 Best regards,
 Wojciech Domski

- ------------------

please could you send the driver and the kernel traces for the experiment?


- -- 
jro

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJT2qOQAAoJECDcy2IJkagRnH0H/3j3VgCu8KSUfOBYzC7McFxg
my+hW6i+FFNn3kpJJ2/EQtmg/pFGdenIwd/Uu8XJhwaLfT0mtP67b8GDuD/BsPGp
lVyuFeznew6gN+usGnQe48sEUCnpadlwI/ZIjcZhJqmcVzwUw991RvA32l6Z9x3/
biYv9N0QiaEpp3c0rWAApnHetsun7rFxGuzgAq2pB+adeWCOSTtOpYEado7qOrEx
FyBj8Gh1sc7kMLnyml/UXgLBvxsaSUXq81t1QwaOOZS4TQLtg/HstHMlTvqrS6k2
WsbhmS5qqmKBIKeEjWUl6d5S3TKfW+XjaY3JVFlN8p6EPS3LUl5SkxqzH/Zavfw=
=+hI6
-----END PGP SIGNATURE-----


  reply	other threads:[~2014-07-31 20:14 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.653.1404749254.5713.xenomai@xenomai.org>
2014-07-14 14:18 ` [Xenomai] analogy: sensory 626 patch [Re: Xenomai Digest, Vol 27, Issue 12] Jorge Ramirez Ortiz
2014-07-14 19:09   ` Wojciech Domski
2014-07-14 21:07     ` Jorge Ramirez Ortiz
2014-07-14 21:43       ` Jorge Ramirez Ortiz
2014-07-16 19:03         ` [Xenomai] sensoray " Jorge Ramirez Ortiz
2014-07-16 19:48           ` Wojciech Domski
2014-07-17 18:59           ` Wojciech Domski
2014-07-17 19:54             ` Jorge Ramirez Ortiz
2014-07-31  9:22               ` Wojciech Domski
2014-07-31 20:14                 ` Jorge Ramirez Ortiz [this message]
2014-08-01 11:33                   ` Wojciech Domski
2014-08-01 14:48                     ` Jorge Ramirez Ortiz
2014-08-05  9:20                       ` Wojciech Domski
2014-08-05 10:01                         ` Wojciech Domski
2014-08-12  1:25                           ` Jorge Ramirez Ortiz
2014-08-15 20:31                             ` Jorge Ramirez Ortiz
2014-09-09  9:31                               ` Wojciech Domski
2014-09-10  0:18                                 ` Jorge Ramirez Ortiz
2014-09-24 19:57                                 ` Jorge Ramirez Ortiz

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=53DAA390.7040406@xenomai.org \
    --to=jro@xenomai.org \
    --cc=wojciech.domski@gmail.com \
    --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.