|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Apr 2000
Messaggi: 134
|
Mouse USB non funziona con Kernel 2.4.20?
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 |
![]() |
![]() |
![]() |
#2 |
Bannato
Iscritto dal: Feb 2000
Città: The city of wasting disease
Messaggi: 7389
|
non ne ho idea... ma non è che non hai abilitato il supporto per mouse usb nel kernel? o che non hai caricato il modulo?
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Apr 2000
Messaggi: 134
|
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)
__________________
Il miglior pacchetto per l'ufficio: OpenOffice -> http://it.openoffice.org/ |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
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.
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Aug 2001
Città: San Francisco, CA, USA
Messaggi: 13827
|
Prova ad abilitare nella sezione "Input core support" nel kernel la voce "Mouse support"
Ciao
__________________
GPU Compiler Engineer |
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Apr 2000
Messaggi: 134
|
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"
__________________
Il miglior pacchetto per l'ufficio: OpenOffice -> http://it.openoffice.org/ |
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
a "naso" manca qualcosa (usbmouse o equivalenti).
Puoi controllare l'elenco dei moduli caricati con il vecchio kernel?
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Apr 2000
Messaggi: 134
|
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?
__________________
Il miglior pacchetto per l'ufficio: OpenOffice -> http://it.openoffice.org/ |
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: Jun 2002
Città: Roma
Messaggi: 752
|
HID dovrebbe stare per Human Interface Device, io proverei ad abilitarlo!
__________________
Intel i5 3570k @105x42 - 1,35V = 4400 MHz - 8x2 Gb Kingston (CL9) - Msi GTX 970 4Gb Gaming @202-405MHz - Samsung B2330HD - Logitech Performance MX & Wave 450, Crucial ssd 1Tb, hard disk meccanici vari... ;-) |
![]() |
![]() |
![]() |
#10 |
Senior Member
Iscritto dal: Apr 2000
Messaggi: 134
|
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
__________________
Il miglior pacchetto per l'ufficio: OpenOffice -> http://it.openoffice.org/ |
![]() |
![]() |
![]() |
#11 |
Senior Member
Iscritto dal: Apr 2000
Messaggi: 134
|
Funziona
Grazie a tutti
__________________
Il miglior pacchetto per l'ufficio: OpenOffice -> http://it.openoffice.org/ |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 11:11.