Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto] xorg e keymap
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Mon Dec 01, 2008 11:52 pm    Post subject: [risolto] xorg e keymap Reply with quote

Buonasera.
Ho aggiornato xorg alla versione unstable (1.5.2) ed ho notato che la mia configurazione precedente della tastiera non funziona più come prima.

Infatti adesso pare che xorg faccia tutto lui e si carichi la configurazione come vuole, impostando di default il keymap "us" (cosa che ovviamente non voglio).

Here comes the log:

Code:

(**) Synaptics Touchpad: always reports core events
(II) evaluating device (Mouse1)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) evaluating device (Keyboard1)
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) evaluating device (Synaptics Touchpad)
(II) XINPUT: Adding extended input device "Synaptics Touchpad" (type: TOUCHPAD)
(II) Mouse1: Setting mouse protocol to "ExplorerPS/2"
(II) Mouse1: ps2EnableDataReporting: succeeded
(--) Synaptics Touchpad touchpad found
Could not init font path element /usr/share/fonts/OTF, removing from list!
(II) config/hal: Adding input device Apple Computer Apple Internal Keyboard / Trackpad
(II) LoadModule: "evdev"

(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
   compiled for 1.5.2, module version = 2.0.7
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 2.1
(**) Apple Computer Apple Internal Keyboard / Trackpad: always reports core events
(**) Apple Computer Apple Internal Keyboard / Trackpad: Device: "/dev/input/event9"
(II) Apple Computer Apple Internal Keyboard / Trackpad: Found keys
(II) Apple Computer Apple Internal Keyboard / Trackpad: Configuring as keyboard
(II) XINPUT: Adding extended input device "Apple Computer Apple Internal Keyboard / Trackpad" (type: KEYBOARD)
(**) Option "xkb_rules" "base"
(**) Apple Computer Apple Internal Keyboard / Trackpad: xkb_rules: "base"
(**) Option "xkb_model" "evdev"
(**) Apple Computer Apple Internal Keyboard / Trackpad: xkb_model: "evdev"
(**) Option "xkb_layout" "us"
(**) Apple Computer Apple Internal Keyboard / Trackpad: xkb_layout: "us"
(II) config/hal: Adding input device Logitech Optical USB Mouse
(**) Logitech Optical USB Mouse: always reports core events
(**) Logitech Optical USB Mouse: Device: "/dev/input/event8"
(II) Logitech Optical USB Mouse: Found x and y relative axes
(II) Logitech Optical USB Mouse: Found mouse buttons
(II) Logitech Optical USB Mouse: Configuring as mouse
(II) XINPUT: Adding extended input device "Logitech Optical USB Mouse" (type: MOUSE)
(II) config/hal: Adding input device HID 05ac:1000
(**) HID 05ac:1000: always reports core events
(**) HID 05ac:1000: Device: "/dev/input/event7"
(II) HID 05ac:1000: Found x and y relative axes
(II) HID 05ac:1000: Found mouse buttons
(II) HID 05ac:1000: Configuring as mouse
(II) XINPUT: Adding extended input device "HID 05ac:1000" (type: MOUSE)
(II) config/hal: Adding input device HID 05ac:1000
(**) HID 05ac:1000: always reports core events
(**) HID 05ac:1000: Device: "/dev/input/event6"
(II) HID 05ac:1000: Found keys
(II) HID 05ac:1000: Configuring as keyboard
(II) XINPUT: Adding extended input device "HID 05ac:1000" (type: KEYBOARD)
(**) Option "xkb_rules" "base"
(**) HID 05ac:1000: xkb_rules: "base"
(**) Option "xkb_model" "evdev"
(**) HID 05ac:1000: xkb_model: "evdev"
(**) Option "xkb_layout" "us"
(**) HID 05ac:1000: xkb_layout: "us"
(II) config/hal: Adding input device appletouch
(II) Synaptics touchpad driver version 0.99.1
(**) Option "Device" "/dev/input/event5"
(II) appletouch: x-axis range 0 - 1215
(II) appletouch: y-axis range 0 - 386
(II) appletouch: pressure range 0 - 300
(II) appletouch: finger width range 0 - 0
(II) appletouch: buttons: left double triple
(--) appletouch touchpad found
(**) appletouch: always reports core events
(II) XINPUT: Adding extended input device "appletouch" (type: TOUCHPAD)
(WW) appletouch can't grab event device, errno=16
(--) appletouch touchpad found
(II) config/hal: Adding input device Macintosh mouse button emulation
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event4"
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Found mouse buttons
(II) Macintosh mouse button emulation: Configuring as mouse
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)


e qui la mia sezione in xorg.conf

Code:

 Section "InputDevice"
     Identifier      "Keyboard1"
     Driver          "kbd"
     Option           "CoreKeyboard"
     Option          "XkbRules"              "xorg"
     Option          "XkbModel"              "pc105"
     Option          "XkbLayout"             "it"
     Option          "XkbOptions"            "lv3:rwin_switch"
 EndSection


Che posso fare per sistemare sto fastidioso problema?
Al momento ho impostato gnome a fare lui da tramite, ma non è una cosa che mi piace..

Ciao ciao!


Last edited by Elbryan on Tue Dec 02, 2008 6:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
Siker
n00b
n00b


Joined: 22 Sep 2004
Posts: 72

PostPosted: Tue Dec 02, 2008 1:38 am    Post subject: Reply with quote

Ciao non è che oltre ad aggiornare xorg-server, hai anche aggiornato a baselayout2 e OpenRC? Prova a controllare in /etc/conf.d/keymaps se hai la variabile keymap="it" se diverso da it basta cambiarlo. Se hai una versione vecchia la variabile potrebbe trovarsi in /etc/rc.conf
_________________
[img]http://www.rapmaniacz.com/rap.jpg[/img]
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Tue Dec 02, 2008 8:16 am    Post subject: Reply with quote

Siker wrote:
Ciao non è che oltre ad aggiornare xorg-server, hai anche aggiornato a baselayout2 e OpenRC? Prova a controllare in /etc/conf.d/keymaps se hai la variabile keymap="it" se diverso da it basta cambiarlo. Se hai una versione vecchia la variabile potrebbe trovarsi in /etc/rc.conf


Nono su keymap avevo "/etc/default.kmap" .. oggi ho messo it ma nulla è cambiato.

In compenso però gpomme non funziona più.. devo capire cosa diamine ha questa tastiera

edit.. credo di aver risolto mettendo:

Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection

nel xorg.conf

Credo.. perché sono in facoltà ed ora sembra andare tutto come prima.. ma non ho ancora fatto alcuni test incrociati per vedere se è questo o meno.
Back to top
View user's profile Send private message
IlGab
Guru
Guru


Joined: 26 Nov 2004
Posts: 486

PostPosted: Tue Dec 02, 2008 10:35 am    Post subject: Reply with quote

Elbryan wrote:
Siker wrote:
Ciao non è che oltre ad aggiornare xorg-server, hai anche aggiornato a baselayout2 e OpenRC? Prova a controllare in /etc/conf.d/keymaps se hai la variabile keymap="it" se diverso da it basta cambiarlo. Se hai una versione vecchia la variabile potrebbe trovarsi in /etc/rc.conf


Nono su keymap avevo "/etc/default.kmap" .. oggi ho messo it ma nulla è cambiato.

In compenso però gpomme non funziona più.. devo capire cosa diamine ha questa tastiera

edit.. credo di aver risolto mettendo:

Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection

nel xorg.conf

Credo.. perché sono in facoltà ed ora sembra andare tutto come prima.. ma non ho ancora fatto alcuni test incrociati per vedere se è questo o meno.


Ciao, hai compilato con il supporto per HAL ? A me dava problemi con la tastiera che avevo segnalato in un altro post. Disabilitato il supporto per HAL è tornato tutto normale.
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Tue Dec 02, 2008 5:29 pm    Post subject: Reply with quote

IlGab wrote:
Elbryan wrote:
Siker wrote:
Ciao non è che oltre ad aggiornare xorg-server, hai anche aggiornato a baselayout2 e OpenRC? Prova a controllare in /etc/conf.d/keymaps se hai la variabile keymap="it" se diverso da it basta cambiarlo. Se hai una versione vecchia la variabile potrebbe trovarsi in /etc/rc.conf


Nono su keymap avevo "/etc/default.kmap" .. oggi ho messo it ma nulla è cambiato.

In compenso però gpomme non funziona più.. devo capire cosa diamine ha questa tastiera

edit.. credo di aver risolto mettendo:

Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection

nel xorg.conf

Credo.. perché sono in facoltà ed ora sembra andare tutto come prima.. ma non ho ancora fatto alcuni test incrociati per vedere se è questo o meno.


Ciao, hai compilato con il supporto per HAL ? A me dava problemi con la tastiera che avevo segnalato in un altro post. Disabilitato il supporto per HAL è tornato tutto normale.


Sì, infatti.
Stavo pensando anch'io di far sparire hal dalla mia vita.. peccato che networkmanager invece mi gusta e ne dipende seriamente..

Come vorrei poter avere la botte piena e la moglie ubriaca..

Mi limiterò a toglierlo da xorg..

Comunque sto upgrade si sta rivelando un parto, davvero.. sembra che il progresso sfidi il regresso..
Back to top
View user's profile Send private message
IlGab
Guru
Guru


Joined: 26 Nov 2004
Posts: 486

PostPosted: Wed Dec 03, 2008 12:24 am    Post subject: Reply with quote

Elbryan wrote:
Comunque sto upgrade si sta rivelando un parto, davvero.. sembra che il progresso sfidi il regresso..

Io sono recentemente passato ad una ~x86 per essere "più aggiornato", stufo di dover continuamente aggiungere pacchetti alla package.keywords.
Ho xorg 1.5.3 e tutto quanto ci va a corredo, ogni 5 minuti mi crasha firefox. Alla faccia del progresso !!!!
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Wed Dec 03, 2008 12:33 am    Post subject: Reply with quote

Ma è normale che un sistema "unstable" sia instabile :P

Certo che però le cose che andavano bene prima dovrebbero andare bene anche dopo.. non dover morire ogni volta per fare andare le cose..

Cioè.. avevo xorg lentissimo, rendering pietoso.. alla fine ho scoperto che la colpa è da attribuire al nuovo sistema di accelerazione che è buggato con le gma965(e quindi la x3100) e ho dovuto forzare xorg ad utilizzare il buon vecchio XAA invece del nuovo EXA.

Anzi, lo segnalo qui nel caso qualcuno dovesse avere questo tipo di problema, basta aggiungere alla sezione Device della scheda video:

Option "DRI" "true"
Option "XAANoOffscreenPixmaps" "1"
Option "AccelMethod" "XAA"

(anche se credo basti l'ultima riga)
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Wed Apr 01, 2009 9:37 am    Post subject: Reply with quote

Ci sono novità? Esiste un modo pulito per dire a xorg-1.5.3 quale sia il layout della mia tastiera?
Tra l'altro adesso (su un dell latitude) alcuni tasti vengono mappati male pure editando a mano i file fdi di hal e impostando il layout it
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Wed Apr 01, 2009 2:47 pm    Post subject: Reply with quote

Cazzantonio wrote:
Ci sono novità? Esiste un modo pulito per dire a xorg-1.5.3 quale sia il layout della mia tastiera?
Tra l'altro adesso (su un dell latitude) alcuni tasti vengono mappati male pure editando a mano i file fdi di hal e impostando il layout it


sì.

O modifichi le fdi policy di hal impostando il keymap oppure aggiungi la flag sopra riportata per impedire ad evdev di fare quello che vuole.

Volendo potresti fare "old school style" togliendo evdev completamente e impostando la flag -hal su xinit (credo, mai provato).
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Thu Apr 02, 2009 8:49 am    Post subject: Reply with quote

Si si, tutto già provato, solo che mi sembra una soluzione sporca che più sporca non si può (i file xml non sono stati pensati per essere editati a mano).
Speravo che i devel avessero pensato un metodo per leggere /etc/conf.d/keymap, oppure meglio ancora per impostare una configurazione locale (ciascun utente vorrebbe mappare la tastiera in modo diverso) per la localizzazione della tastiera.
Vabbé, ci penseranno immagino.
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Thu Apr 02, 2009 7:33 pm    Post subject: Reply with quote

Cazzantonio wrote:
Si si, tutto già provato, solo che mi sembra una soluzione sporca che più sporca non si può (i file xml non sono stati pensati per essere editati a mano).
Speravo che i devel avessero pensato un metodo per leggere /etc/conf.d/keymap, oppure meglio ancora per impostare una configurazione locale (ciascun utente vorrebbe mappare la tastiera in modo diverso) per la localizzazione della tastiera.
Vabbé, ci penseranno immagino.


In teoria dovrebbe essere il DE a dare quest'opportunità o sbaglio?
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Fri Apr 03, 2009 10:16 am    Post subject: Reply with quote

Elbryan wrote:
In teoria dovrebbe essere il DE a dare quest'opportunità o sbaglio?
Xfce non lo fa.
Per me non è un problema ma immagino che i poveri devel si troveranno tonnellate di bugreport sulla localizzazione della tasitera.
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Fri Apr 03, 2009 5:50 pm    Post subject: Reply with quote

Cazzantonio wrote:
Elbryan wrote:
In teoria dovrebbe essere il DE a dare quest'opportunità o sbaglio?
Xfce non lo fa.
Per me non è un problema ma immagino che i poveri devel si troveranno tonnellate di bugreport sulla localizzazione della tasitera.


beh poveri devel.. non c'è un frakking standard a morire..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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