From owner-freebsd-hackers Sun Jun 21 23:15:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA25793 for freebsd-hackers-outgoing; Sun, 21 Jun 1998 23:15:20 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles314.castles.com [208.214.167.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA25717 for ; Sun, 21 Jun 1998 23:14:55 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id WAA03790; Sun, 21 Jun 1998 22:09:51 -0700 (PDT) Message-Id: <199806220509.WAA03790@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Scott Gasch cc: hackers@FreeBSD.ORG Subject: Re: Q: ioctl() and bios video mode In-reply-to: Your message of "Thu, 18 Jun 1998 16:26:32 EDT." <199806182026.QAA29134@cowpie.acm.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 21 Jun 1998 22:09:51 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Hi. I'm trying to add a mode to vidcontrol for a fixed > freq. monitor I have. It looks terrible in console mode but > I've heard that it's clear in bios mode 0x53. However, when > the ioctl call is made with my parameter it fails with errno > set to 25: "Inappropriate ioctl for device." My code is > almost identical to the existing code in vidcontrol -- all > that's changed is the bios mode I am trying to switch to. > Does anyone have any experience with this? I'm in over my > head and would appreciate the help. Syscons does not support arbitrary BIOS video modes, only the modes that are listed in the vidcontrol manpage. There is infrastructure to support arbitrary modes in -current, but as yet the functionality has not been added. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message