From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] Where is vgactl? From: forsyth@vitanuova.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ooisorynccqqfxqasbrgqfhhpa" Message-Id: <20011026153104.AC35119A2F@mail.cse.psu.edu> Date: Fri, 26 Oct 2001 16:36:18 +0100 Topicbox-Message-UUID: 0e9310f8-eaca-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-ooisorynccqqfxqasbrgqfhhpa Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit aux/vga doesn't serve it; #v/vgactl is the kernel's exposed interface to its part of the vga graphics support. --upas-ooisorynccqqfxqasbrgqfhhpa Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-admin@cse.psu.edu> Received: from punt-2.mail.demon.net by mailstore for forsyth@vitanuova.com id 1004098454:20:07313:6; Fri, 26 Oct 2001 12:14:14 GMT Received: from psuvax1.cse.psu.edu ([130.203.4.6]) by punt-2.mail.demon.net id aa2122191; 26 Oct 2001 12:14 GMT Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.8.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id B3EBC19A10; Fri, 26 Oct 2001 08:08:11 -0400 (EDT) Delivered-To: 9fans@cse.psu.edu Received: from cackle.proxima.alt.za (unknown [196.30.44.141]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id DBFF7199E7 for <9fans@cse.psu.edu>; Fri, 26 Oct 2001 08:07:00 -0400 (EDT) Received: (from lucio@localhost) by cackle.proxima.alt.za (8.9.3/8.9.1) id OAA19939 for 9fans@cse.psu.edu; Fri, 26 Oct 2001 14:06:44 +0200 (SAST) To: 9fans@cse.psu.edu Subject: Re: [9fans] Where is vgactl? Message-ID: <20011026140642.E19815@cackle.proxima.alt.za> Mail-Followup-To: 9fans@cse.psu.edu References: <20011026113426.2838D199E4@mail.cse.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: <20011026113426.2838D199E4@mail.cse.psu.edu>; from forsyth@vitanuova.com on Fri, Oct 26, 2001 at 12:35:03PM +0100 Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: 9fans@cse.psu.edu X-Reply-To: lucio@proxima.alt.za List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Fri, 26 Oct 2001 14:06:42 +0200 On Fri, Oct 26, 2001 at 12:35:03PM +0100, forsyth@vitanuova.com wrote: > > it isn't bound automatically so you need > bind -b '#v' /dev > to make it appear in /dev, or use > echo -n 'size 800x600x8' >'#v/vgactl' > > that's probably still not what you intend, because VGA being what it is, > a host of major and minor register values need to be adjusted in most cases, > in a device-dependent way. use aux/vga, described by vga(8). > read the manual page first, though. aux/vga eventually sets the > using vgactl, but sets all those registers first, if it can. > it needs to be done outside rio. Wouldn't it make more sense for aux/vga to serve /dev/vga* after initialising the environment? I suppose the right answer is "Try it", or am I missing something? ++L --upas-ooisorynccqqfxqasbrgqfhhpa--