Hi Guys/Gals;
I have been looking all over the Internet and I simply can’t seem to
find complete information on how to write a QNX RTP device driver. I
understand that I probably need to create a resource manager to communicate
with the PCI board that I want to use. The problem is that I can’t seem to
find any clear cut examples of how to do this and worse I can find any Books
in my area or any how to guides on the Net. All the books I have seen are
all on back order for 5-6 weeks!!! Can someone please help me? Even if you
could just point me to a URL or two, that would be great.
Thanks,
Chris
“Chris Fought” <cfought@systran.com> wrote in message
news:8kq66.2135$Zf.14932@newsfeed.slurp.net…
Hi Guys/Gals;
I have been looking all over the Internet and I simply can’t seem to
find complete information on how to write a QNX RTP device driver. I
understand that I probably need to create a resource manager to
communicate
with the PCI board that I want to use. The problem is that I can’t seem to
find any clear cut examples of how to do this and worse I can find any
Books
in my area or any how to guides on the Net. All the books I have seen are
all on back order for 5-6 weeks!!!
All the books you have seen??? As far as I know there is only one book
and it’s from Robert Kertn, www.parse.com
Can someone please help me? Even if you
could just point me to a URL or two, that would be great.
The online doc contains most of the information you need, There is probably
no example you can cut and past but it’s there.
Check out http://qdn.qnx.com/support/docs/neutrino_qrp/prog/resmgr.html
and the pci familly to handle mapping of the pci device
http://qdn.qnx.com/support/docs/neutrino_qrp/lib_ref/p/pci_attach.html
There is an article on resmgr at
http://qdn.qnx.com/articles/nov2900/resmgr.html
Thanks,
Chris
\
Chris,
See http://qdn.qnx.com/support/docs/neutrino_qrp/prog/resmgr.html
Chris Fought wrote:
Hi Guys/Gals;
I have been looking all over the Internet and I simply can’t seem to
find complete information on how to write a QNX RTP device driver. I
understand that I probably need to create a resource manager to communicate
with the PCI board that I want to use. The problem is that I can’t seem to
find any clear cut examples of how to do this and worse I can find any Books
in my area or any how to guides on the Net. All the books I have seen are
all on back order for 5-6 weeks!!! Can someone please help me? Even if you
could just point me to a URL or two, that would be great.
Thanks,
Chris
–
John H. Zouck
The Johns Hopkins University
Applied Physics Laboratory
Thanks for responding to my question so quickly… I am looking over the
info now.
Chris
Mario Charest <mcharest@void_zinformatic.com> wrote in message
news:yzq66.28253$903.148241@weber.videotron.net…
“Chris Fought” <> cfought@systran.com> > wrote in message
news:8kq66.2135$> Zf.14932@newsfeed.slurp.net> …
Hi Guys/Gals;
I have been looking all over the Internet and I simply can’t seem
to
find complete information on how to write a QNX RTP device driver. I
understand that I probably need to create a resource manager to
communicate
with the PCI board that I want to use. The problem is that I can’t seem
to
find any clear cut examples of how to do this and worse I can find any
Books
in my area or any how to guides on the Net. All the books I have seen
are
all on back order for 5-6 weeks!!!
All the books you have seen??? As far as I know there is only one book
and it’s from Robert Kertn, > www.parse.com
Can someone please help me? Even if you
could just point me to a URL or two, that would be great.
The online doc contains most of the information you need, There is
probably
no example you can cut and past but it’s there.
Check out > http://qdn.qnx.com/support/docs/neutrino_qrp/prog/resmgr.html
and the pci familly to handle mapping of the pci device
http://qdn.qnx.com/support/docs/neutrino_qrp/lib_ref/p/pci_attach.html
There is an article on resmgr at
http://qdn.qnx.com/articles/nov2900/resmgr.html
Thanks,
Chris
\
I have been looking all over the Internet and I simply can’t seem to
find complete information on how to write a QNX RTP device driver. I
understand that I probably need to create a resource manager to
communicate
with the PCI board that I want to use.
Using the resource manager framework is powerful and may result in a cleaner
implementation but you don’t necessarily have to be a resource manager to
be a driver. You may want to perform simple device io with the card first,
then
turn it into a resource manager later.
Two functions you may want are pci_attach:
http://qdn.qnx.com/support/docs/neutrino_qrp/lib_ref/p/pccard_attach.html
and mmap_device_io:
http://qdn.qnx.com/support/docs/neutrino_qrp/lib_ref/m/mmap_device_io.html
Also you might want to read up on ‘pci-bios’, the pci server program, and
‘pci’:
http://qdn.qnx.com/support/docs/neutrino_qrp/utilities/p/pci-bios.html
http://qdn.qnx.com/support/docs/neutrino_qrp/utilities/p/pci.html
The problem is that I can’t seem to
find any clear cut examples of how to do this and worse I can find any
Books
There are some Driver Development Kits (DDK) that will be released soon.
Also ‘Building Embedded Systems’ by QNX and ‘Getting Started with Neutrino
2.0’ by
Rob Krten are the references for resource managers.
in my area or any how to guides on the Net. All the books I have seen are
all on back order for 5-6 weeks!!! Can someone please help me? Even if you
could just point me to a URL or two, that would be great.
good luck
Getting started with QNX Neutrino 2 A Guide for Real-time Programmers
by Rob Krten
ISBN 0 -9682501-1-4 Available through Amazon.com
Has a good section with examples. You can also find some at
http://support.qnx.com/support/docs/neutrino_qrp/prog/resmgr.html
Good luck! I wrote one that did some simple read write io-devctl stuff
and it was pretty easy.
Simon
In article <8kq66.2135$Zf.14932@newsfeed.slurp.net>, Chris Fought
<cfought@systran.com> writes
Hi Guys/Gals;
I have been looking all over the Internet and I simply can’t seem to
find complete information on how to write a QNX RTP device driver. I
understand that I probably need to create a resource manager to communicate
with the PCI board that I want to use. The problem is that I can’t seem to
find any clear cut examples of how to do this and worse I can find any Books
in my area or any how to guides on the Net. All the books I have seen are
all on back order for 5-6 weeks!!! Can someone please help me? Even if you
could just point me to a URL or two, that would be great.
Thanks,
Chris
\
–
Simon Wakley
Visit our web site at <<www.cameracontrol.com>>
While there is plenty of information on writing device
drivers, some of the interface specifications, eg. disk
net, are not released yet.
Mitchell Schoenbrun --------- maschoen@pobox.com