From: Simon Boulay <simon.boulay@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [PATCH] Sensoray 526 analogy driver
Date: Sat, 02 Jan 2010 13:28:48 +0100 [thread overview]
Message-ID: <4B3F3C00.4000507@domain.hid> (raw)
In-Reply-To: <4B3B6957.4090901@domain.hid>
Hi,
On 12/30/2009 03:53 PM, Alessio Margan @ IIT wrote:
> Hi,
>
> I start test the sensoray driver.
Thank you!
> I've got problem with analogy_config :
> 1) it seems that board_name as defined have some problem, changed to
> "a4l_s526" seems better
>
> #define BOARD_NAME "Sensoray Model 526"
> ...
> .board_name = BOARD_NAME
It works with quotes but it's neither handy nor consistent. It'll be
renamed to analogy_s526.
> 2) I should be able to set as parameters io_port and irq (seems not
> used), using comedi I do comedi_config /dev/comedi0 s526 0xDC0,0x7
> for the moment I set S526_DEFAULT_ADDRESS to my configuration
> with this modifications seems to work.
The irq parameter is not used. It's not used in comedi either.
For the io_port, the command analogy_config analogy0 analogy_s526 0xdc0
works for me...
Did you try to acquire data?
Simon.
> analogy_config -v analogy0 a4l_s526
>
> cat /proc/analogy/drivers
> -- Analogy drivers --
> | idx | driver name
> | 00 | a4l_s526
>
> cat /proc/analogy/devices
> -- Analogy devices --
> | idx | status | driver
> | 00 | Linked | a4l_s526
> | 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
>
> cat /proc/analogy/00-a4l_s526
> -- Subdevices --
> | idx | type
> | 00 | Counter subdevice
> | 01 | Analog input subdevice
> | 02 | Analog output subdevice
> | 03 | Digital input/output subdevice
>
> Alessio
>
next prev parent reply other threads:[~2010-01-02 12:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-26 14:54 [Xenomai-core] [PATCH] Sensoray 526 analogy driver Simon Boulay
2009-12-28 20:44 ` Alexis Berlemont
[not found] ` <4B3917BF.5070600@domain.hid>
2009-12-29 1:40 ` Simon Boulay
2009-12-29 8:32 ` Alessio Margan @ IIT
2009-12-30 14:53 ` Alessio Margan @ IIT
2010-01-02 12:28 ` Simon Boulay [this message]
2010-01-04 16:03 ` Alessio Margan @ IIT
2010-01-04 23:10 ` Alexis Berlemont
-- strict thread matches above, loose matches on Subject: below --
2010-01-07 19:15 Alessio Margan @ IIT
2010-01-07 20:52 ` Alexis Berlemont
2010-01-11 16:08 Alessio Margan @ IIT
2010-01-11 16:22 ` Alexis Berlemont
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=4B3F3C00.4000507@domain.hid \
--to=simon.boulay@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.