[boot] souris USB pas reconnue tout de suite [RESOLU]

Reconnaissance et configuration du matériel / kernel linux
bpier
Daikyu
Messages : 65
Inscription : jeu. 18 avr. 2013, 15:52
Localisation : Montpellier, FRANCE

[boot] souris USB pas reconnue tout de suite [RESOLU]

Message par bpier »

Au boot de ma bécane, Arch ne reconnaît pas immédiatement la; souris USB, une Logitech USU-PS2 optical mouse (RX250). Voilà le message dmesg :

Code : Tout sélectionner

[    7.492753] r8169 0000:03:00.0 enp3s0: link up
[    7.492763] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready
[   13.308834] fuse init (API version 7.20)
[   16.097036] usb 2-1: device descriptor read/64, error -110
[   31.300033] usb 2-1: device descriptor read/64, error -110
[   31.503028] usb 2-1: new high-speed USB device number 3 using ehci-pci
[   46.605028] usb 2-1: device descriptor read/64, error -110
[   61.808027] usb 2-1: device descriptor read/64, error -110
[   62.011032] usb 2-1: new high-speed USB device number 4 using ehci-pci
[   67.023210] usb 2-1: device descriptor read/8, error -110
[   72.135221] usb 2-1: device descriptor read/8, error -110
[   72.338027] usb 2-1: new high-speed USB device number 5 using ehci-pci
[   77.350221] usb 2-1: device descriptor read/8, error -110
[   82.462222] usb 2-1: device descriptor read/8, error -110
[   82.563032] hub 2-0:1.0: unable to enumerate USB device on port 1
[   82.985024] usb 4-1: new low-speed USB device number 2 using uhci_hcd
[   83.358026] usb 4-2: new full-speed USB device number 3 using uhci_hcd
[   83.865514] usbcore: registered new interface driver snd-usb-audio
[   83.869129] usbcore: registered new interface driver usbhid
[   83.869132] usbhid: USB HID core driver
[   83.895543] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/input/input4
[   83.895800] hid-generic 0003:046D:C050.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.2-1/input0
[   84.253029] usb 1-1: new full-speed USB device number 2 using uhci_hcd
[   99.358031] usb 1-1: device descriptor read/64, error -110
[  114.564034] usb 1-1: device descriptor read/64, error -110
[  114.818022] usb 1-1: new full-speed USB device number 3 using uhci_hcd
[  129.974034] usb 1-1: device descriptor read/64, error -110
[bpier@bpier ~]$ 
Ca ressemble étrangement à un bug ancien qui imposait qu'on blackliste ohci_hcd, si je me souviens bien.

Voilà mon fichier /etc/X11/xorg.conf.d/10-evdev.conf :

Code : Tout sélectionner

#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
Résultat de la commande cat /proc/bus/input/devices

Code : Tout sélectionner

I: Bus=0003 Vendor=046d Product=c050 Version=0110
N: Name="Logitech USB-PS/2 Optical Mouse"
P: Phys=usb-0000:00:1d.2-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/input/input4
U: Uniq=
H: Handlers=mouse0 event4 
B: PROP=0
B: EV=17
B: KEY=ff0000 0 0 0 0 0 0 0 0
B: REL=143
B: MSC=10
ls /dev/input/by-id/ :

Code : Tout sélectionner

usb-Griffin_Technology__Inc._Griffin_PowerMate-event-if00  
usb-Logitech_USB-PS_2_Optical_Mouse-event-mouse  usb-Logitech_USB-PS_2_Optical_Mouse-mouse
egrep "Name|Handlers" /proc/bus/input/devices :

Code : Tout sélectionner

N: Name="AT Translated Set 2 keyboard"
H: Handlers=kbd event0 
N: Name="Power Button"
H: Handlers=kbd event1 
N: Name="Power Button"
H: Handlers=kbd event2 
N: Name="PC Speaker"
H: Handlers=kbd event3 
N: Name="Logitech USB-PS/2 Optical Mouse"
H: Handlers=mouse0 event4 
N: Name="Griffin PowerMate"
H: Handlers=event5 
[bpier@bpier ~]$ 
EDIT : Ca refonctionne. Mais il faut à chaque fois que ça gèle, débrancher l'unité centrale du secteur pendant près de 30 secondes, mettre le bouton marche/arrêt sur off, puis le remettre sur on et ça revient. :evil:

Autre solution : recompiler son kernel en excluant l'option USB_EHCI_HCD : USB_EHCI_HCD=n
Mais cette solution, radicale, n'a pas que des avantages, car l'EHCI_HCD gère les fonctions avancées de l'USB-2 : http://monblog.system-linux.net/blog/20 ... de-lusb-2/

Solution adoptée : testée sur ma Gentoo, j'ai passé l'ehci-hcd en modules. Le démarrage est plus lent et la souris se bloque toujours au boot pendant plusieurs minutes, mais au moins je conserve les fonctions de l'USB-2. Vivement que ce bug qui touche toutes les distributions Linux soit définitivement réglé.
Core Quad Q6600, motherboard Gigabyte GA-EP41-UD3L, RAM 4Go, Nvidia 7950 GT, carte audio Echo Layla24, multiboot Archlinux x86/ AVLinux6/Gentoo stage3 x86. Mon site DIY & guitar effects : http://www.bruynooghe.fr
Répondre