From owner-freebsd-hackers Thu Jun 18 13:27:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA07204 for freebsd-hackers-outgoing; Thu, 18 Jun 1998 13:27:54 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cowpie.acm.vt.edu (cowpie.acm.vt.edu [128.173.42.253]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA07184 for ; Thu, 18 Jun 1998 13:27:48 -0700 (PDT) (envelope-from scott@cowpie.acm.vt.edu) Received: (from scott@localhost) by cowpie.acm.vt.edu (8.8.8/8.8.8) id QAA29134 for hackers@freebsd.org; Thu, 18 Jun 1998 16:26:32 -0400 (EDT) (envelope-from scott) From: Scott Gasch Message-Id: <199806182026.QAA29134@cowpie.acm.vt.edu> Subject: Q: ioctl() and bios video mode To: hackers@FreeBSD.ORG Date: Thu, 18 Jun 1998 16:26:32 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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. Scott -- +------------+ hp +-----------------+ | Scott Gasch \ / scott@ | | Computer Sci \ ``All programmers are playwrights and / perl.guru.org | | Virginia Tech \ all computers are lousy actors'' / finger for PGP key | +----------------+ +---------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message