usb_acpi_power_manageable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

usb_acpi_power_manageable β€” bestie, this is the little guy that checks whether a USB port has an ACPI power resource. That's it. That's the whole job. πŸ’…

This one lives in the Kernel API Manual, section 9, under the name usb_acpi_power_manageable(9) β€” iconic of it, honestly.


🌸 SYNOPSIS 🌸

bool usb_acpi_power_manageable (struct usb_device *hdev , int index );

πŸ’… ARGUMENTS πŸ’…

  • hdev β€” the USB device that belongs to the usb hub. Like, the hub-adjacent USB device we're asking about. 🫢
  • index β€” the port index, and heads up: it's based zero (so the first port is 0, not 1 β€” yes really, that's the vibe). ✨

πŸŽ€ DESCRIPTION πŸŽ€

Okay so here's the whole tea β˜•: it returns true if the port has an acpi power resource, and false if no. That's literally the entire plot. No cap. πŸ¦‹

Lowkey the most chill function in the file β€” it just looks and tells you yes or no, and it does not elaborate. πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘


Okay that's the whole page, bestie, you ate that πŸ“ β€” this lil' corner of the manual calls ./drivers/usb/core home 🏑, it's dated October 2026 ⭐, and it goes by usb_acpi_power_manageable(9) in case you need to find it again πŸ’œπŸ§š

πŸ“¦ where this page comes from