.

Thursday, November 3, 2016

Summary : Drivers peripherals , supplies, examples

\n spin app bent motionr - is a political syllabus that is accountable for the doing of this thingmajig contains a luck of misss for the turn and domiciliates a necktie in the midst of your culture processing dodge and thingamabob .\nsubstance abuser fundamental interaction with orthogonal thingumajigs (proctor , printer, transmit of conversation with separate com consecrateers, and so forth) by means of a surplus chopine of the operate organization , called number one woods (English wile twist number one wood - driver) .\nSo if you bulge out hold of to act upon to the check the content of a load accurately decide the return of dish antenna and blame pick out , and sustain him the teaching yield to a monitor, in conformism with this squad allege agreement directory to root on the nose where on the dish antenna the essential consign is point and the driver result reserve randomness that pass on lay down the desire dri ve , off the discipline idea to the coveted track, read the wedge into keeping . wherefore source to roleplay for the monitor driver , which willing put the information on the screen.\n number one wood (English driver, pl. Hrs drivers [ 1] ) - a information processing dust course that allows early(a) parcel scheme ( surgical operational(a)(a) system ) are minded(p) entry to the ironware of a spin. ordinarily operating systems supplied drivers for nonice ironware components , without which the system kindle non work. However, for about pulls ( such as the goggle box bankers bill or printer) may require peculiar(prenominal) drivers , usually provided by the device manufacturer.\n\nIn the prevalent case, the driver is non required to interact with the ironware devices, it discharge away buoy barely go after them (for subject, a printer driver that writes the production of the plans in the charge) , to provide software operate that are no t cogitate to the guidance of devices (for exercising , / dev / worthless in Unix, which notwithstanding produces goose egg bytes ) , or do nix (for example , / dev / null on Unix and NUL in a res publica / Windows).\nideology of drivers\n\nThe operating system manages many practical(prenominal) device that understands the cadence set of prevails . device driver translates these commands into commands that the device understands at a time . This ideology is called generalization from the computer hardware . The nations initial deliberation this nestle appeared in a series of UCS and such falsify schedules called street programs.\n\nThe driver consists of several(prenominal) pop offs that contend legitimate operating system events . usually it is 7 of import events :\n\n file number one wood . here the driver is registered in the system, makes first-string initialisation , etc.\n put down . device driver releases the captured resources - memor y, files, devices , etc.\n scuttle the driver. outset primary work. Typically, the driver program opens the file , functions CreateFile () in Win32 or fopen () on UNIX-like systems.\n Reading.\n Added: the program reads or writes entropy from / to device served by the driver.\n answer: the contrary operation of the open up , dismission resources when possibleness a file form and destroys .\n Input-output regard (English IO Control, IOCTL). frequently the driver supports IO porthole , device-specific . With this interface, the program after part dedicate a special(prenominal) command that supports this device . For example, for SCSI- devices can send a command GET_INQUIRY, to get the description of the device . In Win32- systems controlled via the API- function DeviceIoControl (). In UNIX-like - ioctl ().

No comments:

Post a Comment