Bug 5827 - VT switch fails for Linux/Sparc, any sun keyboard, any kernel
Summary: VT switch fails for Linux/Sparc, any sun keyboard, any kernel
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Build/Modular (show other bugs)
Version: 7.0.0
Hardware: SPARC Linux (All)
: high normal
Assignee: Daniel Stone
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 06:30 UTC by Ferris McCormick
Modified: 2006-03-14 16:11 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Ferris McCormick 2006-02-07 06:30:18 UTC
VT switching (CTRL-ALT-Fx) fails (does nothing) on sparc linux with X-modular
and sun keyboards.  Failure is independent of kernel in use.  Rumor has it that
VT switch fails on other systems, too, but I cannot confirm.  Please check with
spyderous@gentoo.org for information on that.

See https://bugs.gentoo.org/show_bug.cgi?id=110731#c11 as well.
Comment 1 Stefan Bittner 2006-03-15 08:08:11 UTC
(In reply to comment #0)
> VT switching (CTRL-ALT-Fx) fails (does nothing) on sparc linux with X-modular
> and sun keyboards.  Failure is independent of kernel in use.  Rumor has it that
> VT switch fails on other systems, too, but I cannot confirm.  Please check with
> spyderous@gentoo.org for information on that.
> 
> See https://bugs.gentoo.org/show_bug.cgi?id=110731#c11 as well.

The same on debian/testing. After a dist-upgrade, which made the transition
from XFree86 to X.org CTRL-ALT-Fx does nothing.
Linux kernel is 2.6.15 on x86, Debian X server version is 6.9.0.dfsg.1-4, which
is 6.9.0 final according to the Debian changelog.
xorg.confs InputDevice Section is:
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "en"
        Option          "XkbVariant"    "nodeadkeys"
EndSection
Can provide additional info, if needed: sbi_@gmx.net.
Comment 2 Daniel Stone 2006-03-15 08:52:32 UTC
stefan, your problem is occurring because 'en' is not a valid layout name.  do
you mean 'us'?  (even so, 'nodeadkeys' is not a valid variant of us.  which
layout do you want, exactly?)

ferris, the gentoo bz is down.  could you please attach your log and the
keyboard section of your xorg.conf here?
Comment 3 Stefan Bittner 2006-03-15 09:35:03 UTC
Confirmed, after fixing that it works.
Comment 4 Ferris McCormick 2006-03-15 09:59:36 UTC
Sure.  With that change, kernel-2.6.x is fine; kbd section is:
===============================
Section "InputDevice"
  Identifier  "Keyboard0"
  Driver      "kbd"
  Option      "XkbModel"    "type5"
  Option      "XkbRules"    "xorg"
   Option      "XkbLayout"   "us
EndSection
=======================
kernel-2.4.x remains broken; here is one Keyboard section from 2.4:
=======================
Section "InputDevice"
  Identifier  "Keyboard0"
  Driver      "kbd"
  Option      "Protocol"    "Standard"
  Option      "XkbKeycodes" "sun(type5)"
  Option      "XkbModel"    "type5"
  Option      "XkbRules"    "sun"
  Option      "XkbLayout"   "us"
  Option      "XkbTypes"    "types/complete"
  Option      "XkbCompat"   "compat/complete"
  Option      "XkbGeometry" "sun(type5unix)"
   Option      "XkbSymbols"  "sun/us(sun5)"
EndSection
==============================
And here's what the log file says about the keyboard for kernel-2.4.x
===============================

(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "Standard"
(**) Keyboard0: Protocol: Standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "sun"
(**) Keyboard0: XkbRules: "sun"
(**) Option "XkbModel" "type5"
(**) Keyboard0: XkbModel: "type5"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "XkbKeycodes" "sun(type5)"
(**) Keyboard0: XkbKeycodes: "sun(type5)"
(**) Option "XkbTypes" "types/complete"
(**) Keyboard0: XkbTypes: "types/complete"
(**) Option "XkbCompat" "compat/complete"
(**) Keyboard0: XkbCompat: "compat/complete"
(**) Option "XkbSymbols" "sun/us(sun5)"
(**) Keyboard0: XkbSymbols: "sun/us(sun5)"
(**) Option "XkbGeometry" "sun(type5unix)"
(**) Keyboard0: XkbGeometry: "sun(type5unix)"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
===========================================

Note that with kernel-2.4.x, the Compose key works fine, but AltGraph does not
do anything (using this Keyboard section).
Comment 5 Daniel Stone 2006-03-15 10:24:16 UTC
uh, you can't combine kccgst (keycodes/compat/geometry/symbols/types) and rmlvo
(rules/model/layout/variant/options).  i suggest just trying with
rules/model/layout.

ferris, what change did you make? did you also have a layout of 'en'?
Comment 6 Ferris McCormick 2006-03-15 11:05:19 UTC
(In reply to comment #5)
> uh, you can't combine kccgst (keycodes/compat/geometry/symbols/types) and rmlvo
> (rules/model/layout/variant/options).  i suggest just trying with
> rules/model/layout.
> 
> ferris, what change did you make? did you also have a layout of 'en'?

I had 'en_US' (which long ago was required).  I changed to 'us'.  Using just
rules/model/layout makes no difference whatsoever with kernel-2.4.x (Note that
with xorg-6.8.2 and the deprecated kbd driver, what I have works fine. With the
fix to the kbd driver, 6.8.2 and 7.0 behave the same under kernel 2.4.x.)
Comment 7 Daniel Stone 2006-03-15 11:11:27 UTC
yeah, en_US isn't valid anymore.  as for the fix to the kbd driver you mention,
I have no idea which, but okay ...


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.