Input tastiera

Riconoscimento, installazione e configurazione delle periferiche.
Scrivi risposta
Grande_Tux
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 272
Iscrizione: venerdì 22 aprile 2011, 10:00

Input tastiera

Messaggio da Grande_Tux »

Salve, xubuntu nn acquisisce in input  alcune lettere. Cme fare?
Avatar utente
bingel
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4026
Iscrizione: lunedì 3 aprile 2006, 10:17

Re: Input tastiera

Messaggio da bingel »

E di quali lettere si tratta?
Free Thought - Free World
Grande_Tux
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 272
Iscrizione: venerdì 22 aprile 2011, 10:00

Re: Input tastiera

Messaggio da Grande_Tux »

Nn pss scriverla perchè nn la prede in input.  Cmq è la 4c vcale. Per quest scriv male.
Avatar utente
bingel
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4026
Iscrizione: lunedì 3 aprile 2006, 10:17

Re: Input tastiera

Messaggio da bingel »

Sei certo che non sia il tasto rotto?

In ogni caso posta l'output di questo comando dopo aver premuto la lettera "o":

Codice: Seleziona tutto

xev
Dovrebbe venire fuori qualcosa del genere:

Codice: Seleziona tutto

KeyRelease event, serial 40, synthetic NO, window 0x2600001,
    root 0x73, subw 0x0, time 14455804, (-10,308), root:(413,603),
    state 0x10, keycode 32 (keysym 0x6f, o), same_screen YES,
    XLookupString gives 1 bytes: (6f) "o"
    XFilterEvent returns: False
Free Thought - Free World
Avatar utente
bingel
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4026
Iscrizione: lunedì 3 aprile 2006, 10:17

Re: Input tastiera

Messaggio da bingel »

...inoltre sei certo di aver impostato correttamente la tastiera come italiana?
Free Thought - Free World
Grande_Tux
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 272
Iscrizione: venerdì 22 aprile 2011, 10:00

Re: Input tastiera

Messaggio da Grande_Tux »

Si, la tastiera è in lingua italiana.
Grande_Tux
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 272
Iscrizione: venerdì 22 aprile 2011, 10:00

Re: Input tastiera

Messaggio da Grande_Tux »

Codice: Seleziona tutto

Outer window is 0x3400001, inner window is 0x3400002

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

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

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

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

PropertyNotify event, serial 14, synthetic NO, window 0x3400001,
    atom 0x144 (WM_PROTOCOLS), time 435489, state PropertyNewValue

MapNotify event, serial 15, synthetic NO, window 0x3400001,
    event 0x3400001, window 0x3400002, override NO

PropertyNotify event, serial 23, synthetic NO, window 0x3400001,
    atom 0x152 (_NET_WM_STATE), time 435492, state PropertyNewValue

PropertyNotify event, serial 23, synthetic NO, window 0x3400001,
    atom 0x1a3 (_WIN_STATE), time 435492, state PropertyNewValue

PropertyNotify event, serial 23, synthetic NO, window 0x3400001,
    atom 0x1a5 (_WIN_WORKSPACE), time 435492, state PropertyNewValue

PropertyNotify event, serial 23, synthetic NO, window 0x3400001,
    atom 0x14c (_NET_WM_DESKTOP), time 435492, state PropertyNewValue

ConfigureNotify event, serial 23, synthetic NO, window 0x3400001,
    event 0x3400001, window 0x3400001, (0,0), width 178, height 178,
    border_width 0, above 0x3802656, override NO

ReparentNotify event, serial 23, synthetic NO, window 0x3400001,
    event 0x3400001, window 0x3400001, parent 0x1001402,
    (4,28), override NO

ConfigureNotify event, serial 23, synthetic NO, window 0x3400001,
    event 0x3400001, window 0x3400001, (4,28), width 178, height 178,
    border_width 0, above 0x1001411, override NO

ConfigureNotify event, serial 23, synthetic YES, window 0x3400001,
    event 0x3400001, window 0x3400001, (551,334), width 178, height 178,
    border_width 0, above 0x1001402, override NO

MapNotify event, serial 23, synthetic NO, window 0x3400001,
    event 0x3400001, window 0x3400001, override NO

