Subject: kern/9345: wsconsctl(1) can't display the video hardware name
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dave@dtsp.co.nz>
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
>Last-Modified:
>Originator: Dave Sainty
>Organization:
Dynamic Technology Services and Products Ltd (NZ)
>Release: Recent current
>Environment:
System: NetBSD tequila.dave.dtsp.co.nz 1.4P NetBSD 1.4P (TEQUILA) #1: Wed Jan 12 09:00:09 NZDT 2000 dave@tequila.dave.dtsp.co.nz:/vol/tequila/userB/u2/NetBSD-current/src/sys/arch/i386/compile/TEQUILA i386
>Description:
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!
>How-To-Repeat:
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
>Fix:
Decide on an interface.
Say:
wsconsctl -d hardware
hardware=vga/pci/<vendor>/<product>/<revision>
???
>Audit-Trail:
>Unformatted: