Touchscreen
Matthias Lange
mlange at sec.t-labs.tu-berlin.de
Thu Nov 8 18:33:13 CET 2012
On Thu, Nov 08, 2012 at 09:14:00AM -0800, Wajidali Whowe wrote:
> Hi Matthias,
>
> do you mean like the following? Coz with the following set-up the l4linux is not booting and no error message came out:
You need to start L4Linux before mag. mag is waiting for the server to connect
to its ev cap.
Matthias.
>
> local mag_caps = {
> mag = l:new_channel(),
> svc = l:new_channel(),
> };
>
> hid = l:new_channel();
>
> l:start({
> caps = {
> vbus = io_caps.con_bus,
> fb = fb_caps.fb,
> mag = mag_caps.mag:svr(),
> svc = mag_caps.svc:svr(),
> },
> ev = hid;
> log = { "mag", "g" },
> l4re_dbg = L4.Dbg.Warn,
> },
> "rom/mag");
>
> local linux_caps = {
> log = L4.Env.log:m("rws");
> vbus = io_caps.linux_bus;
> rtc = rtc_caps.rtc;
> rom = L4.Env.rom;
> fb = mag_caps.svc:create(L4.Proto.Goos, "g=470x640,pos=10,20");
> };
>
>
> l:start(
> {
> caps = linux_caps,
> ev = hid:srv(),
> },
> "rom/vmlinuz.android mem=256M l4-input-srv.enable=1 console=ttyLvx ramdisk=rom/openwrt-x86-alix2-rootfs.tar.gz root=1:0 ramdisk_size=32768 l4x_rd=rom/openwrt-x86-alix2-rootfs.tar.gz init=/etc/preinit");
>
>
> Best Regards,
>
>
>
> ________________________________
> From: Matthias Lange <mlange at sec.t-labs.tu-berlin.de>
> To: Wajidali Whowe <whowe123 at yahoo.com>
> Cc: "l4-hackers at os.inf.tu-dresden.de" <l4-hackers at os.inf.tu-dresden.de>
> Sent: Thursday, November 8, 2012 4:51 PM
> Subject: Re: Touchscreen
>
> On Wed, Nov 07, 2012 at 05:19:39AM -0800, Wajidali Whowe wrote:
> > Dear Matthias,
> >
> > Thank you very much for the information, the steps are clear except for the sentence "connect L4Linux to the "ev" capability of mag", could you please kindly detail this part?
>
> You need something like this in your lua script
>
> hid = l:new_channel()
>
> (for L4Linux)
> ev = hid::svr()
>
> (for mag)
> ev = hid;
>
> Don't forget to enable the input server with l4-input-srv.enable=1 on the
> command line.
>
> Matthias.
>
>
> --
> Dipl.-Inf. Matthias Lange <mlange at sec.t-labs.tu-berlin.de>
> Security in Telecommunications
> TU Berlin / Telekom Innovation Laboratories
> Ernst-Reuter-Platz 7, 10587 Berlin
> Phone: +49 - 30 - 8353 58 553
> Mobile: +49 - 160 - 587 28 07
> Web: http://www.t-labs.tu-berlin.de/sect
--
Dipl.-Inf. Matthias Lange <mlange at sec.t-labs.tu-berlin.de>
Security in Telecommunications
TU Berlin / Telekom Innovation Laboratories
Ernst-Reuter-Platz 7, 10587 Berlin
Phone: +49 - 30 - 8353 58 553
Mobile: +49 - 160 - 587 28 07
Web: http://www.t-labs.tu-berlin.de/sect
More information about the l4-hackers
mailing list