Skip to content

Kernel module for HyperTouch 4.0" with SingleWire backlight control

Notifications You must be signed in to change notification settings

lutzh86/hypertouch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HyperTouch 4.0 Kernel driver

HyperTouch 4.0 kernel driver

guide for raspberry pi

1. prerequisites

sudo apt-get install dkms git

2. clone repository

git clone https://github.com/shpi/hypertouch40

3. install

cd hypertouch40
   sudo ln -s /home/pi/hypertouch40 /usr/src/hypertouch40-1.0
   sudo dkms install hypertouch40/1.0 
   sudo dtc -I dts -O dtb -o /boot/overlays/hypertouch40.dtbo hypertouch40.dts

4. update /boot/config.txt

add following lines to config.txt

sudo nano /boot/config.txt
display_rotate=3
enable_dpi_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x7f216
dpi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 32000000 6
dtoverlay=hypertouch40
dtparam=touchscreen-swapped-x-y
dtparam=touchscreen-inverted-x

Control backlight (min:0 max:31)

echo 31 | sudo tee /sys/class/backlight/soc\:backlight/brightness

About

Kernel module for HyperTouch 4.0" with SingleWire backlight control

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published