ISA bus

Hi, can I use DDK library to build driver for my old ISA
framegrabber?
or is DDK only for PCI devices?

Thanks

“jinma” <matthew.jin@fmcti-dot-com.no-spam.invalid> wrote in message
news:ctbv51$1j9$1@inn.qnx.com

Hi, can I use DDK library to build driver for my old ISA
framegrabber?
or is DDK only for PCI devices?

There are some functions of getting PCI resources which of course have no
meaning for ISA but there aren’t part of any DDK.

Thanks

I am new to developing Device drivers in QNX neutrino… so I just want
to know if it is possible to build ISA interfaced devices using
DDK(input devices). Or do I have to build anything from scratch
without taking advantage of DDK. What is the standard way of
building device drivers in QNX? specifically device which uses ISA
bus. Like steps involving:

  1. gaining basic privileges (using ThreadCtrl())
  2. gaining access to the device using (mmap())
  3. Handeling interrupts, and system interactions like IPC
    etc…
    thanks

“jinma” <matthew.jin@fmcti-dot-com.no-spam.invalid> wrote in message
news:cte5ff$m7p$1@inn.qnx.com

I am new to developing Device drivers in QNX neutrino… so I just want
to know if it is possible to build ISA interfaced devices using
DDK(input devices). Or do I have to build anything from scratch
without taking advantage of DDK. What is the standard way of
building device drivers in QNX?

Each driver type has their own requirement, network, usb, input, sound etc.

You need to read on the one you want to design for (in your case input DDK)

bus. Like steps involving:

  1. gaining basic privileges (using ThreadCtrl())
  2. gaining access to the device using (mmap())
  3. Handeling interrupts, and system interactions like IPC

These steps are the same wether it’s ISA or PCI, the DDK don’t really care.


etc…
thanks

The DDK’s are there to make it easier to interface with the OS, not the hardware.


Evan

ok I think I am getting the picture now. Thanks everyone.
But now, when I am reading the doc about the input DDK, it seems like
it’s only for keyboard, mouse, touchscreen. OR is this library
generally for any input devices?
What DDK library should I be looking at if I want to make a ISA driver
for a framgrabber which connects camera.
Should I be looking at Character, or still work with Input driver?

“jinma” <matthew.jin@fmcti-dot-com.no-spam.invalid> wrote in message
news:ctmgkj$qfd$1@inn.qnx.com

ok I think I am getting the picture now. Thanks everyone.
But now, when I am reading the doc about the input DDK, it seems like
it’s only for keyboard, mouse, touchscreen. OR is this library
generally for any input devices?
What DDK library should I be looking at if I want to make a ISA driver
for a framgrabber which connects camera.
Should I be looking at Character, or still work with Input driver?

None of the above, the input ddk is for human input type of devices.
Character is for character based devices ( serial, parallel, etc).

There is no DDK available for framegrabber, you basicaly start from scratch.

You could look at making it a media source. Then it could act as a streaming source for a media player which in turn would be a good testbed for debugging your driver.


Evan

ok Thanks