Mouse USB + OTTICO + CORDLESS

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Avatar utente
cesconix
Linux 2.x
Linux 2.x
Messaggi: 337
Iscritto il: mer 29 dic 2004, 0:00
Nome Cognome: Francesco Pasqua
Slackware: slackware64 -current
Kernel: 2.6.35.7
Desktop: Xfce
Località: Catania

Mouse USB + OTTICO + CORDLESS

Messaggio da cesconix »

Salve,
<BR>sono sfinito di quanti tentativi ho fatto per far funzionare questo benedettissimo <!-- BBCode Start --><B>mouse usb ottico cordless creative</B><!-- BBCode End --> in una delle mie 8 porte <!-- BBCode Start --><B>usb 2.0</B><!-- BBCode End -->; Ho spogliato completamente google cercando tutorial e howto di qualunque genere. In console con <!-- BBCode Start --><B>gpm</B><!-- BBCode End --> non funziona e neanche su X (kde): vedo solamente il cursore immobile.
<BR>
<BR>Una guida mi diceva di caricare 5 moduli:
<BR>1) usbcore
<BR>2) mousedev
<BR>3) usb-uhci (oppure usb-ochi)
<BR>4) hid
<BR>5) input
<BR>
<BR>Quindi:
<BR><!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Code:</font><HR></TD></TR><TR><TD><FONT SIZE=-1><PRE>modprobe usbcore
<BR>modprobe mousedev
<BR>modprobe usb-uhci
<BR>modprobe hid
<BR>modprobe input
<BR></PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode End -->
<BR>
<BR>Al caricamento del modulo <!-- BBCode Start --><B>usb-uhci</B><!-- BBCode End --> ricevevo dei messaggi di errore che non riusciva a caricare il modulo (vedevo degli insmod mal riusciti). Sono riuscito a risolvere rimuovendo il modulo <!-- BBCode Start --><B>uhci</B><!-- BBCode End --> con:
<BR><!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Code:</font><HR></TD></TR><TR><TD><FONT SIZE=-1><PRE>rmmod uhci</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode End -->
<BR>e rifacendo
<BR><!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Code:</font><HR></TD></TR><TR><TD><FONT SIZE=-1><PRE>modprobe usb-uhci</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode End -->
<BR>tutto è andato a buon fine :)
<BR>
<BR>Seguendo la guida, diceva di creare un collegamento a <!-- BBCode Start --><B>/dev/input/mouse0</B><!-- BBCode End --> creandolo il link su <!-- BBCode Start --><B>/dev/mouse</B><!-- BBCode End -->; poi ho cercato di far funzionare il mouse almeno sulla console (per incollare e copiare il testo):
<BR><!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Code:</font><HR></TD></TR><TR><TD><FONT SIZE=-1><PRE>gpm -m /dev/mouse -t imps2</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode End -->
<BR>e stoppando e startando <!-- BBCode Start --><B>rc.gpm</B><!-- BBCode End --> in questo modo:
<BR><!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Code:</font><HR></TD></TR><TR><TD><FONT SIZE=-1><PRE>/etc/rc.d/rc.gpm stop && /etc/rc.d/rc.gpm start</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode End -->
<BR>
<BR>Adesso dovreste avere il mouse funzionante sulla CONSOLE!!! makke´ :( il mio mouse non si è mosso completamente in console... :? ...bah....vabe passiamo avanti per la configurazione di X su <!-- BBCode Start --><B>xorg.conf</B><!-- BBCode End -->
<BR>Vi pasto il mio xorg.conf riguardo il mouse:
<BR><!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Code:</font><HR></TD></TR><TR><TD><FONT SIZE=-1><PRE>InputDevice "Mouse1" "AlwaysCore" <-- ho messo la qualunque
<BR>...
<BR>Section "InputDevice"
<BR>Identifier "Mouse1"
<BR>Driver "mouse"
<BR>Option "Protocol" "IMPS/2"
<BR>Option "Device" "/dev/mouse" <-- ho messo la qualunque (anche /dev/input/mouse0 o mice)
<BR>Option "ZAxisMapping" "4 5" <-- Per far funzionare la rotellina
<BR>Option "Resolution" "600" <-- Perchè è un mouse ottico
<BR>EndSection
<BR>...</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode End -->
<BR>
<BR>Vi pasto anche il <!-- BBCode Start --><B>dmesg</B><!-- BBCode End --> abilitando EHCI per le usb 2.0:
<BR><!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Code:</font><HR></TD></TR><TR><TD><FONT SIZE=-1><PRE>usb-uhci.c: $Revision: 1.275 $ time 13:49:33 Dec 14 2004
<BR>usb-uhci.c: High bandwidth mode enabled
<BR>usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 10
<BR>usb-uhci.c: Detected 2 ports
<BR>usb.c: new USB bus registered, assigned bus number 1
<BR>hub.c: USB hub found
<BR>hub.c: 2 ports detected
<BR>usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 10
<BR>usb-uhci.c: Detected 2 ports
<BR>usb.c: new USB bus registered, assigned bus number 2
<BR>hub.c: USB hub found
<BR>hub.c: 2 ports detected
<BR>usb-uhci.c: USB UHCI at I/O 0xcc00, IRQ 11
<BR>usb-uhci.c: Detected 2 ports
<BR>usb.c: new USB bus registered, assigned bus number 3
<BR>hub.c: USB hub found
<BR>hub.c: 2 ports detected
<BR>usb-uhci.c: USB UHCI at I/O 0xc800, IRQ 11
<BR>usb-uhci.c: Detected 2 ports
<BR>usb.c: new USB bus registered, assigned bus number 4
<BR>hub.c: USB hub found
<BR>hub.c: 2 ports detected
<BR>usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
<BR>hub.c: new USB device 00:10.3-2, assigned address 2
<BR>usb.c: USB device 2 (vend/prod 0x8ea/0xca) is not claimed by any active driver.
<BR>hub.c: new USB device 00:10.0-2, assigned address 2
<BR>usb.c: error getting string descriptor 0 (error=-75)
<BR>input0: USB HIDBP Mouse 062a:0000 on usb4:2.0
<BR>usb.c: registered new driver hiddev
<BR>usb.c: registered new driver hid
<BR>hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
<BR>hid-core.c: USB HID support drivers
<BR>ehci_hcd 00:10.4: VIA Technologies, Inc. USB 2.0
<BR>ehci_hcd 00:10.4: irq 5, pci mem d0b85e00
<BR>usb.c: new USB bus registered, assigned bus number 5
<BR>ehci_hcd 00:10.4: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
<BR>usb.c: USB disconnect on device 00:10.0-2 address 2
<BR>usb.c: USB disconnect on device 00:10.3-2 address 2
<BR>hub.c: USB hub found
<BR>hub.c: 8 ports detected
<BR>hub.c: new USB device 00:10.0-2, assigned address 3
<BR>usb_control/bulk_messaggio: timeout
<BR>usb.c: USB device not accepting new address=3 (error=-110)
<BR>hub.c: new USB device 00:10.0-2, assigned address 4
<BR>usb_control/bulk_messaggio: timeout
<BR>usb.c: USB device not accepting new address=4 (error=-110)
<BR>hub.c: new USB device 00:10.3-2, assigned address 3
<BR>usb.c: USB device 3 (vend/prod 0x8ea/0xca) is not claimed by any active driver.
<BR>hub.c: new USB device 00:10.0-1, assigned address 5
<BR>usb_control/bulk_messaggio: timeout
<BR>usb.c: USB device not accepting new address=5 (error=-110)
<BR>hub.c: new USB device 00:10.0-1, assigned address 6
<BR>usb_control/bulk_messaggio: timeout
<BR>usb.c: USB device not accepting new address=6 (error=-110)</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode End -->
<BR>
<BR>Appena inserisco il mouse c´è ogni volta un messaggio del genere:
<BR><!-- BBCode Start --><B>
<BR>hub.c: new USB device 00:10.0-1, assigned address 5
<BR>usb_control/bulk_messaggio: timeout
<BR>usb.c: USB device not accepting new address=5 (error=-110)
<BR></B><!-- BBCode End -->
<BR>
<BR>Ovviamente in base alla porta usb in cui inserisco il cavo cambiano gli indirizzi etc.
<BR>Vi pasto anche l´output di <!-- BBCode Start --><B>lsmod</B><!-- BBCode End --> non si sa mai:
<BR><!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Code:</font><HR></TD></TR><TR><TD><FONT SIZE=-1><PRE>Module Size Used by Not tainted
<BR>usbmouse 1880 0 (unused)
<BR>ehci-hcd 17452 0 (unused)
<BR>via-rhine 12368 1
<BR>mii 2272 0 [via-rhine]
<BR>crc32 2880 0 [via-rhine]
<BR>pcmcia_core 39172 0
<BR>ntfs 51232 1 (autoclean)
<BR>ide-scsi 9104 0
<BR>keybdev 1892 0 (unused)
<BR>mousedev 4020 1
<BR>hid 20804 0 (unused)
<BR>input 3200 0 [usbmouse keybdev mousedev hid]
<BR>usb-uhci 21936 0 (unused)
<BR>usbcore 58860 1 [usbmouse ehci-hcd hid usb-uhci]</PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode End -->
<BR>
<BR>Ho provato col kernel di default di slackware 10.0 e anche col 2.6.7 e anche col 2.4.28. Non so più che dire, conto su di voi!<BR><BR>[ Questo Messaggio è stato Modificato da: FrANkiR il 29-12-2004 14:03 ]<br>

samiel
Staff
Staff
Messaggi: 5511
Iscritto il: ven 16 gen 2004, 0:00
Nome Cognome: Mauro Sacchetto
Slackware: 13.0
Kernel: 2.26
Desktop: KDE
Distribuzione: anche Debian
Località: Venezia

Mouse USB + OTTICO + CORDLESS

Messaggio da samiel »

Come non darti ragione... ! :-)<br>

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Mouse USB + OTTICO + CORDLESS

