Bug#207543: xserver-xfree86: prefBusID patch to select prefered PCI bus id
On Tue, 2003-09-23 at 13:30, Andreas Schuldei wrote:
> * Michel Dänzer (daenzer@debian.org) [030828 14:19]:
> > The X server knows which PCI devices are in use by its drivers, couldn't
> > this be just a boolean option to only deal with those?
>
> yes. here is a revised patch by Aivils Stoss
> <Aivils.Stoss@unibanka.lv> doing just that:
>
> now it is possible to use either the "SingleCard" option, when a
> given Xserver only is supposed to use one card,
>
> Section "ServerLayout"
> Identifier "Anaconda Configured"
> Screen 0 "Screen0" 0 0
> InputDevice "Mouse0" "CorePointer"
> InputDevice "Mouse1" "SendCoreEvents"
> InputDevice "Keyboard0" "CoreKeyboard"
> Option "SingleCard" "true"
> EndSection
>
> or if you use xinerama, and the xserver has several cards, one
> can say:
>
> Section "ServerLayout"
> Identifier "Anaconda Configured"
> Screen 0 "Screen0" 0 0
> InputDevice "Mouse0" "CorePointer"
> InputDevice "Mouse1" "SendCoreEvents"
> InputDevice "Keyboard0" "CoreKeyboard"
> Option "PrefBusID" "1:0:0"
> EndSection
>
> with a list of PrefBusIDs.
> (No one has tested xinerama yet!)
There is only a single variable to store the preferred bus ID, so I
guess the last one will win, but I don't know whether or how that will
affect multihead (of which Xinerama is only a special case BTW).
Anyway, my idea would have been that only something along the lines of
Option "Only_mess_with_devices_I_use"
would be needed, but that might require larger code changes than this
approach.
--
Earthling Michel Dänzer \ Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer
Reply to: