Bjoern wrote:
> I followed this website:
>
Hi there,
as I got a display called *7" 1024x600 capacitive touch screen* from the
geman shop pollin.de, I was searching for a solution to get it to work
with pCP and Jivelite.
(This is the product information site:
wiki.52pi.com/index.php/7-Inch-1024x600_Capacitive_Touch_Screen_(Extend_Two_USB_HOST_Port)_SKU:_EP-0085)
The page Björn mentioned was a good starting point for me, but as the
instructions on that page were made for a Waveshare product, I had to
slightly change some settings:
1. Change the config.txt according to the instruction on the
manufacturers site:
Code:
--------------------
#---Begin-Custom-(Do not alter Begin or End Tags)-----
disable_splash=1
framebuffer_width=819
framebuffer_height=480
hdmi_group=2
hdmi_mode=87
hdmi_cvt 1024 600 60 3 0 0 0
#---End-Custom----------------------------------------
--------------------
The values for framebuffer_width and framebuffer_heigt have to be
adapted to the values *819x480*!
Having done this, reboot the pi before proceed with the next steps. *If
you don't reboot, ts_calibrate won't offer usable results and touch
won't work correctly!*
2. While following the instructions on the "thefanclub" site, when
creating the script /mnt/mmcblk0p2/tce/jivelite.sh, use the resolution
values *819x480*:
Code:
--------------------
#!/bin/sh
# Disable mouse pointer
export JIVE_NOCURSOR=1
# Set touch calibration file
TSLIB_CALIBFILE=/usr/local/etc/pointercal
# Jivelite interface framerate
export JIVE_FRAMERATE=22
# Set 32bit color
/usr/sbin/fbset -depth 32
# Set Touch input device
export TSLIB_TSDEVICE=/dev/input/event0 # This might be event1 in some cases
export SDL_MOUSEDRV=TSLIB
# Define custom JogglerSkin/Grid Skin size
# A 1024x600 skin doesn't exist nor work - scale to 853x480.
export JL_SCREEN_WIDTH=819
export JL_SCREEN_HEIGHT=480
# Set custom screen resolution
/usr/sbin/fbset -xres 819 -yres 480
# Run Jivelite
while true; do
/opt/jivelite/bin/jivelite >> /var/log/jivelite.log 2>&1
sleep 3
done
--------------------
These are the only changes I made when following the guide. Now my
display works like a charm and also touch works as expected. :cool:
Attached find the complete description as a text file.
+-------------------------------------------------------------------+
|Filename: Jivelite auf Joy-IT 7inch Touch-Display.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=29860|
+-------------------------------------------------------------------+
------------------------------------------------------------------------
minibootsmann's Profile: http://forums.slimdevices.com/member.php?userid=69985
View this thread: http://forums.slimdevices.com/showthread.php?t=103330
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix