Some problem about device drivers

Hello, I have some questions to ask you:
1. Driver is a application in QNX? OR library?
2. How to let it startup auto when computer boot?

Thanks!

  1. Driver is an application.
  2. You can put it in the /etc/rc.d/rc.local

Thank you!
Then what should I do if I stop it?
If I run it directly ,it will engross a terminal?

  1. How to put it in it?
  2. How to stop it?
  3. What should I do if I want to use PCI -V display my PCI device info (e.g. name ,class…)?
    Thank you!
  1. assuming your driver is /usr/bin/mydriver, you can put the line
    /usr/bin/mydriver &
    in the /etc/rc.d/rc.local file.
  2. to stop it, you can run:
    slay mydriver
  3. just type the command:
    pci -v

good luck.