Re: CGA instead of VGA

2000-02-20 Thread Kazutaka YOKOTA


On -current my VGA card is being used as a CGA card. It is correctly
recognized as a VGA:

vga-pci0: S3 Trio graphics accelerator mem 0xf800-0xfbff irq 11 at d
evice 15.0 on pci0

The above message simply means that a PCI card classified as VGA is
found.  This does not necessarily means that the card can be used as
VGA.  

vga0: Generic ISA VGA at port 0x3d0-0x3db iomem 0xb8000-0xb on isa0

but then used as a CGA:

sc0: CGA 16 virtual consoles, flags=0x200

The BIOS setup menu usually has an entry to specify the type of the
installed video card.  If this item is set to CGA, the BIOS and the
vga driver will initialize the card, even if it is a VGA, as the CGA
card.  Are you sure that this doesn't happen to be the case with
your system?

The problem is, that I can't set fonts:

# vidcontrol /dev/ttyv0 -f 8x16 iso02-8x16
vidcontrol: can't load font: Device not configured

If the card is recognized as CGA, you cannot load font or switch
video modes.

I vaguely remember seing a commit from Kazu that supposedly fixed this,
although I still experience it with a -current machine as of a couple of
days ago.

That commit fixed the problem where the vga driver wrongly thought the
card is CGA when the BIOS DOES initialize the card as VGA.  If the
BIOS initialize the card as CGA, the vga driver is still led to believe
the card is CGA.  (And I believe that is the reasonable behavior.)

Kazu

The motherboard is an Intel AN430TX, the graphics card is a S3 Trio 64V+
based card. Below is the full dmesg.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: CGA instead of VGA

2000-02-20 Thread Blaz Zupan

 The BIOS setup menu usually has an entry to specify the type of the
 installed video card.  If this item is set to CGA, the BIOS and the
 vga driver will initialize the card, even if it is a VGA, as the CGA
 card.  Are you sure that this doesn't happen to be the case with
 your system?

My BIOS does not have this entry. I can only select if this is a PnP
operating system. I have set it to "no" because if I select "yes" my PCI
NE-2000 network card is not recognized because the BIOS does not assign
resources to it (I was told on this list that FreeBSD is not yet a full
PnP system in this sense). If I set PnP to "yes" the card is correctly
recognized as a VGA card.

 That commit fixed the problem where the vga driver wrongly thought the
 card is CGA when the BIOS DOES initialize the card as VGA.  If the
 BIOS initialize the card as CGA, the vga driver is still led to believe
 the card is CGA.  (And I believe that is the reasonable behavior.)

So how can I force the card to VGA in my situation? :) I have flashed the
latest BIOS into the motherboard and I still can't find any setting
mentioning CGA or VGA. More info about the motherboard can be found here:
http://support.intel.com/support/motherboards/desktop/an430tx/index.htm

Blaz Zupan, [EMAIL PROTECTED], http://home.amis.net/blaz/
Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



CGA instead of VGA

2000-02-19 Thread Blaz Zupan

On -current my VGA card is being used as a CGA card. It is correctly
recognized as a VGA:

vga-pci0: S3 Trio graphics accelerator mem 0xf800-0xfbff irq 11 at device 
15.0 on pci0
vga0: Generic ISA VGA at port 0x3d0-0x3db iomem 0xb8000-0xb on isa0

but then used as a CGA:

sc0: CGA 16 virtual consoles, flags=0x200

The problem is, that I can't set fonts:

# vidcontrol /dev/ttyv0 -f 8x16 iso02-8x16
vidcontrol: can't load font: Device not configured

I vaguely remember seing a commit from Kazu that supposedly fixed this,
although I still experience it with a -current machine as of a couple of
days ago.

The motherboard is an Intel AN430TX, the graphics card is a S3 Trio 64V+
based card. Below is the full dmesg.

Blaz Zupan, [EMAIL PROTECTED], http://home.amis.net/blaz/
Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #0: Sun Feb 13 14:04:39 CET 2000
[EMAIL PROTECTED]:/usr/home/blaz/FreeBSD/src/sys/compile/GOLD
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P55C (232.88-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping = 3
  Features=0x8001bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX
real memory  = 67108864 (65536K bytes)
avail memory = 62050304 (60596K bytes)
Preloaded elf kernel "kernel" at 0xc02e7000.
Intel Pentium detected, installing workaround for F00F bug
npx0: math processor on motherboard
npx0: INT 16 interface
apm0: APM BIOS on motherboard
apm: found APM BIOS v1.2, connected at v1.2
pcib0: Host to PCI bridge on motherboard
pci0: PCI bus on pcib0
isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
ata-pci0: Intel PIIX4 ATA-33 controller port 0xfcb0-0xfcbf at device 7.1 on pci0
ata0 at 0x01f0 irq 14 on ata-pci0
pci0: Intel 82371AB/EB (PIIX4) USB controller (vendor=0x8086, dev=0x7112) at 7.2 irq 9
chip1: Intel 82371AB Power management controller port 0x7000-0x700f at device 7.3 on 
pci0
ed0: NE2000 PCI Ethernet (Compex) port 0xfcc0-0xfcdf irq 9 at device 13.0 on pci0
ed0: address 00:80:48:ca:93:de, type NE2000 (16 bit) 
ahc0: Adaptec 2940 Ultra SCSI adapter port 0xf800-0xf8ff mem 0xfedff000-0xfedf 
irq 9 at device 14.0 on pci0
ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs
vga-pci0: S3 Trio graphics accelerator mem 0xf800-0xfbff irq 11 at device 
15.0 on pci0
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5" drive on fdc0 drive 0
atkbdc0: keyboard controller (i8042) at port 0x60-0x6f on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: Generic ISA VGA at port 0x3d0-0x3db iomem 0xb8000-0xb on isa0
sc0: System console on isa0
sc0: CGA 16 virtual consoles, flags=0x200
pcic: polling mode
pcic: polling mode
pcic0: Vadem 469 at port 0x3e0 iomem 0xd on isa0
pccard0: PC Card bus -- kludge version on pcic0
pccard1: PC Card bus -- kludge version on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
pcm0: Yamaha OPL-SAx at port 
0x220-0x22f,0x530-0x537,0x388-0x38f,0x330-0x331,0x370-0x371 irq 5 drq 0,1 on isa0
joy0: Generic PnP Joystick at port 0x201 on isa0
ad0: 13783MB IBM-DTTA-371440 [28005/16/63] at ata0-master using UDMA33
pccard: card inserted, slot 0
Mounting root from ufs:/dev/ad0s1a
da1 at ahc0 bus 0 target 1 lun 0
da1: NEC D3847 0307 Fixed Direct Access SCSI-2 device 
da1: 10.000MB/s transfers (10.000MHz, offset 15)
da1: 1547MB (3170160 512 byte sectors: 255H 63S/T 197C)
cd0 at ahc0 bus 0 target 3 lun 0
cd0: TEAC CD-ROM CD-532S 3.0A Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 0 lun 0
da0: IBM DORS-32160 WA6A Fixed Direct Access SCSI-2 device 
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
wi0: WaveLAN/IEEE 802.11 at port 0x240-0x27f irq 10 slot 0 on pccard0
wi0: Ethernet address: 00:60:1d:f1:15:bb



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message