Hello,
I have one question. Suppose I have analog DAQ PCI card and have drivers
for linux, unix. Can I use unix drivers on QNX or I must have special
drivers for QNX? Or I must write them myself?
Darius
Hello,
I have one question. Suppose I have analog DAQ PCI card and have drivers
for linux, unix. Can I use unix drivers on QNX or I must have special
drivers for QNX? Or I must write them myself?
Darius
Darius Ramunas <alpha_byte@safe-mail.net> wrote:
Hello,
I have one question. Suppose I have analog DAQ PCI card and have drivers
for linux, unix. Can I use unix drivers on QNX or I must have special
drivers for QNX? Or I must write them myself?
You will need QNX-specific drivers; you can write them yourself.
In the QNX Cookbook, I discuss a similar topic (ISA DAQ cards, not PCI):
http://www.parse.com/products/books/book_v2/index.html
Cheers,
-RK
–
[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector http://www.parse.com/~pdp8/
Hi Darius…
Your best option here is to get RK’s book (see his previous post):
http://www.parse.com/products/books/book_v2/index.html
Next to that, if you want to explore what you can do, go to the QNX page
http://www.qnx.com/developers/articles/index.html
http://www.qnx.com/download/docgroup.html?programid=7789
and you will find a number of articles that will help you (along with
the online documentation of course). Of special interest to you perhaps:
http://www.qnx.com/download/feature.html?programid=8086
You may want to take a look at a simple resource manager example:
http://www.qnx.com/developers/articles/article_861_1.html
http://www.qnx.com/developers/articles/article_307_2.html
since you will want/need to implement your driver as a resource manager.
Having said all of the above, once you get over the QNX basics, you’ll
find out that writing drivers for QNX is an order of magnitude easier
than Linux. You will also find out that debugging QNX drivers are two+
order of magnitude easier. This is specially so since you do not ever
have to deal with kernel settings/compile and similar time-consuming fun
stuff.
Regards…
Miguel.
Darius Ramunas wrote:
Hello,
I have one question. Suppose I have analog DAQ PCI card and have drivers
for linux, unix. Can I use unix drivers on QNX or I must have special
drivers for QNX? Or I must write them myself?Darius
Or, just look for DAQ hardware that comes with QNX6 support. I’m using
UEI (United Electrical Industries) hardware. They have a QNX 6 driver in
source code. I’m not real impressed with their driver but I was able to
beef it up. Now it works fine. I also have a C++ wrapper class for it.
There may very well be others. Each new day brings new hope of
additional new hardware with QNX support.
Miguel Simon <simon@ou.edu> wrote:
MS > Hi Darius…
MS > Your best option here is to get RK’s book (see his previous post):
MS > http://www.parse.com/products/books/book_v2/index.html
MS > Next to that, if you want to explore what you can do, go to the QNX page
MS > http://www.qnx.com/developers/articles/index.html
MS > http://www.qnx.com/download/docgroup.html?programid=7789
MS > and you will find a number of articles that will help you (along with
MS > the online documentation of course). Of special interest to you perhaps:
MS > http://www.qnx.com/download/feature.html?programid=8086
MS > You may want to take a look at a simple resource manager example:
MS > http://www.qnx.com/developers/articles/article_861_1.html
MS > http://www.qnx.com/developers/articles/article_307_2.html
MS > since you will want/need to implement your driver as a resource manager.
MS > Having said all of the above, once you get over the QNX basics, you’ll
MS > find out that writing drivers for QNX is an order of magnitude easier
MS > than Linux. You will also find out that debugging QNX drivers are two+
MS > order of magnitude easier. This is specially so since you do not ever
MS > have to deal with kernel settings/compile and similar time-consuming fun
MS > stuff.
MS > Darius Ramunas wrote:
Hello,
I have one question. Suppose I have analog DAQ PCI card and have drivers
for linux, unix. Can I use unix drivers on QNX or I must have special
drivers for QNX? Or I must write them myself?Darius