wilco_ec_get_property(9)
π NAME π
Okay so, bestie, this is wilco_ec_get_property β Retrieve a property from the EC. It's from the Kernel API Manual, and it's giving βsmall function, important job.β iykyk π
β¨ SYNOPSIS β¨
Here's the exact signature, no edits, no cap:
int wilco_ec_get_property (struct wilco_ec_device *ec , struct
wilco_ec_property_msg *prop_msg );
π«Ά ARGUMENTS π«Ά
ecβ Embedded Controller device. The EC in question, your hardware bestie.prop_msgβ Message for request and response. It's the message for request and response β multitasking icon.
π§ DESCRIPTION π§
Before you call this function, fill in the property_id field of prop_msg. That's the pre-call checklist, bestie β literally do that first.
The result will be stored in the data and length fields. So that's where you look after the call. Slay.
π RETURN π
0 on success, negative error code on failure. If you get a negative one, it's not a vibe β handle it.
π SEE ALSO π
Go read these next, bestie β the whole list, no skipping:
- Kernel file
./include/linux/platform_data/wilco-ec.h struct wilco_ec_device(9)struct wilco_ec_request(9)struct wilco_ec_response(9)enum wilco_ec_msg_type(9)struct wilco_ec_message(9)wilco_ec_mailbox(9)wilco_keyboard_leds_init(9)wilco_ec_set_property(9)wilco_ec_get_byte_property(9)wilco_ec_add_sysfs(9)
Okay bye, ily π β this page is from ./include/linux/platform_data, dated October 2026, and it's the wilco_ec_get_property(9) manual page. periodt.
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms