tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/45234: Xorg -configure fails on amd64 (-current as 8.8.2001, 5.99.55)



On Wed, Aug 10, 2011 at 09:45:56AM +0200, Marc Balmer wrote:
> Am 10.08.11 09:41, schrieb Martin Husemann:
> > On Wed, Aug 10, 2011 at 07:35:00AM +0000, marc%msys.ch@localhost wrote:
> >> Number of created screens does not match number of detected devices.
> >>   Configuration failed.
> > 
> > I think it is trying to tell you that there is no support for your graphics
> > card. Happens to me with a "newer" nvidia card as well.
> 
> No, that is not the case, see the error message.  There is a problem
> loading the vmwlegacy module.

Xorg -configure is basically unsupported upstreams and has a lot of
issues with some modules. 

The approach it uses (loading all modules at once to see which one
matches the current card) is flawed. It was useful while ISA boards
were supported, but since this support has been removed, it should be
fixed to just do what is done when running without a config file and
output the running config.

> 
> My graphics cards is supported, starting X works fine wihtout a config
> file, but that gives the wrong keyboard encoding.  So I need to create a
> config file to change the XkbLayout.
> 
You can create an xorg.conf with your favourite text editor with just
an InputDevice section for your keyboard 

Section "InputDevice"
        Identifier "Keyboard0"
        Driver "keyboard"
        Option "XkbLayout" "sg"
EndSection

(And someone could have a look at was done in OpenBSD in
xserver/config/wscons.c to get the layout from wscons automatically)
I plan to submit it upstreams, but it won't make it into xserver
1.11. 
-- 
Matthieu Herrb


Home | Main Index | Thread Index | Old Index