Starting the char driver
To start your driver , you need to pick the appropriate character driver and run it with the device-specific options required by your application.
QNX provides a set of character drivers,
classified as devc-* or
devc-ser*, which include:
devc-con(Only available for X86_64 target)devc-con-hid(Only available for X86_64 target)devc-serpl011
Each of these drivers have different set of options and specifications.
To view these specifications, you can either utilize the use command
or consult the documentation. The generic devc-* or
devc-ser*
options are available on top of each specific serial driver options.
Here is an example oh how to start the
devc-serusb
driver:
devc-serusb -d vid=0x045c,did=0x0195,busno=0,devno=2,module=generic,ign_removeThe io-char module also handles the generic devc-* or
devc-ser* options if you call ttc() with TTC_SET_OPTION.
