All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexis Berlemont <berlemont.hauw@domain.hid>
To: Cristian Axenie <cristian.axenie@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Driver testing procedure ?!
Date: Tue, 26 May 2009 00:10:14 +0200	[thread overview]
Message-ID: <871vqczveh.fsf@domain.hid> (raw)
In-Reply-To: <9c789a000905251435p6f851d21v617c7e26a971f143@domain.hid> (Cristian Axenie's message of "Tue\, 26 May 2009 00\:35\:49 +0300")

Cristian Axenie <cristian.axenie@domain.hid> writes:

> Hi,
>
> I finally figured out this aspect but I still have one problem, residing in the fact that I have no comedi devices in my dev list
> and so I cannot ./comedi_config /dev/comedi0 nipcimio !
>
> As I see it there are no comedi devices
>
> /usr/xenomai/sbin # cat /proc/devices

You should not look at there. This proc file lists everything but RTDM devices.

>
> and the list
>
> /usr/xenomai/sbin # cat /proc/comedi/devices
> --  Comedi devices --
>
> | idx | status | driver
> |  00 | Unused | No driver
> |  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
> /usr/xenomai/sbin # cat /proc/comedi/drivers
> comedi_config   rtcanconfig     rtps
> /usr/xenomai/sbin # cat /proc/comedi/drivers
> --  Comedi drivers --
>
> | idx | driver name
> |  00 | pcimio
> |  01 | comedi_8255
> |  02 | comedi_loop
> |  03 | comedi_fake
>
> Shouldn't the specific comedi devices be generated when installing Xenomai ?

That is common comedi behaviour. So far, the comedi drivers are listed,
they are available in the kernel. However, you have to attach them so as
to make them reachable (thanks to comedi_config).

Once the attach will be done, you will see your driver appear in
/proc/comedi/devices.

If the comedi_config did not work, the problem is here. In such case,
could you send the traces?

Alexis.


  reply	other threads:[~2009-05-25 22:10 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-25 11:46 [Xenomai-help] Driver testing procedure ?! Cristian Axenie
2009-05-25 21:28 ` Alexis Berlemont
2009-05-25 21:35   ` Cristian Axenie
2009-05-25 22:10     ` Alexis Berlemont [this message]
     [not found]       ` <9c789a000905251516j5272ae7bpc60aea8fdc17d50c@domain.hid>
2009-05-25 22:32         ` Cristian Axenie
2009-05-26 13:55           ` Alexis Berlemont
2009-05-26 14:36             ` Cristian Axenie
2009-05-26 15:19               ` Cristian Axenie
2009-05-26 14:29                 ` Alexis Berlemont
2009-05-26 21:48               ` Philippe Gerum
     [not found]                 ` <9c789a000905261525q45cbaa3ag25855befde1cb130@domain.hid>
2009-05-26 22:31                   ` [Xenomai-help] Fwd: " Cristian Axenie
2009-05-26 22:35                     ` [Xenomai-help] " Cristian Axenie
2009-05-27 21:47                       ` Cristian Axenie
2009-05-28  6:38                         ` Alexis Berlemont
2009-06-04  0:23                           ` Alexis Berlemont
2009-06-04  8:20                             ` Cristian Axenie
2009-06-04  9:00                               ` Alexis Berlemont
  -- strict thread matches above, loose matches on Subject: below --
2009-06-16 15:10 Cristian Axenie
2009-06-16 16:06 ` Alexis Berlemont
     [not found] ` <72cf3fb0906160852v46b1602fwe39b135d8b11ba97@domain.hid>
     [not found]   ` <9c789a000906161348g43721abdu42aa2e727fcfd0cf@domain.hid>
2009-06-16 20:49     ` Cristian Axenie
     [not found]       ` <9c789a000906161402y53c793f9n93635f9e044e358d@domain.hid>
2009-06-17 12:51         ` Cristian Axenie

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=871vqczveh.fsf@domain.hid \
    --to=berlemont.hauw@domain.hid \
    --cc=cristian.axenie@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.