You are not logged in.

#1 2015-02-13 01:21:50

paulherman
Member
Registered: 2013-09-24
Posts: 12

[Solved] Focaltech Touchpad Patch

Hello!

Could someone point me on how to merge the patch for the Focaltech touchpad into the kernel? Below is the link to the git branch in which the driver was created. This seems to be merged in the linux-next branch of the kernel.

https://github.com/mgottschlag/linux/tree/focaltech3

Thank you!

Last edited by paulherman (2015-02-13 21:11:03)

Offline

#2 2015-02-13 02:54:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [Solved] Focaltech Touchpad Patch

Have you followed this?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2015-02-13 04:18:47

progandy
Member
Registered: 2012-05-17
Posts: 5,259

Re: [Solved] Focaltech Touchpad Patch

If you don't want to build the whole kernel, you could also try an out-of-tree build of the module. By the way, I believe focaltech support is planned to be in 3.20.

svn export https://github.com/mgottschlag/linux/branches/focaltech3/drivers/input/mouse/
cd mouse
make -C /lib/modules/`uname -r`/build M=$PWD

Last edited by progandy (2015-02-13 04:37:00)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2015-03-28 12:20:21

Caocoa
Member
Registered: 2010-11-11
Posts: 27

Re: [Solved] Focaltech Touchpad Patch

I've bought a fresh new laptop, ASUS R510JK-XX142H which ships a FocalTech touchpad:

38: PS/2 00.0: 10500 PS/2 Mouse
  [Created at input.249]
  Unique ID: AH6Q.TodZV2Q6ie8
  Hardware Class: mouse
  Model: "PS/2 FocalTech FocalTech Touchpad in mouse emulation mode"
  Vendor: 0x0002 
  Device: 0x0001 "PS/2 FocalTech FocalTech Touchpad in mouse emulation mode"
  Compatible to: int 0x0210 0x0002
  Device File: /dev/input/mice (/dev/input/mouse0)
  Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event5, /dev/input/by-path/platform-i8042-serio-4-event-mouse, /dev/input/by-path/platform-i8042-serio-4-mouse
  Device Number: char 13:63 (char 13:32)
  Driver Info #0:
    Buttons: 2
    Wheels: 0
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=new, avail=yes, need=no, active=unknown

But @propagandy I believe we won't have Linux 3.19, will we? Methinks we'll get Linux 4.0 soon smile
So I'm ready to wait a little for that new branch. I hope it wil solve my touchpadbug~


caocoa@C40C04 ~:

Offline

#5 2015-03-28 15:25:44

progandy
Member
Registered: 2012-05-17
Posts: 5,259

Re: [Solved] Focaltech Touchpad Patch

Caocoa wrote:

But @propagandy I believe we won't have Linux 3.19, will we? Methinks we'll get Linux 4.0 soon smile
So I'm ready to wait a little for that new branch. I hope it wil solve my touchpadbug~

We already have 3.19. The decision to change 3.20 to 4.0 was made after I wrote that post.

If you want to test now, you can get a compiled 4.0-rc5 kernel (linux-mainline) from miffe

https://aur.archlinux.org/packages/linux-mainline/
Repository available at http://arch.miffe.org

[miffe]
Server = http://arch.miffe.org/$arch/

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2015-03-28 16:45:26

Caocoa
Member
Registered: 2010-11-11
Posts: 27

Re: [Solved] Focaltech Touchpad Patch

oops, sorry for your name, it's progandy~

Thanks for your reply.


caocoa@C40C04 ~:

Offline

#7 2015-03-29 10:07:06

Caocoa
Member
Registered: 2010-11-11
Posts: 27

Re: [Solved] Focaltech Touchpad Patch

It works fine for me smile So we just have to peacefully wait for Linux 4.0! big_smile

[root@C40C04 ~]# uname -a && xinput list-props 13
Linux C40C04 4.0.0-1-mainline #1 SMP PREEMPT Mon Mar 30 04:10:54 CEST 2015 x86_64 GNU/Linux
Device 'FocalTechPS/2 FocalTech FocalTech Touchpad':
	Device Enabled (139):	1
	Coordinate Transformation Matrix (141):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	Device Accel Profile (266):	1
	Device Accel Constant Deceleration (267):	2.500000
	Device Accel Adaptive Deceleration (268):	1.000000
	Device Accel Velocity Scaling (269):	12.500000
	Synaptics Edges (270):	97, 2335, 89, 1575
	Synaptics Finger (271):	25, 30, 0
	Synaptics Tap Time (272):	180
	Synaptics Tap Move (273):	129
	Synaptics Tap Durations (274):	180, 100, 100
	Synaptics ClickPad (275):	1
	Synaptics Middle Button Timeout (276):	0
	Synaptics Two-Finger Pressure (277):	282
	Synaptics Two-Finger Width (278):	7
	Synaptics Scrolling Distance (279):	-58, -58
	Synaptics Edge Scrolling (280):	0, 0, 0
	Synaptics Two-Finger Scrolling (281):	1, 1
	Synaptics Move Speed (282):	1.000000, 1.750000, 0.067889, 0.000000
	Synaptics Off (283):	2
	Synaptics Locked Drags (284):	0
	Synaptics Locked Drags Timeout (285):	5000
	Synaptics Tap Action (286):	0, 0, 0, 0, 1, 3, 2
	Synaptics Click Action (287):	1, 3, 2
	Synaptics Circular Scrolling (288):	0
	Synaptics Circular Scrolling Distance (289):	0.100000
	Synaptics Circular Scrolling Trigger (290):	0
	Synaptics Circular Pad (291):	0
	Synaptics Palm Detection (292):	0
	Synaptics Palm Dimensions (293):	10, 200
	Synaptics Coasting Speed (294):	20.000000, 50.000000
	Synaptics Pressure Motion (295):	30, 160
	Synaptics Pressure Motion Factor (296):	1.000000, 1.000000
	Synaptics Grab Event Device (297):	0
	Synaptics Gestures (298):	1
	Synaptics Capabilities (299):	1, 0, 0, 1, 1, 0, 0
	Synaptics Pad Resolution (300):	1, 1
	Synaptics Area (301):	0, 0, 0, 0
	Synaptics Soft Button Areas (302):	1216, 0, 1364, 0, 0, 0, 0, 0
	Synaptics Noise Cancellation (303):	14, 14
	Device Product ID (261):	2, 18
	Device Node (262):	"/dev/input/event8"

Last edited by Caocoa (2015-03-29 10:33:45)


caocoa@C40C04 ~:

Offline

#8 2015-04-01 19:50:04

CaptainBlood
Member
Registered: 2015-04-01
Posts: 1

Re: [Solved] Focaltech Touchpad Patch

progandy wrote:

If you don't want to build the whole kernel, you could also try an out-of-tree build of the module. By the way, I believe focaltech support is planned to be in 3.20.

svn export https://github.com/mgottschlag/linux/branches/focaltech3/drivers/input/mouse/
cd mouse
make -C /lib/modules/`uname -r`/build M=$PWD

Hi,
Sorry but what name for the module & where?
Maybe some current kernel settings should be defined as modules?
[using gentoo here, so full customized slim kernel with almost no kernel modules]

Thks for your attention

Offline

Board footer

Powered by FluxBB