Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mouse ottico usb [semi-risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Sat Apr 09, 2005 11:18 am    Post subject: mouse ottico usb [semi-risolto] Reply with quote

ciao
mi hanno regalato un mini mouse ottico itech ma non riesco a farlo funzionare
Ho provato a seguire i consigli dei vari post ma non sono approdato a nulla.
Il mouse ha la lucina illuminata ma non si muove e dal dmesg sembra essere visto come un usb storage pero'
Code:
 dmesg | grep -i usb

usbcore: registered new driver usbfs
usbcore: registered new driver hub
usb 3-2: new low speed USB device using uhci_hcd and address 2
usbcore: registered new driver usb-storage
[<c03dc1f0>] (usb_hcd_irq+0x0/0x60)
[<c03dc1f0>] (usb_hcd_irq+0x0/0x60)
usbcore: registered new driver hiddev
usb 3-2: modprobe timed out on ep0in
usb 3-2: modprobe timed out on ep0in
usb 3-2: modprobe timed out on ep0in
usb 3-2: modprobe timed out on ep0in
usbhid: probe of 3-2:1.0 failed with error -5

ho queste entry in xorg.conf
Code:

Section "InputDevice"

# Identifier and driver

    Identifier   "Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/input/mouse0"

    Option "Emulate3Buttons"
EndSection

Section "InputDevice"
# Identifier and driver
Identifier   "USBMouse"
Driver   "mouse"
Option "Protocol"    "ExplorerPS/2"
Option "Device"      "/dev/input/mice"
Option  "ZAxisMapping" "4 5"
EndSection


e nella sezione ServerLayout (gutter dixit)
Code:

  InputDevice "Mouse1" "CorePointer"
  InputDevice "Keyboard1" "CoreKeyboard"
  InputDevice "USBMouse" "SendCoreEvents"


Ho udev abilitato e 2 file in /dev/input/ cioe' mouse0 e mice ma sembrano corrispondere entrambi al touchpad (il cat dice questo)
Qualche aiuto?
grazie


Last edited by lopio on Sun Apr 10, 2005 4:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Sat Apr 09, 2005 11:23 am    Post subject: Reply with quote

Code:

Option "Device"     "/dev/input/mice"
Option "Protocol"    "auto"


Prova cosi'

ciao
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
lan
Apprentice
Apprentice


Joined: 06 Mar 2004
Posts: 215
Location: Verona, Italy (Romeo & juliet`s City)

PostPosted: Sat Apr 09, 2005 11:24 am    Post subject: Reply with quote

mouse-test che ti dice?

usa il trucco del cat :): cat /dev/input/mice muovi il mouse e se esce porcheria hai trovato il device ;)

per fermare il comando CTRL+C come al solito :wink:
ps: ne ho anche io uno mini usb e va benissimo
_________________
--
http://www.giuseppe-marocchio.com
skype: l4nz0r /voice
USH team www.ush.it
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Apr 09, 2005 11:25 am    Post subject: Reply with quote

Aggancia il mouse togli il modulo usbstorage a carica il modulo usbhid.

Vedi se ti crea il device e se va con un cat.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Sat Apr 09, 2005 11:26 am    Post subject: Reply with quote

lan wrote:
mouse-test che ti dice?

usa il trucco del cat :): cat /dev/input/mice muovi il mouse e se esce porcheria hai trovato il device ;)

per fermare il comando CTRL+C come al solito :wink:


ciao come dicevo sopra con il trucco del cat sembra che sia mouse0 che mice corrispondano al touchpad

@neryo : anche settando "auto" non funziona :(
Back to top
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Sat Apr 09, 2005 11:36 am    Post subject: Reply with quote

gutter wrote:
Aggancia il mouse togli il modulo usbstorage a carica il modulo usbhid.

Vedi se ti crea il device e se va con un cat.


ciao questo e' lsomod attuale
Code:

eth1394                17928  0
usbhid                 30912  0
ohci1394               29444  0
yenta_socket           18568  0
rsrc_nonstatic          8576  1 yenta_socket
pcmcia_core            39732  2 yenta_socket,rsrc_nonstatic
radeonfb               70980  0
i2c_algo_bit            8200  1 radeonfb
i2c_core               17808  2 radeonfb,i2c_algo_bit
snd_intel8x0m          14660  0
snd_intel8x0           27584  2
snd_ac97_codec         68856  2 snd_intel8x0m,snd_intel8x0
arc4                    1792  1
ieee80211_crypt_wep     4096  1
ipw2200               121960  0
firmware_class          7552  1 ipw2200
ieee80211              34884  1 ipw2200
ieee80211_crypt         4740  3 ieee80211_crypt_wep,ipw2200,ieee80211
fglrx                 232316  7
8139too                20480  0
mii                     4096  1 8139too

il modulo usbhid c'e' ma non ho il modulo usbstorage (deve essere builtin lo levo)
grazie ciao
Back to top
View user's profile Send private message
lan
Apprentice
Apprentice


Joined: 06 Mar 2004
Posts: 215
Location: Verona, Italy (Romeo & juliet`s City)

PostPosted: Sat Apr 09, 2005 11:40 am    Post subject: Reply with quote

lopio
anche nel mio laptop touchpad e il mouse sono lo stesso device ;)
_________________
--
http://www.giuseppe-marocchio.com
skype: l4nz0r /voice
USH team www.ush.it
Back to top
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Sat Apr 09, 2005 11:57 am    Post subject: Reply with quote

ciao seguendo i suggerimenti di gutter e mettendo usbstorage com modulo ottengo che il device non viene piu' visto come usb storage device ma come mouse adesso


