STRUCT EC_RESPONSE_GET_VERSION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct ec_response_get_version β€” the lil response struct you get back when you ask the EC "hey bestie, what version are you?" like it's the response to the get version command, no cap πŸ’…

(also hi, this is the ec_response_get_version(9) page, welcome to the group chat 🫢)


✨ SYNOPSIS ✨

ok so here's the whole vibe, literally verbatim, don't touch it:

struct ec_response_get_version {
    char version_string_ro[32];
    char version_string_rw[32];
    char reserved[32];
    uint32_t current_image;
 };

πŸŽ€ Members πŸŽ€

bestie these are the four fields and you WILL remember them:

  • version_string_ro β€” a null-terminated string holding the RO firmware version. that's it, that's the field 🌸
  • version_string_rw β€” same energy, but null-terminated and for the RW firmware version this time πŸ¦‹
  • reserved β€” unused bytes, lowkey just sitting there. important lore tho: it was previously the RW-B firmware version string πŸ‘€
  • current_image β€” one of ec_current_image. one of them. that's the whole description, ik ik 😭

🌈 SEE ALSO 🌈

go read the kernel file ./include/linux/platform_data/cros_ec_commands.h first (main character energy fr), then the whole friend group:

  • struct ec_lpc_host_args(9)
  • struct ec_host_request(9)
  • struct ec_host_response(9)
  • struct ec_response_proto_version(9)
  • struct ec_params_hello(9)
  • struct ec_response_hello(9)
  • struct ec_params_read_test(9)
  • struct ec_response_read_test(9)
  • struct ec_response_get_chip_info(9)
  • struct ec_response_board_version(9)
  • struct ec_params_read_memmap(9)
  • struct ec_params_get_cmd_versions(9)
  • struct ec_params_get_cmd_versions_v1(9)
  • struct ec_response_get_cmd_versions(9)
  • struct ec_response_get_comms_status(9)
  • struct ec_response_get_protocol_info(9)
  • struct ec_response_flash_info(9)
  • struct ec_response_flash_info_1(9)
  • struct ec_params_flash_read(9)
  • struct ec_params_flash_write(9)
  • struct ec_params_flash_erase(9)
  • struct ec_params_flash_erase_v1(9)
  • struct ec_params_flash_protect(9)
  • struct ec_response_flash_protect(9)
  • struct ec_params_flash_region_info(9)
  • struct ec_params_flash_select(9)
  • struct ec_params_cec_write(9)
  • struct ec_params_cec_write_v1(9)
  • struct ec_params_cec_read(9)
  • struct ec_response_cec_read(9)
  • struct ec_params_cec_set(9)
  • struct ec_params_cec_get(9)
  • struct ec_response_cec_get(9)
  • struct ec_response_cec_port_count(9)
  • struct ec_params_battery_static_info(9)
  • struct ec_response_battery_static_info(9)
  • struct ec_params_battery_dynamic_info(9)
  • struct ec_response_battery_dynamic_info(9)
  • struct ec_params_charger_control(9)

like, comment, subscribe, and remember where this page came from bestie: ./include/linux/platform_data, dated October 2026 πŸŽ€βœ¨ that's the source and the date, go off πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from