I need basic help.

bridged with qdn.public.ddk.input
Post Reply
sven dominka

I need basic help.

Post by sven dominka » Mon Feb 25, 2002 10:14 pm

Hi,

again, I need help from you.
I want to write a device driver for a multi-function-card with
DigitalAnalogConverter and AnalogDigitalConverter and so on.
I've downloaded the input ddk and the char ddk and start the makescripts in
/usr/src/ddk-6.1.0/char and
/usr/src/ddk-6.1.0/input with the command "make".
But I don't know, what to do now. I even don't know, what DDK really is.
Is it the Doku under help, or is it a program. And which ddk is the best
for me. Should I use ddk-char or ddk-input for the multi-function-card.
It would be nice, if somebody could help me and tell me some tips, how I
could start writing a device driver.
Thanks

Sven

James MacMillan

Re: I need basic help.

Post by James MacMillan » Tue Feb 26, 2002 2:54 pm

Hi,

A DDK is documentation, tools and examples that show you how to write a
device driver. The help documentation (which you already found) is
automatically added to your helpviewer documentation set (in /usr/help
actually). You will find the tools and examples in /usr/src/. Note that
the character ddk doesn't have any helpviewer documentation available,
however you can checkout the source to /lib/io-char from the QNX public
CVS server (cvs.qnx.com). The io-char source combined with the devc-*
examples that are included in the ddk give you the complete picture of
how a particular serial port is supported.

As to your question of which ddk to use, you haven't supplied enough
information on your multi-function card. What are the different
functions that it supports? Is there a website where we could see
some specifications on it? How are you intending to use it? For what
purpose?


sven dominka wrote:
Hi,

again, I need help from you.
I want to write a device driver for a multi-function-card with
DigitalAnalogConverter and AnalogDigitalConverter and so on.
I've downloaded the input ddk and the char ddk and start the makescripts in
/usr/src/ddk-6.1.0/char and
/usr/src/ddk-6.1.0/input with the command "make".
But I don't know, what to do now. I even don't know, what DDK really is.
Is it the Doku under help, or is it a program. And which ddk is the best
for me. Should I use ddk-char or ddk-input for the multi-function-card.
It would be nice, if somebody could help me and tell me some tips, how I
could start writing a device driver.
Thanks

Sven

sven dominka

Re: I need basic help.

Post by sven dominka » Wed Feb 27, 2002 9:46 am

Thanks for the fast answer.
I need the multi-function-card to control a model plant, in which a
roboter should catch some workpieces and bring it to a machine tool,
where the workpiece should be produced. For this automatically running
process, I want to write a little demo-program with the aid of the
device driver, I want to write (and for which I need your help).
The multi-function-card has got several digital-analog-converter,
analog-digital-converter and a digital i/o modul to control the roboter
and the machines. The multi-function-card is a 16Bit ISA card.
I hope, these are enough information. I looked for a website with some
datasheets, but I haven't found something. (the card might be too old).

Sven


James MacMillan wrote:
Hi,

A DDK is documentation, tools and examples that show you how to write a
device driver. The help documentation (which you already found) is
automatically added to your helpviewer documentation set (in /usr/help
actually). You will find the tools and examples in /usr/src/. Note that
the character ddk doesn't have any helpviewer documentation available,
however you can checkout the source to /lib/io-char from the QNX public
CVS server (cvs.qnx.com). The io-char source combined with the devc-*
examples that are included in the ddk give you the complete picture of
how a particular serial port is supported.

As to your question of which ddk to use, you haven't supplied enough
information on your multi-function card. What are the different
functions that it supports? Is there a website where we could see
some specifications on it? How are you intending to use it? For what
purpose?


sven dominka wrote:

Hi,

again, I need help from you.
I want to write a device driver for a multi-function-card with
DigitalAnalogConverter and AnalogDigitalConverter and so on.
I've downloaded the input ddk and the char ddk and start the
makescripts in
/usr/src/ddk-6.1.0/char and
/usr/src/ddk-6.1.0/input with the command "make".
But I don't know, what to do now. I even don't know, what DDK really
is. Is it the Doku under help, or is it a program. And which ddk is
the best for me. Should I use ddk-char or ddk-input for the
multi-function-card.
It would be nice, if somebody could help me and tell me some tips,
how I could start writing a device driver.
Thanks

Sven


stefan

Re: I need basic help.

Post by stefan » Sat Apr 13, 2002 11:53 am

Hi,
this is an interesting task....
I have almost the same problem, i must write a driver for a A/D D/A board
too!
It is Advantech pcl-812 card (ISA).
The problem is, i have no knowlege about writing a driver.....
When you have an info than contact me, please.....

goodby

stefan


==================
Stefan Kehrein


Germany
mailto: spam2me@web.de
ICQ: 112291216
===================
.~.
/ V \
// \\
/( )\
^`~´^






"sven dominka" <"sd7 "@stud.mw.tum.de> schrieb im Newsbeitrag
news:3C7CAAED.8000205@stud.mw.tum.de...
Thanks for the fast answer.
I need the multi-function-card to control a model plant, in which a
roboter should catch some workpieces and bring it to a machine tool,
where the workpiece should be produced. For this automatically running
process, I want to write a little demo-program with the aid of the
device driver, I want to write (and for which I need your help).
The multi-function-card has got several digital-analog-converter,
analog-digital-converter and a digital i/o modul to control the roboter
and the machines. The multi-function-card is a 16Bit ISA card.
I hope, these are enough information. I looked for a website with some
datasheets, but I haven't found something. (the card might be too old).

Sven


James MacMillan wrote:

Hi,

A DDK is documentation, tools and examples that show you how to write a
device driver. The help documentation (which you already found) is
automatically added to your helpviewer documentation set (in /usr/help
actually). You will find the tools and examples in /usr/src/. Note that
the character ddk doesn't have any helpviewer documentation available,
however you can checkout the source to /lib/io-char from the QNX public
CVS server (cvs.qnx.com). The io-char source combined with the devc-*
examples that are included in the ddk give you the complete picture of
how a particular serial port is supported.

As to your question of which ddk to use, you haven't supplied enough
information on your multi-function card. What are the different
functions that it supports? Is there a website where we could see
some specifications on it? How are you intending to use it? For what
purpose?


sven dominka wrote:

Hi,

again, I need help from you.
I want to write a device driver for a multi-function-card with
DigitalAnalogConverter and AnalogDigitalConverter and so on.
I've downloaded the input ddk and the char ddk and start the
makescripts in
/usr/src/ddk-6.1.0/char and
/usr/src/ddk-6.1.0/input with the command "make".
But I don't know, what to do now. I even don't know, what DDK really
is. Is it the Doku under help, or is it a program. And which ddk is
the best for me. Should I use ddk-char or ddk-input for the
multi-function-card.
It would be nice, if somebody could help me and tell me some tips,
how I could start writing a device driver.
Thanks

Sven




Post Reply

Return to “qdn.public.ddk.input”