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, > > > &wl_compositor_interface, 1); > > } else if (strcmp(interface, "xdg_shell") == 0) { > > d->shell = wl_registry_bind(registry, name, > > > &xdg_shell_interface, 1); > > xdg_shell_add_listener(d->shell, > &xdg_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, > > > &wl_seat_interface, 1); > > wl_seat_add_listener(d->seat, &seat_listener, d); > > } else if (strcmp(interface, "wl_shm") == 0) { > > d->shm = wl_registry_bind(registry, name, > > > &wl_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, > > > &ivi_application_interface, 1); > > } > > } > > > > In sample code simple-egl, when I registered global handle, the d- > >ivi_application was alwasys NULL. > > So I printed some log to see the value of 'interface'. > > wl_compositor > > wl_subcompositor > > wl_scaler > > presentation > > wl_data_device_manager > > wl_shm > > wl_viv > > wl_viv > > wl_output > > wl_input_panel > > wl_text_input_manager > > wl_shell > > xdg_shell > > desktop_shell > > workspace_manager > > screenshooter > > > > I found there is no ivi_application. I don't know the reason for this. > > Does anyone have the same problem as me? > > > > > > Best regards, > > Anthenony > > > > _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel