View Full Version : Mouse USB non funziona con Kernel 2.4.20?
ThePapri
25-05-2003, 14:09
Ho compilato il nuovo kernel 2.4.20 sotto RedHat GNU/Linux 7.3 e ora quando entro in X vedo il puntatore del mouse, ma non si muove!!
Non capisco dove sia il problema, visto che con il vecchio kernel funziona perfettamente
Ho un mouse usb
Guardando nei log viene caricato il supporto USB e viene anche visto che sulla USB 1 c'è il mio mouse!!!
Infatti startx manda in esecuzione XWindow, poichè il mouse è visto correttamente, ma non funziona
qualche idea?
Grazie
lnessuno
25-05-2003, 14:12
non ne ho idea... ma non è che non hai abilitato il supporto per mouse usb nel kernel? o che non hai caricato il modulo? :confused:
ThePapri
25-05-2003, 15:07
Tutto potrebbe essere
Quando avvio il Kernel 2.4.20 ho il seguente messaggio che mi indica che il mouse è stato individuato
hiddev0: USB HID v1.10 Mouse [Logitech USB Optical Mouse] on usb1:2.0
e durante il caricamento vedo la seguente linea
Initializing USB mouse: [Ok]
Ho provato a riavviarlo anche con il kernel vecchio e ricevo il seguente messaggio in più rispetto al kernel 2.4.20
usb.c: USB new device connect on bus1/1, assigned device number 2
rc.sysinit: Initializing USB mouse: succeeded
Però c'è da dire che i due log sono molto diversi, perchè ho aggiornato vari pacchetti ed inoltre il nuovo kernel ha un po' di cosa in più
Kernel vecchio messaggi su USB
***************************************************
May 25 15:43:12 localhost kernel: usb.c: registered new driver usbdevfs
May 25 15:43:12 localhost kernel: usb.c: registered new driver hub
May 25 15:43:12 localhost kernel: usb-uhci.c: $Revision: 1.275 $ time 07:43:07 Apr 18 2002
May 25 15:43:12 localhost kernel: usb-uhci.c: High bandwidth mode enabled
May 25 15:43:12 localhost kernel: PCI: Found IRQ 5 for device 00:1d.0
May 25 15:43:12 localhost kernel: PCI: Sharing IRQ 5 with 01:00.0
May 25 15:43:12 localhost kernel: PCI: Sharing IRQ 5 with 02:07.0
May 25 15:43:12 localhost kernel: PCI: Setting latency timer of device 00:1d.0 to 64
May 25 15:43:12 localhost kernel: usb-uhci.c: USB UHCI at I/O 0xb800, IRQ 5
May 25 15:43:12 localhost kernel: usb-uhci.c: Detected 2 ports
mag 25 15:43:12 localhost syslog: Avvio klogd succeeded
May 25 15:43:12 localhost kernel: usb.c: new USB bus registered, assigned bus number 1
May 25 15:43:12 localhost kernel: hub.c: USB hub found
May 25 15:43:12 localhost kernel: hub.c: 2 ports detected
May 25 15:43:12 localhost kernel: PCI: Found IRQ 9 for device 00:1d.1
May 25 15:43:12 localhost kernel: PCI: Sharing IRQ 9 with 02:05.0
mag 25 15:43:12 localhost portmap: Avvio portmap succeeded
May 25 15:43:12 localhost kernel: PCI: Setting latency timer of device 00:1d.1 to 64
May 25 15:43:12 localhost kernel: usb-uhci.c: USB UHCI at I/O 0xb400, IRQ 9
May 25 15:43:12 localhost kernel: usb-uhci.c: Detected 2 ports
May 25 15:43:13 localhost kernel: usb.c: new USB bus registered, assigned bus number 2
May 25 15:43:13 localhost kernel: hub.c: USB hub found
May 25 15:43:13 localhost kernel: hub.c: 2 ports detected
mag 25 15:43:13 localhost nfslock: Avvio rpc.statd succeeded
May 25 15:43:13 localhost kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
May 25 15:43:13 localhost kernel: hub.c: USB new device connect on bus1/1, assigned device number 2
May 25 15:43:13 localhost kernel: usb.c: USB device 2 (vend/prod 0x46d/0xc00c) is not claimed by any active driver.
May 25 15:43:13 localhost kernel: usb.c: registered new driver hiddev
May 25 15:43:13 localhost rpc.statd[869]: Version 0.3.3 Starting
May 25 15:43:13 localhost kernel: usb.c: registered new driver hid
May 25 15:43:13 localhost kernel: input0: USB HID v1.10 Mouse [Logitech USB Optical Mouse] on usb1:2.0
mag 25 15:43:13 localhost keytable: Loading keymap: succeeded
May 25 15:43:13 localhost kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
May 25 15:43:13 localhost kernel: hid-core.c: USB HID support drivers
May 25 15:43:13 localhost kernel: mice: PS/2 mouse device common for all mice
**********************************************
New Kernel
**********************************************
May 25 15:39:05 localhost kernel: driver hub
May 25 15:39:05 localhost kernel: usb-uhci.c: $Revision: 1.275 $ time 11:16:50 May 25 2003
May 25 15:39:05 localhost kernel: usb-uhci.c: High bandwidth mode enabled
May 25 15:39:05 localhost kernel: PCI: Found IRQ 5 for device 00:1d.0
May 25 15:39:05 localhost kernel: PCI: Sharing IRQ 5 with 01:00.0
May 25 15:39:05 localhost kernel: PCI: Sharing IRQ 5 with 02:07.0
May 25 15:39:05 localhost kernel: usb-uhci.c: USB UHCI at I/O 0xb800, IRQ 5
May 25 15:39:05 localhost kernel: usb-uhci.c: Detected 2 ports
May 25 15:39:05 localhost kernel: usb.c: new USB bus registered, assigned bus number 1
May 25 15:39:05 localhost kernel: hub.c: USB hub found
May 25 15:39:05 localhost kernel: hub.c: 2 ports detected
May 25 15:39:05 localhost kernel: PCI: Found IRQ 9 for device 00:1d.1
May 25 15:39:05 localhost kernel: PCI: Sharing IRQ 9 with 02:05.0
mag 25 15:39:05 localhost syslog: Avvio klogd succeeded
May 25 15:39:05 localhost kernel: usb-uhci.c: USB UHCI at I/O 0xb400, IRQ 9
May 25 15:39:05 localhost kernel: usb-uhci.c: Detected 2 ports
May 25 15:39:05 localhost kernel: usb.c: new USB bus registered, assigned bus number 2
May 25 15:39:05 localhost kernel: hub.c: USB hub found
May 25 15:39:05 localhost kernel: hub.c: 2 ports detected
May 25 15:39:05 localhost kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
May 25 15:39:05 localhost kernel: hub.c: new USB device 00:1d.0-1, assigned address 2
May 25 15:39:05 localhost kernel: usb.c: USB device 2 (vend/prod 0x46d/0xc00c) is not claimed by any active driver.
May 25 15:39:05 localhost kernel: usb.c: registered new driver hiddev
May 25 15:39:05 localhost kernel: usb.c: registered new driver hid
May 25 15:39:05 localhost kernel: hiddev0: USB HID v1.10 Mouse [Logitech USB Optical Mouse] on usb1:2.0
May 25 15:39:05 localhost kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
May 25 15:39:05 localhost kernel: hid-core.c: USB HID support drivers
*************************************************
in pratica mancano i messaggi di rc.sysinit (ma quelli li vedo io a video e sono tutti Ok)
ilsensine
25-05-2003, 19:04
Controlla le differense tra i moduli caricati nei due kernel (/sbin/lsmod), forse ti sei scordato di inserirne qualcuno che ti serve. Inoltre, credo che la Redhat 7.3 usi il devfs, e quindi anche il kernel nuovo dovrebbe partire col devfs.
AnonimoVeneziano
25-05-2003, 19:21
Prova ad abilitare nella sezione "Input core support" nel kernel la voce "Mouse support"
Ciao
ThePapri
25-05-2003, 22:12
I moduli che non sono caricati dal nuovo kernel (/sbin/lsmod) sono:
Module Used
i810_audio 0
ac97_codec 0
soundcore 2
radeon 1
agpgart 3
ipchains 10
hid 0 (unused)
i primi 3 sono per una scheda audio (che non è la mia)
il 4° è di una scheda video ... così presuppongo anche il 5°
il 6° è per il firewall
il 7° non lo sò, ma è non usato
devfs è caricato da entrambi i kernel
In entrambi i kernel carico tutto come moduli nella sezione "Input core support"
ilsensine
26-05-2003, 07:40
a "naso" manca qualcosa (usbmouse o equivalenti).
Puoi controllare l'elenco dei moduli caricati con il vecchio kernel?
ThePapri
26-05-2003, 20:21
ti elenco tutti i moduli del vecchio kernel
i810_audio
ac97_codec
soundcore
radeon
agpgart
autofs
ds
yenta_socket
pcmcia_core
irlan
irda
8139too
mii
ipchains
ide-cd
cdrom
nsl_iso8859-1
nls_cp437
vfat
fat
keybdev
mousedev
hid
input
usb-uhci
usbcore
ext3
jdb
tutti quelli non elencati sopra sono presenti anche in quello nuovo
Ho notato che nel kernel vecchio era abilitato l'hackering del kernel con alcune opzioni (io ho disabilitato tutto) ... non è che c'è bisogno di qualcuna di queste per far funzionare il mouse usb?
Miciomiao
27-05-2003, 08:15
HID dovrebbe stare per Human Interface Device, io proverei ad abilitarlo!
ThePapri
27-05-2003, 22:12
infatti ... hid è necessario per far funzionare il mouse USB ed era disabilitato :(
Ma quello che non capisco è perchè non erano disabilitate anche le selezioni sottostanti che dipendevano da questo; io pensavo che era abilitato perchè quasi tutto di quello sotto era attivato come modulo
ora sto ricompilando poi faccio sapere l'esito
per il momento ringrazio tutti per l'aiuto
Ciao
ThePapri
28-05-2003, 22:16
Funziona
Grazie a tutti
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.