Salve,
ho sostituito col kernel 2.4.20 il vecchio 2.4.18 (entrambi ricompilati
da me). Purtroppo il mio Logitech Wheel Mouse ottico su porta USB ha
deciso che la sostituzione non gli garba: praticamente ha smesso di
funzionare (in X compare il puntatore ma non si muove), nonostante il
led sotto sia comunque acceso. Prima dando
cat /dev/input/mice
comparivano sulla console dei caratteri strani al movimento del mouse;
ora non più.
Ho provato anche a togliere e reinserire lo spinotto del mouse a XWindow
avviato, ma non ho risolto.
Eppure ho messo in /usr/src/linux il .config del vecchio kernel ed ho
attivato solo alcune cose che mi interessavano (il Net Filtering, l'ACPI
e il filesystem UDF).
Il sottosistema USB sembra a posto (del resto non ho toccato niente...);
lo gestisco con hotplug e finora mi è sempre andato bene.
Tra l'altro sul bus USB c'è attaccata anche una Epson Stylus C40UX, che
però ancora non ho configurato, quindi non posso utilizzarla per provare
il bus.

- in /etc/fstab ho la riga
none            /proc/bus/usb   usbdevfs        defaults                0       0

- in dmesg ci sono le seguenti righe (ho quattro porte USB):

mice: PS/2 mouse device common for all mice
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver usblp
printer.c: v0.11: USB Printer Device Class driver
Creative EMU10K1 PCI Audio Driver, version 0.20, 17:41:31 Feb  5 2003
usb-uhci.c: $Revision: 1.275 $ time 17:41:40 Feb  5 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 10 for device 00:1f.2
PCI: Setting latency timer of device 00:1f.2 to 64
usb-uhci.c: USB UHCI at I/O 0xb400, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 9 for device 00:1f.4
PCI: Sharing IRQ 9 with 02:0a.2
PCI: Setting latency timer of device 00:1f.4 to 64
usb-uhci.c: USB UHCI at I/O 0xb000, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
hub.c: new USB device 00:1f.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x46d/0xc00c) is not claimed by any active 
driver.
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
usb.c: registered new driver hid
:USB HID v1.10 Mouse [Logitech USB Mouse] on usb1:2.0
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[EMAIL PROTECTED]>
hid-core.c: USB HID support drivers

- lspci mi dice
00:1f.2 USB Controller: Intel Corp. 82820 820 (Camino 2) Chipset USB (Hub A) 
(rev 05)
00:1f.4 USB Controller: Intel Corp. 82820 820 (Camino 2) Chipset USB (Hub B) 
(rev 05)

- usbmodules mi dice
usbmodules --device /proc/bus/usb/001/001
usbcore

usbmodules --device /proc/bus/usb/001/002
hid

usbmodules --device /proc/bus/usb/002/001
usbcore

- l'output di lsmod è
Module                  Size  Used by    Not tainted
hid                     8608   0  (unused)
usb-uhci               21220   0  (unused)
printer                 6752   0  (unused)
usbcore                54240   1  [hid usb-uhci printer]
mousedev                3808   0  (unused)
input                   3136   0  [mousedev]
ntfs                   48832   0  (unused)
vfat                    9244   1
fat                    28888   0  [vfat]
nls_iso8859-1           2848   0  (unused)
nls_cp850               3616   0  (unused)
ide-scsi                7488   0

- il pezzo interessato di XF86Config-4 è:
Section "InputDevice"
        Identifier      "Logitech Wheel Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "SendCoreEvents"        #added
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "off"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

- /var/log/XFree86.0.log contiene:
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
        compiled for 4.1.0.1, module version = 1.0.0
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.2
[snip]
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "ImPS/2"
(**) Logitech Wheel Mouse: Protocol: "ImPS/2"
(**) Option "SendCoreEvents"
(**) Logitech Wheel Mouse: always reports core events
(**) Option "CorePointer"
(**) Logitech Wheel Mouse: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Buttons" "5"
(**) Logitech Wheel Mouse: Buttons: 5
(**) Option "Emulate3Buttons" "off"
(**) Option "ZAxisMapping" "4 5"
(**) Logitech Wheel Mouse: ZAxisMapping: buttons 4 and 5
(II) XINPUT: Adding extended input device "Logitech Wheel Mouse" (type: MOUSE)


p.s. chiedo scusa per la lunghezza di questa e-mail, ma ho preferito
abbondare con gli indizi.

-- 
Ciao,
 Pino                          mailto:[EMAIL PROTECTED]
ICQ: 99644516
PGP-Fingerprint: 0B6D CA29 72A5 7F36 0343  72E2 ECDA B516 8747 C639


Rispondere a