[HowTo] Waveshare 3.5 LCD support

Max2Play Home Forums Max2Play Development (Ideas, Wishes) [HowTo] Waveshare 3.5 LCD support

Viewing 7 posts - 1 through 7 (of 7 total)
  • 17. Oktober 2018 at 11:10 #38654

    Hello. Here are steps to get it working within m2p_stretch_rpi_245.img. Steps are included driver installation for Sharewave 3.5 LCD (even 10$ LCD from china works perfect)

    $ wget https://www.waveshare.com/w/upload/1/1e/LCD-show-180817.tar.gz
    $ tar xvf LCD-show-180817.tar.gz
    $ cd LCD-show
    $ chmod +x LCD35-show
    $ ./LCD35-show

    #after installing of packages and automatic rebooting LCD works, but it is needed to change Driver#

    $ sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
    #replace the line Driver „fbturbo“ with Driver „fbdev“, then ctrl+o, ctrl=x#
    $ sudo reboot

    #After that desktop\jivelite should work#

    Regarding jivelite skin for 480×320 resolution:
    $ cd /opt/jivelite/jivelite/share/jive/applets/SetupWallpaper
    $ sudo rm SetupWallpaperApplet.lua
    $ sudo rm SetupWallpaperMeta.lua
    $ sudo rm strings.txt
    $ sudo wget https://github.com/ralph-irving/jivelite/raw/master/share/jive/applets/SetupWallpaper/SetupWallpaperApplet.lua
    $ sudo wget https://github.com/ralph-irving/jivelite/raw/master/share/jive/applets/SetupWallpaper/SetupWallpaperMeta.lua
    $ sudo wget https://github.com/ralph-irving/jivelite/raw/master/share/jive/applets/SetupWallpaper/strings.txt
    $ sudo mkdir /tempimage
    $ cd
    $ sudo wget http://downloads.sourceforge.net/project/picoreplayer/beta/pcp-jivelite_wav35skin.tcz
    $ sudo mount -o loop pcp-jivelite_wav35skin.tcz /tempimage
    $ cd /tempimage/opt/jivelite/share/jive
    $ sudo cp -a applets /opt/jivelite/jivelite/share/jive/
    # it is needed to delete current config for jivelite#
    $ cd /home/pi/.jivelite
    $ sudo rm -rf *
    $ sudo nano /opt/jivelite//jivelite/share/jive/applets/DesktopJive/DesktopJiveMeta.lua
    #it is needed to change in string 110 «jiveMain:setDefaultSkin(“HDSkin-VGA”)» to «jiveMain:setDefaultSkin(“Wav35Skin”)», then ctrl+o, ctrl+x #
    $ sudo reboot

    #You can see „WAV 3.5 in LCD Skin“ in Settings\Screen\Select Skin #

    • This topic was modified 5 years, 7 months ago by bisesik.
    • This topic was modified 5 years, 7 months ago by bisesik.
    • This topic was modified 5 years, 7 months ago by Heiner.
    18. Oktober 2018 at 11:07 #38671

    Hi bisesik,

    Thanks for posting! We’ll look into the integration and see if we can add it to our options.

    20. Oktober 2018 at 22:45 #38709

    Not at all. All for community 🙂

    But. There is one issue with that waveshare driver. As I mentioned in another thread (about visualization plugin lost\not works), this driver leads to eth0 dissapearing after its installation. If during installation you was on the cable at that time you will be needed to connect to RPi via AP-mode or USB-keyboard, to switch to another tty (ALT+F6, for example) and continue that way to boot up the player. But the solution is simple actually: raspi-config -> 2.Network Options->N3 Network interface names predictable->No->OK->Finish->Reboot now. After that eth0 will came alive again:)
    It will be very useful if you will take it into account too within your wish to add solution for waveshare LCD as option to max2play. Thank you!

    • This reply was modified 5 years, 7 months ago by bisesik.
    24. Oktober 2018 at 12:09 #40280

    Hi bisesik,

    That’s a bit problematic for default integration. We will look into it and see if we can find a solution to ensure safe integration.

    3. November 2018 at 12:48 #41812

    Hey, I tried this with the 5″ HDMI version
    And after installing the driver and changing the required text file I still cant get jivelite to load..

    Any idea’s?

    3. Januar 2024 at 23:46 #53019

    Thanks for this, I have been using picoreplayer but recently acquired a generic waveshare 3.5 lcd that was not compatible with the piscreen overlay. It only works with the Waveshare driver. I needed a Debian based distro with similar functionality as picore and Max2Play hit the spot. So far I am really impressed with the web interface and just need to tweak a few more things to make it on par with picore (ex: launch jivelite in full screen or not load the desktop at all).

    A few notes/differences that I had to do when following this thread was downloadinging the latest waveshare driver by cloning the git repo: https://github.com/waveshare/LCD-show – the scripts in the linked tar in the original post did not enable the screen

    Also had to download the pcp-jivelite_wav35skin.tcz on my pcp first then grab it from its tcz cache directly: /mnt/mmcblk0p2/tce/optional (the download link in the post is no longer valid and I could not figure out another way to grab it)

    Finally the 99-fbturbo.conf step was very important. jivelite or the desktop gui would not launch until I did that step.

    4. Januar 2024 at 2:01 #53021

    FYI I ended up using LCD-Show from this repo (not waveshare) because I needed to rotate the screen 180 (which waveshare did not have scripts for) … so this one should work too – note I installed it after waveshare so I didnt install it from scratch: https://github.com/goodtft/LCD-show

    Also there is a premium option in max2play settings to make JiveLite fullscreen (not windowed).

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

Register here