FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-19-2007, 12:07 PM
Paul Cartwright
 
Default CTRL-ALT-F8 doesn't work

since this issue with the nvidia card happened, I also can't switch between
users by doing the CTRL-ALT-F8/F7 or go to the text login by doing the
CTRL-ALT-F1. when I am in a konsole window and I do the CTRL-ALT-F7, here is
what it shows:
$ ;7~


how do I fix this?
--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-19-2007, 06:45 PM
Florian Kulzer
 
Default CTRL-ALT-F8 doesn't work

On Mon, Nov 19, 2007 at 08:07:24 -0500, Paul Cartwright wrote:
> since this issue with the nvidia card happened, I also can't switch between
> users by doing the CTRL-ALT-F8/F7 or go to the text login by doing the
> CTRL-ALT-F1. when I am in a konsole window and I do the CTRL-ALT-F7, here is
> what it shows:
> $ ;7~

It seems your keyboard setup got screwed up. To make sure, try this: In
konsole, become root and run

chvt 1

If this takes you to tty1 without problems then we know that nothing is
wrong with the mode switching of the video driver. Go back to X with
ALT-F7, run "setxkbmap -print" and post the output here. (If there is in
fact a problem with the video driver then we need to see the "EE" and
"WW" lines in /var/log/Xorg.0.log after a failed attempt to switch with
chvt.)

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-19-2007, 09:55 PM
Paul Cartwright
 
Default CTRL-ALT-F8 doesn't work

On Mon November 19 2007, Florian Kulzer wrote:
> > users by doing the CTRL-ALT-F8/F7 or go to the text login by doing the
> > CTRL-ALT-F1. when I am in a konsole window and I do the CTRL-ALT-F7, here
> > is what it shows:
> > $ ;7~
>
> It seems your keyboard setup got screwed up. To make sure, try this: In
> konsole, become root and run
>
> chvt 1
that worked..
>
> If this takes you to tty1 without problems then we know that nothing is
> wrong with the mode switching of the video driver. Go back to X with
> ALT-F7, run "setxkbmap -print" and post the output here. (If there is in
> fact a problem with the video driver then we need to see the "EE" and
> "WW" lines in /var/log/Xorg.0.log after a failed attempt to switch with
> chvt.)

c# setxkbmap -print
xkb_keymap {
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us(us)" };
xkb_geometry { include "pc(pc104)" };
};
paulandcilla:/home/pbc#


--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-20-2007, 07:51 PM
Florian Kulzer
 
Default CTRL-ALT-F8 doesn't work

On Mon, Nov 19, 2007 at 17:55:09 -0500, Paul Cartwright wrote:
> On Mon November 19 2007, Florian Kulzer wrote:
> > > users by doing the CTRL-ALT-F8/F7 or go to the text login by doing the
> > > CTRL-ALT-F1. when I am in a konsole window and I do the CTRL-ALT-F7, here
> > > is what it shows:
> > > $ ;7~
> >
> > It seems your keyboard setup got screwed up. To make sure, try this: In
> > konsole, become root and run
> >
> > chvt 1
> that worked..

OK, so at least the video driver seems to be fine.

[...]

> c# setxkbmap -print
> xkb_keymap {
> xkb_keycodes { include "xfree86+aliases(qwerty)" };
> xkb_types { include "complete" };
> xkb_compat { include "complete" };
> xkb_symbols { include "pc+us(us)" };
> xkb_geometry { include "pc(pc104)" };
> };

That seems OK to me. Which events are reported if you run "xev" and
press (separately) CTRL, ALT, and the Fn keys?

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-20-2007, 08:28 PM
Paul Cartwright
 
Default CTRL-ALT-F8 doesn't work

On Tue November 20 2007, Florian Kulzer wrote:
> That seems OK to me. Which events are reported if you run "xev" and
> press (separately) CTRL, ALT, and the Fn keys?
# xev
Outer window is 0x2600001, inner window is 0x2600002

PropertyNotify event, serial 8, synthetic NO, window 0x2600001,
atom 0x27 (WM_NAME), time 1593119108, state PropertyNewValue

PropertyNotify event, serial 9, synthetic NO, window 0x2600001,
atom 0x22 (WM_COMMAND), time 1593119108, state PropertyNewValue

PropertyNotify event, serial 10, synthetic NO, window 0x2600001,
atom 0x28 (WM_NORMAL_HINTS), time 1593119108, state PropertyNewValue

CreateNotify event, serial 11, synthetic NO, window 0x2600001,
parent 0x2600001, window 0x2600002, (10,10), width 50, height 50
border_width 4, override NO

MapNotify event, serial 12, synthetic NO, window 0x2600001,
event 0x2600001, window 0x2600002, override NO

PropertyNotify event, serial 15, synthetic NO, window 0x2600001,
atom 0x181 (_KDE_NET_WM_USER_CREATION_TIME), time 1593119108, state
PropertyNewValue

ConfigureNotify event, serial 15, synthetic NO, window 0x2600001,
event 0x2600001, window 0x2600001, (0,0), width 178, height 178,
border_width 0, above 0x2c02609, override NO

ReparentNotify event, serial 15, synthetic NO, window 0x2600001,
event 0x2600001, window 0x2600001, parent 0x121eb14,
(0,0), override NO

PropertyNotify event, serial 15, synthetic NO, window 0x2600001,
atom 0x150 (_NET_WM_DESKTOP), time 1593119111, state PropertyNewValue

PropertyNotify event, serial 15, synthetic NO, window 0x2600001,
atom 0x158 (_NET_FRAME_EXTENTS), time 1593119112, state PropertyNewValue

PropertyNotify event, serial 15, synthetic NO, window 0x2600001,
atom 0xff (_KDE_NET_WM_FRAME_STRUT), time 1593119112, state
PropertyNewValue

PropertyNotify event, serial 15, synthetic NO, window 0x2600001,
atom 0x156 (_NET_WM_ALLOWED_ACTIONS), time 1593119112, state
PropertyNewValue

PropertyNotify event, serial 15, synthetic NO, window 0x2600001,
atom 0xf5 (_NET_WM_STATE), time 1593119113, state PropertyNewValue

PropertyNotify event, serial 15, synthetic NO, window 0x2600001,
atom 0x6d (WM_STATE), time 1593119113, state PropertyNewValue

ConfigureNotify event, serial 15, synthetic YES, window 0x2600001,
event 0x2600001, window 0x2600001, (4,27), width 178, height 178,
border_width 0, above 0x0, override NO

MapNotify event, serial 15, synthetic NO, window 0x2600001,
event 0x2600001, window 0x2600001, override NO

VisibilityNotify event, serial 15, synthetic NO, window 0x2600001,
state VisibilityFullyObscured

FocusIn event, serial 15, synthetic NO, window 0x2600001,
mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 15, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

VisibilityNotify event, serial 27, synthetic NO, window 0x2600001,
state VisibilityUnobscured

Expose event, serial 27, synthetic NO, window 0x2600001,
(0,0), width 178, height 10, count 3

Expose event, serial 27, synthetic NO, window 0x2600001,
(0,10), width 10, height 58, count 2

Expose event, serial 27, synthetic NO, window 0x2600001,
(68,10), width 110, height 58, count 1

Expose event, serial 27, synthetic NO, window 0x2600001,
(0,68), width 178, height 110, count 0

PropertyNotify event, serial 27, synthetic NO, window 0x2600001,
atom 0x153 (_NET_WM_ICON_GEOMETRY), time 1593119325, state
PropertyNewValue

KeyPress event, serial 28, synthetic NO, window 0x2600001,
root 0x155, subw 0x0, time 1593122898, (1204,615), root1208,642),
state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2600001,
root 0x155, subw 0x0, time 1593123090, (1204,615), root1208,642),
state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 31, synthetic NO, window 0x2600001,
root 0x155, subw 0x0, time 1593125346, (1204,615), root1208,642),
state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2600001,
root 0x155, subw 0x0, time 1593125506, (1204,615), root1208,642),
state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 31, synthetic NO, window 0x2600001,
root 0x155, subw 0x0, time 1593127010, (1204,615), root1208,642),
state 0x10, keycode 73 (keysym 0xffc4, F7), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2600001,
root 0x155, subw 0x0, time 1593127122, (1204,615), root1208,642),
state 0x10, keycode 73 (keysym 0xffc4, F7), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

FocusOut event, serial 31, synthetic NO, window 0x2600001,
mode NotifyNormal, detail NotifyNonlinear

VisibilityNotify event, serial 31, synthetic NO, window 0x2600001,
state VisibilityPartiallyObscured

VisibilityNotify event, serial 31, synthetic NO, window 0x2600001,
state VisibilityFullyObscured

PropertyNotify event, serial 31, synthetic NO, window 0x2600001,
atom 0x153 (_NET_WM_ICON_GEOMETRY), time 1593137585, state
PropertyNewValue

--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-20-2007, 09:14 PM
Florian Kulzer
 
Default CTRL-ALT-F8 doesn't work

On Tue, Nov 20, 2007 at 16:28:50 -0500, Paul Cartwright wrote:
> On Tue November 20 2007, Florian Kulzer wrote:
> > That seems OK to me. Which events are reported if you run "xev" and
> > press (separately) CTRL, ALT, and the Fn keys?
> # xev

[...]

