[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]
Re: [MPlayer-users] ANNOUNCE: new ./configure script
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
- RE: [MPlayer-users] ANNOUNCE: new ./configure script, (continued)
- RE: [MPlayer-users] ANNOUNCE: new ./configure script, Robinson, Chad, 2001/11/19
- Re: [MPlayer-users] ANNOUNCE: new ./configure script, pl, 2001/11/19
- Re: [MPlayer-users] ANNOUNCE: new ./configure script, Petr Ketner, 2001/11/19
- Re: [MPlayer-users] ANNOUNCE: new ./configure script, pl, 2001/11/19
- Re: [MPlayer-users] ANNOUNCE: new ./configure script, Sven Hartge, 2001/11/19
- Re: [MPlayer-users] ANNOUNCE: new ./configure script, Alexander Werth (gmx), 2001/11/19
- Re: [MPlayer-users] ANNOUNCE: new ./configure script, Sven Hartge, 2001/11/19
- Re: Re: [MPlayer-users] ANNOUNCE: new ./configure script, Arpi, 2001/11/19
- Re: [MPlayer-users] ANNOUNCE: new ./configure script, pl, 2001/11/19
- Re: [MPlayer-users] ANNOUNCE: new ./configure script, Dirk Pritsch, 2001/11/19
- Re: [MPlayer-users] ANNOUNCE: new ./configure script,
pl <=
- Re: [MPlayer-users] ANNOUNCE: new ./configure script, Felix Buenemann, 2001/11/20
- Re: Re: [MPlayer-users] ANNOUNCE: new ./configure script, Arpi, 2001/11/20
- Re: Re: [MPlayer-users] ANNOUNCE: new ./configure script, André Dahlqvist, 2001/11/19
- Re: [MPlayer-users] ANNOUNCE: new ./configure script, Jukka Tastula, 2001/11/19
Re: [MPlayer-users] ANNOUNCE: new ./configure script, SycOtiC Smith, 2001/11/19