[yocto] [meta-raspberrypi][PATCH v2 3/5] rpi-base.inc: Add overlay for rpi-ft5406

Trevor Woerner twoerner at gmail.com
Wed Apr 13 15:04:28 PDT 2016


On Wed 2016-03-30 @ 04:35:47 PM, Petter Mabäcker wrote:
> rpi-ft5406 is an enabler for Official Raspberry Pi 7 inch
> touchscreen support.

I have an official raspberry pi 7" touchscreen and it's not obvious to me how
I would go about enabling it in my config. If I had one of the others I would
simply add:

	MACHINE_FEATURES += "pitft pitft22"

or

	MACHINE_FEATURES += "pitft pitft28r"

to my conf/local.conf, but what do I do for the official touchscreen?

Also, by trial and error I've discovered that my touchscreen comes up as
/dev/fb0 and not /dev/fb1. But the xorg config for touchscreen support assumes
/dev/fb1. Am I doing something wrong in my build or can anyone think of a
reason why my screen would be /dev/fb0 instead of /dev/fb1?

By the way

	MACHINE_FEATURES += "pitft pitft22"

seems to work for me if I use /dev/fb0, but I'm not sure if that's a fluke?

Best regards,
	Trevor



More information about the yocto mailing list