Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg 7.3 broke keyboard
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
Hetfield666
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2004
Posts: 99

PostPosted: Mon Oct 01, 2007 5:17 pm    Post subject: Xorg 7.3 broke keyboard Reply with quote

i cannot have anymor ethe italian layout working properly:
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
(**) Option "Protocol" "IMPS/2"
(**) Mouse1: Device: "/dev/input/mice"
(**) Mouse1: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse1: always reports core events
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons"
(**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse1: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse1: Buttons: 11
(**) Mouse1: Sensitivity: 1
(**) Option "CoreKeyboard"
(**) Keyboard1: always reports core events
(**) Option "Protocol" "standard"
(**) Keyboard1: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard1: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard1: XkbModel: "pc105"
(**) Option "XkbLayout" "it"
(**) Keyboard1: XkbLayout: "it"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(II) evaluating device (Keyboard1)
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) evaluating device (Mouse1)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
(II) Mouse1: ps2EnableDataReporting: succeeded
Could not init font path element /usr/share/fonts/OTF, removing from list!

mouse works ok, keyboard has the italian layout but not symbols...

what's up? the driver is correctly loaded and i recompiled again....
Back to top
View user's profile Send private message
bredde
n00b
n00b


Joined: 06 Jan 2007
Posts: 14

PostPosted: Mon Oct 01, 2007 5:37 pm    Post subject: Reply with quote

Same there.
I've updated my desktop-computer and my laptop from xorg-server-1.4-r1 to -1.4-r2. On both computers I get exactly the same log-output as the first poster.
I've got a german keyboard layout, re-emerged the xorg keyboard driver and ran revdep-rebuild.

Here's the xorg.conf:

Section "InputDevice"
Identifier "Notebook Tastatur"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
Back to top
View user's profile Send private message
Hetfield666
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2004
Posts: 99

PostPosted: Mon Oct 01, 2007 6:01 pm    Post subject: Reply with quote

following some suggestions here
https://forums.gentoo.org/viewtopic-t-588884.html

it got solved.

to be sincere i don't know why and how...
Back to top
View user's profile Send private message
bredde
n00b
n00b


Joined: 06 Jan 2007
Posts: 14

PostPosted: Mon Oct 01, 2007 6:28 pm    Post subject: Reply with quote

for me, a simple reemerge of xorg-server did magical things..
however, it's working again
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Mon Oct 01, 2007 11:00 pm    Post subject: Reply with quote

Rebuilt xkbcomp, xkeyboard-config, xorg-server, xf86-input-evdev in that order
Back to top
View user's profile Send private message
Hetfield666
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2004
Posts: 99

PostPosted: Tue Oct 02, 2007 8:11 am    Post subject: Reply with quote

i confirm it's working.

actually that's a new xorg-server-1.4-r2 revision that should address this...

i only have the keyboard leds issue now...but that's UPSTREAM for 1.4.1
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Tue Oct 02, 2007 10:09 am    Post subject: Reply with quote

