I posted this back in September: it may or may not help you:

ok. I have SOLVED all of this.

I put this in the 4dsystems forum, and I repost it here.

The 4dsystems beaglebone cape with Ubuntu + LXDE is working just fine, and
here is how I did it:

This is for ubuntu 14.04 and lxde, there is a utility named
xinput_calibrator for x11

steps to make this work:

Note: I use the lxde window manager, so you might have to change this for
your wm:

ssh into the beaglebone:

need to get a virtual keyboard up, and get past the login screen:
1. as root, do an  *apt-get install xvkbd* (so that you can run the
terminal and use touchscreen for giving commands
2. as root, edit /etc/lxdm/lxdm.conf:

## uncomment and set autologin username to enable autologin
autologin=ubuntu (or whatever username you have made)

## uncomment and set timeout to enable timeout autologin,
## the value should >=5
timeout=5
2. as the user (ubuntu, or other user edited as autologin= in the lxdm.conf
file):
so in the $HOME/.config/lxsession/LXDE/autostart I added this: xvkbd
-minimizable -no-keypad -geometry +150+150 &

the above gets the virtual xvkbd up on the screen (if not running with a
keyboard, like me)

now: shutdown the bbb, and attach to the LCD cape, and boot up to the
screen.
(1) the login screen should come up, wait for 5 seconds for the login to
time out, then wait for lxde to start up
(2) you should see the screen come up with the virtual keyboard

now, start a terminal. hopefully it is an icon, if not, make it one and
start again

once a terminal is up, focus to the terminal, then focus to the virtual
keyboard

3. sudo su -

now, as root do:

4. apt-get install xinput-calibrator


5. run xinput_calibrator and you will get something like the following:
Section "InputClass"
Identifier "calibration"
MatchProduct "ti-tsc"
Option "Calibration" "121 4028 303 3852"
Option "SwapAxes" "0"
EndSection

6. edit the /etc/X11/xorg.conf file: and add that above section to it.

7. shutdown and boot up again.

The screen should be calibrated correctly!

I hope this helps everyone. Whew!

I am ECSTATIC!


--
Extra Ham Operator: K7AZJ
Registered Linux User: 275424
Raspberry Pi and Arduino developer


*The most exciting phrase to hear in science - the one that heralds new
discoveries - is not "Eureka!" but "That's funny...".*- Isaac. Asimov

*I*
*f you give someone a program, you will frustrate them for a day; if you
teach them how to program, you will frustrate them for a lifetime. *-
Anonymous


*If writing good code requires very little comments, then writing really
excellent code requires no comments at all!*- Ken Thompson

On Thu, Feb 18, 2016 at 11:40 AM, Robert Nelson <[email protected]>
wrote:

> On Thu, Feb 18, 2016 at 3:07 AM,  <[email protected]> wrote:
> > Hi all,
> >
> > I have a Beaglebone Black with an 4D 4.3" LCD cape installed.
> >
> > With Weezy the LCD cape worked, but with Jessie the LCD is gray blank?
> Am I
> > doing something wrong or is the overlay broken?
> >
> > The cape is seen, though:
> >>
> >> debian@beaglebone:~$ cat /sys/devices/platform/bone_capemgr/slots
> >>  0: P---L-   0 4D 4.3 LCD CAPE- 4DCAPE-43T     ,00A1,4D SYSTEMS
> >> ,BB-BONE-LCD4-01
> >>  1: PF----  -1
> >>  2: PF----  -1
> >>  3: PF----  -1
>
> edit: /boot/uEnv.txt
>
> dtb=am335x-boneblack-emmc-overlay.dtb
>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to