dvbv3_set_delivery_system(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dvbv3_set_delivery_system ✨

okay so bestie, welcome to the Kernel API Manual πŸ’… this one lives in the DVB core and it's literally the little glue function that figures out which delivery system a legacy DVBv3 call actually wants. iykyk πŸ¦‹


🌸 NAME 🌸

dvbv3_set_delivery_system β€” sets the delivery system for a DVBv3 API call ✨


πŸŽ€ SYNOPSIS πŸŽ€

int dvbv3_set_delivery_system (struct dvb_frontend *fe );

🧚 ARGUMENTS 🧚

  • fe β€” the frontend struct, aka the main character here πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

So here's the situation, and it's giving messy 😭 A DVBv3 call literally does not know what the desired system it wants is. Like, it just doesn't have that info. On top of that, it also doesn't allow switching between different types. Not it. 🚩

Because of that, userspace should use DVBv5 instead β€” that's the move, periodt. But to avoid breaking the userspace API, limited backward compatibility support is provided. So we keep the old vibe alive, just on a leash 🫢

Also important: there are some delivery systems that are incompatible with DVBv3 calls. So don't come for this function when things get weird, k?

This routine should work fine for frontends that support just one delivery system. slay πŸ’…

For frontends that support multiple frontends:

  1. It defaults to use the first supported delivery system. There's an userspace application that allows changing it at runtime;
  2. If the current delivery system is not compatible with DVBv3, it gets the first one that it is compatible.

⭐ NOTE ⭐

okay this part is lowkey crucial πŸ‘€ in order for this to work with applications like Kaffeine that uses a DVBv5 call for DVB-S2 and a DVBv3 call to go back to DVB-S, drivers that support both DVB-S and DVB-S2 should have the SYS_DVBS entry before the SYS_DVBS2, otherwise it won't switch back to DVB-S. 🫠

so fr fr: order matters here. SYS_DVBS first, SYS_DVBS2 after. put it the other way around and the switch-back just won't happen πŸ’€

🌈 SEE ALSO 🌈


and that's the whole page bestie πŸ“ this gem ships from ./drivers/media/dvb-core, dated October 2026, in the Kernel API Manual β€” go read a DVBv5 page next, your future self will thank you πŸ’œβœ¨

πŸ“¦ where this page comes from