ENUM ES58X_EVENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 than 128. both of them. like a healthy friendship πŸ’œ
  • ES58X_EVENT_CRTL_PASSIVE β€” the passive state: either TX or RX error count is greater than 127. so once either one tips over 127, that's the state we're in 😭
  • ES58X_EVENT_CRTL_WARNING β€” the warning state: either TX or RX error count is greater than 96. 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:


🫢 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