Gentoo Archives: gentoo-user

From: Sergio Polini <sp_rm_it@×××××.it>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xorg can't work with hotplugged mice?
Date: Mon, 23 Oct 2006 18:40:12
Message-Id: 200610232035.53934.sp_rm_it@yahoo.it
In Reply to: Re: [gentoo-user] xorg can't work with hotplugged mice? by Mick
1 Mick:
2 > My touchpad does not seem to have a problem:
3 > =========================================
4 > Section "InputDevice"
5 > Identifier "Mouse0"
6 > Driver "synaptics"
7 > Option "Protocol" "SynPS/2"
8 > Option "InputFashion" "Mouse"
9 > Option "Device" "/dev/input/mice"
10 > Option "Name" "SynPS/2 Synaptics TouchPad"
11 > Option "SHMConfig" "on"
12 > Option "Vendor" "0002"
13 > Option "ZAxisMapping" "4 5"
14 > Option "Emulate3Buttons" "True"
15 > Option "Buttons" "3"
16 > EndSection
17 > =========================================
18 >
19 > On the other hand I have not tried (yet) a USB mouse to see if/how
20 > it will be picked up. No problem with PS/2 mice though. They are
21 > detected as soon as I plug them in.
22
23 No problem with my touchpad (HP Pavilion dv200z) and my Logitech USB
24 mouse (even if I plug and unplug it).
25
26 $ cat /proc/bus/input/devices
27 .......
28 I: Bus=0011 Vendor=0002 Product=0007 Version=0000
29 N: Name="SynPS/2 Synaptics TouchPad"
30 P: Phys=isa0060/serio4/input0
31 S: Sysfs=/class/input/input3
32 H: Handlers=mouse0 event2
33 B: EV=b
34 B: KEY=6420 70000 0 0 0 0
35 B: ABS=11000003
36
37 I: Bus=0003 Vendor=046d Product=c016 Version=0340
38 N: Name="Logitech Optical USB Mouse"
39 P: Phys=usb-0000:00:0b.0-6/input0
40 S: Sysfs=/class/input/input5
41 H: Handlers=mouse1 event3
42 B: EV=7
43 B: KEY=70000 0 0 0 0
44 B: REL=103
45
46 $ less /etc/X11/xorg.conf
47 ......
48 Section "InputDevice"
49 Identifier "Mouse1"
50 Driver "mouse"
51 Option "Protocol" "auto"
52 Option "Device" "/dev/input/mice"
53 Option "ZAxisMapping" "4 5 6 7"
54 EndSection
55
56 Section "InputDevice"
57 Identifier "TouchPad"
58 Driver "synaptics"
59 Option "Device" "/dev/input/mouse0"
60 Option "Protocol" "auto-dev"
61 Option "LeftEdge" "1700"
62 Option "RightEdge" "5300"
63 Option "TopEdge" "1700"
64 Option "BottomEdge" "4200"
65 Option "FingerLow" "25"
66 Option "FingerHigh" "30"
67 Option "MaxTapTime" "180"
68 Option "MaxTapMove" "220"
69 Option "VertScrollDelta" "100"
70 Option "MinSpeed" "0.09"
71 Option "MaxSpeed" "0.18"
72 Option "AccelFactor" "0.0015"
73 Option "SHMConfig" "on"
74 EndSection
75
76 Cheers,
77 Sergio
78 --
79 gentoo-user@g.o mailing list