VisibilityNotify event, serial 23, synthetic NO, window 0x3400001,
    state VisibilityUnobscured

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

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

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

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

PropertyNotify event, serial 23, synthetic NO, window 0x3400001,
    atom 0x1a9 (WM_STATE), time 435498, state PropertyNewValue

PropertyNotify event, serial 23, synthetic NO, window 0x3400001,
    atom 0x189 (_NET_WM_ALLOWED_ACTIONS), time 435498, state PropertyNewValue

PropertyNotify event, serial 23, synthetic NO, window 0x3400001,
    atom 0x152 (_NET_WM_STATE), time 435498, state PropertyNewValue

PropertyNotify event, serial 23, synthetic NO, window 0x3400001,
    atom 0x1a3 (_WIN_STATE), time 435498, state PropertyNewValue

FocusIn event, serial 23, synthetic NO, window 0x3400001,
    mode NotifyNormal, detail NotifyNonlinear

KeymapNotify event, serial 23, 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   

PropertyNotify event, serial 23, synthetic NO, window 0x3400001,
    atom 0x149 (_NET_FRAME_EXTENTS), time 435498, state PropertyNewValue

PropertyNotify event, serial 23, synthetic NO, window 0x3400001,
    atom 0x152 (_NET_WM_STATE), time 435498, state PropertyNewValue

PropertyNotify event, serial 23, synthetic NO, window 0x3400001,
    atom 0x1a3 (_WIN_STATE), time 435498, state PropertyNewValue

PropertyNotify event, serial 30, synthetic NO, window 0x3400001,
    atom 0x18c (_NET_WM_ICON_GEOMETRY), time 435578, state PropertyNewValue

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

UnmapNotify event, serial 31, synthetic NO, window 0x3400001,
    event 0x3400001, window 0x3400001, from_configure NO

PropertyNotify event, serial 31, synthetic NO, window 0x3400001,
    atom 0x1a9 (WM_STATE), time 439264, state PropertyNewValue

PropertyNotify event, serial 31, synthetic NO, window 0x3400001,
    atom 0x189 (_NET_WM_ALLOWED_ACTIONS), time 439264, state PropertyNewValue

PropertyNotify event, serial 31, synthetic NO, window 0x3400001,
    atom 0x152 (_NET_WM_STATE), time 439264, state PropertyNewValue

PropertyNotify event, serial 31, synthetic NO, window 0x3400001,
    atom 0x1a3 (_WIN_STATE), time 439264, state PropertyNewValue
Grande_Tux
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 272
Iscrizione: venerdì 22 aprile 2011, 10:00

Re: Input tastiera

Messaggio da Grande_Tux »

Una dmanda, xev che fa?
Avatar utente
bingel
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4026
Iscrizione: lunedì 3 aprile 2006, 10:17

Re: Input tastiera

Messaggio da bingel »

Codice: Seleziona tutto

man xev
...in ogni caso in pratica descrive come X rileva un qualsiasi evento  provocato ad es. dal movimento del mouse o la pressione di un tasto della tastiera.

...secondo me il tuo tasto è rotto.

Per averne la certezza prova a fare così:

ALT + R_Sys + r

R_Sys è il tasto a destra dell' F12

Fatto ciò riavvii xev e digitando la lettera "o" vedi se ottieni dell'output o meno. Se non ottieni nulla vuol dire che probabilmente quel tasto non va. Soprattutto se vedi che premendo altri tasti ottieni invece dell'output.

Prova di nuovo con xev anche prima di fare come indicato sopra. Giusto per essere sicuri che la prima volta avevi fatto bene.

Per averne ulteriore certezza provalo con un altro sistema operativo o una diversa versione di ubuntu.
Free Thought - Free World
Grande_Tux
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 272
Iscrizione: venerdì 22 aprile 2011, 10:00

Re: Input tastiera

Messaggio da Grande_Tux »

Codice: Seleziona tutto

KeymapNotify event, serial 31, synthetic NO, window 0x0,
    keys:  4294967212 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   

EnterNotify event, serial 31, synthetic NO, window 0x3400001,
    root 0xac, subw 0x0, time 1723634, (17,1), root:(1115,356),
    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
    focus YES, state 0

KeymapNotify event, serial 31, synthetic NO, window 0x0,
    keys:  2   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   