Code:

usb 3-2: new low speed USB device using uhci_hcd and address 2
usbcore: registered new driver hiddev
input: USB HID v1.00 Mouse [USB Wheel Mouse] on usb-0000:00:1d.1-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
[<c03dc1f0>] (usb_hcd_irq+0x0/0x60)
[<c03dc1f0>] (usb_hcd_irq+0x0/0x60)


Viene ora creato un nuovo file di dispositivo /dev/input/mouse1 e il modulo usbhid caricato automaticamente grazie a udev
Purtroppo sostituendo tale device in xorg.conf ho che il cat rimane lo stesso muto (come Protocol ho provato sia IMPS/2 che auto )
ciao
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Apr 09, 2005 1:56 pm    Post subject: Reply with quote

Queste sono le sezioni del mio xorg.conf relative al mouse USB, prova ad usare queste.

Code:
# Identifier and driver

    Identifier  "USBMouse"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/psaux"
    Option  "ZAxisMapping" "4 5"



Code:
    InputDevice "USBMouse" "SendCoreEvents"
    InputDevice "SynapticsTouchpad" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Sat Apr 09, 2005 2:08 pm    Post subject: Reply with quote

gutter wrote:
Queste sono le sezioni del mio xorg.conf relative al mouse USB, prova ad usare queste.


ciao proprio dal tuo conf avevo preso spunto ma non va.Inoltre sembra che il file di device nuovo sia mouse1 e che sia proprio quello che dovra' essere usato peccato che sia sempre "muto"
Che sia problema di Protocol ? il modulo caricato da udev e' uhci_hcd ma e' corretto?
grazie ciao
Back to top
View user's profile Send private message
mc619
Apprentice
Apprentice


Joined: 07 Dec 2004
Posts: 203

PostPosted: Sat Apr 09, 2005 2:24 pm    Post subject: Reply with quote

Anche io ho avuto un problema del genere tempo fa,, ho risolto togliendo uno dei due mouse da xorg.conf e mettendo l'unico rimasto come /dev/input/mice( che a quanto ho capito raggruppa tutti i mouse attaccati...). Se nn ti funziona ti posto pure il mio xorg.conf sezione relativa
Back to top
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Sat Apr 09, 2005 3:10 pm    Post subject: Reply with quote

mc619 wrote:
Anche io ho avuto un problema del genere tempo fa,, ho risolto togliendo uno dei due mouse da xorg.conf e mettendo l'unico rimasto come /dev/input/mice( che a quanto ho capito raggruppa tutti i mouse attaccati...). Se nn ti funziona ti posto pure il mio xorg.conf sezione relativa


ciao levare da xorg.conf la sezione del touchpad non cambia le cose.mice rimane lo stesso il touchpad e il mouse usb rimane /dev/input/mouse1 non funzionante.
Il dubbio e' che il problema sia proprio Questo mouse di una ditta (Itech) non proprio ...
Back to top
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Sun Apr 10, 2005 2:06 pm    Post subject: Reply with quote

CIAO CI SIAMO QUASI
la situazione attuale e' questa

1) ho trasfomato in modulo tutti i componenti usb che mi sembravano coinvolti e dopo mille esperimenti ho che mi funziona tutto SOLO se uso una determinata porta usb delle 3 a disposizione e metto usbmouse e usbhid in autoload ....
Udev mi carica i moduli ehci_hcd,ohci_hcd,uhci_hcd non so in base a cosa e in ogni caso dovrebbe farlo dopo che e' partito modules_autoload.d, corretto?

Rimarrebbe quindi da risolvere questo mistero della porta (le altre assicuro che sono funzionanti dal punto di vista hw).

Questo lsmod quando funziona
Code:

Module                  Size  Used by
eth1394                17928  0
ohci_hcd               19080  0
ohci1394               29444  0
yenta_socket           18568  0
rsrc_nonstatic          8576  1 yenta_socket
pcmcia_core            39732  2 yenta_socket,rsrc_nonstatic
radeonfb               70980  0
i2c_algo_bit            8200  1 radeonfb
i2c_core               17808  2 radeonfb,i2c_algo_bit
snd_intel8x0m          14660  0
snd_intel8x0           27584  2
snd_ac97_codec         68856  2 snd_intel8x0m,snd_intel8x0
usbmouse                4480  0
usbhid                 31304  0
ehci_hcd               28168  0
uhci_hcd               27920  0
arc4                    1792  1
ieee80211_crypt_wep     4096  1
ipw2200               121960  0
firmware_class          7552  1 ipw2200
ieee80211              34884  1 ipw2200
ieee80211_crypt         4740  3 ieee80211_crypt_wep,ipw2200,ieee80211
fglrx                 232316  7
8139too                20480  0
mii                     4096  1 8139too


questo il .config sezione usb
Code:


#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set

#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_RW_DETECT is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_HP8200e=y
CONFIG_USB_STORAGE_SDDR09=y
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set

#
# USB Input Devices
#
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_HID_FF=y
# CONFIG_HID_PID is not set
# CONFIG_LOGITECH_FF is not set
# CONFIG_THRUSTMASTER_FF is not set
CONFIG_USB_HIDDEV=y

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
CONFIG_USB_MOUSE=m
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
CONFIG_USB_MTOUCH=m
# CONFIG_USB_EGALAX is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_DSBR is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_SN9C102 is not set
# CONFIG_USB_STV680 is not set

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGETKIT is not set
# CONFIG_USB_PHIDGETSERVO is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_TEST is not set

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum