debian: release 7.8
kernel: 3.2.0-4-amd64 (#1 SMP Debian 3.2.68-1+deb7u3)
xorg: v. 1.12.4 (09 February 2015 09:46:52AM)
gnome-core: 1:3.4+7+deb7u1
processor: AMD Athlon(tm) II X2 250 Processor
vga: AMD nee ATI RS780L [Radeon HD 3000]
A seguito di un aggiornamento gestito da 'Gestore aggiornamenti 0.200.5'
al riavvio del sistema tastiera e mouse USB sono stati disattivati.
La tastiera funziona solo riavviando in modalità console.
Per riattivare i due dispositivi di input ed effettuare il login di gm3
dopo ogni riavvio occorreva scollegarli e ricollegarli a caldo.
Con tale operazione i due dispositivi iniziavano a funzionare correttamente.
A seguito di molte ricerche e letture di FAQ e DOC ho individuato uno
dei problemi in due istruzioni di default della versione aggiornata di
xorg: "AutoAddDevices" e "AutoEnableDevices", entrambi su "on"
Ho quindi aggiunto il file
/usr/share/X11/xorg.conf.d/60-serverflags.conf contenente:
-----------------------------------
Section "ServerFlags"
Option "AutoAddDevices" "off"
Option "AutoEnableDevices" "on"
EndSection
# NOTE - Effetto delle combinazioni AutoAddDevices - AutoEnableDevices:
# 1. "off" - "on": il mouse viene rilevato; la tastiera non viene
rilevata, nemmeno con un unplug/replug (modulo "kbd" non presente)
# 2. "on" - "on": mouse e tastiera non vengono rilevati
# 3. "on" - "off": come il punto 1
# 4. "off" - "off": come il punto 1
-----------------------------------
Su suggerimento di un utente su un forum ho aggirato il problema
installando il pacchetto: xserver-xorg-input-kbd e aggiungendo il file:
/usr/share/X11/xorg.conf.d/25-keyboard.conf per la localizzazione del
layout di tastiera:
----------------------------------------------
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "base"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
Option "XkbVariant" ",qwerty"
Option "XkbOptions" "grp:menu_toggle,grp_led:scroll"
EndSection
------------------------------------------------
Ora la tastiera viene correttamente rilevata, ma la soluzione non mi
soddisfa.
Considerato che con le impostazioni iniziali derivanti
dall'aggiornamento di xorg, a seguito di un unplug/replug tastiera e
mouse venivano correttamente rilevati, deduco che il modulo "kbd" non
fosse necessario.
Tuttavia il comando grep kbd /usr/bin/Xorg mostra che la stringa "kbd" è
presente nel file binario.
Probabilmente nel driver radeon fornito da xorg.
In attesa di una soluzione più pulita credo sarebbe opportuno emanare un
ALERT agli utenti che aggiornano xorg.
Saluti
Sandro Marrone
---
Selezione da /var/log/Xorg.0.log (purtroppo non ho conservato i log con
l'errore iniziale):
-----------------------------------------
[ 18.088]
X.Org X Server 1.12.4
Release Date: 2012-08-27
[ 18.088] X Protocol Version 11, Revision 0
[ 18.089] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 18.089] Current Operating System: Linux debian 3.2.0-4-amd64 #1 SMP
Debian 3.2.68-1+deb7u3 x86_64
[ 18.089] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-amd64
root=UUID=7a342748-34d6-48f5-87b8-12a42c40f010 ro quiet
[ 18.089] Build Date: 09 February 2015 09:46:52AM
[ 18.089] xorg-server 2:1.12.4-6+deb7u6 (Julien Cristau
<jcris...@debian.org>)
[ 18.089] Current version of pixman: 0.32.6
[ 18.123] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 18.179] (==) No screen section available. Using defaults.
[ 18.179] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 18.179] (**) Option "AutoAddDevices" "off"
[ 18.179] (**) Option "AutoEnableDevices" "on"
[ 18.179] (**) Not automatically adding devices
[ 18.179] (**) Automatically enabling devices
[ 18.231] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 18.231] (==) |-->Input Device "<default pointer>"
[ 18.231] (==) |-->Input Device "Generic Keyboard"
[ 18.231] (==) No Layout section. Using the default mouse configuration.
[ 18.231] (==) No Layout section. Using the first core keyboard device.
[ 18.231] (II) Loader magic: 0x7f14d09cdae0
[ 18.231] (II) Module ABI versions:
[ 18.231] X.Org ANSI C Emulation: 0.4
[ 18.231] X.Org Video Driver: 12.1
[ 18.231] X.Org XInput driver : 16.0
[ 18.231] X.Org Server Extension : 6.0
[ 18.233] (--) PCI:*(0:1:5:0) 1002:9616:1002:0000 rev 0, Mem @
0xd0000000/268435456, 0xfeaf0000/65536, 0xfe900000/1048576, I/O @
0x0000d000/256
[ 18.233] (II) Open ACPI successful (/var/run/acpid.socket)
[ 18.233] (II) LoadModule: "extmod"
[ 18.244] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 18.334] (II) Module extmod: vendor="X.Org Foundation"
[ 18.334] compiled for 1.12.4, module version = 1.0.0
[ 18.334] Module class: X.Org Server Extension
[ 18.334] ABI class: X.Org Server Extension, version 6.0
[ 18.767] (II) LoadModule: "mouse"
[ 18.767] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 18.796] (II) Module mouse: vendor="X.Org Foundation"
[ 18.796] compiled for 1.12.1.902, module version = 1.7.2
[ 18.796] Module class: X.Org XInput Driver
[ 18.796] ABI class: X.Org XInput driver, version 16.0
[ 18.796] (II) LoadModule: "kbd"
[ 18.796] (II) Loading /usr/lib/xorg/modules/input/kbd_drv.so
[ 18.803] (II) Module kbd: vendor="X.Org Foundation"
[ 18.803] compiled for 1.12.1, module version = 1.6.1
[ 18.803] Module class: X.Org XInput Driver
[ 18.803] ABI class: X.Org XInput driver, version 16.0
[ 18.803] (II) RADEON: Driver for ATI Radeon chipsets:
ATI Radeon 3000 Graphics,
[ 18.872] (--) RADEON(0): Chipset: "ATI Radeon 3000 Graphics" (ChipID
= 0x9616)
[ 18.872] (II) RADEON(0): PCI card detected
[ 20.230] (II) Using input driver 'mouse' for '<default pointer>'
[ 20.230] (**) Option "CorePointer" "on"
[ 20.230] (**) <default pointer>: always reports core events
[ 20.230] (WW) <default pointer>: No Device specified, looking for one...
[ 20.248] (II) <default pointer>: Setting Device option to
"/dev/input/mice"
[ 20.248] (--) <default pointer>: Device: "/dev/input/mice"
[ 20.248] (==) <default pointer>: Protocol: "Auto"
[ 20.252] (II) XINPUT: Adding extended input device "<default
pointer>" (type: MOUSE, id 6)
[ 20.545] (II) <default pointer>: ps2EnableDataReporting: succeeded
[ 20.545] (II) Using input driver 'kbd' for 'Generic Keyboard'
[ 20.545] (**) Option "CoreKeyboard" "on"
[ 20.546] (II) XINPUT: Adding extended input device "Generic
Keyboard" (type: KEYBOARD, id 7)
-------------------------------------------