Could not change to X-Window on C2

Post Reply
morriswu06
Posts: 6
Joined: Mon Sep 09, 2019 11:39 am
languages_spoken: english
ODROIDs: C2, 3.5" LCD, Odroid GO
Has thanked: 0
Been thanked: 0
Contact:

Could not change to X-Window on C2

Unread post by morriswu06 » Mon Sep 09, 2019 12:22 pm

Hello,

I'd like to use the LCD shield with a C2, the system on it is Ubuntu Mate 16.04.6 LTS and the kernel version is 3.14.79-99

I followed the official instruction and all the steps went smoothly until "Run X-Window". I could use tty1 on 3.5" LCD shield by sudo chvt 1 command, however when I ran sudo con2fbmap 7 2 and then sudo chvt 7, the window just change to my HDMI output window instead of showing X-Window on 3.5" LCD shield. I've tried the script that Fourdee provided on this forum and it couldn't work, either. How can I fix this?

User avatar
odroid
Site Admin
Posts: 32104
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 115 times
Been thanked: 289 times
Contact:

Re: Could not change to X-Window on C2

Unread post by odroid » Mon Sep 09, 2019 2:34 pm

Boot your C2 without connecting HDMI monitor and try it.
If it doesn't help, show us your xorg.conf file?

morriswu06
Posts: 6
Joined: Mon Sep 09, 2019 11:39 am
languages_spoken: english
ODROIDs: C2, 3.5" LCD, Odroid GO
Has thanked: 0
Been thanked: 0
Contact:

Re: Could not change to X-Window on C2

Unread post by morriswu06 » Mon Sep 09, 2019 3:12 pm

Nothing shows when I boot without connecting HDMI monitor.

The screen shot of xorg.conf file is as follows:
xorg.conf.png
xorg.conf.png (81.54 KiB) Viewed 180 times

User avatar
odroid
Site Admin
Posts: 32104
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 115 times
Been thanked: 289 times
Contact:

Re: Could not change to X-Window on C2

Unread post by odroid » Mon Sep 09, 2019 3:29 pm

It looks okay.
Did you restart the desktop manager with sudo service lightdm restart?

morriswu06
Posts: 6
Joined: Mon Sep 09, 2019 11:39 am
languages_spoken: english
ODROIDs: C2, 3.5" LCD, Odroid GO
Has thanked: 0
Been thanked: 0
Contact:

Re: Could not change to X-Window on C2

Unread post by morriswu06 » Tue Sep 10, 2019 9:58 am

Yes, I did. After sending the command sudo service lightdm restart the small screen would freeze. I've also tried with HDMI screen connected, after sending the command the HDMI screen would restart and the small screen would keep the same(freeze).

I think the reason is I'm not using official Odroid image. I tried it on another C2 with official Odroid image installed and it worked. However, since I'm using C2 for building CNC machine, I need to use the image file that the software supplier provide (https://www.pv-automation.com/download), I can't install their software with Odroid image. I've updated the kernel but I guess there may still some driver not included in their image file. Is that possible you can provide the driver or library that is necessary for installing this 3.5 inch LCD shield?

User avatar
odroid
Site Admin
Posts: 32104
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 115 times
Been thanked: 289 times
Contact:

Re: Could not change to X-Window on C2

Unread post by odroid » Tue Sep 10, 2019 12:22 pm

Which Kernel and Ubuntu version do you run on their customized OS image?
Show me "uname -a" and "lsb_release -a" outputs.

morriswu06
Posts: 6
Joined: Mon Sep 09, 2019 11:39 am
languages_spoken: english
ODROIDs: C2, 3.5" LCD, Odroid GO
Has thanked: 0
Been thanked: 0
Contact:

Re: Could not change to X-Window on C2

Unread post by morriswu06 » Tue Sep 10, 2019 1:22 pm

Here
system_version.png
system_version.png (106.9 KiB) Viewed 104 times

User avatar
odroid
Site Admin
Posts: 32104
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 115 times
Been thanked: 289 times
Contact:

Re: Could not change to X-Window on C2

Unread post by odroid » Tue Sep 10, 2019 1:44 pm

Try to update the kernel to 3.14.79-117 manually.
sudo apt install linux-image-c2

morriswu06
Posts: 6
Joined: Mon Sep 09, 2019 11:39 am
languages_spoken: english
ODROIDs: C2, 3.5" LCD, Odroid GO
Has thanked: 0
Been thanked: 0
Contact:

Re: Could not change to X-Window on C2

Unread post by morriswu06 » Wed Sep 11, 2019 10:43 am

Still not worked after updating the kernel to 3.14.79-117. Also, the CNC software can't be executed in this version.
I think the HDMI output may be a better solution for my application. Thank you for your replies.

Post Reply

Return to “3.5inch LCD Shield”

Who is online

Users browsing this forum: No registered users and 0 guests