> KeyPress event, serial 28, synthetic NO, window 0x2600001,
> root 0x155, subw 0x0, time 1593122898, (1204,615), root1208,642),
> state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
> XLookupString gives 0 bytes:
> XmbLookupString gives 0 bytes:
> XFilterEvent returns: False

[...]

> KeyPress event, serial 31, synthetic NO, window 0x2600001,
> root 0x155, subw 0x0, time 1593125346, (1204,615), root1208,642),
> state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
> XLookupString gives 0 bytes:
> XmbLookupString gives 0 bytes:
> XFilterEvent returns: False

[...]

> KeyPress event, serial 31, synthetic NO, window 0x2600001,
> root 0x155, subw 0x0, time 1593127010, (1204,615), root1208,642),
> state 0x10, keycode 73 (keysym 0xffc4, F7), same_screen YES,
> XLookupString gives 0 bytes:
> XmbLookupString gives 0 bytes:
> XFilterEvent returns: False

That looks OK to me.

Which output do you get for these three commands:

awk '/Section "(InputDevice|ServerFlags)"/,/EndSection/' /etc/X11/xorg.conf

xmodmap

xmodmap -pk | grep '(F[0-9]+)'

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-21-2007, 01:20 AM
Paul Cartwright
 
Default CTRL-ALT-F8 doesn't work

On Tue November 20 2007, Florian Kulzer wrote:
> That looks OK to me.
>
> Which output do you get for these three commands:
>
> awk '/Section "(InputDevice|ServerFlags)"/,/EndSection/' /etc/X11/xorg.conf
>
$ awk '/Section "(InputDevice|ServerFlags)"/,/EndSection/' /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbVariant" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
EndSection
pbc@paulandcilla:~$
pbc@paulandcilla:~$ xmodmap
xmodmap: up to 2 keys per modifier, (keycodes in parentheses):

shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40), Alt_R (0x71)
mod2 Num_Lock (0x4d)
mod3
mod4
mod5 Scroll_Lock (0x4e)

pbc@paulandcilla:~$
pbc@paulandcilla:~$ xmodmap -pk | grep '(F[0-9]+)'
67 0xffbe (F1) 0xffca (F13)
68 0xffbf (F2) 0xffcb (F14)
69 0xffc0 (F3) 0xffcc (F15)
70 0xffc1 (F4) 0xffcd (F16)
71 0xffc2 (F5) 0xffce (F17)
72 0xffc3 (F6) 0xffcf (F18)
73 0xffc4 (F7) 0xffd0 (F19)
74 0xffc5 (F8) 0xffd1 (F20)
75 0xffc6 (F9)
76 0xffc7 (F10)
95 0xffc8 (F11)
96 0xffc9 (F12)
pbc@paulandcilla:~$


> xmodmap
~$ xmodmap
xmodmap: up to 2 keys per modifier, (keycodes in parentheses):

shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40), Alt_R (0x71)
mod2 Num_Lock (0x4d)
mod3
mod4
mod5 Scroll_Lock (0x4e)


>
> xmodmap -pk | grep '(F[0-9]+)'
~$ xmodmap -pk | grep '(F[0-9]+)'
67 0xffbe (F1) 0xffca (F13)
68 0xffbf (F2) 0xffcb (F14)
69 0xffc0 (F3) 0xffcc (F15)
70 0xffc1 (F4) 0xffcd (F16)
71 0xffc2 (F5) 0xffce (F17)
72 0xffc3 (F6) 0xffcf (F18)
73 0xffc4 (F7) 0xffd0 (F19)
74 0xffc5 (F8) 0xffd1 (F20)
75 0xffc6 (F9)
76 0xffc7 (F10)
95 0xffc8 (F11)
96 0xffc9 (F12)



--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-21-2007, 01:26 PM
Florian Kulzer
 
Default CTRL-ALT-F8 doesn't work

On Tue, Nov 20, 2007 at 21:20:15 -0500, Paul Cartwright wrote:
> On Tue November 20 2007, Florian Kulzer wrote:
> > That looks OK to me.
> >
> > Which output do you get for these three commands:

[...]

> $ awk '/Section "(InputDevice|ServerFlags)"/,/EndSection/' /etc/X11/xorg.conf
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "kbd"
> Option "CoreKeyboard"
> Option "XkbRules" "xorg"
> Option "XkbModel" "pc104"
> Option "XkbLayout" "us"
> Option "XkbVariant" "us"
> EndSection

[...]

> pbc@paulandcilla:~$ xmodmap
> xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
>
> shift Shift_L (0x32), Shift_R (0x3e)
> lock Caps_Lock (0x42)
> control Control_L (0x25), Control_R (0x6d)
> mod1 Alt_L (0x40), Alt_R (0x71)
> mod2 Num_Lock (0x4d)
> mod3
> mod4
> mod5 Scroll_Lock (0x4e)

