snd_hdac_bus_send_cmd(9)
β¨ snd_hdac_bus_send_cmd(9) β¨
Okay so bestie, welcome to the snd_hdac_bus_send_cmd page β it's part of the Kernel API Manual, and honestly it's giving "tiny function, big responsibilities." π
πΈ NAME πΈ
snd_hdac_bus_send_cmd β literally just: send a command verb via CORB or PIO. That's the whole vibe. π
π¦ SYNOPSIS π¦
int snd_hdac_bus_send_cmd (struct hdac_bus *bus , unsigned int val );
Like, that's it. Two args, one int coming back at you. Iconic minimalism. β¨
π ARGUMENTS π
busβ the HD-audio core bus, aka the main character of this whole operation πvalβ the encoded verb value you're sending out into the world π
π₯ DESCRIPTION π₯
So what does it actually do? It sends your command verb via CORB or PIO, and then it tells you how it went:
- returns zero for success π
- returns a negative error code when things did NOT slay π
No cap, that's the entire description. Simple, clean, no notes. π«Ά
π SEE ALSO π
Kernel file ./sound/hda/core/controller.c and its whole friend group β go say hi:
snd_hdac_bus_init_cmd_io(9)snd_hdac_bus_stop_cmd_io(9)snd_hdac_bus_send_cmd_pio(9)snd_hdac_bus_get_response_pio(9)snd_hdac_bus_send_cmd_corb(9)snd_hdac_bus_update_rirb(9)snd_hdac_bus_get_response_rirb(9)snd_hdac_bus_get_response(9)snd_hdac_bus_parse_capabilities(9)snd_hdac_bus_enter_link_reset(9)snd_hdac_bus_exit_link_reset(9)snd_hdac_bus_init_chip(9)snd_hdac_bus_stop_chip(9)snd_hdac_bus_handle_stream_irq(9)snd_hdac_bus_alloc_stream_pages(9)snd_hdac_bus_free_stream_pages(9)snd_hdac_bus_link_power(9)
π« and that's the page, bestie π«
Cute little sign-off before you go: this whole thing lives in ./sound/hda/core, it's dated October 2026, and the manual is snd_hdac_bus_send_cmd(9). Go forth and send those verbs. π§π
π¦ 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