Hi Anthenony,
You can put it under /etc/xdg/weston/ directory
Best regards
Emre Ucan
Software Group I (ADITG/SW1)
Tel. +49 5121 49 6937
> -Original Message-
> From: wayland-devel [mailto:wayland-devel-
> boun...@lists.freedesktop.org] On Behalf Of ???
> Sent: Mittwoch, 9. November 2016 21:06
> To: Ucan, Emre (ADITG/SW1)
> Cc: wayland-devel
> Subject: Re:RE: Can't register bind ivi-application
>
> Hi Ucan:
>
> I have another question that what path the weston.ini and
> ivi-controller.so
> should be put in ARM(Navigation machine), usr/lib or other?
> I used i.mx6 chip provided by NXP, and build kenerl and uBoot from Yocto.
>
>
>
> 在 2016-07-05 16:05:17,"Ucan, Emre (ADITG/SW1)" <eu...@de.adit-
> jv.com> 写道:
>
>
> Hi Anthenony,
>
>
>
> You have to configure weston to use ivi-shell. The default shell is
> desktop shell.
>
>
>
> You can find an example weston.ini under ivi-shell/weston.ini.in,
> which uses hmi-controller.
>
>
>
> If you want to use ivi-controller. You can use this weston.ini:
>
>
>
> [core]
>
> shell=ivi-shell.so
>
>
>
> [ivi-shell]
>
> ivi-module=ivi-controller.so
>
> ivi-input-module=ivi-input-controller.so
>
>
>
> Best regards
>
> Emre Ucan
> Software Group I (ADITG/SW1)
>
> Tel. +49 5121 49 6937
>
> From: wayland-devel [mailto:wayland-devel-
> boun...@lists.freedesktop.org] On Behalf Of ???
> Sent: Dienstag, 5. Juli 2016 08:18
> To: wayland-devel
> Subject: Can't register bind ivi-application
>
>
>
> Hi,all:
>
>
>
> static void
>
> registry_handle_global(void *data, struct wl_registry *registry,
>
>uint32_t name, const char *interface,
> uint32_t version)
>
> {
>
> struct display *d = data;
>
>
>
> if (strcmp(interface, "wl_compositor") == 0) {
>
> d->compositor =
>
> wl_registry_bind(registry, name,
>
>
> _compositor_interface, 1);
>
> } else if (strcmp(interface, "xdg_shell") == 0) {
>
> d->shell = wl_registry_bind(registry, name,
>
>
> _shell_interface, 1);
>
> xdg_shell_add_listener(d->shell,
> _shell_listener, d);
>
> xdg_shell_use_unstable_version(d->shell,
> XDG_VERSION);
>
> } else if (strcmp(interface, "wl_seat") == 0) {
>
> d->seat = wl_registry_bind(registry, name,
>
>
> _seat_interface, 1);
>
> wl_seat_add_listener(d->seat, _listener, d);
>
> } else if (strcmp(interface, "wl_shm") == 0) {
>
> d->shm = wl_registry_bind(registry, name,
>
>
> _shm_interface, 1);
>
> d->cursor_theme = wl_cursor_theme_load(NULL, 32,
> d-
> >shm);
>
> if (!d->cursor_theme) {
>
> fprintf(stderr, "unable to load
> default theme\n");
>
> return;
>
> }
>
> d->default_cursor =
>
>
> wl_cursor_theme_get_cursor(d->cursor_theme,
> "left_ptr");
>
> if (!d->default_cursor) {
>
> fprintf(stderr, "unable to load
> default left
> pointer\n");
>
> // TODO: abort ?
>
> }
>
> } else if (strcmp(interface, "ivi_application") == 0) {
>
> d->ivi_application =
>
> wl_registry_bind(registry, name,
>
>
> _application_interface, 1);
>
> }
>
> }
>
>
>
> In sample code simple-egl, when I registered global hand