Announcement

Collapse
No announcement yet.

Problem PicorePlayer with ELECROW Touch Display 7" 1024x600 with Jivelite

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • paul-
    replied
    Couple of threads on this. Combining for solution.

    I got 7 Inch Raspberry Pi 4 Model B Touch Screen 1024x600 IPS Capacitive LCD - screen is on sale from different sellers in two version (with and without speakers). Lcd wiki - lcdwiki.com description and driver for raspi you can find on http://www.lcdwiki.com/7inch_HDMI_Display-H. Touch screen is on Raspberry Bullseye working

    Leave a comment:


  • Izocad
    replied
    Chiming in here as well.
    Have the QDtech MPI1001 Touchscreen and get the same issue as you
    Code:
    tc@woonkamer:~$ sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event0 /usr/local/bin/ts_calibrate
    xres = 592, yres = 448
    Took 1 samples...
    Top left : X = 1280 Y =  800
    Took 1 samples...
    Top right : X = 1280 Y =  800
    Took 1 samples...
    Bot right : X = 1280 Y =  800
    Took 1 samples...
    Bot left : X = 1280 Y =  800
    Took 1 samples...
    Center : X = 1280 Y =  800
    ts_calibrate: determinant is too small -- 0.000000
    Calibration failed.
    
    ​
    Any ideas?

    Leave a comment:


  • kjansik
    replied
    Originally posted by paul-
    The hdmi config would not have much to do with the touch configuration, as the touch is USB. The only thing that matters is that the touch library can figure out the display resolution
    I do believe USB should be OK. RPI4 has USB 3.0 and USB 2, I tried b​​​​​oth. My suspicion is that touch is receiving wrong info about display. In the case mouse cursor is on, after next touch cursor is moving on the right bottom (lower) corner of screen, after first touch cursor regularly goes out (overscan?) of screen. Ts_calibrate shows following cordinates:

    Code:
    sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event0 /usr/loc
    al/bin/ts_calibrate
    xres = 800, yres = 480
    Took 1 samples...
    Top left : X = 1024 Y = 600
    Took 1 samples...
    Top right : X = 1024 Y = 600
    Took 1 samples...
    Bot right : X = 1024 Y = 600
    Took 1 samples...
    Bot left : X = 1024 Y = 600
    Took 1 samples...
    Center : X = 1024 Y = 600
    ts_calibrate: determinant is too small -- 0.000000
    Calibration failed.
    ​​
    Coordinates X,Y remains unchanged for every resolution and skin set. xres, yres values are set by default Pointercal file, change doesn't influence calibration result.

    Many user with HDMI screen 1024x600 claimed that those screens are working only with 800x480 resolution properly. I got Waveshare HDMI C 1024x600 and it worked without any problem with 1024x600. VU meters got problem, it is discussed and solved in forum.

    Why touch does not understand the screen is out of my abilities, I do not have any clue how to proceed, where to search answers.
    Last edited by kjansik; 2023-02-19, 08:57.

    Leave a comment:


  • paul-
    replied
    The hdmi config would not have much to do with the touch configuration, as the touch is USB. The only thing that matters is that the touch library can figure out the display resolution

    Leave a comment:


  • kjansik
    replied
    Originally posted by paul-
    I don’t argue the quality difference, but then you have to deal with poor support from the hardware vendor. Have you ran some other test software to ensure you don’t have. Faulty screen?
    Screen is described on site http://www.lcdwiki.com/7inch_HDMI_Display-H. Even chinese seller provides solid support.
    Device is working absolutely flawlessly with Raspi Bullseye. No calibration needed, just basic settings. Windows 11 OK!!
    I tried with Raspi 3B+ and Raspi 4B 2Gb. I tried with PicorePlayer 6.0, 6.1, 8.0, 8.2 (32bit and 64bit version). I installed TinyCore with Xorg and GUI, same problem: Every touch resulted on same place. I have suspicion that hdmi_timing setting plays some role: on TinyCore sometimes seems touch ended on different place.
    So far: problem is related to TinyCore/PiCoreplayer environment.
    Screen itself seems to be very good quality: nice colors, good viewing angles, clean connection for external source and Raspi, backlight regulation. pricing reasonable, delivered in two weeks...
    I am not giving up...
    Last edited by kjansik; 2023-02-18, 18:01.

    Leave a comment:


  • paul-
    replied
    I don’t argue the quality difference, but then you have to deal with poor support from the hardware vendor. Have you ran some other test software to ensure you don’t have. Faulty screen?

    Leave a comment:


  • kjansik
    replied
    Originally posted by agburnsky
    [

    The official raspberry pi display (DSI display) works seamlessly with picoreplayer and doesn't require any editing of files. It is certainly an easier solution than the HDMI screens.




    Official raspberry pi display is poor quality - upside down, viewing angles, colors etc. Waveshare LCD is far better, installation easy, but case is ugly and display expensive. I am struggling with rare problem (every touch resulted on the same place), several people experienced it, but no solution is published until now.

    Leave a comment:


  • agburnsky
    replied
    [
    Originally posted by kjansik
    Additional question: DSI LCD? would it be safe choice for pCP player?
    The official raspberry pi display (DSI display) works seamlessly with picoreplayer and doesn't require any editing of files. It is certainly an easier solution than the HDMI screens.





    Leave a comment:


  • kjansik
    replied
    Hi Paul-,

    may be you can help me concerning problems with my touch screen: you are the opinion am experiencing driver problem: I looked at the driver provided by http://www.lcdwiki.com/7inch_HDMI_Display-H. Relevant part of driver provided shows as follow:

    Code:
     [TABLE]
      [TR]
      [TD]source ./system_config.sh[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]sudo echo "hdmi_force_hotplug=1" >> ./boot/config.txt.bak[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]sudo echo "dtparam=i2c_arm=on" >> ./boot/config.txt.bak[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]sudo echo "dtparam=spi=on" >> ./boot/config.txt.bak[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]sudo echo "enable_uart=1" >> ./boot/config.txt.bak[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]sudo echo "display_rotate=0" >> ./boot/config.txt.bak[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]sudo echo "max_usb_current=1" >> ./boot/config.txt.bak[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]sudo echo "config_hdmi_boost=7" >> ./boot/config.txt.bak[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]sudo echo "hdmi_group=2" >> ./boot/config.txt.bak[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]sudo echo "hdmi_mode=87" >> ./boot/config.txt.bak[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]sudo echo "hdmi_drive=1" >> ./boot/config.txt.bak[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]sudo echo "hdmi_cvt 1024 600 60 6 0 0 0" >> ./boot/config.txt.bak[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]sudo cp -rf ./boot/config.txt.bak /boot/config.txt[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]#sudo cp -rf ./boot/config-7C-1024x600.txt /boot/config.txt[/TD]
      [/TR]
      [TR]
      [TD] [/TD]
      [TD]#if test "$root_dev" = "/dev/mmcblk0p7";then[/TD]
      [/TR]
      [/TABLE]
     ​
    I modified pCP config.txt according the settings I found in this code - no success. I looked at https://github.com/libts/tslib once more and seems to be clear, problem is not the calibration.
    I run ts_calibrate with ts_test and received following (example touched few points on screen):

    Code:
    tc@pCP:~$ sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event0 /usr/loc
    al/bin/ts_test
    1675955024.758178:   1010    584    255
    1675955024.865101:   1010    584      0
    1675955028.297668:   1010    584    255
    1675955028.404595:   1010    584      0
    1675955029.993832:   1010    584    255
    1675955030.090831:   1010    584      0
    1675955031.871100:   1010    584    255
    1675955031.989097:   1010    584      0
    1675955033.853371:   1010    584    255
    1675955033.950372:   1010    584      0
    ​
    I tried ts_test_mt and didn't receive any answer on console, crosshair disappeared after first touch and screen was irresponsive. Message on screen was : 1 touch contacts supported (driver).

    I will appreciate any help, hint , any idea.....
    Many thanks in advance
    Last edited by kjansik; 2023-02-09, 16:02.

    Leave a comment:


  • kjansik
    replied
    Additional question: DSI LCD? would it be safe choice for pCP player?

    Leave a comment:


  • kjansik
    replied
    Can you provide any advice how to get and install driver on tinyCore? I tried register on tinyCore forum, there are 5 (!) different tests whether you are human, I didn't manage last test due to sliders, which I cannot move (on different browsers). This LCD display seems to be very good - for my players I tried different LCDs, official 7 inch, which is poor, Waveshare 7 inch C which is ugly and now I stuck without silver line.

    Leave a comment:


  • Greg Erskine
    replied
    Those install scripts are for Raspberry Pi OS not piCore.

    Leave a comment:


  • kjansik
    replied
    I am afraid you are right. I read the git you mentioned already. I found driver on the site http://www.lcdwiki.com/10.1inch_HDMI_Display-H, which is exactly the same device. Due to the fact, I am very old noob (74y), I tried but probably did not manage install the driver properly. Instruction are:
    Code:
    sudo rm -rf LCD-show
    
    git clone https://github.com/goodtft/LCD-show.git
    chmod -R 755 LCD-show
    cd LCD-show/
    and install just :
    sudo ./LCD7H-show
    I did everything on my pCP, but without any effect. I tried display with with Bullseye image, no problem at all, flawlessly! Those LCD7H-show file is just simple script, i do not understand how it should change something in Kernel.It is my 4th player I built and now I am on dead end.
    If you can provide any hint, i would be grateful.

    Leave a comment:


  • paul-
    replied
    It appears you have a screen or a driver problem. This has nothing to do with ts_calibrate not being able to calibrate. I would run ts_test to see if you get different values anywhere on your screen. You can read about the TS lib here. https://github.com/libts/tslib
    Last edited by paul-; 2023-02-06, 21:54.

    Leave a comment:


  • kjansik
    replied
    Hi Peter,
    I am struggling since10 days with exactly same device you have successfully installed:

    tc@pCP:/mnt/mmcblk0p1$ cat /proc/bus/input/devices
    I: Bus=0003 Vendor=0484 Product=5750 Version=0101
    N: Name="QDtech MPI7003 Touchscreen"
    P: Phys=usb-0000:01:00.0-1.2/input0
    S: Sysfs=/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:0484:5750.0001/input/input0
    U: Uniq=
    H: Handlers=mouse0 event0
    B: PROP=0
    B: EV=1b
    B: KEY=400 0 0 0 0 0 0 0 0 0 0
    B: ABS=100 3
    B: MSC=10



    I exactly followed your instruction, unfortunately i am stuck from first day on following problem: any touch results on same place (coordinates) on the display - example: TS-Calibrate fails:

    sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/event0 /usr/loc
    al/bin/ts_calibrate
    xres = 800, yres = 480
    Took 1 samples...
    Top left : X = 1024 Y = 600
    Took 1 samples...
    Top right : X = 1024 Y = 600
    Took 1 samples...
    Bot right : X = 1024 Y = 600
    Took 1 samples...
    Bot left : X = 1024 Y = 600
    Took 1 samples...
    Center : X = 1024 Y = 600
    ts_calibrate: determinant is too small -- 0.000000
    Calibration failed.

    Please, provide provide me your Pointercal file from your device, I would try to use it in RO mode to force my device from dead point. I spent hours on Google, there are several identical cases, but no solution, except one case who did it with false Pointercal file. Unfortunately, i am not able to find it more .. In case you would send me PM, i am speaking German.
    Many thanks in advance
    Kveto Jansík​

    Leave a comment:

Working...
X
😀
🥰
🤢
😎
😡
👍
👎