Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2020-01-06 Thread M-H


Hi an other question;
With the re-setup of jivelite on pcp6b7 on a pi3B with original
foundation 7-inch display, I miss the screensavers.
The 'now playing' one is working, and the backlight is set at the
correct moments.
But the clocks do not come on. Image viewer is working though.
Is it a pcp6 bug we need to investigate? I did uninstalled jivelite and
reinstalled it through the gui when I searched for the previous skin
issue.
T.i.a. M-H



Pi based multi-room audio system powered by PiCorePlayer(s):
Pi3B with Phat-dac in a Rasptouch, 2 pi B+ with Cirrus Logic Audio Card,
Pi Zero with Phat-beat ,  and a few other tests...

M-H's Profile: http://forums.slimdevices.com/member.php?userid=66156
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] WaveShare 7'' touchescreen calibration issue with Jivelite

2020-01-06 Thread tparvais


Hello


I've moved this message from an other thread to a new thread as this is
concerning 7'' screen waveshare.

I have the touchscreen 7'' Waveshare HDMI LCD (C) on a raspberrypi 3B
with PicorePlayer 5.0

I adapted pcp_startup.sh accordingly to use *BYZHYYZHY By ZH851
Touchscreen* as identifier.

I: Bus=0003 Vendor=0eef Product=0005 Version=0110
N: Name="BYZHYYZHY By ZH851 Mouse"
P: Phys=usb-3f98.usb-1.4/input0
S:
Sysfs=/devices/platform/soc/3f98.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:0EEF:0005.0004/input/input6
U: Uniq=c0U585P865
H: Handlers=mouse1 event5 js0
B: PROP=0
B: EV=1b
B: KEY=7 0 0 0 0 0 0 0 0
B: ABS=3
B: MSC=10

I: Bus=0003 Vendor=0eef Product=0005 Version=0110
N: Name="*BYZHYYZHY By ZH851 Touchscreen*"
P: Phys=usb-3f98.usb-1.4/input0
S:
Sysfs=/devices/platform/soc/3f98.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:0EEF:0005.0004/input/input7
U: Uniq=c0U585P865
H: Handlers=mouse2 *event6*
B: PROP=0
B: EV=1b
B: KEY=401 0 1 0 0 0 0 0 0 0 0
B: ABS=100 3
B: MSC=10

in config.txt, I've added the following


Code:

max_usb_current=1
  hdmi_group=2
  hdmi_mode=87
  hdmi_cvt 1024 600 60 6 0 0 0
  hdmi_drive=1
  



Everything works fine for display, except the touchpad feature. only
top-left corner seems ok. I cannot press anything on Jivelite. I must
use a mouse to configure and use jivelite.

So I presume I shall calibrate the touchscreen. I did the following:


Code:

sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event6 
/usr/local/bin/ts_calibrate 



I see the crosshair.

It seems the calibration process does not work well: sometimes it does
not pass via all the corners points and jumps directly to the end. Thus
the calibration file pointercal is not good.

Here is my ts.conf file: 


Code:


  # Access plugins
  
  
  # Uncomment if you wish to use the linux input layer event interface
  module_raw input
  
  # For other driver modules, see the ts.conf man page
  
  
  # Filter plugins
  
  
  # Uncomment if first or last samples are unreliable
  # module skip nhead=1 ntail=1
  
  # Uncomment if needed for devices that measure pressure
  #module pthres pmin=1
  
  #module variance delta=30
  
  # Uncomment if needed
  module debounce drop_threshold=500
  
  # Uncomment if needed to filter spikes
  # module median depth=5
  
  # Uncomment to enable smoothing of fraction N/D
  # module iir N=6 D=10
  
  # Uncomment if needed
  # module lowpass factor=0.1 threshold=1
  
  # Uncomment if needed to filter noise samples
  #module dejitter delta=100
  
  # Uncomment and adjust if you need to invert an axis or both
  # module invert x0=800 y0=480
  #module invert x0=1024 y0=600
  
  # Uncomment to use ts_calibrate's settings
  module linear
  



I tried to use different values, no effect.

I tried to calibrate by pressing very fast the screen to pass
successfully to 5 area and I got this: 


Code:


  tc@piCorePlayer:/usr/local/bin$ sudo TSLIB_FBDEVICE=/dev/fb0 
TSLIB_TSDEVICE=/dev/input/event6 /usr/local/bin/ts_calibrate
  xres = 1024, yres = 600
  Took 4 samples...
  Top left : X =   16 Y =  600
  Took 11 samples...
  Top right : X =0 Y =  600
  Took 10 samples...
  Bot right : X =0 Y =  600
  Took 8 samples...
  Bot left : X =0 Y =  600
  Took 18 samples...
  Center : X =0 Y =  600
  ts_calibrate: determinant is too small -- 0.00
  Calibration failed.
  



Sometimes, when it skips some calibration corners, the file is properly
generated but of course the parameters are wrong. 

So I'm stuck. is there an alternative to generate this pointercal config
file ? to calibrate this screen ? 

I've done some search on this forum and abroad without finding the right
calibration parameters.


any idea to solve that problem ? 

Thank you and happy new year to all !

Thomas

PS: i tried this touchsreen on Standard Raspbian desktop OS and it works
like a charm without any config except config.txt



tparvais's Profile: http://forums.slimdevices.com/member.php?userid=59976
View this thread: http://forums.slimdevices.com/showthread.php?t=111447

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix