DSI LCD (like waveshare clone) and lysmarine #327
-
Hello |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 7 replies
-
If you want to connect two screens you are on your own. You will need to figure it out for your own particular hardware set up. BBN default setup works only for one screen |
Beta Was this translation helpful? Give feedback.
-
I am not talking about 2 screens, but rather compare functionality with and without desktop apps autostart. If it's enabled, HDMI or VNC works, reacting correctly on USB connected keyboard and mouse, starting apps and etc, but if the only DSI touchsceen connected, then it just pops up budgie menu and onboard keyboard on whatever touch on the touch screen. It looks like calibration is completely off. However everything functions normal if I just remove BBN apps autostart from $HOME/.config for onbox. Then budgie session and onbox WM works perfectly fine., supporting 2-3 finger zoom, except opencpn though. it seems that BBN autostart ruins the touchscreen. Maybe silly question but what if I keep it commented out , and just add big application icons on the standard budgie/gnome/xfce desktop? |
Beta Was this translation helpful? Give feedback.
-
if only HDMI attachment is working, and recommended, then I can use HDMI switch to switch between cockpit and cabin, similar to one I use at home which switches 2 comps to the one screen/USB dongle mouse/key and cost $20/30 at aliexpress. |
Beta Was this translation helpful? Give feedback.
-
As far as I know it works with DSI screens (at least some). But you need to set it up with DSI screen connected. If you setup with HDMI screen then plug DSI and boot with it you might have weird behavior. autostart.desktop calls autostart script. |
Beta Was this translation helpful? Give feedback.
-
Switching between DSI and HDMI at run-time (or running both) would cause issues with touch calibration. |
Beta Was this translation helpful? Give feedback.
-
Hi Michael |
Beta Was this translation helpful? Give feedback.
-
Which BBN image version? Also your screen is 800x480 resolution which is a bit low for OpenCPN. You will have issues with dialog boxes not fitting on screen |
Beta Was this translation helpful? Give feedback.
-
Also have you tried these steps? https://bareboat-necessities.github.io/my-bareboat/bareboat-os.html#_touchscreen |
Beta Was this translation helpful? Give feedback.
-
Check your /usr/share/X11/xorg.conf.d/90-touchinput.conf file:
What is the output for you? What does MatchProduct say? If MatchProduct string in it is empty you will need to put it in manually. First find the product:
Did you find your product name? Then copy and paste product name into MatchProduct section
and save the file. Also due to other fixes to USB I suggest you Do you even have twofing link of /dev filesystem?
There is https://raw.githubusercontent.com/Plippo/twofing/master/rules/70-touchscreen-waveshare.rules udev rule for waveshare screen which you might need to edit to match your product and put into /etc/udev/rules.d/
|
Beta Was this translation helpful? Give feedback.
-
Looks like that DSI Waveshare screen requires a kernel module. The source code is not published. And it’s not built for all kernels Raspberry Pi OS can come with. Was it a good choice to pick that screen model? |
Beta Was this translation helpful? Give feedback.
-
I managed to make it working using 2023-07-23. No HDMI initially. All was good after I installed touch driver and commented out autostart as :
also I modified /etc/udev/rules.d/70-touchscreen-waveshare.rules as you mentioned above to my device "WS Capacitive TouchScreen WS_xinchDSI_Touch_c bcm2835 (i2c@7e804000)"
what do you think about: https://www.embeddedtouchpanelpc.com/china-full_ip65_waterproof_lcd_display_resistive_touch_display_7_inch_size-10551098.html |
Beta Was this translation helpful? Give feedback.
-
Regarding Waveshare DSI touchscreen issues here is a thread on raspberry pi forums: |
Beta Was this translation helpful? Give feedback.
-
Similar problem resolved for another DSI attached screen: See: #416 |
Beta Was this translation helpful? Give feedback.
I have contacted Waveshare last year when I was having the problem, I think they fixed installation script and it works ok.
The following configuration works for me very good, some I mentioned above: