mplayer-users
[Top][All Lists]
Advanced

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

Re: [MPlayer-users] ANNOUNCE: new ./configure script


To: mplayer-users@xxxxxxxxxxxxxx
Subject: Re: [MPlayer-users] ANNOUNCE: new ./configure script
From: pl <p_l@xxxxxxx>
Date: Mon, 19 Nov 2001 16:50:19 +0100
In-reply-to: <20011119151100.A31996@Enterprise.in-berlin.de>
References: <20011119122035.C13277@gruik.home> <200111191215.OAA47768@thot.banki.hu> <20011119135152.A14404@gruik.home> <20011119151100.A31996@Enterprise.in-berlin.de>
User-agent: Mutt/1.3.23i

Hi
On Mon, Nov 19, 2001 at 03:11:00PM +0100, Dirk Pritsch wrote:
[...]
> > > > > > Use that as a workaround. Yet, if anybody knows of a reliable way to
> > > > > > autodetect it: share'n'enjoy :)
> > > > > 
> > > > > /sbin/lspci?
> > > > Ok, it didn't come to my mind but yes, it's a solution :)
> 
> At least in debian lspci is in the pciutils package (priority: optional),
> which isn't installed on every box (and just installing only for mplayer's
> configure?...  um... :/ )
I do but not everybody uses a debian...
I don't think checking for distros specific features is a good thing.

> IMHO you should use something common in all kernels, which doesn't
> require to install additional software, and /proc would eventually be
> the best choice. What about /proc/bus/pci/devices which gives you the
> vendor id ?

Then we'll have to  add some magic to get the specifically supported h/w
of this peculiar vendor ID :/

IMHO, I don't think --enable-fb and or --enable-mga are such a big pain
to use.

If anybody really really wants to have support for that, and if it would
not look too horrid then feel free to submit patches (read
DOC/tech*/patches.txt before) as I don't own such h/w and I don't feel
like to investigate more into this.

> 
> > > >   How do I know if fb support is enabled in kernel (I could lsmod but if
> > > >   statically linked...) ?
> > > i think it can be enabled by default, if headers (fbdev.h ???) available.
> > 
> > fb headers are always available in linux/fb.h provided your C install is
> > OK.
> 
> With kernel 2.4:
> 
> root@xxxxxxxxx:~ #cat /proc/fb
> 0 ATY Mach64
> 
> root@xxxxxxxxx:~ #cat /proc/devices |grep fb
>  29 fb
> 
> root@xxxxxxxxx:~ #cat /proc/ksyms |grep fbcon
> c01c664c fbcon_redraw_bmove_R5b61728f
> c01c6600 fbcon_redraw_clear_Rf98e0fc7
> .
[...]
Then you will have to force module load to autodetect fb.
I don't think that's much better, but that's only my view.

 
--
Best regards,
  pl


[Prev in Thread] Current Thread [Next in Thread]