Messaggio da meritil »

lascia /dev/input/mice in xorg e prova con "modprobe psmouse"<br>

Avatar utente
cesconix
Linux 2.x
Linux 2.x
Messaggi: 337
Iscritto il: mer 29 dic 2004, 0:00
Nome Cognome: Francesco Pasqua
Slackware: slackware64 -current
Kernel: 2.6.35.7
Desktop: Xfce
Località: Catania

Mouse USB + OTTICO + CORDLESS

Messaggio da cesconix »

root@nixilab:~# modprobe psmouse
<BR>modprobe: Can´t locate modle psmouse
<BR>root@nixilab:~# insmod psmouse
<BR>insmod: psmouse: no module by that name found
<BR>
<BR>azz non ho il modulo psmouse...mo?<br>

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Mouse USB + OTTICO + CORDLESS

Messaggio da meritil »

insmod devi inserire il path completo compreso di estensione
<BR>
<BR>tipo: insmod /vattelappesca/modulo.ko
<BR>
<BR>cmqe modprobe psmouse è chiarissimo... non c´è!!!, ed è molto strano, molto ma molto.
<BR>
<BR>Prova così...
<BR>
<BR>insmod /lib/module/`uname -r`/kernel/drivers/input/mouse/psmouse.ko<br>

Avatar utente
cesconix
Linux 2.x
Linux 2.x
Messaggi: 337
Iscritto il: mer 29 dic 2004, 0:00
Nome Cognome: Francesco Pasqua
Slackware: slackware64 -current
Kernel: 2.6.35.7
Desktop: Xfce
Località: Catania

