Bug 5564 - New loader option -showopts
Summary: New loader option -showopts
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high enhancement
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2006-01-11 01:34 UTC by Marcus Schäfer
Modified: 2008-11-23 02:20 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg dif (7.97 KB, patch)
2006-01-11 01:35 UTC, Marcus Schäfer
no flags Details | Splinter Review

Description Marcus Schäfer 2006-01-11 01:34:32 UTC
I made a patch for the loader to be able to ask for all installed modules
for their vendor and options specifications. I would like to use that information
in the SaX2 source and I think other applications like xorgcfg might benefit
from the patch too. Simply call

    X -showopts

and get something like:

    ...

    Driver[32]:fbdev[X.Org Foundation] {
	ShadowFB:<bool>
	Rotate:<str>
	fbdev:<str>
    }

Here is the patch

Thanks
Comment 1 Marcus Schäfer 2006-01-11 01:35:05 UTC
Created attachment 4312 [details] [review]
Xorg dif
Comment 2 Egbert Eich 2006-01-11 02:27:25 UTC
Isn't this a duplicate of 5502? As mentioned there this patch may be really
useful if somebody fixed xorgcfg to use it.
Comment 3 Stefan Dirsch 2006-01-11 03:57:52 UTC
IMHO this should be handled independantly of fixing xorgcfg. Of course it would 
be possible and might make sense for xorgcfg to gather the required option 
information via "X -showopts". 
Comment 4 Daniel Stone 2007-02-27 01:29:54 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 5 Stefan Dirsch 2007-11-04 13:17:09 UTC
(In reply to comment #2)
> Isn't this a duplicate of 5502? As mentioned there this patch may be really
> useful if somebody fixed xorgcfg to use it.
5502 has been closed as worksforme. BTW, xorgcfg is no longer built by default.

Comment 6 Stefan Dirsch 2008-11-22 15:13:10 UTC
I'm going to submit this patch.
Comment 7 Stefan Dirsch 2008-11-23 02:20:53 UTC
pushed to xserver git head.

commit f6e01fa1b87ea190ea5ad723ce46893784ea1de4
Author: Stefan Dirsch <sndirsch@suse.de>
Date:   Sun Nov 23 11:16:03 2008 +0100

    Added '-showopts' option to print available driver options (#5564).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.