[EXPERIMENTAL] Linux on the LCD screen
#14
(01-03-2017, 03:29 PM)psychedup Wrote:
(01-03-2017, 09:28 AM)atomicmoose Wrote:
(12-29-2016, 06:50 PM)atomicmoose Wrote:
(12-21-2016, 12:39 PM)psychedup Wrote: ...The touch screen works but only the right half of the screen...

I have yet to figure out where the issue is and over New Years I broke my LCD panel. I've ordered a new one, when it arrives I'll resume tracing the problem.

Sorry to hear about the breakage. I broke my first one too.

I looked at ayufan's .dts and don't see anything significantly different than mine. Also, the armbian image has LCD+touch working - looks like they're using the same .dts settings and driver, so I wonder what else they're doing differently.

Looked at what Armbian does and was able to get it to work. Here's the relevant section of the .dts that made it work for me:

Code:
               ctp {
                       device_type = "ctp";
                       compatible = "allwinner,sun50i-ctp-para";
                       status = "okay";
                       ctp_used = <0x1>;
                       ctp_name = "gt911_DB2";
                       ctp_twi_id = <0x0>;
                       ctp_twi_addr = <0x40>;
                       ctp_screen_max_x = <0x400>;
                       ctp_screen_max_y = <0x258>;
                       ctp_revert_x_flag = <0x1>;
                       ctp_revert_y_flag = <0x1>;
                       ctp_exchange_x_y_flag = <0x0>;
                       ctp_int_port = <0x30 0x7 0x4 0x6 0xffffffff 0xffffffff 0xffffffff>;
                       ctp_wakeup = <0x30 0x7 0xb 0x1 0xffffffff 0xffffffff 0x1>;
                       ctp_power_ldo = "vcc-ctp";
                       ctp_power_ldo_vol = <0xce4>;
                       ctp_power_io;
               };
  Reply


Messages In This Thread
RE: [EXPERIMENTAL] Linux on the LCD screen - by psychedup - 01-03-2017, 05:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information LCD Support on Linux pfeerick 8 19,166 02-08-2021, 03:30 PM
Last Post: HBeserra
  What other devices can the LCD screen work on? kodachrome 1 3,099 12-07-2019, 06:50 PM
Last Post: kodachrome
  Linux Support UnixOutlaw 69 90,583 03-18-2017, 07:25 PM
Last Post: apple4ever
  LCD screen brightness/contrast Learnincurve 10 13,840 02-17-2017, 12:45 PM
Last Post: psychedup
  Touch screen support shariq_2001 14 19,878 12-07-2016, 07:47 AM
Last Post: Luke
  LCD Touch Screen Problem. Gavin 8 9,659 11-27-2016, 10:26 PM
Last Post: michaelquezon
Photo Playbox LCD on Linux MackPI 10 16,052 10-19-2016, 07:49 AM
Last Post: Zoidiano0
  Screen flashes blue and then goes dark. tanarri 5 7,680 06-22-2016, 10:53 AM
Last Post: tanarri
  LCD Pannel working... Touch screen NOT working?? Why Chopshop13 3 5,074 06-13-2016, 08:24 AM
Last Post: PapaStahl
  LCD screen not powering on Dnode 16 21,033 06-08-2016, 12:59 PM
Last Post: anexpert

Forum Jump:


Users browsing this thread: 1 Guest(s)