[systemd-devel] Returning arrays from sd-bus methods

2017-06-23 Thread guhan balasubramanian
Hi, I'm currently trying out sd-bus methods for my application. I am in a situation where I must accept an input and return a byte array based on the input. In the vtable. the following declaration is present: SD_BUS_METHOD("method_id", "x", "ay", method_1, 0) And inside the definition for

Re: [systemd-devel] [RFC PATCH v6 3/5] ACPI: button: Rework lid_init_state=ignore mode

2017-06-23 Thread Benjamin Tissoires
On Jun 21 2017 or thereabouts, Lv Zheng wrote: > There are platform variations implementing ACPI lid device in different > ways: > 1. Some platforms send "open" events to OS and the events arrive before >button driver is resumed; > 2. Some platforms send "open" events to OS, but the events

Re: [systemd-devel] [RFC PATCH v6 1/5] ACPI: button: Add a workaround to fix an order issue for old userspace

2017-06-23 Thread Benjamin Tissoires
On Jun 21 2017 or thereabouts, Lv Zheng wrote: > There are platform variations implementing ACPI lid device in different > ways: > 1. Some platforms send "open" events to OS and the events arrive before >button driver is resumed; > 2. Some platforms send "open" events to OS, but the events

Re: [systemd-devel] [RFC PATCH v6 2/5] ACPI: button: Add an optional workaround to fix an event missing issue for old userspace

2017-06-23 Thread Benjamin Tissoires
On Jun 21 2017 or thereabouts, Lv Zheng wrote: > There are platform variations implementing ACPI lid device in different > ways: > 1. Some platforms send "open" events to OS and the events arrive before >button driver is resumed; > 2. Some platforms send "open" events to OS, but the events