Recently i bought the 3,5" HDMI LCD, marked with 2017/2/1 version, i read some driver installation instructions, i download driver LCD_show_35hdmi.tar.gz from http://en.kedei.net/ and inspect it little. In install script i found, that it install (copies) a lot of binary files for some older kernel. As longtime Debian user i decided to try it with current Raspberry Pi kernel, without any files installed/copied into /usr directory. After search on internet i found your repository and i see that it can be reasonable solution (thanks for infos). To be sure, i start with fresh full raspbian jessie image (2017-04-10), where i did only two changes - i enabled ssh and configured network.
Settings
Display
Display works out of box, after i plug it and power the RasPi i can see GUI, but it uses too high resolution (i didn't inspect exact value). Then i took HDMI settings from driver's config.txt and placed into /boot/config.txt:
After reboot, the display show nice 480x320 screen.
Touchscreen
This was a big problem for me, because i did not encounter with touchscreens before and therefore i had zero experiences with. But after many try-error attempts i was finally success.
I start with enabling touchscreen overlay. First i start from driver's config, then i tried your config and finally i have in /boot/config.txt:
After reboot the touchscreen work, but the X/Y axis are flipped and setting swapxy has no effect. Then i noticed xserver-xorg-input-evdev package in your repo, then i uninstall
the xserver-xorg-input-all and xserver-xorg-input-libinput and install from official repo the xserver-xorg-input-evdev:
I tried to copy /usr/share/X11/xorg.conf.d/10-evdev.conf as you suggests, but it has no effect for me, then i revert it back this file. but i leave these packages (un)installed.
Then i install xinput-calibrator from official repo (BTW version 0.7.5+git20140201-1):
aptitude install xinput-calibrator
Then i add 99-calibration.conf from your repo into /etc/X11/xorg.conf.d/. After xserver restart the touchscreen works better, the axis was not flipped, but was inverted now. Then i add into 99-calibration.conf:
Option "InvertX" "1"
Option "InvertY" "1"
After xserver restart, the touschscreen starts to work and i was able to run (via ssh, i have no keyboard connected into Raspi):
DISPLAY=:0 xinput_calibrator
After finishing calibration it provides setting for me:
I replaced content of 99-calibration.conf by these settings, restart xserver and touchscreen works as expected.
Audio
I didn't try yet.
Conclusion
Although i am not sure about xserver-xorg-input-evdev/xserver-xorg-input-libinput step,
the HDMI display with SPI touchscreen works with no software outside official repositories and with these steps:
optionally tweak HDMI settings in /boot/config.txt
add touchscreen overlay settings in /boot/config.txt
uninstall xserver-xorg-input-all and xserver-xorg-input-libinput
install xserver-xorg-input-evdev
copy usr/99-calibration.conf-35 (this repo) into /etc/X11/xorg.conf.d/99-calibration.conf
tweak 99-calibration.conf manualy or with xinput_calibrator
@slavkoja my friend, after few days of google abuse i found your post here and i want to THANK YOU!
This way i finally have working and calibrated touch display for Repetier Server!
Hi, this is not bugreport, but succesreport ;-)
Recently i bought the 3,5" HDMI LCD, marked with 2017/2/1 version, i read some driver installation instructions, i download driver LCD_show_35hdmi.tar.gz from http://en.kedei.net/ and inspect it little. In install script i found, that it install (copies) a lot of binary files for some older kernel. As longtime Debian user i decided to try it with current Raspberry Pi kernel, without any files installed/copied into
/usr
directory. After search on internet i found your repository and i see that it can be reasonable solution (thanks for infos). To be sure, i start with fresh full raspbian jessie image (2017-04-10), where i did only two changes - i enabled ssh and configured network.Settings
Display
Display works out of box, after i plug it and power the RasPi i can see GUI, but it uses too high resolution (i didn't inspect exact value). Then i took HDMI settings from driver's config.txt and placed into
/boot/config.txt
:After reboot, the display show nice 480x320 screen.
Touchscreen
This was a big problem for me, because i did not encounter with touchscreens before and therefore i had zero experiences with. But after many try-error attempts i was finally success.
I start with enabling touchscreen overlay. First i start from driver's config, then i tried your config and finally i have in
/boot/config.txt
:After reboot the touchscreen work, but the X/Y axis are flipped and setting
swapxy
has no effect. Then i noticedxserver-xorg-input-evdev
package in your repo, then i uninstall thexserver-xorg-input-all
andxserver-xorg-input-libinput
and install from official repo thexserver-xorg-input-evdev
:I tried to copy
/usr/share/X11/xorg.conf.d/10-evdev.conf
as you suggests, but it has no effect for me, then i revert it back this file. but i leave these packages (un)installed.Then i install
xinput-calibrator
from official repo (BTW version 0.7.5+git20140201-1):Then i add
99-calibration.conf
from your repo into/etc/X11/xorg.conf.d/
. After xserver restart the touchscreen works better, the axis was not flipped, but was inverted now. Then i add into99-calibration.conf
:After xserver restart, the touschscreen starts to work and i was able to run (via ssh, i have no keyboard connected into Raspi):
After finishing calibration it provides setting for me:
I replaced content of
99-calibration.conf
by these settings, restart xserver and touchscreen works as expected.Audio
I didn't try yet.
Conclusion
Although i am not sure about
xserver-xorg-input-evdev
/xserver-xorg-input-libinput
step, the HDMI display with SPI touchscreen works with no software outside official repositories and with these steps:/boot/config.txt
/boot/config.txt
xserver-xorg-input-all
andxserver-xorg-input-libinput
xserver-xorg-input-evdev
usr/99-calibration.conf-35
(this repo) into/etc/X11/xorg.conf.d/99-calibration.conf
99-calibration.conf
manualy or withxinput_calibrator