Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 1 of 1

Hybrid View

  1. #1
    Member peddanet's Avatar
    Join Date
    Jun 2020
    Location
    Bochum, NRW, Germany
    Posts
    42

    Setup and Startup of ELECROW Touch Display 7" 1024x600, Works Rasp Pi OS

    I bought this nice display here: ELECROW Raspberry Pi Display, 7-Inch 1024 Î 600 Portable Touchscreen Monitor with Stand and Speakers for my new Squeezeboxclient (preferrable solution PiCorePlayer, but I did not get Jivelite right so far, Raspberry Pi OS with Desktop works flawlessly with Touch). You could get it for 79$ at other places without the necessary accessories for the Pi, like small adapter boards for USB and HDMI, which are applicable to Pi 3b and 4b and saves you from the trouble of having tangled cords here...

    First I had issues with the display. It worked out of the box, so it shows up all boot messages, but resolution was wrong. But after applying the following changes, I was able to see a flipped screen (I need it it flipped because The Raspberry Pi mounted with a case at the back of the Display could not be otherwise configured with the feet of the display). It was a bit tricky, and of cause you had to adjust the boot config.txt. Important to note (look for existing tags to replace otherwise copy over missing tags):

    Code:
    # mount boot partition (for Rasp Pi OS do just  cd /boot)
    $ m1 
    # cd into boot partitiom
    $ c1
    # vi into config.txt (or use nano)
    $ vi config.txt
    [Scroll to the related tags, For VI: press 'i' to insert]
    
    # Enable DRM VC4 V3D driver : this is set by default, please comment out! It works but only with standard orientation, no changes possible
    #dtoverlay=vc4-kms-v3d
    max_framebuffers=2
    
    #---Begin-Custom-(Do not alter Begin or End Tags)----   <--- this tag is not existing in RASP Pi OS (so don't look for it just copy and paste)
    # rotate screen and touch 0, 1= 90, 2=180, 3=270
    display_rotate=2
    max_usb_current=1
    hdmi_force_hotplug=1
    config_hdmi_boost=7
    hdmi_group=2
    hdmi_mode=1
    hdmi_mode=88
    hdmi_drive=1
    hdmi_cvt 1024 600 60 6 0 0 0
    #---End-Custom---------------------------------------- <--- again this tag is only available in PiCorePlayer
    [For VI: Press ESC and exit with Shift-zz]
    I had issues with the touch, but that was due to the lack of power, 5W is not sufficing the power consumption of a raspberry Pi 3b+ Elecrow touch display, which was not obvious from the beginning.The touch does not seems calibrated and was the mouse pointer was jumping around like hell. It could not be calibrated. At one point later the lightning symbol indicates me, that there was a lack of power.
    After that the touch worked well and could be easily caibrated.

    For the touch I needed to add a transformation matrix to (Raspberry Pi Touch Monitor - rotate touch screen rotate settings):
    Code:
    $ cd /usr/share/X11/xorg.conf.d/
    $ sudo vim.tiny 40-libinput.conf
    [..]
    Section "InputClass"
            Identifier "libinput touchpad catchall"
            MatchIsTouchpad "on"
            MatchDevicePath "/dev/input/event*"
            Driver "libinput"
    EndSection
    
    Section "InputClass"
            Identifier "libinput touchscreen catchall"
            MatchIsTouchscreen "on"
            Option "TransformationMatrix" "-1 0 1 0 -1 1 0 0 1"
            MatchDevicePath "/dev/input/event*"
            Driver "libinput"
    EndSection
    [..]
    
    $ sudo reboot
    After reboot Display and touch was flipped and worked.


    For PicorePlayer I had to (additionally to the above steps) calibrate like the following (Jivelite installed but not running! Touch deps installed):

    Code:
    # Calibration command without Jivelite running, 
    # could be also event0 as a device, in success case 
    # (so no GUI, no Jivelite running, a calibration screen occurs with a cross in the corner left above, 5 points to adjust: top left, right, bottom right, left, center)
    $ sudo TSLIB_TSDEVICE=/dev/input/event1 /usr/local/bin/ts_calibrate
    # Backup to SD card
    $ sudo filetool.sh -b
    Now it works for Raspberry Pi OS 32 Bit with OS!
    Name:  20220112_135629.jpg
Views: 278
Size:  255.6 KB
    Name:  20220112_135645small.jpg
Views: 249
Size:  250.7 KB
    Name:  20220112_135700small.jpg
Views: 249
Size:  249.7 KB
    Name:  20220112_135655small.jpg
Views: 248
Size:  253.2 KB

    But with PicorePlayer and Jivelite I have Issues with the GUI of Jivelite, the display is half screen moved to the left and to the upper side, so I do not see everything:Problem-PicorePlayer-with-ELECROW-Touch-Display-7"-1024x600-with-Jivelite

    [Update] Display and touch is working with resolution 800x480, please follow link above this line for more info[/UPDATE]
    Last edited by peddanet; 2022-01-12 at 16:16. Reason: link to solved issue added

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •