[MPlayer-users] ANNOUNCE: new ./configure script
p_l at tfz.net
Mon Nov 19 16:50:19 CET 2001
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
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 at localhost:~ #cat /proc/fb
> 0 ATY Mach64
> root at localhost:~ #cat /proc/devices |grep fb
> 29 fb
> root at localhost:~ #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.
More information about the MPlayer-users