7" Touch Screen
Posted: Fri Jun 10, 2022 6:24 pm
I started a new thread because the thread subject "7" Touch Screen Calibration" solved my problems.
The display is working great, now I want to display a simple interface with buttons. For that I am using Glade and GTK to create the button. But that is a window and so the BBB needs a window manager ( not a GUI just a manager ) so I loaded xinit ( apt-get install xinit).
Initially /etc/X11/xorg.conf is:
Identifier "Builtin Default fbdev Device 0"
Driver "modsetting"
With that setting when I run startx /usr/DonCode/part1-bin (my GTK file) the xserver closes without displaying anything and the log file shows 2 errors, the file modsetting.txt is the xserver log file. It sees the display as "Monitor name: Adafruit 600p"
So I change the xorg.conf to Driver "fbdev" and ran the same way but the screen goes blank for a second, then returns to the beaglebone prompt with "... lade :No such file or directory xini" with the rest of the line being off the display so I cannot read it. That log file is fbdev.txt.
Is there a specific setting your 7" display needs to run in Xorg? Or am I missing something else? This is a cool project for me. I learned a lot about Linux and the BBB so for. Good stuff for a resume!
Have a Blessed day!
Don
The display is working great, now I want to display a simple interface with buttons. For that I am using Glade and GTK to create the button. But that is a window and so the BBB needs a window manager ( not a GUI just a manager ) so I loaded xinit ( apt-get install xinit).
Initially /etc/X11/xorg.conf is:
Identifier "Builtin Default fbdev Device 0"
Driver "modsetting"
With that setting when I run startx /usr/DonCode/part1-bin (my GTK file) the xserver closes without displaying anything and the log file shows 2 errors, the file modsetting.txt is the xserver log file. It sees the display as "Monitor name: Adafruit 600p"
So I change the xorg.conf to Driver "fbdev" and ran the same way but the screen goes blank for a second, then returns to the beaglebone prompt with "... lade :No such file or directory xini" with the rest of the line being off the display so I cannot read it. That log file is fbdev.txt.
Is there a specific setting your 7" display needs to run in Xorg? Or am I missing something else? This is a cool project for me. I learned a lot about Linux and the BBB so for. Good stuff for a resume!
Have a Blessed day!
Don