From owner-freebsd-hackers Thu Mar 11 15:57:48 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from localhost (00-60-67-24-29-83.bconnected.net [209.53.17.55]) by hub.freebsd.org (Postfix) with ESMTP id E03AE14F4C for ; Thu, 11 Mar 1999 15:57:43 -0800 (PST) (envelope-from jwalther@localhost) Received: from jwalther by localhost with local-smtp (Exim 2.11 #1 (Debian)) id 10LFId-0004W2-00; Thu, 11 Mar 1999 15:55:35 -0800 Date: Thu, 11 Mar 1999 15:55:35 -0800 (PST) From: Jonathan Walther X-Sender: jwalther@localhost To: Kazutaka YOKOTA Cc: freebsd-hackers@freebsd.org Subject: Re: /dev/vesa usage In-Reply-To: <199903010110.KAA07570@zodiac.mech.utsunomiya-u.ac.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 1 Mar 1999, Kazutaka YOKOTA wrote: > There is no such thing as /dev/vesa. If you want to set a video mode > of your VESA-compliant VGA card, just issue ioctl to stdin. The explanation was very clear, and I was happy to receive it. However, I am getting mysterious errors. > /* obtain mode information */ > mode_info.vi_mode = M_VESA_CG1024x768; > ioctl(0, CONS_MODEINFO, &mode_info); Right here, the ioctl fails with errno 19, saying, "operation not supported by device". Woops, guess I forgot to insert the vesa.ko module. Just to be safe, I went into /usr/src/sys/modules and rebuilt and reinstalled it. Ok. But wait! # kldload /modules/vesa.ko module_register_init: module_register(vesa, f099a0c0, 0) error 6 Device not configured? I compiled my kernel with vm86 and vesa options and rebooted into it... What am I doing wrong? Is there perhaps a /dev/vesa after all and I have to use mknod? My video card is an ATI Rage 3d, and on bootup it clearly says VESA 2.0 compliant. Is our vesa support for 1.2 only, or for 2.0? Had this same error with 3.0, 3.1, and now 4.0 Cheers! Jonathan Walther To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message