Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] My keyboard dont works well since updated xorg
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
-SkG-
n00b
n00b


Joined: 18 Feb 2007
Posts: 25
Location: Madrid, Spain.

PostPosted: Thu Apr 10, 2008 3:18 pm    Post subject: [SOLVED] My keyboard dont works well since updated xorg Reply with quote

I updated Gnome from 2.22 to 2.22.1 and xorg-server from 1.3 to 1.4 and my keyboard isnt working as it must.
My keys are changed (ex. PrintPant = Supr, Up = PrintPant, etc...) I tryed to change layout in xorg.conf and in Gnome without sucess, i tryed with generic 104 keys, generic 105 keys and Acer Laptop keyboard
Here a screenshot of my config, the SO is in spanish:
Screen here

If i connect an external USB keyboard it works... and while it is connected the integrated keyboard is working as it must, but when i disconnect it my internal keyboard works again badly

I need some help
_________________
Acer Aspire 5051AWXMi
AMD Turion 64 MK-36 2GHz
ATI Radeon Xpress 1100 256MB
Broadcom 4318
Atheros 5212
1024MB DDR2 RAM
120GB HD
gentoo-sources-2.6.24-r3 - amd64


Last edited by -SkG- on Thu Apr 10, 2008 7:07 pm; edited 2 times in total
Back to top
View user's profile Send private message
dmiceman
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2005
Posts: 115

PostPosted: Thu Apr 10, 2008 4:26 pm    Post subject: Reply with quote

You can try “evdev” keyboard model.
Back to top
View user's profile Send private message
-SkG-
n00b
n00b


Joined: 18 Feb 2007
Posts: 25
Location: Madrid, Spain.

PostPosted: Thu Apr 10, 2008 6:07 pm    Post subject: Reply with quote

Evdev do the same, i think that xorg loads evdev and i dont know why loads evdev and not kbd... i'll put again kbd and paste here xorg log...
_________________
Acer Aspire 5051AWXMi
AMD Turion 64 MK-36 2GHz
ATI Radeon Xpress 1100 256MB
Broadcom 4318
Atheros 5212
1024MB DDR2 RAM
120GB HD
gentoo-sources-2.6.24-r3 - amd64
Back to top
View user's profile Send private message
-SkG-
n00b
n00b


Joined: 18 Feb 2007
Posts: 25
Location: Madrid, Spain.

PostPosted: Thu Apr 10, 2008 6:30 pm    Post subject: Reply with quote

I tryed with 1.2.2 and 1.3.0 xf86-input-keyboard version, and 1.2.0 evdev, here is the log and config when using "kbd":

Quote:
Section "InputDevice"
Identifier "Keyboard"
Driver "kbd"
Option "AutoRepeat" "500 5"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
Option "XkbRules" "xorg"
# Macintosh keyboard
#Option "XkbOptions" "lv3:rwin_switch"
EndSection
...
...
Section "ServerLayout"
Identifier "Acer Aspire 5051AWXMi"
Screen 0 "Screen"
Option "AIGLX" "true"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
InputDevice "Touchpad-Synaptics" "SendCoreEvents"
InputDevice "Keyboard" "CoreKeyboard"
EndSection


