UNX511
John Sellens
john.sellens@senecapolytechnic.ca
Home UNX511 Help Notes Contact

Lab 4 - Week 4 - I/O Control - the Screen

Due: Sunday October 8

FIRST: See labs.html for information on labs.

In this lab you will make use of I/O control (ioctl) to get screen information. You will use ioctl's to get the fixed screen information and the variable screen information, from which can be derived the visual type, the accelerator (if any), the screen capabilities, the x-resolution, the y-resolution, and bits per pixel. You will direct all error messages to a file.

For documentation on struct fb_fix_screeninfo and struct fb_var_screeninfo, see fb.h.

For documentation on Frame Buffer (screen) ioctl's, see The Frame Buffer Device API.

For a tutorial on I/O control and device drivers in Linux, see Controlling Hardware with ioctls.

Lab Submission:



UNX511 NSC Class Links

References

Tools

Links





|Home|UNX511|Help Notes|Contact|


Last modified: 2025-09-23 11:28:45 -- Last formatted: 2025-11-04 01:38:27
john.sellens@senecapolytechnic.ca