<div dir="ltr">>Hi Lou,<div>>Do you want to use qt quick with directfb?</div><div>>I have waveshare 4 inch (A), and for now without any success on this.</div><div>>Everything with OGL is rendered on HDMI output,</div><div>>so I think it's not possible to use fbdev with qt quick. Code with widgets works >good.</div><div>>I you will have any success on this, I would be greatful for any info.</div><div>>Regards</div><div>>Zygmunt<br><br></div><div>Qt quick looks promising to use as an interface for directfb, although I never have gotten into it. You mentioning it to me is the first time I have heard of it. I watched a demo on how to create an interface here <a href="https://www.youtube.com/watch?v=_6_F6Kpjd-Q">https://www.youtube.com/watch?v=_6_F6Kpjd-Q</a>. By the looks of what I saw in the vid, it looks promising, but of course that guy made it look easy.<br><br>Do you know what framebuffer you are outputting to? Mine is /dev/fb1. /dev/fb0 is the hdmi/video out, assuming you are using a raspberry pi. <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 19, 2015 at 7:27 AM, Zygmunt Ptak <span dir="ltr"><<a href="mailto:zygmuntptak@gmail.com" target="_blank">zygmuntptak@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Lou,<div>Do you want to use qt quick with directfb?</div><div>I have waveshare 4 inch (A), and for now without any success on this.</div><div>Everything with OGL is rendered on HDMI output,</div><div>so I think it's not possible to use fbdev with  qt quick. Code with widgets works good.</div><div>I you will have any success on this, I would be greatful for any info.</div><div>Regards</div><div>Zygmunt</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2015-02-19 14:14 GMT+01:00 Lou Crittenden <span dir="ltr"><<a href="mailto:loucrittenden63@gmail.com" target="_blank">loucrittenden63@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><span>>I was thinking I could make an ads7846 configuration file at >/etc/modprobe.d>>/00-ads7846.<div>>conf (like we did with the waveshare32b) to also include the ads7846 >touchscreen device with reversed axes.<br><br></div>>For starters, the contents will be: <br><br>>options
 ads7846_device debug=1 cs=1 speed=2000000 model=7846 >x_min=230 