Quote:

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-gentoo-r4 x86_64
Current Operating System: Linux Mokona 2.6.24-gentoo-r4 #1 Sun Mar 30 18:17:22 CEST 2008 x86_64
Build Date: 10 April 2008 07:29:19PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 10 20:13:31 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Acer Aspire 5051AWXMi"
(**) |-->Screen "Screen" (0)
(**) | |-->Monitor "WXGA TFT"
(**) | |-->Device "ATI Technologies Inc RS485 [Radeon Xpress 1100 IGP]"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Mouse2"
(**) |-->Input Device "Touchpad-Synaptics"
(**) |-->Input Device "Keyboard"
(**) Option "AllowMouseOpenFail" "true"
(**) Option "AIGLX" "true"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) Including the default font path /usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/OTF,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi/,/usr/share/fonts/75dpi/.
(**) FontPath set to:
/usr/share/fonts/75dpi/,
/usr/share/fonts/arphicfonts/,
/usr/share/fonts/baekmuk-fonts/,
/usr/share/fonts/corefonts/,
/usr/share/fonts/kochi-substitute/,
/usr/share/fonts/misc/,
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
(==) RgbPath set to "/usr/share/X11/rgb"
(==) ModulePath set to "/usr/lib64/xorg/modules"
(**) Extension "Composite" is enabled
(**) Extension "XVideo" is enabled
(**) Extension "DAMAGE" is enabled
(**) Extension "RENDER" is enabled
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) Loader magic: 0x7b2820
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 2.0
X.Org XInput driver : 2.0
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib64/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.0.0
ABI class: X.Org Video Driver, version 2.0
(++) using VT number 7
...
...
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "freetype" will be loaded. This was enabled by default and also specified in the config file.
(II) "type1" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded by default.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "dbe"
(II) Loading /usr/lib64/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "i2c"(II) Module "i2c" already built-in
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(**) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "ddc"(II) Module "ddc" already built-in
(II) LoadModule: "type1"
(II) Loading /usr/lib64/xorg/modules/fonts//libtype1.so
(II) Module type1: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.0.2
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Type1
(II) LoadModule: "freetype"
(II) Loading /usr/lib64/xorg/modules/fonts//libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
compiled for 1.4.0.90, module version = 2.1.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "extmod"
(II) Loading /usr/lib64/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "synaptics"
(II) Loading /usr/lib64/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
compiled for 4.3.99.902, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(II) LoadModule: "vbe"
(II) Loading /usr/lib64/xorg/modules//libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.1.0
ABI class: X.Org Video Driver, version 2.0
(II) LoadModule: "dri"
(II) Loading /usr/lib64/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension XFree86-DRI
(II) LoadModule: "record"
(II) Loading /usr/lib64/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension RECORD
(II) LoadModule: "fglrx"
(II) Loading /usr/lib64/xorg/modules/drivers//fglrx_drv.so
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
compiled for 7.1.0, module version = 8.47.3
Module class: X.Org Video Driver
(II) LoadModule: "mouse"
(II) Loading /usr/lib64/xorg/modules/input//mouse_drv.so
dlopen: /usr/lib64/xorg/modules/input//mouse_drv.so: undefined symbol: miPointerGetMotionEvents
(EE) Failed to load /usr/lib64/xorg/modules/input//mouse_drv.so
(II) UnloadModule: "mouse"
(EE) Failed to load module "mouse" (loader failed, 7)
(II) LoadModule: "synaptics"
(II) Reloading /usr/lib64/xorg/modules/input//synaptics_drv.so
(II) LoadModule: "kbd"
(II) Loading /usr/lib64/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.3.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0

