Subject: kern/9345: wsconsctl(1) can't display the video hardware name
To: None <>
From: None <>
List: netbsd-bugs
Date: 02/03/2000 13:57:43
>Number:         9345
>Category:       kern
>Synopsis:       wsconsctl(1) can't display the video hardware name
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Feb  3 13:57:00 2000
>Originator:     Dave Sainty
Dynamic Technology Services and Products Ltd (NZ)
>Release:        Recent current
System: NetBSD 1.4P NetBSD 1.4P (TEQUILA) #1: Wed Jan 12 09:00:09 NZDT 2000 i386

	If you happen to use a system that builds an XF86Config file
	automatically depending on the hardware attached to the machine and a
	single global template file, it is useful to be able to determine the
	video hardware in the machine (or, more specifically, attached to the
	tty the X server is to run on).

	scon(1) under pcvt had this functionality in a minimal form, it would
	be nice if wscons did too (instead of parsing the dmesg output).  More
	so as the number of video cards in the machines increases past 1!

	wsconsctl -d name
	wsconsctl: name: not found

	Note: 'name' is a similar variable used under audioctl, but perhaps
	not quite right here (no "drivers" for video cards).  Audio eg:
	audioctl name
	name=ESS Solo-1

	Decide on an interface.

	wsconsctl -d hardware