[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xfree configuration hangs when installing from scratch.



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.

here is what my G400 board says, when only primary head is enabled :

bash-2.03$ more /proc/fb
0 MATROX VGA


here 0 is the fb number (/dev/fb0) and MATROX the driver used. Don't knwo what
the VGA stands for.

here is what it says when second head is activated :

root@lambda:/lib/modules/2.3.42/misc# cat /proc/fb
0 MATROX VGA
1 MATROX DH

(don't know why, but it segfaults when using more)

here you see /dev/fb0 mapped on first head of G400 and /dev/fb1 mapped on
second head of G400.

if you want, i can provide you tommorow with the output of /proc/fb of my
ppc/apus box (it has a pm2fb primary head and a amifb secondary head).

Friendly,

Sven LUTHER


Reply to: