02-22-2002
actually to take this a bit further... is there a way to see the capacity of the HD, (other than the cryptic DF) and the speed of your CDRom drive?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Let me give a little background on the problem. I am trying to hook up a unix box through a KVM to a display. The KVM is connected to a windows box as well. When I run the mouse and monitor directly to the unix box it works pretty well. However when I trie to load it through the KVM the keyboard... (0 Replies)
Discussion started by: Winzernotman
0 Replies
2. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies
3. Solaris
Hi
I am right now facing a strange hardware problem. System get booted with the following error:
Fatal Error Reset
CPU 0000.0000.0000.0003 AFSR 0100.0000.0000.0000 SCE
AFAR 0000.07c6.0000.1000
SC Alert: Host System has Reset
It happen 4 or 5 times and get the same error every time.I... (8 Replies)
Discussion started by: girish.batra
8 Replies
4. AIX
Does anyone know the hyperlink settings to look at an AIX5L box? (1 Reply)
Discussion started by: vbagwell
1 Replies
5. Linux
Hi,
How to set ip address in linux.
Regards,
Guguli (1 Reply)
Discussion started by: guguli
1 Replies
6. UNIX for Advanced & Expert Users
Hello
I wonder... lets say I have to set up very very restricted rights to a user that only should be able to access logfile Y in catalogue X and nothing else. Current user is going to use Putty to access current unix machine.
Is it possible to set up user settings so a user is just able to... (1 Reply)
Discussion started by: mimaca
1 Replies
7. UNIX for Dummies Questions & Answers
HP-UX B.11.23 U ia64
model: HP RX7640/4
What commands can I issue to find out quantity/type of memory and CPUs?
I know what I get from Glance but want to know if there are OS commands to get same or additional information.
Thanks.
Lisa (4 Replies)
Discussion started by: LisaS
4 Replies
8. Solaris
Hi folk,
I have this hardware faunty message, but dont know which hardware is this ? can you guide me ?
--------------- ------------------------------------ -------------- ---------
TIME EVENT-ID MSG-ID SEVERITY
---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies
9. UNIX for Advanced & Expert Users
First, forgive me if this is a stupid questions that I should have asked in the non-expert forum. It seems like a hard questions to me.
Is there a way to find the hardware model name from the command line on UNIX machines in general?
I want to find out what kind of machines are running at a... (5 Replies)
Discussion started by: Pug
5 Replies
10. Solaris
Hello Everyone,
I'm new to Solaris, less than a week to give an idea how green I am.:eek: Although new to UNIX, I've been running Linux (i.e. OpenSUSE, Ultimate Edition, Arch, and obviously Ubuntu) for many years, so, I decided to put Solaris 11 on my 12 core opteron. I had a bit of difficulty... (23 Replies)
Discussion started by: Nostradamus1973
23 Replies
VGA(3) Library Functions Manual VGA(3)
NAME
vga - VGA controller device
SYNOPSIS
bind #v /dev
/dev/vgactl
/dev/vgaiob
/dev/vgaiow
/dev/vgaiol
DESCRIPTION
The VGA device allows configuration of a graphics controller on a PC. Vgactl allows control over higher-level settings such as display
height, width, depth, controller and hardware-cursor type. Vgaiob, vgaiow and vgaiol allow control over individual 8-bit, 16-bit and
32-bit x86 I/O-ports respectively, such as those used to implement configuration and setup registers on a VGA controller card. These func-
tions are normally carried out by vga(8).
Writes to vgactl are of the form `attribute value'. Valid attributes are
size value is 'XxYxZ' , where X, Y and Z are numbers that tell the kernel the width and height of the screen in pixels and the number of
bits per pixel.
type tells the kernel which type of controller is being used, mainly to enable the correct code for display-memory bank switching at res-
olutions greater than 640x480x1. The names vga, clgd542x, et4000, mach32, and s3 are supported for value.
Note that this list does not indicate the full set of VGA chips supported. For example, s3 includes the 86C801/5, 86C928, Vision864,
and Vision964. It is the job of vga(8) to recognize which particular chip is being used and to initialize it appropriately.
hwgc tells the kernel to use a particular type of hardware graphics cursor. Bt485hwgc, et4000hwgc, s3hwgc and tvp3020hwgc, are currently
recognized values. A value of off reverts to using the software cursor.
Reading vgactl returns the current settings, one per line.
EXAMPLES
The following reverts to using the software graphics cursor
echo -n 'hwgc off' >/dev/vgactl
Sample code to read an x86 8-bit I/O port
uchar
inportb(long port)
{
uchar data;
if(iobfd == -1)
iobfd = open("#v/vgaiob", ORDWR);
seek(iobfd, port, 0);
if(read(iobfd, &data, sizeof(data)) != sizeof(data))
error("inportb(0x%4.4x): %r0, port);
return data;
}
SOURCE
/sys/src/9/pc/devvga.c
SEE ALSO
vga(8)
BUGS
There should be some restriction on the range of valid ports.
There should be support for the hardware graphics cursor on the clgd54[23]x VGA controller chips.
The hardware graphics cursor on the et4000 does not work in 2x8-bit mode.
VGA(3)