ENUM EM28XX_AMUX(9)
π enum em28xx_amux(9) β the Kernel API Manual, but make it cute
okay so bestie, welcome to the glow-up of a manpage from the Kernel API Manual β¨ this one's all about enum em28xx_amux, and it's literally the vibe check for which audio input your em28xx device is using π
πΈ NAME
enum em28xx_amux β describes the type of audio input used by em28xx π
β¨ SYNOPSIS
enum em28xx_amux {
EM28XX_AMUX_UNUSED ,
EM28XX_AMUX_VIDEO ,
EM28XX_AMUX_LINE_IN ,
EM28XX_AMUX_VIDEO2 ,
EM28XX_AMUX_PHONE ,
EM28XX_AMUX_MIC ,
EM28XX_AMUX_CD ,
EM28XX_AMUX_AUX ,
EM28XX_AMUX_PCM_OUT
};
π«Ά Constants
EM28XX_AMUX_UNUSEDβ bestie this one is only used on the em28xxdev->mapfield, just to mark an entry as unused. It's the "this seat is saved" of constants πEM28XX_AMUX_VIDEOβ on devices without AC97, this is the only value that's currently allowed. On devices with AC97, it corresponds to the AC97 mixer"Video"control π₯EM28XX_AMUX_LINE_INβ only for devices with AC97. Corresponds to AC97 mixer"Line In"π§EM28XX_AMUX_VIDEO2β only for devices with AC97. It means em28xx should use"Line In"and AC97 should use the"Video"mixer control. yes bestie, a crossover episode π₯EM28XX_AMUX_PHONEβ only for devices with AC97. Corresponds to AC97 mixer"Phone"πEM28XX_AMUX_MICβ only for devices with AC97. Corresponds to AC97 mixer"Mic"π€EM28XX_AMUX_CDβ only for devices with AC97. Corresponds to AC97 mixer"CD"πΏEM28XX_AMUX_AUXβ only for devices with AC97. Corresponds to AC97 mixer"Aux"πEM28XX_AMUX_PCM_OUTβ only for devices with AC97. Corresponds to AC97 mixer"PCM out"π
π Description
ngl, the em28xx chip itself has only two audio inputs: tuner and line in. And on almost all devices, only the tuner input is used π¦
But!! on most devices, an auxiliary AC97 codec device gets used too, usually connected to the em28xx tuner input β except for EM28XX_AMUX_LINE_IN, that one's the outlier main character π
The AC97 device typically has several different inputs and outputs. The exact number and description depends on their model π
And yes, it is possible to AC97 to mixer more than one different entries at the same time, via the alsa mux. multi-tasking icon behaviour, periodt β¨
π SEE ALSO
- Kernel file
./drivers/media/usb/em28xx/em28xx.hstructem28xx_usb_bufs(9), structem28xx_usb_ctl(9), structem28xx_fmt(9), structem28xx_buffer(9)
ok that's the whole page bestie, every constant and every caveat is in there, no cap π don't come for me if you skip the AC97-only ones, they're labeled for a reason π
so this lil masterclass comes to you courtesy of ./drivers/media/usb/em28xx, dated October 2026, and it's filed under enum em28xx_amux(9) in the Kernel API Manual β mwah, slay, bye π§π
π¦ 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