Mouse USB + OTTICO + CORDLESS
Inviato: mer 29 dic 2004, 13:34
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>
<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´
<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>