x_max=3900 y_min=200 y_max=3700 x_plate_ohms=80 >pressure_max=255 
gpio_pendown=23 keep_vref_on=1<br><br>>I will see how this goes and edit accordingly.<br><div><br></div></span><div>Disregard that!! I remember now making the /etc/init.d/s30fbtft script and I found the part that has the "swap_xy=0" and am changing it to "swap_xy=1", and doing the tweaks from there.<br></div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 7:10 PM, Lou Crittenden <span dir="ltr"><<a href="mailto:loucrittenden63@gmail.com" target="_blank">loucrittenden63@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>I can also confirm that the axes are reversed on the df_bltload by running: df_bltload --dfb:fbdev=/dev/fb1.<br><br></div>I was thinking I could make an ads7846 configuration file at /etc/modprobe.d/00-ads7846.conf (like we did with the waveshare32b) to also include the ads7846 touchscreen device with reversed axes.<br><br></div>For starters, the contents will be: <br><br>options ads7846_device debug=1 cs=1 speed=2000000 model=7846 x_min=230 x_max=3900 y_min=200 y_max=3700 x_plate_ohms=80 pressure_max=255 gpio_pendown=23 keep_vref_on=1<br><br></div>I will see how this goes and edit accordingly.<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 6:13 PM, Lou Crittenden <span dir="ltr"><<a href="mailto:loucrittenden63@gmail.com" target="_blank">loucrittenden63@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">on the df_knuckles demo, the touch screen works, but it appears that I have reverse the axes somehow, as it appears that if I move my finger left to right, the skull moves up and down and vice versa.<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 4:29 PM, Lou Crittenden <span dir="ltr"><<a href="mailto:loucrittenden63@gmail.com" target="_blank">loucrittenden63@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Got it to work after about a 2 hour rebuild with make clean all and removing the said option. You guessed properly. I also had to use fb1 instead of fb0. I would love to use fb1 as the default framebuffer.<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 11:30 AM, Peter Seiderer <span dir="ltr"><<a href="mailto:ps.report@gmx.net" target="_blank">ps.report@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Lou,<br>
<span><br>
On Tue, Feb 17, 2015 at 07:21:36PM -0600, Lou Crittenden wrote:<br>
> I tried running them and got an error stating it can't find /dev/fusion0 or<br>
> /dev/fusion/0 after running any of the df_knuckles --dfb commands with the<br>
> exception of the help command.<br>
><br>
> Did you have to create new device nodes and directories? I had to using<br>
> mkdir /dev/fusion<br>
> mkdir /dev/fusion0<br>
><br>
> then made the device nodes with these commands:<br>
><br>
> mknod /dev/fusion/0 c 253 0<br>
> mknod /dev/fusion/0 c 252 0<br>
> mknod /dev/fusion0 c 252 0<br>
> mknod /dev/fusion0 c 253 0<br>
><br>
> I then ran<br>
> $ df_knuckles --dfb:fbdev=/dev/fb1<br>
> $ df_dok --dfb:fbdev=/dev/fb1<br>
> $ df_cpuload --dfb:fbdev=/dev/fb1<br>
><br>
> both as root and as another user and I get:<br>
> (!) Fusion/Init: could not enter world 0! not a typewriter<br>
><br>
> I have no idea what that means. Other people have gotten the error as well,<br>
> but haven't had solutions, as per various searches.<br>
><br>
<br>
</span>From package/directfb/<a href="http://directfb.mk" target="_blank">directfb.mk</a>:<br>
<br>
...<br>
ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)<br>
DIRECTFB_CONF_OPTS += --enable-multi --enable-fusion<br>
DIRECTFB_DEPENDENCIES += linux-fusion<br>
endif<br>
...<br>
<br>
Disable DIRECTFB_MULTI, rebuild directfb and try again (just a guess, not tested)...<br>
<br>
Regards,<br>
Peter<br>
<div><div><br>
> On Tue, Feb 17, 2015 at 4:38 PM, Peter Seiderer <<a href="mailto:ps.report@gmx.net" target="_blank">ps.report@gmx.net</a>> wrote:<br>
><br>
> > Hello Lou,<br>
> ><br>
> > On Thu, Feb 12, 2015 at 05:35:32PM -0600, Lou Crittenden wrote:<br>
> > > Hi all. I have a buildroot setup running on a raspberry pi model b+ and a<br>
> > > waveshare32b 3.2" display and was able to get the system to work with the<br>
> > > display thanks to peter seiderer's awesome patch that builds the fbtft<br>
> > > drivers for buildroot, but I now would like to set up directfb to work on<br>
> > > this setup. Directfb built nicely, along with sdl and qt5 (I'm setting up<br>
> > > the framework for a gui on a buildroot based media player), but I cannot<br>
> > > get anything to work on directfb. I run the command "df_drivertest" that<br>
> > > tests for the driver, and it gives a<br>
> > ><br>
> > > (#) DirectFBError [dfb->CreateSurface( dfb, &dsc, &primary )]: The<br>
> > > requested operation or an argument is (currently)Not<br>
> > > supported.<br>
> > ><br>
> > > The same thing happens when I try to run any of their directfb demos.<br>
> > > I went on their site, <a href="http://directfb.org" target="_blank">directfb.org</a>, and a lot of the links that would<br>
> > > help are dead<br>
> > ><br>
> ><br>
> > Just a quick test:<br>
> ><br>
> > $ df_knuckles --dfb:help<br>
> > $ df_knuckles --dfb:fbdev=/dev/fb1<br>
> > $ df_dok --dfb:fbdev=/dev/fb1<br>
> > $ df_cpuload --dfb:fbdev=/dev/fb1<br>
> ><br>
> > work for me...<br>
> ><br>
> > $ df_drivertest  --dfb:fbdev=/dev/fb1<br>
> > df_drivertest.c <97>:<br>
> >         (#) DirectFBError [dfb->CreateSurface( dfb, &dsc, &primary )]: The<br>
> > requested operation or an argument is (currently) not supported<br>
> ><br>
> > failes..<br>
> ><br>
> > Regards,<br>
> > Peter<br>
> ><br>
> > ><br>
> > > I want to use a setup lighter than xorg and supports touchscreen for a<br>
> > > gui on a multimedia player I am working on.<br>
> ><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br></div></div>_______________________________________________<br>
buildroot mailing list<br>
<a href="mailto:buildroot@busybox.net" target="_blank">buildroot@busybox.net</a><br>
<a href="http://lists.busybox.net/mailman/listinfo/buildroot" target="_blank">http://lists.busybox.net/mailman/listinfo/buildroot</a><br></blockquote></div><br></div>
</blockquote></div><br></div>