Technical article 126210

How can I write to /dev/vga on OpenServer 6.0.0?

OpenServer 6.0.0

Written · Last revised

Problem

I have an application that runs on OpenServer 5 that writes to and reads from /dev/vga. OpenServer 6.0.0 does not seem to have a /dev/vga device. How can I get my application running on OpenServere 6.0.0?

Solution

By default the OpenServer 6 driver that creates the /dev/vga device is disabled.

To enable this device, as root:

Edit the file /etc/conf/sdevice.d/devadp using your favourite editor and change the line:

devadp  N       1       0       0       0       0       0       0       0
-1
to:
devadp  Y       1       0       0       0       0       0       0       0
-1
Rebuild the kernel using:
/etc/conf/bin/idbuild -B
and reboot the system using:
shutdown -y -g0 -i6

When the system has rebooted, log in and you should find that the system will now have a /dev/vga device.

From the Xinuos technical article database, record 126210. Reproduced with permission. The original is at www.sco.com/ta/126210, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.