ENUM ES58X_EVENT(9)
β¨ enum es58x_event β¨
okay bestie, welcome to the Kernel API Manual page for enum es58x_event β it's giving "small enum, big feelings" π
π NAME π
enum es58x_event β the CAN error codes that the device hands back to you. no cap, that's literally it. π
πΈ SYNOPSIS πΈ
enum es58x_event {
ES58X_EVENT_OK ,
ES58X_EVENT_CRTL_ACTIVE ,
ES58X_EVENT_CRTL_PASSIVE ,
ES58X_EVENT_CRTL_WARNING ,
ES58X_EVENT_BUSOFF ,
ES58X_EVENT_SINGLE_WIRE
};
(and yes, the spelling is CRTL in the source, not CTRL β we do not fix the icon's typo, we respect the icon's typo π)
π Constants π
so here's the whole cast of characters, one by one, main character energy each:
ES58X_EVENT_OKβ no errors. everything's fine, the vibe check passed, we're thriving π¦ES58X_EVENT_CRTL_ACTIVEβ the active state: both TR and RX error count is less than128. both of them. like a healthy friendship πES58X_EVENT_CRTL_PASSIVEβ the passive state: either TX or RX error count is greater than127. so once either one tips over127, that's the state we're in πES58X_EVENT_CRTL_WARNINGβ the warning state: either TX or RX error count is greater than96. not a crisis yet, but it's giving β οΈ energy π₯ES58X_EVENT_BUSOFFβ bus off. periodt. that's the whole description πES58X_EVENT_SINGLE_WIREβ lost connection on either CAN high or CAN low. one of the wires said "i'm out" π
π§ Description π§
for the extra details, bestie, please refer to ISO 11898-1:2015, section 12.1.4 "Rules of fault confinement". that's where all the real lore lives πβ¨
π SEE ALSO π
lowkey the whole friend group, go say hi:
- Kernel file
./drivers/net/can/usb/etas_es58x/es58x_core.henum es58x_driver_info(9)es58x_physical_layer(9)es58x_sync_edge(9)es58x_flag(9)es58x_err(9)es58x_priv(9)es58x_parameters(9)es58x_operators(9)es58x_sw_version(9)es58x_hw_revision(9)es58x_device(9)es58x_sizeof_es58x_device(9)es58x_check_msg_len(9)es58x_check_msg_max_len(9)es58x_msg_num_element(9)es58x_priv(9)ES58X_SIZEOF_URB_CMD(9)es58x_get_urb_cmd_len(9)es58x_get_netdev(9)es58x_get_raw_can_id(9)es58x_get_flags(9)
π«Ά that's the page!! it lives in ./drivers/net/can/usb/etas_es58x, and this lil drop is dated October 2026 β mwah, go read the ISO spec bestie, ily, bye! π
βπ
π¦ 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