...
...
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/lib64/xorg/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 0.1.0
ABI class: X.Org Video Driver, version 2.0
...
...
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Reloading /usr/lib64/xorg/modules//libvbe.so
...
...
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/lib64/xorg/modules/linux//libfglrxdrm.so
(II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
compiled for 7.1.0, module version = 8.47.3
ABI class: X.Org Server Extension, version 0.3
...
...
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"(II) Module "ddc" already built-in
...
...
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib64/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.3
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"(II) Module "ramdac" already built-in
(==) fglrx(0): NoAccel = NO
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/lib64/xorg/modules//libxaa.so
(II) Module xaa: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.2.0
ABI class: X.Org Video Driver, version 2.0
(**) fglrx(0): NoDRI = NO
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Reloading /usr/lib64/xorg/modules/linux//libfglrxdrm.so
...
...
(II) AIGLX: Loaded and initialized /usr/lib64/dri/fglrx_dri.so
(II) GLX: Initialized DRI GL provider for screen 0
(EE) No Input driver matching `mouse'
(EE) No Input driver matching `mouse'
(II) Synaptics touchpad driver version 0.14.6 (1406)
(--) Touchpad-Synaptics auto-dev sets device to /dev/input/event5
(**) Option "Device" "/dev/input/event5"
(**) Option "SHMConfig" "true"
(**) Option "HorizScrollDelta" "0"
(--) Touchpad-Synaptics touchpad found
(**) Option "SendCoreEvents"
(**) Touchpad-Synaptics: always reports core events
(**) Option "CoreKeyboard"
(**) Keyboard: always reports core events
(**) Option "Protocol" "standard"
(**) Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 5"
(**) Option "XkbRules" "xorg"
(**) Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "es"
(**) Keyboard: XkbLayout: "es"
(**) Option "CustomKeycodes" "off"
(**) Keyboard: CustomKeycodes disabled
(II) evaluating device (Keyboard)
(II) XINPUT: Adding extended input device "Keyboard" (type: KEYBOARD)

(II) evaluating device (Touchpad-Synaptics)
(II) XINPUT: Adding extended input device "Touchpad-Synaptics" (type: MOUSE)
Synaptics DeviceInit called
SynapticsCtrl called.
Synaptics DeviceOn called
(--) Touchpad-Synaptics auto-dev sets device to /dev/input/event5
(**) Option "Device" "/dev/input/event5"
(--) Touchpad-Synaptics touchpad found
Could not init font path element /usr/share/fonts/TTF/, removing from list!
Could not init font path element /usr/share/fonts/OTF, removing from list!
Could not init font path element /usr/share/fonts/Type1/, removing from list!
(II) Synaptics touchpad driver version 0.14.6 (1406)
SynPS/2 Synaptics TouchPad no synaptics event device found (checked 17 nodes)
(EE) xf86OpenSerial: No Device specified.
Synaptics driver unable to open device
(EE) PreInit failed for input device "SynPS/2 Synaptics TouchPad"
(II) UnloadModule: "synaptics"
(II) LoadModule: "evdev"
(II) Loading /usr/lib64/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.2.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(**) AT Translated Set 2 keyboard: always reports core events
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)

evdev: leds are 0x0 for device 4
(II) AT Translated Set 2 keyboard: Init
(II) AT Translated Set 2 keyboard: On
AUDIT: Thu Apr 10 20:13:34 2008: 1763 X: client 2 rejected from local host (uid 1000)
AUDIT: Thu Apr 10 20:13:34 2008: 1763 X: client 3 rejected from local host (uid 1000)
evdev: leds are 0x0 for device 4
evdev: leds are 0x0 for device 4
evdev: leds are 0x0 for device 4
SynapticsCtrl called.
SynapticsCtrl called.
evdev: leds are 0x0 for device 4
evdev: leds are 0x0 for device 4
evdev: leds are 0x0 for device 4
evdev: leds are 0x0 for device 4
evdev: leds are 0x0 for device 4
evdev: leds are 0x0 for device 4
evdev: leds are 0x0 for device 4
evdev: leds are 0x0 for device 4
evdev: leds are 0x0 for device 4
evdev: leds are 0x0 for device 4
evdev: leds are 0x0 for device 4


As i can see, it load evdev and keyboard use it...
If i install xorg-server 1.3 with input-keyboard 1.1.1 works...

If i connect the USB keyboard:
Code:
(**) CHESEN USB Keyboard: always reports core events
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) XINPUT: Adding extended input device "CHESEN USB Keyboard" (type: KEYBOARD)
evdev: leds are 0x0 for device 5
(II) CHESEN USB Keyboard: Init
(II) CHESEN USB Keyboard: On
(**) CHESEN USB Keyboard: always reports core events
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) XINPUT: Adding extended input device "CHESEN USB Keyboard" (type: KEYBOARD)
evdev: leds are 0x0 for device 6
(II) CHESEN USB Keyboard: Init
(II) CHESEN USB Keyboard: On

_________________
Acer Aspire 5051AWXMi
AMD Turion 64 MK-36 2GHz
ATI Radeon Xpress 1100 256MB
Broadcom 4318
Atheros 5212
1024MB DDR2 RAM
120GB HD
gentoo-sources-2.6.24-r3 - amd64


Last edited by -SkG- on Thu Apr 10, 2008 6:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
dmiceman
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2005
Posts: 115

PostPosted: Thu Apr 10, 2008 6:43 pm    Post subject: Reply with quote

To be precise: have you tried evdev keyboard model with gnome layout selector? "pc105" is not fully compatible with evdev keyboard codes.

