Skip to contentSkip to conversation

XFree-4.2 and C110

parisc-linux Bryan W. Headley 2 participants 2 messages Jun 30, 2002

lore
Share & tools
lore
#0 lore raw

Tried the new 4.2.0 snapshots on my C110. It tells me it cannot find the framebuffer, and can't support 24-bit color (even though 4.1 can).

The system appears to be looking in /proc/bus/pci to look for video cards and framebuffers, which is a bogus way to find video cards on a PC, too (VESA bus, ISA, EISA, MCA... where is that video card?)

On the sparc/32, they're going down /proc/openprom to find the video adapter; I'm wondering if it's appropriate to try to expose the device list the kernel sees during bootup as a /proc file, and then write a special handler like they have for "sbus".

I'm not too fond of synthesizing a "pci" directory, and making up fake IDs for things that aren't PCI cards...

a) anyone already come up with a better solution?
b) if one has to be developed, is a little file in /proc the way to go?

Signature · 2 lines
____               .:.                 ____
Bryan W. Headley - [email protected]
#1 lore raw
Quoted 3 lines · Bryan W. Headley

The system appears to be looking in /proc/bus/pci to look for video cards and framebuffers, which is a bogus way to find video cards on a PC, too (VESA bus, ISA, EISA, MCA... where is that video card?)

Ugh.

Quoted 2 lines

I'm not too fond of synthesizing a "pci" directory, and making up fake IDs for things that aren't PCI cards...

Well... it's a hack which we already kind of do, and won't need to carry forward into 2.5. There's a fake PCI device per IOC, so maybe this could be filled in by a gfx card. In 2.5, we'll have driverfs and hopefully X won't have to tell the difference.

Signature · 1 line
Revolutions do not require corporate support.