Jared McNeill | 9 Oct 2011 17:19
Picon

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

It was a bug in the new X server, I checked in a fix. It should work now.

"Matthieu Herrb"  wrote in message news:20110810082201.GA30650 <at> lenoise...

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 <at> msys.ch 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.
(Continue reading)

Matthew Mondor | 9 Oct 2011 19:35

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

On Sun, 9 Oct 2011 11:19:11 -0400
"Jared McNeill" <jmcneill <at> invisible.ca> wrote:

> 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

Although when auto-detection uses wrong resolution/hz defaults, what
could be done then (not all modes may be detected and available via
xrandr)?  With X -configure the defaults get listed so that they're
then easily editable by the user.

Thanks,
--

-- 
Matt

Jared McNeill | 9 Oct 2011 20:08
Picon

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

On Sun, 9 Oct 2011, Matthew Mondor wrote:

> The following reply was made to PR xsrc/45234; it has been noted by GNATS.
>
> From: Matthew Mondor <mm_lists <at> pulsar-zone.net>
> To: gnats-bugs <at> NetBSD.org, tech-x11 <at> NetBSD.org
> Cc:
> Subject: Re: port-amd64/45234: Xorg -configure fails on amd64 (-current as
> 8.8.2001, 5.99.55)
> Date: Sun, 9 Oct 2011 13:35:50 -0400
>
> On Sun, 9 Oct 2011 11:19:11 -0400
> "Jared McNeill" <jmcneill <at> invisible.ca> wrote:
>
> > 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
>
> Although when auto-detection uses wrong resolution/hz defaults, what
> could be done then (not all modes may be detected and available via
> xrandr)?  With X -configure the defaults get listed so that they're
> then easily editable by the user.

You've mis-quoted me, I didn't write that!

(Continue reading)

diro | 22 Oct 2011 18:22
Favicon

R Alt, arrow keys, and others not working

xorg.conf:

Section "InputDevice"
        Identifier              "LaptopKeyboard"
        Driver                  "kbd"
        Option                  "Protocol"      "wskbd"
        Option                  "Device"        "/dev/wskbd0"
        Option                  "AutoRepeat"    "500 30"
        Option "XkbRules"       "xorg"
        Option "XkbModel"       "pc105"
        Option "XkbLayout"      "us"
        Option "XkbVariant"     "intl"
        Option "XkbOptions"     "grp:switch,grp:ralt_toggle"
EndSection

xdm.log:

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

# xev:

Up

KeyPress event, serial 40, synthetic NO, window 0x1000001,
    root 0xab, subw 0x1000002, time 1146924, (39,36), root:(657,332),
    state 0x0, keycode 208 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
(Continue reading)


Gmane