[gpm]Problem with "-R" option

Troy Schultz tschultz@canada.com
21 Oct 2002 12:51:16 -0400


On Mon, 2002-10-21 at 11:33, moali@sbox.tugraz.at wrote:
> Zitiere Peter Berg Larsen <pebl@math.ku.dk>:
> 
> > [...]
> > What kernel version do you use? 
> 
> Kernel 2.4.19
> 
> > I usually start gpm like this:
> > gpm -t synps2 -m /dev/psaux -Rimps2
> > Note that it is _not_ "-R imps2" (added a space).
> 
> Ok. I'll give it another try.

>  
> > Could I get you to edit synaptics.c so it says #define DEBUG,
> > recompile, and send me the result?
> 
> I hope so :-)
>  
> > [...]
> > > Is there a program available to test the "touchpad-features" provided
> > > by gpm?
> > 
> > Well, does the courser moves in the consol?
> 
> Yes, but I think, this is not exactly what I meant. Is it possible to test the 
> scrolling somehow in the console?
> 
> Do I have to set a z-axis mapping in XF86config when using /dev/gpmdata as 
> mouse-device?

Here is my mouse section from Xfree which I use with gpm

#Touchpad using gpm -Rimps2 -t synps2 -m /dev/mouse
Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "ImPS/2"
	Option	    "Device" "/dev/gpmdata"
	Option	    "Buttons" "5"
	Option      "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection


This provides the Z axis mapping for the vertical scrolling.

Also here is my gpm-syn.conf file:
/* enabling configuration parameters */
[edge_motion_enabled]          FALSE
[edge_motion_speed_enabled]    FALSE
[corner_taps_enabled]          TRUE
[tap_gesture_enabled]          TRUE
[pressure_speed_enabled]       TRUE
[tossing_enabled]              FALSE
[does_toss_use_static_speed]   TRUE
[tap_hold_edge_motion_enabled] FALSE
/* pressure induced speed related configuration parameters */
[low_pressure]                 40
[speed_up_pressure]            60
[pressure_factor]              0.05
[standard_speed_factor]        0.10
/* toss/catch related parameters */
[min_toss_time]                100
[max_toss_time]                300
[prevent_toss_time]            300
[min_toss_dist]                2
[static_toss_speed]            70
[toss_speed_factor]            0.5
/* edge motion related configuration parameters */
[x_min_center]                 1632
[x_max_center]                 5312
[y_min_center]                 1408
[y_max_center]                 4108
[edge_speed]                   20
/* corner tap actions */
[upper_left_action]            0(none)
[upper_right_action]           0(none)
[lower_left_action]            0(none)
[lower_right_action]           10(toggle 4-way button action)
/* 4 way button actions */
[up_button_action]             5(up action)
[down_button_action]           6(down action)
[left_button_action]           2(middle button)
[right_button_action]          4(fourth button)
/* wmode parameters */
[wmode_enabled]                TRUE
[drag_lock_enabled]            FALSE
[finger_threshold]             30
[tap_lower_limit]              50
[tap_upper_limit]              200
[tap_range]                    100
[tap_interval]                 200
[multiple_tap_delay]           100
[pads_tap_interval]            15
/* Additional wmode options */
[palm_detect_enabled]          TRUE
[palm_detect_level]            1
[multi_finger_tap_enable]      FALSE
[multi_finger_stop_enabled]    TRUE
[multi_finger_stop_delay]      8
/* Additional options */   
[touchpad_enabled]             TRUE
[stick_enabled]                FALSE
[stick_pressure_enabled]       FALSE
[four_way_button_enabled]      TRUE
[four_way_button_is_mouse]     FALSE
[scrolling_enabled]            TRUE
[auto_scrolling_enabled]       TRUE
[scrolling_edge]               2
[scrolling_speed]              8
[scrolling_button_factor]      -1.00
[auto_scrolling_factor]        2.0


Best Regards
- Troy Schultz

> 
> Thanks for your quick answer!
> Gerfried
> _______________________________________________
> gpm mailing list
> gpm@lists.linux.it
> http://lists.linux.it/listinfo/gpm