extcon_set_property(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– extcon_set_property(9) β€” the external-connector property glow-up πŸ’–

okay so bestie, welcome to the Kernel API Manual! Today we're talking about extcon_set_property(9), and it is literally the function that sets the property value of an external connector. No cap. 🫢✨


✨ NAME ✨

extcon_set_property β€” Set the property value of an external connector. πŸ’…

🌸 SYNOPSIS 🌸

int extcon_set_property (struct extcon_dev *edev , unsigned int id ,
       unsigned int prop , union extcon_property_value prop_val );

πŸŽ€ ARGUMENTS πŸŽ€

  • edev β€” the extcon device. Your connector's home base, bestie. πŸ’–
  • id β€” the unique id indicating an external connector. It's giving which connector. πŸ”₯
  • prop β€” the property id indicating an extcon property. Which property are we setting? That's the one. ✨
  • prop_val β€” the pointer including the new value of extcon property. The new-value container, periodt. 🎁

πŸ¦‹ DESCRIPTION πŸ¦‹

Important note, bestie: each property should be included in the list of supported properties according to the extcon type. Like, that's the vibe check β€” the property should be in the supported list for its extcon type. πŸ’…

Returns 0 if success or error number if fail. So success is 0, and if it doesn't slay, you get an error number. πŸ˜­πŸ’€

🌈 SEE ALSO 🌈

Catch you later, bestie 🫢 β€” source/version: ./drivers/extcon, date: October 2026, and this whole page is extcon_set_property(9). Bye, love you! πŸ’–πŸŽ€

πŸ“¦ where this page comes from