My mod4/5 looks different:

mod4 Super_L (0x7f), Hyper_L (0x80)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x71), ISO_Level3_Shift (0x7c)

For the rest I see the same, so I guess it is OK.

> pbc@paulandcilla:~$ xmodmap -pk | grep '(F[0-9]+)'
> 67 0xffbe (F1) 0xffca (F13)
> 68 0xffbf (F2) 0xffcb (F14)
> 69 0xffc0 (F3) 0xffcc (F15)
> 70 0xffc1 (F4) 0xffcd (F16)
> 71 0xffc2 (F5) 0xffce (F17)
> 72 0xffc3 (F6) 0xffcf (F18)
> 73 0xffc4 (F7) 0xffd0 (F19)
> 74 0xffc5 (F8) 0xffd1 (F20)
> 75 0xffc6 (F9)
> 76 0xffc7 (F10)
> 95 0xffc8 (F11)
> 96 0xffc9 (F12)

The switching will only work if you get something like this:

$ xmodmap -pk | grep '(F[0-9]+)'
67 0xffbe (F1) 0x1008fe01 (XF86_Switch_VT_1)
68 0xffbf (F2) 0x1008fe02 (XF86_Switch_VT_2)
69 0xffc0 (F3) 0x1008fe03 (XF86_Switch_VT_3)
70 0xffc1 (F4) 0x1008fe04 (XF86_Switch_VT_4)
71 0xffc2 (F5) 0x1008fe05 (XF86_Switch_VT_5)
72 0xffc3 (F6) 0x1008fe06 (XF86_Switch_VT_6)
73 0xffc4 (F7) 0x1008fe07 (XF86_Switch_VT_7)
74 0xffc5 (F8) 0x1008fe08 (XF86_Switch_VT_8)
75 0xffc6 (F9) 0x1008fe09 (XF86_Switch_VT_9)
76 0xffc7 (F10) 0x1008fe0a (XF86_Switch_VT_10)
95 0xffc8 (F11) 0x1008fe0b (XF86_Switch_VT_11)
96 0xffc9 (F12) 0x1008fe0c (XF86_Switch_VT_12)

Try to change your xorg.conf to:

Option "XkbVariant" ""

and restart X. (You can also comment out that line completely.)

You can also try to run

xmodmap -e "keycode 67 = F1 XF86_Switch_VT_1"

while X is running and check if this restores CTRL-ALT-F1 switching to
tty1.

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-21-2007, 05:42 PM
Paul Cartwright
 
Default CTRL-ALT-F8 doesn't work

On Wed November 21 2007, Florian Kulzer wrote:
> > * * Option * * * * "XkbVariant" "us"
> > EndSection
>
> Try to change your xorg.conf to:
>
> Option * * * * "XkbVariant" ""

BINGO ! that did it!

>
> and restart X. (You can also comment out that line completely.)
>
> You can also try to run
>
> xmodmap -e "keycode 67 = F1 XF86_Switch_VT_1"
>
> while X is running and check if this restores CTRL-ALT-F1 switching to
> tty1.

that didn't work... but after changing that lin in xorg.conf CTRL-ALT-F1 works
again, as does CTRL-ALT-F7/8..
so, even though I have a "us" keyboard, those keys don't work with it in the
file..

--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459
 
Old 11-21-2007, 06:02 PM
Florian Kulzer
 
Default CTRL-ALT-F8 doesn't work

On Wed, Nov 21, 2007 at 13:42:09 -0500, Paul Cartwright wrote:
> On Wed November 21 2007, Florian Kulzer wrote:
> > > * * Option * * * * "XkbVariant" "us"
> > > EndSection
> >
> > Try to change your xorg.conf to:
> >
> > Option * * * * "XkbVariant" ""
>
> BINGO ! that did it!

Initially I did not think too much about xorg.conf since your problem
was caused by an upgrade without configuration change (if I understood
you correctly). I guess the new version of Xorg is somehow less tolerant
towards ill-defined configuration settings.

I meanwhile looked up the allowed XkbVariants for the "us" XkbLayout:

$ awk '/xkb_symbols/{print $2}' /usr/share/X11/xkb/symbols/us
"basic"
"euro"
"intl"
"alt-intl"
"dvorak"
"dvorak-l"
"dvorak-r"
"dvorak-classic"
"rus"
"mac"
"colemak"
"altgr-intl"
"classmate"
"classmate-intl"
"classmate-alt-intl"
"classmate-altgr-intl"

Leaving it empty should be equivalent to choosing the "basic" variant.

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
 

Thread Tools




All times are GMT. The time now is 05:36 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org