PDA

View Full Version : [ubuntu] don't work keyboard in X



linderox
April 7th, 2009, 07:29 AM
I updated from 8.04 to 8.10, but not so successfully. It works only one day. I decided to update again xorg and then I receive that my letter keyboards doesn't work in the X, but it works in console. It's interesting to see that functions as ctrl+alt+backspace, function+F(1-12) works well. I use gdm as default loader.

I didn't change xorg.conf for many days.I checked last dayns. стоит xserver-xorg-video-intel
в консоли всё нормально.



http://pastebin.ru/302870 - daemon.log
http://pastebin.ru/302871 - Xorg.0.log




$lspci

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 01)
02:06.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
02:08.0 Ethernet controller: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller Mobile (rev 01)
10:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)




$cat xorg.conf

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:alt_shift_toggle,grp:caps_toggle,grp_led:scrol l"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Synaptics Touchpad"
EndSection


Additionally i have some problem with intel_rng: fhw doesn't detect

and my ubuntu doesn't shutdown and hanging up at


System now will reboot [ok]

Mark Phelps
April 7th, 2009, 03:44 PM
I had a worse problem updating from 8.04 to 8.10 on a tablet PC. All my "special" keys worked fine in 8.04 and I had an extensive .Xmodmap setup to handle them. Then, I upgraded to 8.10. After that, NONE of the special keys worked.

So, I searched the forums and found posts from folks that claimed that 8.10 changed the key codes from 8.04. I figured, no problem, I'll just run xev again and see what the new keycodes are, go into .Xmodmap and update the keycodes.

Problem is, under 8.10, xev no longer sees the keys! I posted the problem in the forum. No one was able to provide any specific help.

So, I went back to 8.04.

What I would suggest is that you run xev and see if it still detects the key combinations as did 8.04.

Favux
April 7th, 2009, 04:44 PM
Hi linderox,

In Intrepid HAL (hardware abstraction layer) and it's .fdi files can control many devices. Among them are keyboard, mouse, and Synaptics TouchPad. So I have commented them out for you. Notice that I also commented out Synaptics TouchPad in "ServerLayout".

I do not know your specific problem. Maybe there is a conflict between the keyboard map for the keyboard through xorg.conf and the rest of your system.

Please see xorg.conf below:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

#Section "InputDevice"
# Identifier "Generic Keyboard"
# Driver "kbd"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us,ru"
# Option "XkbVariant" ",winkeys"
# Option "XkbOptions" "grp:alt_shift_toggle,grp:caps_toggle,grp_led:scrol l"
#EndSection

#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
# Option "CorePointer"
#EndSection

#Section "InputDevice"
# Identifier "Synaptics Touchpad"
# Driver "synaptics"
# Option "SendCoreEvents" "true"
# Option "Device" "/dev/psaux"
# Option "Protocol" "auto-dev"
# Option "HorizEdgeScroll" "0"
#EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
# InputDevice "Synaptics Touchpad"
EndSection
Either comment out the lines like I have or substitute this xorg.conf for yours.

Good luck!