Leds problems hasnt been fixed on xorg-server 1.4-r2. :( :(
Back to top
View user's profile Send private message
Hetfield666
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2004
Posts: 99

PostPosted: Tue Oct 02, 2007 12:06 pm    Post subject: Reply with quote

this is what i wrote:
fixes layout and keys not working, do not fix leds.

the difference is that the first was a gentoo upgrade issue, the other is a bug in the code.

gentoo fixed what it could, xorg must fix the led and the plan to release this in 1.4.1 (patch seems already in the git archive).
_________________
----
www.patriziobassi.it
Back to top
View user's profile Send private message
pcfreak85
n00b
n00b


Joined: 11 Feb 2005
Posts: 57

PostPosted: Tue Oct 02, 2007 8:39 pm    Post subject: xorg rebuild problem Reply with quote

Hi,

during the try to get all keys working again, i received this error on install / rebuild xorg-server:

Code:

In file included from /usr/include/X11/extensions/syncstr.h:56,
                 from ../hw/xfree86/dixmods/extmod/modinit.h:47,
                 from shape.c:50:
/usr/include/X11/extensions/sync.h:130:2: error: #endif without #if
/usr/include/X11/extensions/sync.h:137: error: redefinition of 'struct _XSyncValue'
/usr/include/X11/extensions/sync.h:148: error: expected ')' before '*' token
/usr/include/X11/extensions/sync.h:148: error: expected ')' before '->' token
/usr/include/X11/extensions/sync.h:153: error: expected ')' before '*' token
/usr/include/X11/extensions/sync.h:153: error: expected ')' before '->' token
/usr/include/X11/extensions/sync.h:159: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:164: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:169: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:174: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:179: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:184: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:184: error: expected ')' before '?' token
/usr/include/X11/extensions/sync.h:188: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:192: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:192: error: expected ')' before '?' token
/usr/include/X11/extensions/sync.h:196: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:200: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:204: error: expected identifier or '(' before '{' token
/usr/include/X11/extensions/sync.h:211: error: expected identifier or '(' before '{' token
/usr/include/X11/extensions/sync.h:218: error: expected ')' before '*' token
/usr/include/X11/extensions/sync.h:218: error: expected ')' before '->' token
/usr/include/X11/extensions/sync.h:222: error: expected ')' before '*' token
/usr/include/X11/extensions/sync.h:222: error: expected ')' before '->' token
/usr/include/X11/extensions/sync.h:476:2: error: #endif without #if
make[1]: *** [shape.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/sleepuntil.Tpo .deps/sleepuntil.Plo
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/xorg-server-1.4/Xext'
make: *** [all-recursive] Error 1
 *
 * ERROR: x11-base/xorg-server-1.4-r2 failed.
 * Call stack:
 *          ebuild.sh, line 1684:  Called dyn_compile
 *          ebuild.sh, line 1020:  Called qa_call 'src_compile'
 *          ebuild.sh, line   44:  Called src_compile
 *          ebuild.sh, line 1364:  Called x-modular_src_compile
 *   x-modular.eclass, line  337:  Called x-modular_src_make
 *   x-modular.eclass, line  332:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-base/xorg-server-1.4-r2/temp/build.log'.
 *


This error is the same for installing r1 and r2. Has anybody the same issue?

thanks in advance!

best,
-andreas
_________________
---
Gentoo running on Lenovo Thinkpad T420 with KDE / SDDM
Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz / 8GB memory / nvidia graphics
Back to top
View user's profile Send private message
Hwoarang
Retired Dev
Retired Dev


Joined: 24 Feb 2007
Posts: 701
Location: Leeds, UK

PostPosted: Tue Oct 02, 2007 9:36 pm    Post subject: Reply with quote

Its seems to me that there is a problem with the current ebuild. Try a emerge --sync and retry
Back to top
View user's profile Send private message
pcfreak85
n00b
n00b


Joined: 11 Feb 2005
Posts: 57

PostPosted: Wed Oct 03, 2007 10:14 am    Post subject: Reply with quote

Hi Hwoarang,

To be sure i'll get a new ebuild i deleted the old one from /usr/portage but still the same error. It seems that exact the same error occurs on rebuilding the r1 xorg or installing the r2 ebuild. So it has to be a general issue on my system i suppose.
There are several such errors before this one. Here some more examples:

Code:

In file included from ../hw/xfree86/dixmods/extmod/modinit.h:46,
                 from shape.c:50:
/usr/include/X11/extensions/sync.h:130:2: error: #endif without #if
/usr/include/X11/extensions/sync.h:476:2: error: #endif without #if
In file included from /usr/include/X11/extensions/syncstr.h:56,
                 from ../hw/xfree86/dixmods/extmod/modinit.h:47,
                 from shape.c:50:
/usr/include/X11/extensions/sync.h:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'header'
/usr/include/X11/extensions/sync.h:1: error: stray '\' in program
/usr/include/X11/extensions/sync.h:1: error: missing terminating " character
/usr/include/X11/extensions/sync.h:3: error: expected identifier or '(' before '}' token
/usr/include/X11/extensions/sync.h:5: error: redefinition of 'packlen'
/usr/include/X11/extensions/sync.h:5: error: previous definition of 'packlen' was here
/usr/include/X11/extensions/sync.h:5: error: initializer element is not constant
/usr/include/X11/extensions/sync.h:7: error: redefinition of 'len'
/usr/include/X11/extensions/sync.h:7: error: previous definition of 'len' was here
/usr/include/X11/extensions/sync.h:7: error: initializer element is not constant
/usr/include/X11/extensions/sync.h:10: error: redefinition of 'rlen'
/usr/include/X11/extensions/sync.h:10: error: previous definition of 'rlen' was here
/usr/include/X11/extensions/sync.h:10: error: invalid application of 'sizeof' to incomplete type 'struct ether_header'
/usr/include/X11/extensions/sync.h:10: error: initializer element is not constant
/usr/include/X11/extensions/sync.h:11: error: expected identifier or '(' before 'if'
/usr/include/X11/extensions/sync.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-=' token
/usr/include/X11/extensions/sync.h:18: error: expected identifier or '(' before 'if'
/usr/include/X11/extensions/sync.h:24: error: expected identifier or '(' before 'if'
/usr/include/X11/extensions/sync.h:33: error: expected identifier or '(' before 'if'
/usr/include/X11/extensions/sync.h:44: error: expected identifier or '(' before 'else'
/usr/include/X11/extensions/sync.h:52: error: redefinition of 'ppip'
/usr/include/X11/extensions/sync.h:52: error: previous definition of 'ppip' was here
/usr/include/X11/extensions/sync.h:53: error: redefinition of 'pplast'
/usr/include/X11/extensions/sync.h:53: error: previous definition of 'pplast' was here
/usr/include/X11/extensions/sync.h:53: error: invalid application of 'sizeof' to incomplete type 'struct ether_header'
/usr/include/X11/extensions/sync.h:54: error: redefinition of 'pphys'
/usr/include/X11/extensions/sync.h:54: error: previous definition of 'pphys' was here
/usr/include/X11/extensions/sync.h:55: error: redefinition of 'pphystype'
/usr/include/X11/extensions/sync.h:55: error: previous definition of 'pphystype' was here
/usr/include/X11/extensions/sync.h:59: error: expected identifier or '(' before 'if'
/usr/include/X11/extensions/sync.h:66: error: expected identifier or '(' before 'return'
/usr/include/X11/extensions/sync.h:67: error: expected identifier or '(' before '}' token
/usr/include/X11/extensions/sync.h:68: error: expected identifier or '(' before '}' token
/usr/include/X11/extensions/sync.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token


and here the next one:

Code:

In file included from /usr/include/X11/extensions/syncstr.h:56,
                 from ../hw/xfree86/dixmods/extmod/modinit.h:47,
                 from shape.c:50:
/usr/include/X11/extensions/sync.h:130:2: error: #endif without #if
/usr/include/X11/extensions/sync.h:137: error: redefinition of 'struct _XSyncValue'
/usr/include/X11/extensions/sync.h:148: error: expected ')' before '*' token
/usr/include/X11/extensions/sync.h:148: error: expected ')' before '->' token
/usr/include/X11/extensions/sync.h:153: error: expected ')' before '*' token
/usr/include/X11/extensions/sync.h:153: error: expected ')' before '->' token
/usr/include/X11/extensions/sync.h:159: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:164: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:169: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:174: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:179: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:184: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:184: error: expected ')' before '?' token
/usr/include/X11/extensions/sync.h:188: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:192: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:192: error: expected ')' before '?' token
/usr/include/X11/extensions/sync.h:196: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:200: error: expected ')' before '.' token
/usr/include/X11/extensions/sync.h:204: error: expected identifier or '(' before '{' token
/usr/include/X11/extensions/sync.h:211: error: expected identifier or '(' before '{' token
/usr/include/X11/extensions/sync.h:218: error: expected ')' before '*' token
/usr/include/X11/extensions/sync.h:218: error: expected ')' before '->' token
/usr/include/X11/extensions/sync.h:222: error: expected ')' before '*' token
/usr/include/X11/extensions/sync.h:222: error: expected ')' before '->' token
/usr/include/X11/extensions/sync.h:476:2: error: #endif without #if
make[1]: *** [shape.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/sleepuntil.Tpo .deps/sleepuntil.Plo
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.4-r2/work/xorg-server-1.4/Xext'
make: *** [all-recursive] Error 1


best,
-andreas
_________________
---
Gentoo running on Lenovo Thinkpad T420 with KDE / SDDM
Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz / 8GB memory / nvidia graphics
Back to top
View user's profile Send private message
pcfreak85
n00b
n00b


Joined: 11 Feb 2005
Posts: 57

PostPosted: Wed Oct 03, 2007 11:25 am    Post subject: Xorg 7.3 broke keyboard Reply with quote

Yeah, now i was able to re-emerge xorg-server.
I read every detail of the above posted errors and saw something like "Xext", then "emerge -s Xext" gave the following output:

Code:

*  x11-libs/libXext
      Latest version available: 1.0.3
      Latest version installed: 1.0.3
      Size of files: 255 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   X.Org Xext library
      License:       libXext

*  x11-proto/xextproto
      Latest version available: 7.0.2
      Latest version installed: 7.0.2
      Size of files: 66 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   X.Org XExt protocol headers
      License:       xextproto


I gave them a emerge --oneshot, after that xorg-server has been merged successfully and my keyboard is working well again, except the bug with LED's.

Thank's for your help and have a nice day!

best,
- andreas
_________________
---
Gentoo running on Lenovo Thinkpad T420 with KDE / SDDM
Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz / 8GB memory / nvidia graphics
Back to top
View user's profile Send private message
pietrek
n00b
n00b


Joined: 09 Oct 2007
Posts: 14

PostPosted: Tue Oct 09, 2007 7:11 pm    Post subject: Reply with quote

That LEDs problem can be fixed with this patch:
http://lists.freedesktop.org/archives/xorg/2007-September/028559.html
It's considered a bit hackish and dirty, but it works! :)
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