From: Helge H. <hel...@ai...> - 2004-05-23 15:06:39
|
On Fri, May 21, 2004 at 01:29:24PM +0200, Petr Vandrovec wrote: > On 21 May 04 at 12:18, Helge Hafting wrote: > > > Still, it'd be nice to have an option (specified on the kernel command > > line or the module.conf file) that allows overriding this. > > > > Something like matrox:outputs:xyz > > x, y, and z can be 1, 2 or 0, in order to connect CRTC1, CRTC2 or nothing. > > The first position(x) then correspond to the primary output, the second(y) > > the secondary output, and the third(z) DVI. > > > > The default then, when not sepcified, would be matrox:outputs:111 > > which is your default with CRTC1 everywhere. > > Yes. It looks reasonable. > > > Are you interested in supporting such an option? I can try to make a > > patch myself if you aren't interested in developing it yourself. > > I started working on it, but then I made 'bk pull' and found that > fbcon changed a bit and that I have to adapt my infrastructure to get > it back to work (as with stock fbcon I cannot drive my system in a > way I want :-( ). Here is a patch that works for my G550. It probably needs some polishing, and more work in order to work with other cards than G550 / G450. It is meant for testing by anybody interested. Still, it works on my G550, the kernel parameter video=matrox:outputs:21 connects CRTC2 to the first plug and CRTC1 to the second plug. outputs:11 is the default if the parameter is omitted. The first position is the first plug, the second position is the second plug. I didn't figure out any third output. Specifying 0 connects nothing to that plug. Specifying 1 connects CRTC1, and 2 connects CRTC2. Other values won't work and the default of 1 will be used instead. Helge Hafting |