Device driver

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
pepito

Device driver

Post by pepito »

Hello:

Working in the device manager of my OS I get a doubt. There ara some devices that need some kind of configuration, e.g. The 'keyboard driver' need to know the number of keys, the 'video driver' need to know the if the video mode, the COM driver need to know address, IRQ and speed, etc.

But, when the device must be configuered, when the driver is loaded or when the user open a conection with it?

Is necessary to include a config() service into each device driver, when must be executed?

Thank you,

pepito
Post Reply