Git Product home page Git Product logo

gslx68x's Introduction

gslX68X

Kernel space driver for Silead touch screen digitizers. Forked from Robert Dolca's driver originally posted to lkml.

Compilation

First you should get your kernel headers and build dependencies. Assuming debian based operating systems like Ubuntu

sudo apt-get install kernel-headers-$(uname -r)
sudo apt-get build-dep linux-image-$(uname -r)

Then you can simply fetch this repository and compile it using

sudo apt-get install -y git
git clone https://github.com/sigboe/gslX68X.git && cd gslX68X
make

Firmware

You will need to place a firmware file at /lib/firmware/[hid].fw where you replace [hid] with the lower case hardware ID of your device. In most cases, this is mssl1680 or the exact part name such as gsl1680, gsl1688, gsl3670, gsl3675 or gsl3692.

If mssl1680.fw does not work, watch the dmesg output for a message similar to this one:

[    5.124400] silead_ts i2c-MSSL1680:00: Direct firmware load for mssl1680.fw failed with error -2

This inidicates that the firmware should be named mssl1680.fw.

Firmware for some devices can be obtained from gsl-firmware. You can also find conversion tools there to create your own firmware image from Windows or Android drivers. Note that silead.ko requires firmware in 'plain' format.

Using the driver

You can start using the driver by sudo insmod silead.ko in the working directory where you compiled the driver.

In most cases, some calibration is required before the driver produces accurate results. Use xinput_calibrator for this purpose.

Installation

To install the driver permanently, type sudo make install. This will copy the silead.ko to /lib/modules/<kernel version>/kernel/drivers/input/touchscreen. You may have to run sudo update-initramfs -k all -u or similar afterwards to update the initial ramdisk.

gslx68x's People

Contributors

sigboe avatar onitake avatar jwrdegoede avatar

Watchers

James Cloos avatar

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.