X server loads evdev driver because from now on xorg don't use /etc/X11/xorg.conf if it can found keyboard/mouse configuration throw hal (if you have >=hal-0.5.10).
Back to top
View user's profile Send private message
-SkG-
n00b
n00b


Joined: 18 Feb 2007
Posts: 25
Location: Madrid, Spain.

PostPosted: Thu Apr 10, 2008 6:47 pm    Post subject: Reply with quote

I tryed pc104 with evdev, pc105 with evdev and Acer Laptop Keyboard with evdev. Can I change hal config?

I put that to config hal and no result:

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<match key="info.capabilities" contains="input.keyboard">
<merge key="input.x11_driver" type="string">keyboard</merge>
<merge key="input.xkb.layout" type="string">es</merge>
<merge key="input.xkb.model" type="string">pc105</merge>
<merge key="input.xkb.rules" type="string">xorg</merge>
</match>

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<match key="info.capabilities" contains="input.keyboard">
<merge key="input.x11_driver" type="string">kbd</merge>
<merge key="input.xkb.layout" type="string">es</merge>
<merge key="input.xkb.model" type="string">pc105</merge>
<merge key="input.xkb.rules" type="string">xorg</merge>
</match>
_________________
Acer Aspire 5051AWXMi
AMD Turion 64 MK-36 2GHz
ATI Radeon Xpress 1100 256MB
Broadcom 4318
Atheros 5212
1024MB DDR2 RAM
120GB HD
gentoo-sources-2.6.24-r3 - amd64
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Thu Apr 10, 2008 6:59 pm    Post subject: Reply with quote

After X upgrade x11-drivers/xf86-input-keyboard and x11-drivers/xf86-input-mouse should be rebuild too :wink:
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
-SkG-
n00b
n00b


Joined: 18 Feb 2007
Posts: 25
Location: Madrid, Spain.

PostPosted: Thu Apr 10, 2008 7:04 pm    Post subject: Reply with quote

I forget to say it, they are rebuilt.

EDIT: Ok, the hal conf works (i forget to /etc/init.d/hald restart)
_________________
Acer Aspire 5051AWXMi
AMD Turion 64 MK-36 2GHz
ATI Radeon Xpress 1100 256MB
Broadcom 4318
Atheros 5212
1024MB DDR2 RAM
120GB HD
gentoo-sources-2.6.24-r3 - amd64
Back to top
View user's profile Send private message
dmiceman
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2005
Posts: 115

PostPosted: Thu Apr 10, 2008 7:08 pm    Post subject: Reply with quote

-SkG- wrote:
I tryed pc104 with evdev, pc105 with evdev and Acer Laptop Keyboard with evdev.


No :-) You should try evdev with evdev in gnome configuration (because /etc/X11/xorg.conf does not play a role anymore). There should be some keyboard model with a word "evdev" in a gnome dialog you shown in screenshot.
Back to top
View user's profile Send private message
-SkG-
n00b
n00b


Joined: 18 Feb 2007
Posts: 25
Location: Madrid, Spain.

PostPosted: Thu Apr 10, 2008 7:33 pm    Post subject: Reply with quote

dmiceman wrote:
-SkG- wrote:
I tryed pc104 with evdev, pc105 with evdev and Acer Laptop Keyboard with evdev.


No :-) You should try evdev with evdev in gnome configuration (because /etc/X11/xorg.conf does not play a role anymore). There should be some keyboard model with a word "evdev" in a gnome dialog you shown in screenshot.


Ok! thx a lot, i put gnome with Evdev-managed keyboard and works without edit hal rules ^^
_________________
Acer Aspire 5051AWXMi
AMD Turion 64 MK-36 2GHz
ATI Radeon Xpress 1100 256MB
Broadcom 4318
Atheros 5212
1024MB DDR2 RAM
120GB HD
gentoo-sources-2.6.24-r3 - amd64
Back to top
View user's profile Send private message
Heffaklumpen
n00b
n00b


Joined: 26 Feb 2004
Posts: 18
Location: Osby, Sweden

PostPosted: Mon Apr 28, 2008 8:53 pm    Post subject: Reply with quote

Where is the hal config file located?
_________________
"I'm sorry Dave, I cannot let you do that"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum