Coder Social home page Coder Social logo

focaltech-dkms's People

Contributors

hanipouspilot avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

focaltech-dkms's Issues

Fails on Fedora 23, UX303

I have an ASUS UX303 running Fedora 23, and I get this:

$ git clone [email protected]:hanipouspilot/focaltech-dkms.git
Cloning into 'focaltech-dkms'...
remote: Counting objects: 86, done.
remote: Compressing objects: 100% (67/67), done.
remote: Total 86 (delta 19), reused 86 (delta 19), pack-reused 0
Receiving objects: 100% (86/86), 181.89 KiB | 135.00 KiB/s, done.
Resolving deltas: 100% (19/19), done.
Checking connectivity... done.

$ sudo dkms add ./focaltech-dkms
Creating symlink /var/lib/dkms/focaltech/1.5/source ->
                 /usr/src/focaltech-1.5

DKMS: add completed.

$ dkms install -m focaltech -v 1.5
Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make KERNELRELEASE=4.3.5-300.fc23.x86_64 -C /lib/modules/4.3.5-300.fc23.x86_64/build M=/var/lib/dkms/focaltech/1.5/build/src psmouse.ko...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.3.5-300.fc23.x86_64 (x86_64)
Consult /var/lib/dkms/focaltech/1.5/build/make.log for more information.

$ cat /var/lib/dkms/focaltech/1.5/build/make.log
DKMS make.log for focaltech-1.5 for kernel 4.3.5-300.fc23.x86_64 (x86_64)
Fri Mar 11 12:53:21 EET 2016
make: Entering directory '/usr/src/kernels/4.3.5-300.fc23.x86_64'
  CC      /var/lib/dkms/focaltech/1.5/build/src/psmouse-base.o
  CC      /var/lib/dkms/focaltech/1.5/build/src/synaptics.o
/var/lib/dkms/focaltech/1.5/build/src/synaptics.c: In function ‘synaptics_profile_sensor_process’:
/var/lib/dkms/focaltech/1.5/build/src/synaptics.c:1310:2: error: too few arguments to function ‘input_mt_assign_slots’
  input_mt_assign_slots(dev, slot, pos, nsemi);
  ^
In file included from /var/lib/dkms/focaltech/1.5/build/src/synaptics.c:29:0:
include/linux/input/mt.h:121:5: note: declared here
 int input_mt_assign_slots(struct input_dev *dev, int *slots,
     ^
scripts/Makefile.build:258: recipe for target '/var/lib/dkms/focaltech/1.5/build/src/synaptics.o' failed
make[1]: *** [/var/lib/dkms/focaltech/1.5/build/src/synaptics.o] Error 1
Makefile:1552: recipe for target 'psmouse.ko' failed
make: *** [psmouse.ko] Error 2
make: Leaving directory '/usr/src/kernels/4.3.5-300.fc23.x86_64'

Would it be possible to get this working on a 3.5.0 kernel?

I am having issues with fans on this Asus X453M, with 3.19 and 4.2 kernels, but the 3.5.0 kernels work fine ... apart from the touchpad!

Is it possible to get this dkms business working on a 3.5.0 kernel, or is it something only added since then?

How about on Ubuntu 12.04?

Scroll events still being sent after the fingers are raised

If I do a fast two-finger scroll on a trackpad, I notice the events are sent eased, and they continue to appear for some time after my fingers has left the pad. (This can be observed in xev as a slowing stream of button 4 or 5 events.)

This easing is a nice feature for smooth scrolling, but it has some issues.

  • If you press the Control button while the events are still being received, the window will receive Ctrl-WheelUp/Down events, which many applications process as a zoom request (shrink or enlarge view).
  • If you move your mouse away from the window while the events are still being received, they will be send to the newly focused window!

This behaviour can be somewhat disruptive. A common example of this is scrolling to the top of a browser tab and then hitting Ctrl-PageDown to visit the next tab.

I would be curious to see how apps behave if we were to send all the events as soon as possible, or with a faster repeat rate.

Is this behaviour coded into focaltech-dkms, or elsewhere in the stack? Do you know any way to configure the easing or the repeat rate?

4.x kernel support

Any chance you could port this to support 4.x kernels? The latest is fine for me (most, probably).

Also thanks for putting this up in the first place.

// open bugs on this I'm currently "tracking";

https://bugzilla.kernel.org/show_bug.cgi?id=120181
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1620811
http://www.spinics.net/lists/linux-input/msg46766.html

// source that led me here

https://wiki.archlinux.org/index.php/Touchpad_Synaptics#ASUS_Touchpads_only_recognised_as_PS.2F2_FocalTech_emulated_mouse

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.