Modify

Opened 6 years ago

Closed 5 years ago

Last modified 3 years ago

#10774 closed enhancement (invalid)

Add Intel HD Audio (Azalia) support

Reported by: rossb@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

+package/kernel/modules/sound.mk
TODO: Dependencies (x86?), optomize Autload #'s
STATUS: Works!, including audio over HDMI

define KernelPackage/snd-hda-intel
  TITLE:=Intel HD Audio
  KCONFIG:=CONFIG_SND_HDA_INTEL \
	   CONFIG_SND_HDA_INPUT_BEEP \
	   CONFIG_SND_HDA_INPUT_JACK
  FILES:= $(LINUX_DIR)/sound/pci/hda/snd-hda-intel.ko \
	  $(LINUX_DIR)/sound/pci/hda/snd-hda-codec.ko
  AUTOLOAD:=$(call AutoLoad,65,snd-hda-codec snd-hda-intel)
  #DEPENDS:=
  $(call AddDepends/sound)
endef

define KernelPackage/snd-hda-intel/description
 Support for Intel "High Definition Audio" (Azalia) and its compatible devices.
endef

$(eval $(call KernelPackage,snd-hda-intel))

define KernelPackage/snd-hda-codec-realtek
  TITLE:=Build Realtek HD-audio codec support
  KCONFIG:=CONFIG_SND_HDA_CODEC_REALTEK
  FILES:= $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-realtek.ko
  AUTOLOAD:=$(call AutoLoad,70,snd-hda-codec-realtek)
  DEPENDS:=+kmod-snd-hda-intel
  $(call AddDepends/sound)
endef

$(eval $(call KernelPackage,snd-hda-codec-realtek))

define KernelPackage/snd-hda-codec-analog
  TITLE:=Build Analog Device HD-audio codec support
  KCONFIG:=CONFIG_SND_HDA_CODEC_ANALOG
  FILES:= $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-analog.ko
  AUTOLOAD:=$(call AutoLoad,70,snd-hda-codec-analog)
  DEPENDS:=+kmod-snd-hda-intel
  $(call AddDepends/sound)
endef

$(eval $(call KernelPackage,snd-hda-codec-analog))

define KernelPackage/snd-hda-codec-idt
  TITLE:=Build IDT/Sigmatel HD-audio codec support
  KCONFIG:=CONFIG_SND_HDA_CODEC_SIGMATEL
  FILES:= $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-idt.ko
  AUTOLOAD:=$(call AutoLoad,70,snd-hda-codec-idt)
  DEPENDS:=+kmod-snd-hda-intel
  $(call AddDepends/sound)
endef

$(eval $(call KernelPackage,snd-hda-codec-idt))

define KernelPackage/snd-hda-codec-via
  TITLE:=Build VIA HD-audio codec support
  KCONFIG:=CONFIG_SND_HDA_CODEC_VIA
  FILES:= $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-via.ko
  AUTOLOAD:=$(call AutoLoad,70,snd-hda-codec-via)
  DEPENDS:=+kmod-snd-hda-intel
  $(call AddDepends/sound)
endef

$(eval $(call KernelPackage,snd-hda-codec-via))

define KernelPackage/snd-hda-codec-hdmi
  TITLE:=Build HDMI/DisplayPort HD-audio codec support
  KCONFIG:=CONFIG_SND_HDA_CODEC_HDMI
  FILES:= $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-hdmi.ko
  AUTOLOAD:=$(call AutoLoad,70,snd-hda-codec-hdmi)
  DEPENDS:=+kmod-snd-hda-intel
  $(call AddDepends/sound)
endef

$(eval $(call KernelPackage,snd-hda-codec-hdmi))

define KernelPackage/snd-hda-codec-cirrus
  TITLE:=Build Cirrus Logic codec support
  KCONFIG:=CONFIG_SND_HDA_CODEC_CIRRUS
  FILES:= $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-cirrus.ko
  AUTOLOAD:=$(call AutoLoad,70,snd-hda-codec-cirrus)
  DEPENDS:=+kmod-snd-hda-intel
  $(call AddDepends/sound)
endef

$(eval $(call KernelPackage,snd-hda-codec-cirrus))

define KernelPackage/snd-hda-codec-cirrus
  TITLE:=Build Cirrus Logic codec support
  KCONFIG:=CONFIG_SND_HDA_CODEC_CIRRUS
  FILES:= $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-cirrus.ko
  AUTOLOAD:=$(call AutoLoad,70,snd-hda-codec-cirrus)
  DEPENDS:=+kmod-snd-hda-intel
  $(call AddDepends/sound)
endef

$(eval $(call KernelPackage,snd-hda-codec-cirrus))

define KernelPackage/snd-hda-codec-conexant
  TITLE:=Build Conexant HD-audio codec support
  KCONFIG:=CONFIG_SND_HDA_CODEC_CONEXANT
  FILES:= $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-conexant.ko
  AUTOLOAD:=$(call AutoLoad,70,snd-hda-codec-conexant)
  DEPENDS:=+kmod-snd-hda-intel
  $(call AddDepends/sound)
endef

$(eval $(call KernelPackage,snd-hda-codec-conexant))

define KernelPackage/snd-hda-codec-ca0110
  TITLE:=Build Creative CA0110-IBG HD-audio codec support
  KCONFIG:=CONFIG_SND_HDA_CODEC_CA0110
  FILES:= $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-ca0110.ko
  AUTOLOAD:=$(call AutoLoad,70,snd-hda-codec-ca0110)
  DEPENDS:=+kmod-snd-hda-intel
  $(call AddDepends/sound)
endef

$(eval $(call KernelPackage,snd-hda-codec-ca0110))

define KernelPackage/snd-hda-codec-cmedia
  TITLE:=Build C-Media HD-audio codec support
  KCONFIG:=CONFIG_SND_HDA_CODEC_CMEDIA
  FILES:= $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-cmedia.ko
  AUTOLOAD:=$(call AutoLoad,70,snd-hda-codec-cmedia)
  DEPENDS:=+kmod-snd-hda-intel
  $(call AddDepends/sound)
endef

$(eval $(call KernelPackage,snd-hda-codec-cmedia))

define KernelPackage/snd-hda-codec-si3054
  TITLE:=Build Silicon Labs 3054 HD-modem codec support
  KCONFIG:=CONFIG_SND_HDA_CODEC_SI3054
  FILES:= $(LINUX_DIR)/sound/pci/hda/snd-hda-codec-si3054.ko
  AUTOLOAD:=$(call AutoLoad,70,snd-hda-codec-si3054)
  DEPENDS:=+kmod-snd-hda-intel
  $(call AddDepends/sound)
endef

$(eval $(call KernelPackage,snd-hda-codec-si3054))

Attachments (1)

sound.mk (9.2 KB) - added by rossb@… 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by rossb@…

comment:1 Changed 5 years ago by jogo

  • Resolution set to invalid
  • Status changed from new to closed

Please submit this as a patch to the mailing list according to SubmittingPatches. I'll close this ticket to keep trac mostly for actual bugs.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:3 Changed 3 years ago by groug

Hi. Is someone working on it for 14.07 ?

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.