Mouse USB + OTTICO + CORDLESS

Messaggio da cesconix »

non esiste la directory mouse dentro la directory input<br>

meritil
Master
Master
Messaggi: 1651
Iscritto il: mar 24 ago 2004, 0:00
Slackware: bluewhite64
Contatta:

Mouse USB + OTTICO + CORDLESS

Messaggio da meritil »

Estratto dal mio Pc, kernel 2.6.10, la stessa cosa sarebbe stata se avessi avuto 2.6.7/9
<BR>
<BR>ls -l /lib/modules/2.6.10/kernel/drivers/input/
<BR>
<BR>totale 25
<BR>-rw-r--r-- 1 root root 10062 2004-12-26 04:41 evdev.ko
<BR>drwxr-xr-x 2 root root 232 2004-12-26 04:41 gameport
<BR>-rw-r--r-- 1 root root 10418 2004-12-26 04:41 joydev.ko
<BR>drwxr-xr-x 3 root root 656 2004-12-26 04:41 joystick
<BR>drwxr-xr-x 2 root root 112 2004-12-26 04:41 misc
<BR>drwxr-xr-x 2 root root 240 2004-12-26 04:41 mouse
<BR>drwxr-xr-x 2 root root 208 2004-12-26 04:41 serio
<BR>drwxr-xr-x 2 root root 72 2004-12-26 04:41 touchscreen
<BR>
<BR>
<BR>ls -l /lib/modules/2.6.10/kernel/drivers/input/mouse
<BR>
<BR>totale 68
<BR>-rw-r--r-- 1 root root 6554 2004-12-26 04:41 inport.ko
<BR>-rw-r--r-- 1 root root 6625 2004-12-26 04:41 logibm.ko
<BR>-rw-r--r-- 1 root root 5092 2004-12-26 04:41 pc110pad.ko
<BR>-rw-r--r-- 1 root root 24799 2004-12-26 04:41 <!-- BBCode Start --><B>psmouse.ko</B><!-- BBCode End -->
<BR>-rw-r--r-- 1 root root 6555 2004-12-26 04:41 sermouse.ko
<BR>-rw-r--r-- 1 root root 7559 2004-12-26 04:41 vsxxxaa.ko
<BR>
<BR>Mi sa che ti tocca ricompilare hai fatto qualche errore nel configurare o hai cancellato per errore la directory mouse....
<BR>
<BR>Ciao<br>

Rispondi