MotionNotify event, serial 31, synthetic NO, window 0x3400001,
    root 0xac, subw 0x0, time 1723634, (17,1), root:(1115,356),
    state 0x0, is_hint 0, same_screen YES

MotionNotify event, serial 31, synthetic NO, window 0x3400001,
    root 0xac, subw 0x0, time 1723634, (12,5), root:(1110,360),
    state 0x0, is_hint 0, same_screen YES

MotionNotify event, serial 31, synthetic NO, window 0x3400001,
    root 0xac, subw 0x0, time 1723634, (7,9), root:(1105,364),
    state 0x0, is_hint 0, same_screen YES

MotionNotify event, serial 31, synthetic NO, window 0x3400001,
    root 0xac, subw 0x0, time 1723634, (3,12), root:(1101,367),
    state 0x0, is_hint 0, same_screen YES

LeaveNotify event, serial 31, synthetic NO, window 0x3400001,
    root 0xac, subw 0x0, time 1723646, (-2,15), root:(1096,370),
    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
    focus YES, state 0

FocusOut event, serial 31, synthetic NO, window 0x3400001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 31, synthetic NO, window 0x3400001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 31, synthetic NO, window 0x0,
    keys:  4294967212 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   

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

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

Avatar utente
bingel
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4026
Iscrizione: lunedì 3 aprile 2006, 10:17

Re: Input tastiera

Messaggio da bingel »

Dall'output che posti si direbbe che quel tasto non vada.

La domanda era:

premendolo (mentre xev è in esecuzione) viene stampato nulla nel terminale?

L'output corretto (quando premi "o") sarebbe questo:

KeyPress event, serial 40, synthetic NO, window 0x2000001,
    root 0x73, subw 0x0, time 839484, (-356,404), root:(226,759),
    state 0x10, keycode 32 (keysym 0x6f, o), same_screen YES,
    XLookupString gives 1 bytes: (6f) "o"
    XmbLookupString gives 1 bytes: (6f) "o"
    XFilterEvent returns: False


tuttavia se alla pressione, vedi dell'output comparire nella finestra di terminale da cui hai avviato xev, è possibile che quel tasto funzioni ma sia mappato malamente.

Per sicurezza esegui questo comando prima di avviare xev:

Codice: Seleziona tutto

setxkbmap it
Free Thought - Free World
Avatar utente
bingel
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4026
Iscrizione: lunedì 3 aprile 2006, 10:17

Re: Input tastiera

Messaggio da bingel »

Altra prova che puoi fare è vedere se nella console virtuale (ctrl+alt+f1) funziona o meno.

Se non funziona prova questo comando:

Codice: Seleziona tutto

sudo loadkeys it
e quindi ricontrolla se funziona o meno.
Free Thought - Free World
Avatar utente
bingel
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4026
Iscrizione: lunedì 3 aprile 2006, 10:17

Re: Input tastiera

Messaggio da bingel »

In ogni caso considera che le prove che ti faccio fare te le faccio fare giusto per pignoleria perché anche se la tastiera fosse mappa in una lingua diversa dall'italiano la posizione della "o" mi pare sarebbe la stessa (a meno che non l'hai mappata in arabo ...ma in tal caso sballerebbero anche altre lettere oltre la "o")
Free Thought - Free World
Grande_Tux
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 272
Iscrizione: venerdì 22 aprile 2011, 10:00

Re: Input tastiera

Messaggio da Grande_Tux »

Ok ho fatto accesso con l'altro pc.
Grazie per l'aiuto, ma dopo le prove si vede che è proprio un problema di acquisizione dell'input.
Avatar utente
bingel
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4026
Iscrizione: lunedì 3 aprile 2006, 10:17

Re: Input tastiera

Messaggio da bingel »

Quindi in pratica? Il tasto rotto o un problema di Xubuntu?
Free Thought - Free World
Grande_Tux
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 272
Iscrizione: venerdì 22 aprile 2011, 10:00

Re: Input tastiera

Messaggio da Grande_Tux »

é sicuramente un problema di xubuntu, dopo le tante prove e comunque dal fatto che avevo preso una tastiera esterna perchè alcuni tasti erano rotti.
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 8 ospiti