[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: TrackPoint e mouse usb, convivenza autonoma?



jack.automatic@gmail.com wrote:
> Vorrei, quindi, sapere se e' in generale possibile configurare i due
> device per agire in maniera indipendente (e non come cloni) usando
> opportunamente i "Core" flag di xorg...mi e' chiaro che per farlo non
> devo utilizzare ne' "/dev/psaux" ne' "/dev/input/mice" (un cat su di
> essi mi da' output sia muovendo il mouse che il trackpoint) ma con i
> device propri dei due puntatori non funzionano entrambi
> 
> Grazie :)
> 
> 

ti dico come ho fatto io nel caso di due mouse usb e spero possa esserti
d'aiuto.
ho preso le info con:
$ cat /proc/bus/input/devices
...blablabla...
I: Bus=0003 Vendor=045e Product=0047 Version=0110
N: Name="Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)"
P: Phys=usb-0000:00:11.2-1.1/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=mouse0 ts0 event1
B: EV=7
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=103

I: Bus=0003 Vendor=046d Product=c01e Version=0110
N: Name="Logitech USB-PS/2 Optical Mouse"
P: Phys=usb-0000:00:11.2-1.3/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=mouse1 ts1 event2
B: EV=7
B: KEY=ff0000 0 0 0 0 0 0 0 0
B: REL=103
...blablabla...

e ho impostato le sezione di xorg.conf in questo modo:
...blablabla...
Section "InputDevice"
        Identifier      "Intellimouse-Explorer-3.0"
        Driver          "evdev"
        Option          "Dev Name"      "Microsoft Microsoft 5-Button
Mouse with IntelliEye(TM)"
        Option          "Dev Phys"      "usb-0000:00:11.2-1.1/input0"
        Option          "Device"        "/dev/input/event1"
        Option          "SendCoreEvents"
EndSection

Section "InputDevice"
        Identifier      "MX-518"
        Driver          "evdev"
        Option          "Dev Name"      "Logitech USB-PS/2 Optical Mouse"
        Option          "Dev Phys"      "usb-0000:00:11.2-1.3/input0"
        Option          "Device"        "/dev/input/event2"
        Option          "CorePointer"
EndSection
...blablabla...
Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Intellimouse-Explorer-3.0"
        InputDevice     "MX-518"
EndSection
...blablabla...

in questo modo non ho dovuto configurare i pulsanti dei due mouse
(rispettivamente 5 e 7) che invece dovevo fare quando utilizzavo
/dev/input/mice

ciao :)

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: