From: Ondrej Z. <san...@cr...> - 2009-08-28 15:39:16
|
On Tue, Aug 25, 2009 at 03:48:57PM -0700, Alessio Sangalli wrote: > Hi, can somebody give me an authoritative answer: > what is the semanthics associated to the "open" and "release" (close) calls? > > More specifically, "open" and "release" can/must/must not change any > setting (resolution etc)? Many drivers for non-embedded (VGA compatible) cards assume that they should not touch hardware if their device is not open. So they configure device during the first open and restore original state during the last close. The framebuffer console counts as one user, and therefore keeps the device configured. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: san...@cr...) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so." |