On Tue, Feb 29, 2000 at 03:18:09PM +0100, Sven LUTHER wrote: > On Mon, Feb 28, 2000 at 06:12:55PM -0700, Randolph Chung wrote: > > > the dialog boxes tells me that i don't have a /proc/pci (which is normal > > > since > > > i don't have a pci bus on my hardware, and am using an fbdev X server > > > anyway.) > > [...] > > > Anyway, since at least two arches that debian will support with potato > > > use the > > > fbdev X server, and maybe other could use it too, would it not be nice to > > > check for a present /proc/fb#, when no /proc/pci is there (or even check > > > for > > > both and ask the user which he will use) ? > > > > This is xviddetect's fault. dhd has offered to send me some code to do > > basically what you suggested. i hope to have some time to look at this soon > > myself as well. how do you detect if fbdev is actually enabled in the > > kernel? > > If fbdev is enabled in the kernel, and proc is too, you can look at /proc/fb. [snip]
You should also be aware that if fb is compiled in but not enabled, then /proc/fb will exist but be empty (at least, that has been my experience). This should probably be treated as if /proc/fb wasn't found at all... -- Nathaniel

