All of lore.kernel.org
 help / color / mirror / Atom feed
From: Woody Wu <narkewoody@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] GTK+ for framebuffer?
Date: Mon, 9 Sep 2013 21:16:47 +0800	[thread overview]
Message-ID: <20130909131647.GA4041@zuhnb712> (raw)
In-Reply-To: <20130909090808.7513d104@skate>

On Mon, Sep 09, 2013 at 09:08:08AM +0200, Thomas Petazzoni wrote:
> Dear Woody Wu,
> 
> On Mon, 9 Sep 2013 09:39:56 +0800, Woody Wu wrote:
> 
> > I've already have Xfbdev started. Thanks for your help. But I have not
> > yet figured out a right way to pass my touchscreen device
> > (/dev/input/event0) to Xfbdev.  I tried something like "-mouse
> > evdev,,..." and "-mouse tslib,,..." but always got strange warning
> > messages.  Maybe you have experience on this.
> 
> Here is known-working command line I was using to run Xfbdev under Qemu:
> 
>   Xfbdev -keybd evdev,,device=/dev/input/event0 -mouse evdev,,device=/dev/input/event1 &
> 

Thanks for the example. Finally I found my command line was correct (I
used tslib and has not yet tried evdev with success), the problem
actually came from a xorg server bug in version 1.12.4 (which is used by
buildroot 2013.08).  I just fixed the bug in xorg and posted a patch on
this list. The bug make the the xserver option such as "device=xxxx" is
parsed as (key=device=, value=xxxx), but it should be (key=device,
value=xxxx).

Because of this bug, whatever way I tried, I always cannot get Xfbdev
started correctly.

BTW:  before I am going to try 'evdev', would you tell me what's the
major difference between using 'evdev' and 'tslib' for my touchscreen?
Which way is better?  Thanks.

Cheers,
woody


> Best regards,
> 
> Thomas
> -- 
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com

-- 
I can't go back to yesterday - because I was a different person then

  reply	other threads:[~2013-09-09 13:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03 10:09 [Buildroot] GTK+ for framebuffer? Woody Wu
2013-09-03 11:31 ` Thomas Petazzoni
2013-09-04  2:40   ` Woody Wu
2013-09-04  7:35     ` Thomas Petazzoni
2013-09-05  6:02       ` Woody Wu
2013-09-05  7:10         ` Thomas Petazzoni
2013-09-05  8:19           ` Woody Wu
2013-09-09  1:39           ` Woody Wu
2013-09-09  7:08             ` Thomas Petazzoni
2013-09-09 13:16               ` Woody Wu [this message]
2013-09-09 13:35                 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130909131647.GA4041@zuhnb712 \
    --to=narkewoody@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.