delte alsa

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1074 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-04-18 10:19:17 +00:00
parent f37364fa57
commit 3f7af1335b
10 changed files with 0 additions and 1385 deletions

View File

@ -1,7 +0,0 @@
# ChangeLog for media-sound/alsa-driver
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
10 Dec 2008; Mario Fetka <mario.fetka@gmail.com> +metadata.xml:
inital checkin

View File

@ -1,5 +0,0 @@
AUX alsa-driver-1.0.18a-xa3530.patch 14509 RMD160 7b64bd5303d4e646957c1e49a53adfb012b3de8e SHA1 148a444560bb9473325147d44a6f813b084d4819 SHA256 6236e6e64d09284c13f16aaefb20e54e891d5b7f1d93cdb64cf5d6901f94761c
DIST alsa-driver-1.0.18a.tar.bz2 2833780 RMD160 c06c0b68999802da80becb58ea86596f031fa406 SHA1 c8ca0d2f9093f697ee519c45c13dd7d166f6fb2a SHA256 31148e6722da1ffbbc96504a106ef2f9a06cfcc0843c3306996d4379abaff833
EBUILD alsa-driver-1.0.18a.ebuild 7102 RMD160 c98c0db344be82006c042f6712509353330c0c4b SHA1 0c7e87d6d5e866799491cfcccb942c7fc4abc4ce SHA256 b6794884f489c519899effe18f359d3c3cbf2451123bf4d06bf5924d740bac52
MISC ChangeLog 208 RMD160 003078574917300431b50d37d745552017c0d7a7 SHA1 614cee3498109b457433b07023910da4c701c2d3 SHA256 f419c8b519d627394455689278a466bb81b3eb761aa29d32e2cf8f2fec7f21ed
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -1,184 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.18.ebuild,v 1.1 2008/11/05 04:36:31 beandog Exp $
inherit autotools linux-mod flag-o-matic eutils multilib linux-info
MY_P="${P/_rc/rc}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="Advanced Linux Sound Architecture kernel modules"
HOMEPAGE="http://www.alsa-project.org/"
if [[ ${MY_P} == ${MY_P/_p*/} ]]; then
SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2"
else # Gentoo snapshots
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
fi
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~x86"
IUSE="oss debug midi"
IUSE_CARDS="seq-dummy dummy virmidi mtpav mts64 serial-u16550 mpu401
loopback portman2x4 ad1848-lib adlib ad1816a ad1848
als100 azt2320 cmi8330 cs4231 cs4232 cs4236 dt019x es968 es1688 es18xx
gusclassic gusextreme gusmax interwave interwave-stb opl3sa2
opti92x-ad1848 opti92x-cs4231 opti93x miro sb8 sb16 sbawe sgalaxy
sscape wavefront pc98-cs4232 msnd-pinnacle ad1889 als300 als4000
ali5451 atiixp atiixp-modem au8810 au8820 au8830 azt3328 bt87x ca0106
cmipci cs4281 cs46xx cs5535audio darla20 gina20 layla20 darla24 gina24
layla24 mona mia echo3g indigo indigoio indigodj emu10k1 emu10k1x
ens1370 ens1371 es1938 es1968 fm801 fm801-tea575x hda-intel hdsp hdspm
ice1712 ice1724 intel8x0 intel8x0m korg1212 maestro3 mixart nm256
pcxhr riptide rme32 rme96 rme9652 sonicvibes trident via82xx
via82xx-modem vx222 ymfpci pdplus asihpi powermac aoa
aoa-fabric-layout aoa-onyx aoa-tas aoa-toonie aoa-soundbus
aoa-soundbus-i2s sa11xx-uda1341 armaaci s3c2410 pxa2xx-i2sound au1x00
usb-audio usb-usx2y usb-us122l vxpocket pdaudiocf sun-amd7930 sun-cs4231 sun-dbri
harmony soc at91-soc at91-soc-eti-b1-wm8731 pxa2xx-soc
pxa2xx-soc-corgi pxa2xx-soc-spitz pxa2xx-soc-poodle pxa2xx-soc-tosa hifier
ml403-ac97cr oxygen pxa2xx-soc-e800 sis7019 virtuoso"
for iuse_card in ${IUSE_CARDS}; do
IUSE="${IUSE} alsa_cards_${iuse_card}"
done
RDEPEND="virtual/modutils"
DEPEND="${RDEPEND}
>=media-sound/alsa-headers-1.0.17
virtual/linux-sources
sys-apps/debianutils"
PROVIDE="virtual/alsa"
pkg_setup() {
# By default, drivers for all supported cards will be compiled.
# If you want to only compile for specific card(s), set ALSA_CARDS
# environment to a space-separated list of drivers that you want to build.
# For example:
#
# env ALSA_CARDS='emu10k1 intel8x0 ens1370' emerge alsa-driver
#
ALSA_CARDS=${ALSA_CARDS:-${IUSE_ALSA_CARDS}}
local PNP_DRIVERS="interwave interwave-stb"
local PNP_ERROR="Some of the drivers you selected require PnP support in your kernel (${PNP_DRIVERS}). Either enable PnP in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf."
local ISA_DRIVERS="cs4232 msnd-pinnacle adlib ad1816a ad1848 als100 azt2320
cmi8330 cs4231 cs4236 dt019x es968 es1688 es18xx gusclassic gusextreme gusmax
interwave interwave-stb opl3sa2 opti92x-ad1848 opti92x-cs4231 opti93x miro sb8
sb16 sbawe sb16_csp sgalaxy sscape wavefront"
local ISA_ERROR="Some of the drivers you selected require ISA support in your kernel ($(echo $ISA_DRIVERS)). Either enable ISA in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf."
local FW_DRIVERS="darla20 gina20 layla20 darla24 gina24 layla24 mona mia echo3g indigo
indigoio indigodj emu10k1 korg1212 maestro3 riptide ymfpci asihpi"
local FW_LOADER_ERROR="Some of the drivers you selected require 'Userspace firmware loading support' in your kernel (${FW_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf."
local PARPORT_DRIVERS="portman2x4"
local PARPORT_ERROR="Some if the drivers you selected require Parallel Port support (${PARPORT_DRIVERS}). Either enable that feature or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf."
local TMP_ALSA_CARDS
local CHECK_PNP
local CHECK_ISA
local CHECK_FW
local CHECK_PARPORT
for card in ${ALSA_CARDS}; do
if has alsa_cards_${card} ${IUSE} && use alsa_cards_${card}; then
TMP_ALSA_CARDS="${TMP_ALSA_CARDS} ${card}"
has ${card} ${PNP_DRIVERS} && CHECK_PNP="PNP"
has ${card} ${ISA_DRIVERS} && CHECK_ISA="ISA"
has ${card} ${FW_DRIVERS} && CHECK_FW="FW_LOADER"
has ${card} ${PARPORT_DRIVERS} && CHECK_PARPORT="PARPORT"
fi
done
ALSA_CARDS="${TMP_ALSA_CARDS}"
local CONFIG_CHECK="!SND SOUND ${CHECK_PNP} ${CHECK_ISA} ${CHECK_FW} ${CHECK_PARPORT}"
local SND_ERROR="ALSA is already compiled into the kernel. This is the recommended configuration, don't emerge alsa-driver."
local SOUND_ERROR="Your kernel doesn't have sound support enabled."
local SOUND_PRIME_ERROR="Your kernel is configured to use the deprecated OSS drivers. Please disable them and re-emerge alsa-driver."
linux-mod_pkg_setup
if [[ ${PROFILE_ARCH} == "sparc64" ]] ; then
export CBUILD=${CBUILD-${CHOST}}
export CHOST="sparc64-unknown-linux-gnu"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/alsa-driver-1.0.18a-xa3530.patch
convert_to_m "${S}/Makefile"
sed -i -e 's:\(.*depmod\):#\1:' "${S}/Makefile"
eautoconf
}
src_compile() {
local myABI=${ABI:-${DEFAULT_ABI}}
# Should fix bug #46901
is-flag "-malign-double" && filter-flags "-fomit-frame-pointer"
append-flags "-I${KV_DIR}/arch/$(tc-arch-kernel)/include"
econf $(use_with oss) \
$(use_with oss pcm-oss-plugins) \
$(use_with debug debug full) \
--with-kernel="${KV_DIR}" \
--with-build="${KV_OUT_DIR}" \
--with-redhat=no \
--with-suse=no \
--with-isapnp=auto \
$(use_with midi sequencer) \
--with-cards="${ALSA_CARDS} \
--with-card-options=all" || die "econf failed"
# linux-mod_src_compile doesn't work well with alsa
ARCH=$(tc-arch-kernel)
ABI=${KERNEL_ABI}
emake LDFLAGS="$(raw-ldflags)" HOSTCC="$(tc-getBUILD_CC)" CC="$(tc-getCC)" || die "Make Failed"
ARCH=$(tc-arch)
ABI=${myABI}
}
src_install() {
emake DESTDIR="${D}" install-modules || die "make install failed"
dodoc CARDS-STATUS FAQ README WARNING TODO SUPPORTED_KERNELS
if kernel_is 2 6; then
# mv the drivers somewhere they won't be killed by the kernel's make modules_install
mv "${D}/lib/modules/${KV_FULL}/kernel/sound" "${D}/lib/modules/${KV_FULL}/${PN}"
rmdir "${D}/lib/modules/${KV_FULL}/kernel" &> /dev/null
fi
}
pkg_postinst() {
elog
elog "Remember that all mixer channels will be MUTED by default."
elog "Use the 'alsamixer' program to unmute them, then save your"
elog "mixer settings with /etc/init.d/alsasound save"
elog
elog "If you experience problems, please try building the in-kernel"
elog "ALSA drivers instead. This ebuild is unsupported."
elog
linux-mod_pkg_postinst
if kernel_is 2 6 && [ -e "${ROOT}/lib/modules/${KV_FULL}/kernel/sound" ]; then
# Cleanup if they had older alsa installed
for file in $(find "${ROOT}/lib/modules/${KV_FULL}/${PN}" -type f); do
rm -f ${file//${KV_FULL}\/${PN}/${KV_FULL}\/kernel\/sound}
done
find "${ROOT}/lib/modules/${KV_FULL}/kernel/sound" -type d -print0 | xargs --null rmdir
fi
}

View File

@ -1,416 +0,0 @@
diff -uNr alsa-driver-1.0.18a.orig/alsa-kernel/pci/hda/patch_realtek.c alsa-driver-1.0.18a/alsa-kernel/pci/hda/patch_realtek.c
--- alsa-driver-1.0.18a.orig/alsa-kernel/pci/hda/patch_realtek.c 2008-11-12 11:02:25.000000000 +0100
+++ alsa-driver-1.0.18a/alsa-kernel/pci/hda/patch_realtek.c 2008-12-04 21:43:59.000000000 +0100
@@ -216,6 +216,7 @@
ALC883_TARGA_2ch_DIG,
ALC883_ACER,
ALC883_ACER_ASPIRE,
+ ALC888_ACER_ASPIRE_4930G,
ALC883_MEDION,
ALC883_MEDION_MD2,
ALC883_LAPTOP_EAPD,
@@ -229,9 +230,11 @@
ALC883_MITAC,
ALC883_CLEVO_M720,
ALC883_FUJITSU_PI2515,
+ ALC888_FUJITSU_XA3530,
ALC883_3ST_6ch_INTEL,
ALC888_ASUS_M90V,
ALC888_ASUS_EEE1601,
+ ALC1200_ASUS_P5Q,
ALC883_AUTO,
ALC883_MODEL_LAST,
};
@@ -381,11 +384,15 @@
{
struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
struct alc_spec *spec = codec->spec;
- const struct hda_input_mux *imux = spec->input_mux;
+ const struct hda_input_mux *imux;
unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
+ unsigned int mux_idx;
hda_nid_t nid = spec->capsrc_nids ?
spec->capsrc_nids[adc_idx] : spec->adc_nids[adc_idx];
+ mux_idx = adc_idx >= spec->num_mux_defs ? 0 : adc_idx;
+ imux = &spec->input_mux[mux_idx];
+
if (spec->is_mix_capture) {
/* Matrix-mixer style (e.g. ALC882) */
unsigned int *cur_val = &spec->cur_mux[adc_idx];
@@ -406,10 +413,7 @@
return 1;
} else {
/* MUX style (e.g. ALC880) */
- unsigned int mux_idx;
- mux_idx = adc_idx >= spec->num_mux_defs ? 0 : adc_idx;
- return snd_hda_input_mux_put(codec, &spec->input_mux[mux_idx],
- ucontrol, nid,
+ return snd_hda_input_mux_put(codec, imux, ucontrol, nid,
&spec->cur_mux[adc_idx]);
}
}
@@ -1153,6 +1157,226 @@
}
/*
+ * ALC888
+ */
+
+/*
+ * 2ch mode
+ */
+static struct hda_verb alc888_4ST_ch2_intel_init[] = {
+/* Mic-in jack as mic in */
+ { 0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80 },
+ { 0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE },
+/* Line-in jack as Line in */
+ { 0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN },
+ { 0x1a, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE },
+/* Line-Out as Front */
+ { 0x17, AC_VERB_SET_CONNECT_SEL, 0x00},
+ { } /* end */
+};
+
+/*
+ * 4ch mode
+ */
+static struct hda_verb alc888_4ST_ch4_intel_init[] = {
+/* Mic-in jack as mic in */
+ { 0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80 },
+ { 0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE },
+/* Line-in jack as Surround */
+ { 0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
+ { 0x1a, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE },
+/* Line-Out as Front */
+ { 0x17, AC_VERB_SET_CONNECT_SEL, 0x00},
+ { } /* end */
+};
+
+/*
+ * 6ch mode
+ */
+static struct hda_verb alc888_4ST_ch6_intel_init[] = {
+/* Mic-in jack as CLFE */
+ { 0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
+ { 0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE },
+/* Line-in jack as Surround */
+ { 0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
+ { 0x1a, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE },
+/* Line-Out as CLFE (workaround because Mic-in is not loud enough) */
+ { 0x17, AC_VERB_SET_CONNECT_SEL, 0x03},
+ { } /* end */
+};
+
+/*
+ * 8ch mode
+ */
+static struct hda_verb alc888_4ST_ch8_intel_init[] = {
+/* Mic-in jack as CLFE */
+ { 0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
+ { 0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE },
+/* Line-in jack as Surround */
+ { 0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
+ { 0x1a, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE },
+/* Line-Out as Side */
+ { 0x17, AC_VERB_SET_CONNECT_SEL, 0x03},
+ { } /* end */
+};
+
+static struct hda_channel_mode alc888_4ST_8ch_intel_modes[4] = {
+ { 2, alc888_4ST_ch2_intel_init },
+ { 4, alc888_4ST_ch4_intel_init },
+ { 6, alc888_4ST_ch6_intel_init },
+ { 8, alc888_4ST_ch8_intel_init },
+};
+
+/*
+ * ALC888 Fujitsu Siemens Amillo xa3530
+ */
+
+static struct hda_verb alc888_fujitsu_xa3530_verbs[] = {
+/* Front Mic: set to PIN_IN (empty by default) */
+ {0x12, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN},
+/* Connect Internal HP to Front */
+ {0x14, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
+ {0x14, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
+ {0x14, AC_VERB_SET_CONNECT_SEL, 0x00},
+/* Connect Bass HP to Front */
+ {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
+ {0x15, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
+ {0x15, AC_VERB_SET_CONNECT_SEL, 0x00},
+/* Connect Line-Out side jack (SPDIF) to Side */
+ {0x17, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
+ {0x17, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
+ {0x17, AC_VERB_SET_CONNECT_SEL, 0x03},
+/* Connect Mic jack to CLFE */
+ {0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
+ {0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
+ {0x18, AC_VERB_SET_CONNECT_SEL, 0x02},
+/* Connect Line-in jack to Surround */
+ {0x1a, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
+ {0x1a, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
+ {0x1a, AC_VERB_SET_CONNECT_SEL, 0x01},
+/* Connect HP out jack to Front */
+ {0x1b, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
+ {0x1b, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
+ {0x1b, AC_VERB_SET_CONNECT_SEL, 0x00},
+/* Enable unsolicited event for HP jack and Line-out jack */
+ {0x1b, AC_VERB_SET_UNSOLICITED_ENABLE, ALC880_HP_EVENT | AC_USRSP_EN},
+ {0x17, AC_VERB_SET_UNSOLICITED_ENABLE, ALC880_HP_EVENT | AC_USRSP_EN},
+ {}
+};
+
+static void alc888_fujitsu_xa3530_automute(struct hda_codec *codec)
+{
+ unsigned int present;
+ unsigned int bits;
+ /* Line out presence */
+ present = snd_hda_codec_read(codec, 0x17, 0,
+ AC_VERB_GET_PIN_SENSE, 0) & 0x80000000;
+ /* HP out presence */
+ present = present || snd_hda_codec_read(codec, 0x1b, 0,
+ AC_VERB_GET_PIN_SENSE, 0) & 0x80000000;
+ bits = present ? HDA_AMP_MUTE : 0;
+ /* Toggle internal speakers muting */
+ snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
+ HDA_AMP_MUTE, bits);
+ /* Toggle internal bass muting */
+ snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
+ HDA_AMP_MUTE, bits);
+}
+
+static void alc888_fujitsu_xa3530_unsol_event(struct hda_codec *codec,
+ unsigned int res)
+{
+ if (res >> 26 == ALC880_HP_EVENT)
+ alc888_fujitsu_xa3530_automute(codec);
+}
+
+
+/*
+ * ALC888 Acer Aspire 4930G model
+ */
+
+static struct hda_verb alc888_acer_aspire_4930g_verbs[] = {
+/* Front Mic: set to PIN_IN (empty by default) */
+ {0x12, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN},
+/* Unselect Front Mic by default in input mixer 3 */
+ {0x22, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(0xb)},
+/* Enable unsolicited event for HP jack */
+ {0x15, AC_VERB_SET_UNSOLICITED_ENABLE, ALC880_HP_EVENT | AC_USRSP_EN},
+/* Connect Internal HP to front */
+ {0x14, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
+ {0x14, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
+ {0x14, AC_VERB_SET_CONNECT_SEL, 0x00},
+/* Connect HP out to front */
+ {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT},
+ {0x15, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE},
+ {0x15, AC_VERB_SET_CONNECT_SEL, 0x00},
+ { }
+};
+
+static struct hda_input_mux alc888_2_capture_sources[2] = {
+ /* Front mic only available on one ADC */
+ {
+ .num_items = 4,
+ .items = {
+ { "Mic", 0x0 },
+ { "Line", 0x2 },
+ { "CD", 0x4 },
+ { "Front Mic", 0xb },
+ },
+ },
+ {
+ .num_items = 3,
+ .items = {
+ { "Mic", 0x0 },
+ { "Line", 0x2 },
+ { "CD", 0x4 },
+ },
+ }
+};
+
+static struct snd_kcontrol_new alc888_base_mixer[] = {
+ HDA_CODEC_VOLUME("Front Playback Volume", 0x0c, 0x0, HDA_OUTPUT),
+ HDA_BIND_MUTE("Front Playback Switch", 0x0c, 2, HDA_INPUT),
+ HDA_CODEC_VOLUME("Surround Playback Volume", 0x0d, 0x0, HDA_OUTPUT),
+ HDA_BIND_MUTE("Surround Playback Switch", 0x0d, 2, HDA_INPUT),
+ HDA_CODEC_VOLUME_MONO("Center Playback Volume", 0x0e, 1, 0x0,
+ HDA_OUTPUT),
+ HDA_CODEC_VOLUME_MONO("LFE Playback Volume", 0x0e, 2, 0x0, HDA_OUTPUT),
+ HDA_BIND_MUTE_MONO("Center Playback Switch", 0x0e, 1, 2, HDA_INPUT),
+ HDA_BIND_MUTE_MONO("LFE Playback Switch", 0x0e, 2, 2, HDA_INPUT),
+ HDA_CODEC_VOLUME("Side Playback Volume", 0x0f, 0x0, HDA_OUTPUT),
+ HDA_BIND_MUTE("Side Playback Switch", 0x0f, 2, HDA_INPUT),
+ HDA_CODEC_VOLUME("CD Playback Volume", 0x0b, 0x04, HDA_INPUT),
+ HDA_CODEC_MUTE("CD Playback Switch", 0x0b, 0x04, HDA_INPUT),
+ HDA_CODEC_VOLUME("Line Playback Volume", 0x0b, 0x02, HDA_INPUT),
+ HDA_CODEC_MUTE("Line Playback Switch", 0x0b, 0x02, HDA_INPUT),
+ HDA_CODEC_VOLUME("Mic Playback Volume", 0x0b, 0x0, HDA_INPUT),
+ HDA_CODEC_VOLUME("Mic Boost", 0x18, 0, HDA_INPUT),
+ HDA_CODEC_MUTE("Mic Playback Switch", 0x0b, 0x0, HDA_INPUT),
+ HDA_CODEC_VOLUME("PC Speaker Playback Volume", 0x0b, 0x05, HDA_INPUT),
+ HDA_CODEC_MUTE("PC Speaker Playback Switch", 0x0b, 0x05, HDA_INPUT),
+ { } /* end */
+};
+
+static void alc888_acer_aspire_4930g_automute(struct hda_codec *codec)
+{
+ unsigned int present;
+ unsigned int bits;
+ present = snd_hda_codec_read(codec, 0x15, 0,
+ AC_VERB_GET_PIN_SENSE, 0) & 0x80000000;
+ bits = present ? HDA_AMP_MUTE : 0;
+ snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
+ HDA_AMP_MUTE, bits);
+}
+
+static void alc888_acer_aspire_4930g_unsol_event(struct hda_codec *codec,
+ unsigned int res)
+{
+ if (res >> 26 == ALC880_HP_EVENT)
+ alc888_acer_aspire_4930g_automute(codec);
+}
+
+/*
* ALC880 3-stack model
*
* DAC: Front = 0x02 (0x0c), Surr = 0x05 (0x0f), CLFE = 0x04 (0x0e)
@@ -6868,6 +7092,8 @@
#define ALC883_DIGOUT_NID 0x06
#define ALC883_DIGIN_NID 0x0a
+#define ALC1200_DIGOUT_NID 0x10
+
static hda_nid_t alc883_dac_nids[4] = {
/* front, rear, clfe, rear_surr */
0x02, 0x03, 0x04, 0x05
@@ -6883,8 +7109,15 @@
0x08,
};
+static hda_nid_t alc883_adc_nids_rev[2] = {
+ /* ADC2-1 */
+ 0x09, 0x08
+};
+
static hda_nid_t alc883_capsrc_nids[2] = { 0x23, 0x22 };
+static hda_nid_t alc883_capsrc_nids_rev[2] = { 0x22, 0x23 };
+
/* input MUX */
/* FIXME: should be a matrix-type input source selection */
@@ -8176,6 +8409,7 @@
[ALC883_TARGA_2ch_DIG] = "targa-2ch-dig",
[ALC883_ACER] = "acer",
[ALC883_ACER_ASPIRE] = "acer-aspire",
+ [ALC888_ACER_ASPIRE_4930G] = "acer-aspire-4930g",
[ALC883_MEDION] = "medion",
[ALC883_MEDION_MD2] = "medion-md2",
[ALC883_LAPTOP_EAPD] = "laptop-eapd",
@@ -8189,7 +8423,9 @@
[ALC883_MITAC] = "mitac",
[ALC883_CLEVO_M720] = "clevo-m720",
[ALC883_FUJITSU_PI2515] = "fujitsu-pi2515",
+ [ALC888_FUJITSU_XA3530] = "fujitsu-xa3530",
[ALC883_3ST_6ch_INTEL] = "3stack-6ch-intel",
+ [ALC1200_ASUS_P5Q] = "asus-p5q",
[ALC883_AUTO] = "auto",
};
@@ -8200,6 +8436,8 @@
SND_PCI_QUIRK(0x1025, 0x0110, "Acer Aspire", ALC883_ACER_ASPIRE),
SND_PCI_QUIRK(0x1025, 0x0112, "Acer Aspire 9303", ALC883_ACER_ASPIRE),
SND_PCI_QUIRK(0x1025, 0x0121, "Acer Aspire 5920G", ALC883_ACER_ASPIRE),
+ SND_PCI_QUIRK(0x1025, 0x013e, "Acer Aspire 4930G",
+ ALC888_ACER_ASPIRE_4930G),
SND_PCI_QUIRK(0x1025, 0, "Acer laptop", ALC883_ACER), /* default Acer */
SND_PCI_QUIRK(0x1028, 0x020d, "Dell Inspiron 530", ALC888_6ST_DELL),
SND_PCI_QUIRK(0x103c, 0x2a3d, "HP Pavillion", ALC883_6ST_DIG),
@@ -8208,6 +8446,7 @@
SND_PCI_QUIRK(0x103c, 0x2a61, "HP Nettle", ALC883_6ST_DIG),
SND_PCI_QUIRK(0x1043, 0x1873, "Asus M90V", ALC888_ASUS_M90V),
SND_PCI_QUIRK(0x1043, 0x8249, "Asus M2A-VM HDMI", ALC883_3ST_6ch_DIG),
+ SND_PCI_QUIRK(0x1043, 0x82fe, "Asus P5Q-EM HDMI", ALC1200_ASUS_P5Q),
SND_PCI_QUIRK(0x1043, 0x835f, "Asus Eee 1601", ALC888_ASUS_EEE1601),
SND_PCI_QUIRK(0x105b, 0x0ce8, "Foxconn P35AX-S", ALC883_6ST_DIG),
SND_PCI_QUIRK(0x105b, 0x6668, "Foxconn", ALC883_6ST_DIG),
@@ -8245,6 +8484,7 @@
SND_PCI_QUIRK(0x15d9, 0x8780, "Supermicro PDSBA", ALC883_3ST_6ch),
SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_MEDION),
SND_PCI_QUIRK(0x1734, 0x1108, "Fujitsu AMILO Pi2515", ALC883_FUJITSU_PI2515),
+ SND_PCI_QUIRK(0x1734, 0x113d, "Fujitsu AMILO Xa3530", ALC888_FUJITSU_XA3530),
SND_PCI_QUIRK(0x17aa, 0x101e, "Lenovo 101e", ALC883_LENOVO_101E_2ch),
SND_PCI_QUIRK(0x17aa, 0x2085, "Lenovo NB0763", ALC883_LENOVO_NB0763),
SND_PCI_QUIRK(0x17aa, 0x3bfc, "Lenovo NB0763", ALC883_LENOVO_NB0763),
@@ -8370,6 +8610,26 @@
.unsol_event = alc883_acer_aspire_unsol_event,
.init_hook = alc883_acer_aspire_automute,
},
+ [ALC888_ACER_ASPIRE_4930G] = {
+ .mixers = { alc888_base_mixer,
+ alc883_chmode_mixer },
+ .init_verbs = { alc883_init_verbs, alc880_gpio1_init_verbs,
+ alc888_acer_aspire_4930g_verbs },
+ .num_dacs = ARRAY_SIZE(alc883_dac_nids),
+ .dac_nids = alc883_dac_nids,
+ .num_adc_nids = ARRAY_SIZE(alc883_adc_nids_rev),
+ .adc_nids = alc883_adc_nids_rev,
+ .capsrc_nids = alc883_capsrc_nids_rev,
+ .dig_out_nid = ALC883_DIGOUT_NID,
+ .num_channel_mode = ARRAY_SIZE(alc883_3ST_6ch_modes),
+ .channel_mode = alc883_3ST_6ch_modes,
+ .need_dac_fix = 1,
+ .num_mux_defs =
+ ARRAY_SIZE(alc888_2_capture_sources),
+ .input_mux = alc888_2_capture_sources,
+ .unsol_event = alc888_acer_aspire_4930g_unsol_event,
+ .init_hook = alc888_acer_aspire_4930g_automute,
+ },
[ALC883_MEDION] = {
.mixers = { alc883_fivestack_mixer,
alc883_chmode_mixer },
@@ -8513,6 +8773,23 @@
.unsol_event = alc883_2ch_fujitsu_pi2515_unsol_event,
.init_hook = alc883_2ch_fujitsu_pi2515_automute,
},
+ [ALC888_FUJITSU_XA3530] = {
+ .mixers = { alc888_base_mixer, alc883_chmode_mixer },
+ .init_verbs = { alc883_init_verbs, alc888_fujitsu_xa3530_verbs },
+ .num_dacs = ARRAY_SIZE(alc883_dac_nids),
+ .dac_nids = alc883_dac_nids,
+ .num_adc_nids = ARRAY_SIZE(alc883_adc_nids_rev),
+ .adc_nids = alc883_adc_nids_rev,
+ .capsrc_nids = alc883_capsrc_nids_rev,
+ .dig_out_nid = ALC883_DIGOUT_NID,
+ .num_channel_mode = ARRAY_SIZE(alc888_4ST_8ch_intel_modes),
+ .channel_mode = alc888_4ST_8ch_intel_modes,
+ .num_mux_defs =
+ ARRAY_SIZE(alc888_2_capture_sources),
+ .input_mux = alc888_2_capture_sources,
+ .unsol_event = alc888_fujitsu_xa3530_unsol_event,
+ .init_hook = alc888_fujitsu_xa3530_automute,
+ },
[ALC888_LENOVO_SKY] = {
.mixers = { alc888_lenovo_sky_mixer, alc883_chmode_mixer },
.init_verbs = { alc883_init_verbs, alc888_lenovo_sky_verbs},
@@ -8555,6 +8832,17 @@
.unsol_event = alc883_eee1601_unsol_event,
.init_hook = alc883_eee1601_inithook,
},
+ [ALC1200_ASUS_P5Q] = {
+ .mixers = { alc883_base_mixer, alc883_chmode_mixer },
+ .init_verbs = { alc883_init_verbs },
+ .num_dacs = ARRAY_SIZE(alc883_dac_nids),
+ .dac_nids = alc883_dac_nids,
+ .dig_out_nid = ALC1200_DIGOUT_NID,
+ .dig_in_nid = ALC883_DIGIN_NID,
+ .num_channel_mode = ARRAY_SIZE(alc883_sixstack_modes),
+ .channel_mode = alc883_sixstack_modes,
+ .input_mux = &alc883_capture_source,
+ },
};

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>maintainer-wanted</herd>
</pkgmetadata>

View File

@ -1,697 +0,0 @@
# ChangeLog for media-sound/alsa-headers
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/ChangeLog,v 1.160 2008/12/12 17:08:26 klausman Exp $
14 Dec 2008; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
Bump
12 Dec 2008; Tobias Klausmann <klausman@gentoo.org>
alsa-headers-1.0.17.ebuild, alsa-headers-1.0.18.ebuild:
Brainfart during stabilization for bug #245517, going back to .17 for
stable on alpha
12 Dec 2008; Brent Baude <ranger@gentoo.org> alsa-headers-1.0.17.ebuild:
Marking alsa-headers-1.0.17 ppc64 for bug 245517
11 Dec 2008; Tobias Klausmann <klausman@gentoo.org>
alsa-headers-1.0.18.ebuild:
Stable on alpha, bug #245517
*alsa-headers-1.0.18 (11 Nov 2008)
11 Nov 2008; Steve Dibb <beandog@gentoo.org> +alsa-headers-1.0.18.ebuild:
Version bump, bug 239559
01 Sep 2008; Petteri Räty <betelgeuse@gentoo.org>
-alsa-headers-1.0.14_rc2.ebuild, -alsa-headers-1.0.14_rc3.ebuild,
-alsa-headers-1.0.16_rc1.ebuild, -alsa-headers-1.0.16_rc2.ebuild:
Remove old ebuilds.
*alsa-headers-1.0.17 (02 Aug 2008)
02 Aug 2008; Petteri Räty <betelgeuse@gentoo.org>
+alsa-headers-1.0.17.ebuild:
Version bump. Fixes bug #227043. Thanks to chutzpah for the help.
05 Jun 2008; Raúl Porcel <armin76@gentoo.org> alsa-headers-1.0.16.ebuild:
ia64 stable
13 May 2008; Steve Dibb <beandog@gentoo.org> alsa-headers-1.0.16.ebuild:
amd64 stable, bug 217075
18 Apr 2008; Ferris McCormick <fmccor@gentoo.org>
alsa-headers-1.0.16.ebuild:
Sparc stable, Bug #217075.
16 Apr 2008; Tobias Klausmann <klausman@gentoo.org>
alsa-headers-1.0.16.ebuild:
Stable on alpha, bug #217075
15 Apr 2008; Jeroen Roovers <jer@gentoo.org> alsa-headers-1.0.16.ebuild:
Stable for HPPA (bug #217075).
12 Apr 2008; nixnut <nixnut@gentoo.org> alsa-headers-1.0.16.ebuild:
Stable on ppc wrt bug 217075
12 Apr 2008; Mike Doty <kingtaco@gentoo.org> alsa-headers-1.0.16.ebuild:
x86 stable, bug 217075.
11 Apr 2008; Markus Rothe <corsair@gentoo.org> alsa-headers-1.0.16.ebuild:
Stable on ppc64; bug #217075
*alsa-headers-1.0.16 (12 Mar 2008)
12 Mar 2008; Tony Vroon <chainsaw@gentoo.org> +alsa-headers-1.0.16.ebuild:
Version bump, for bug #210249.
*alsa-headers-1.0.16_rc2 (30 Jan 2008)
*alsa-headers-1.0.16_rc1 (30 Jan 2008)
30 Jan 2008; Tony Vroon <chainsaw@gentoo.org>
+alsa-headers-1.0.16_rc1.ebuild, +alsa-headers-1.0.16_rc2.ebuild:
Adding 1.0.16 release candidates, for bug #207427.
19 Nov 2007; Joshua Kinard <kumba@gentoo.org> alsa-headers-1.0.14.ebuild:
Stable on mips.
24 Oct 2007; Christian Heim <phreak@gentoo.org>
-alsa-headers-1.0.13.ebuild, -alsa-headers-1.0.14_rc1.ebuild,
-alsa-headers-1.0.14_rc4.ebuild:
Cleaning up old ebuilds.
22 Oct 2007; Raúl Porcel <armin76@gentoo.org> alsa-headers-1.0.14.ebuild:
alpha/ia64 stable wrt #189155
*alsa-headers-1.0.15 (18 Oct 2007)
18 Oct 2007; Christian Heim <phreak@gentoo.org>
+alsa-headers-1.0.15.ebuild:
Version bump, finally at 1.0.15.
10 Sep 2007; Jeroen Roovers <jer@gentoo.org> alsa-headers-1.0.14.ebuild:
Stable for HPPA (bug #189155).
08 Sep 2007; Joseph Jezak <josejx@gentoo.org> alsa-headers-1.0.14.ebuild:
Marked ppc/pp64 for bug #189155.
26 Aug 2007; Jurek Bartuszek <jurek@gentoo.org>
alsa-headers-1.0.14.ebuild:
x86 stable (bug #189155)
25 Aug 2007; Steve Dibb <beandog@gentoo.org> alsa-headers-1.0.14.ebuild:
amd64 stable
16 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org>
alsa-headers-1.0.14.ebuild:
Stable on sparc
*alsa-headers-1.0.14 (27 Jun 2007)
27 Jun 2007; Tony Vroon <chainsaw@gentoo.org> +alsa-headers-1.0.14.ebuild:
Version bump to 1.0.14 final as requested in bug #181042.
01 Jun 2007; Joshua Kinard <kumba@gentoo.org>
alsa-headers-1.0.14_rc3.ebuild:
Stable on mips.
27 May 2007; Joshua Kinard <kumba@gentoo.org>
alsa-headers-1.0.14_rc2.ebuild:
Stable on mips.
*alsa-headers-1.0.14_rc4 (07 May 2007)
07 May 2007; Stefan Schweizer <genstef@gentoo.org>
+alsa-headers-1.0.14_rc4.ebuild:
version bump
01 May 2007; Markus Rothe <corsair@gentoo.org>
alsa-headers-1.0.14_rc2.ebuild:
Stable on ppc64; bug #175141
26 Apr 2007; Steve Dibb <beandog@gentoo.org>
alsa-headers-1.0.14_rc2.ebuild:
amd64 stable, bug 175141
22 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org>
alsa-headers-1.0.14_rc2.ebuild:
ppc stable, bug #175141
19 Apr 2007; Andrej Kacian <ticho@gentoo.org>
alsa-headers-1.0.14_rc2.ebuild:
Stable on x86 for 2.6.20 kernel. Bugs #173702 and #175171.
03 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org>
alsa-headers-1.0.14_rc3.ebuild:
Stable on sparc
22 Mar 2007; Christian Heim <phreak@gentoo.org>
-alsa-headers-1.0.14_rc2_p3234.ebuild:
Cleaning up some older versions.
*alsa-headers-1.0.14_rc3 (17 Mar 2007)
17 Mar 2007; Petteri Räty <betelgeuse@gentoo.org>
+alsa-headers-1.0.14_rc3.ebuild:
Version bump. Thanks to Diego Pettenò <flameeyes@gmail.com>.
11 Feb 2007; Simon Stelling <blubb@gentoo.org>
alsa-headers-1.0.14_rc1.ebuild:
stable on amd64; bug 158678
05 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org>
alsa-headers-1.0.14_rc1.ebuild:
Stable on alpha wrt bug #158678.
04 Feb 2007; Diego Pettenò <flameeyes@gentoo.org>
-alsa-headers-1.0.11.ebuild, -alsa-headers-1.0.12.ebuild:
Remove old versions.
04 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> +Manifest.asc:
Sign digest.
*alsa-headers-1.0.14_rc2_p3234 (04 Feb 2007)
04 Feb 2007; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.14_rc2_p3234.ebuild:
Add a new snapshot required for kernel 2.6.20.
25 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
alsa-headers-9999.ebuild:
Replace -* keyword with empty keywords.
23 Jan 2007; Jeroen Roovers <jer@gentoo.org>
alsa-headers-1.0.14_rc1.ebuild:
Stable for HPPA (bug #158678).
*alsa-headers-1.0.14_rc2 (16 Jan 2007)
16 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.14_rc2.ebuild:
Version bump.
14 Jan 2007; Joseph Jezak <josejx@gentoo.org>
alsa-headers-1.0.14_rc1.ebuild:
Marked ppc stable for bug #158678.
09 Jan 2007; Markus Rothe <corsair@gentoo.org>
alsa-headers-1.0.14_rc1.ebuild:
Stable on ppc64; bug #158678
05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
alsa-headers-1.0.11.ebuild, alsa-headers-1.0.12.ebuild,
alsa-headers-1.0.13.ebuild, alsa-headers-9999.ebuild:
Dummify src_compile.
04 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org>
alsa-headers-1.0.14_rc1.ebuild:
Stable on sparc wrt #158678
04 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
alsa-headers-1.0.14_rc1.ebuild:
stable x86, bug #158678
03 Jan 2007; Stuart Longland <redhatter@gentoo.org>
alsa-headers-1.0.13.ebuild:
Marking ALSA 1.0.13 stable as per bug #150540
21 Dec 2006; Diego Pettenò <flameeyes@gentoo.org>
-alsa-headers-1.0.10.ebuild, -alsa-headers-1.0.14_pre20061130.ebuild:
Winter cleaning, so to let arch teams know that they need to hurry up on
cleaning after themselves.
*alsa-headers-1.0.14_rc1 (11 Dec 2006)
11 Dec 2006; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.14_rc1.ebuild:
Version bump.
03 Dec 2006; Diego Pettenò <flameeyes@gentoo.org>
alsa-headers-1.0.13.ebuild, alsa-headers-1.0.14_pre20061130.ebuild,
alsa-headers-9999.ebuild:
Restrict binchecks and strip, only installs headers.
*alsa-headers-1.0.14_pre20061130 (30 Nov 2006)
30 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.14_pre20061130.ebuild:
Add snapshot of alsa-driver building on 2.6.19 kernel.
08 Nov 2006; Jeroen Roovers <jer@gentoo.org> alsa-headers-1.0.13.ebuild:
Stable for HPPA (bug #150540).
25 Oct 2006; Joshua Jackson <tsunam@gentoo.org>
alsa-headers-1.0.13.ebuild:
Stable x86; bug #150540
24 Oct 2006; Simon Stelling <blubb@gentoo.org> alsa-headers-1.0.13.ebuild:
stable on amd64
22 Oct 2006; Markus Rothe <corsair@gentoo.org> alsa-headers-1.0.13.ebuild:
Stable on ppc64; bug #150540
20 Oct 2006; Aron Griffis <agriffis@gentoo.org>
alsa-headers-1.0.13.ebuild:
Mark 1.0.13 stable on alpha
20 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org>
alsa-headers-1.0.13.ebuild:
Stable on sparc wrt #150540
20 Oct 2006; <nixnut@gentoo.org> alsa-headers-1.0.13.ebuild:
Stable on ppc wrt bug 150540
18 Oct 2006; Joshua Jackson <tsunam@gentoo.org>
alsa-headers-1.0.12.ebuild:
Stable x86;bug #150540
15 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
alsa-headers-9999.ebuild:
Fix cloning of new repositories, bug #151104.
14 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
alsa-headers-1.0.12.ebuild:
Stable on Alpha.
14 Oct 2006; Aron Griffis <agriffis@gentoo.org>
alsa-headers-1.0.12.ebuild:
Mark 1.0.12 stable on ia64. #150540
11 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
alsa-headers-9999.ebuild:
Update syntax.
*alsa-headers-9999 (11 Oct 2006)
11 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-9999.ebuild:
Add 9999 version that pulls off the Mercurial repository, for when the
release versions aren't working with the current kernel.
11 Oct 2006; Markus Rothe <corsair@gentoo.org> alsa-headers-1.0.12.ebuild:
Stable on ppc64; bug #150540
10 Oct 2006; Jeroen Roovers <jer@gentoo.org> alsa-headers-1.0.12.ebuild:
Stable for HPPA (bug #150540).
09 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org>
alsa-headers-1.0.12.ebuild:
Stable on sparc wrt #150540
09 Oct 2006; Luca Barbato <lu_zero@gentoo.org> alsa-headers-1.0.12.ebuild:
Marked ppc
02 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> metadata.xml:
Move maintainership over to new alsa herd.
01 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
-alsa-headers-1.0.13_rc1.ebuild, -alsa-headers-1.0.13_rc2.ebuild,
-alsa-headers-1.0.13_rc3.ebuild:
Remove 1.0.13 release candidates.
*alsa-headers-1.0.13 (30 Sep 2006)
30 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.13.ebuild:
Version bump.
*alsa-headers-1.0.13_rc3 (28 Sep 2006)
28 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.13_rc3.ebuild:
Version bump.
*alsa-headers-1.0.13_rc2 (16 Sep 2006)
16 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.13_rc2.ebuild:
Version bump to latest rc.
*alsa-headers-1.0.13_rc1 (03 Sep 2006)
03 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.13_rc1.ebuild:
Version bump.
*alsa-headers-1.0.12 (31 Aug 2006)
31 Aug 2006; Diego Pettenò <flameeyes@gentoo.org>
-alsa-headers-1.0.12_rc1.ebuild, +alsa-headers-1.0.12.ebuild:
Version bump to latest version, and remove release candidate.
02 Aug 2006; Joshua Kinard <kumba@gentoo.org> alsa-headers-1.0.11.ebuild:
Marked stable on mips.
*alsa-headers-1.0.12_rc1 (23 Jun 2006)
23 Jun 2006; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.12_rc1.ebuild:
Version bump to 1.0.12_rc1 version.
29 May 2006; Guy Martin <gmsoft@gentoo.org> alsa-headers-1.0.11.ebuild:
Stable on hppa.
14 May 2006; Luis Medinas <metalgod@gentoo.org>
alsa-headers-1.0.11.ebuild:
Stable on amd64. Bug #130535.
01 May 2006; Joseph Jezak <josejx@gentoo.org> alsa-headers-1.0.11.ebuild:
Marked ppc stable for bug #130535.
27 Apr 2006; Marien Zwart <marienz@gentoo.org> Manifest:
Fixing SHA256 digest, pass four
24 Apr 2006; Jason Wever <weeve@gentoo.org> alsa-headers-1.0.11.ebuild:
Stable on SPARC wrt bug #130535.
24 Apr 2006; Aron Griffis <agriffis@gentoo.org>
alsa-headers-1.0.11.ebuild:
Mark 1.0.11 stable on ia64
24 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
-alsa-headers-1.0.8.ebuild, alsa-headers-1.0.10.ebuild,
alsa-headers-1.0.11.ebuild:
Drop old version and don't take alsa-driver's FILESDIR path.
22 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org>
alsa-headers-1.0.11.ebuild:
Stable on x86 wrt bug #130535.
22 Apr 2006; Markus Rothe <corsair@gentoo.org> alsa-headers-1.0.11.ebuild:
Stable on ppc64; bug #130535
19 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
-alsa-headers-1.0.11_rc3.ebuild, -alsa-headers-1.0.11_rc4.ebuild,
-alsa-headers-1.0.11_rc5.ebuild:
Drop release candidate versions.
*alsa-headers-1.0.11 (19 Apr 2006)
19 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.11.ebuild:
Version bump. This version will replace all the old release candidates.
*alsa-headers-1.0.11_rc5 (11 Apr 2006)
11 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.11_rc5.ebuild:
Version bump.
24 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.11_rc4.ebuild:
Version bump, thanks to David Watzke in bug #127412.
*alsa-headers-1.0.11_rc4 (24 Mar 2006)
24 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.11_rc4.ebuild:
Version bump, thanks to David Watzke in bug #127412.
10 Mar 2006; Aron Griffis <agriffis@gentoo.org>
alsa-headers-1.0.11_rc3.ebuild:
Mark 1.0.11_rc3 stable on ia64
09 Feb 2006; Rene Nussbaumer <killerfox@gentoo.org>
alsa-headers-1.0.11_rc3.ebuild:
Added to ~hppa. Revert after talking with flameeyes.
07 Feb 2006; Aron Griffis <agriffis@gentoo.org>
alsa-headers-1.0.11_rc3.ebuild:
Mark 1.0.11_rc3 stable on alpha
*alsa-headers-1.0.11_rc3 (02 Feb 2006)
02 Feb 2006; Diego Pettenò <flameeyes@gentoo.org>
-alsa-headers-1.0.11_rc2.ebuild, +alsa-headers-1.0.11_rc3.ebuild:
Bump to new release candidate.
02 Feb 2006; Diego Pettenò <flameeyes@gentoo.org>
-alsa-headers-1.0.9b.ebuild, -alsa-headers-1.0.10_rc3.ebuild:
Cleanup old verisons.
11 Jan 2006; Jeroen Roovers <jer@gentoo.org>
alsa-headers-1.0.11_rc2.ebuild:
Marked stable for hppa (bug #111968).
11 Jan 2006; Diego Pettenò <flameeyes@gentoo.org>
-alsa-headers-1.0.10_rc2.ebuild:
Drop old version.
11 Jan 2006; Michael Hanselmann <hansmi@gentoo.org>
alsa-headers-1.0.10.ebuild:
Stable on hppa, ppc.
10 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org>
alsa-headers-1.0.10.ebuild:
Stable on sparc wrt #111968
10 Jan 2006; Diego Pettenò <flameeyes@gentoo.org>
-alsa-headers-1.0.11_rc1.ebuild:
Drop ALSA 1.0.11_rc1 packages.
03 Jan 2006; Mark Loeser <halcy0n@gentoo.org> alsa-headers-1.0.10.ebuild:
Stable on x86; bug #117518
*alsa-headers-1.0.11_rc2 (02 Jan 2006)
02 Jan 2006; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.11_rc2.ebuild:
Bump to latest version.
27 Dec 2005; Bryan Østergaard <kloeri@gentoo.org
alsa-headers-1.0.10.ebuild:
Stable on alpha.
*alsa-headers-1.0.11_rc1 (21 Dec 2005)
21 Dec 2005; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.11_rc1.ebuild:
Bump to latest upstream version (masked).
23 Nov 2005; Luis Medinas <metalgod@gentoo.org>
alsa-headers-1.0.10.ebuild:
Stable on amd64. See bug #111968.
19 Nov 2005; Markus Rothe <corsair@gentoo.org> alsa-headers-1.0.10.ebuild:
Stable on ppc64; bug #111968
19 Nov 2005; Guy Martin <gmsoft@gentoo.org>
alsa-headers-1.0.10_rc3.ebuild:
Stable on hppa.
*alsa-headers-1.0.10 (16 Nov 2005)
16 Nov 2005; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.10.ebuild:
Bump to latest upstream version.
15 Nov 2005; Chris Gianelloni <wolf31o2@gentoo.org>
alsa-headers-1.0.10_rc3.ebuild:
Stable on x86 wrt bug #112442.
14 Nov 2005; Luca Barbato <lu_zero@gentoo.org>
alsa-headers-1.0.10_rc3.ebuild:
Marked ppc to match linux 2.6.14
13 Nov 2005; Petteri Räty <betelgeuse@gentoo.org>
alsa-headers-1.0.10_rc2.ebuild:
Marked stable on x86 for bug #111968.
*alsa-headers-1.0.10_rc3 (08 Nov 2005)
08 Nov 2005; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.10_rc3.ebuild:
Bump to latest version.
*alsa-headers-1.0.10_rc2 (11 Oct 2005)
11 Oct 2005; Diego Pettenò <flameeyes@gentoo.org>
-alsa-headers-1.0.10_rc1.ebuild, +alsa-headers-1.0.10_rc2.ebuild:
Bumped to newer rc.
*alsa-headers-1.0.10_rc1 (25 Aug 2005)
25 Aug 2005; Diego Pettenò <flameeyes@gentoo.org>
+alsa-headers-1.0.10_rc1.ebuild:
Added ebuild for alsa 1.0.10_rc1.
24 Aug 2005; Aron Griffis <agriffis@gentoo.org>
alsa-headers-1.0.9b.ebuild:
stable on ia64
29 Jul 2005; Guy Martin <gmsoft@gentoo.org> alsa-headers-1.0.9b.ebuild:
Stable on hppa.
21 Jul 2005; Joseph Jezak <josejx@gentoo.org> alsa-headers-1.0.9b.ebuild:
Marked ppc stable.
20 Jul 2005; Markus Rothe <corsair@gentoo.org> alsa-headers-1.0.9b.ebuild:
Stable on ppc64
19 Jul 2005; Bryan Østergaard <kloeri@gentoo.org>
alsa-headers-1.0.9b.ebuild:
Stable on alpha.
19 Jul 2005; Jeremy Huddleston <eradicator@gentoo.org>
alsa-headers-1.0.9b.ebuild:
Added to ~sparc.
17 Jul 2005; Jeremy Huddleston <eradicator@gentoo.org>
alsa-headers-1.0.9b.ebuild:
Stable amd64, x86.
12 Jul 2005; Stephen P. Becker <geoman@gentoo.org>
alsa-headers-1.0.8.ebuild:
stable on mips
07 Jul 2005; Jeremy Huddleston <eradicator@gentoo.org>
-alsa-headers-1.0.5a.ebuild:
Removing old verison.
*alsa-headers-1.0.9b (07 Jul 2005)
07 Jul 2005; Jeremy Huddleston <eradicator@gentoo.org>
-alsa-headers-1.0.9_rc3.ebuild, -alsa-headers-1.0.9.ebuild,
+alsa-headers-1.0.9b.ebuild:
Version bump.
12 Jun 2005; Bryan Østergaard <kloeri@gentoo.org>
alsa-headers-1.0.8.ebuild:
Stable on alpha.
*alsa-headers-1.0.9 (27 May 2005)
27 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
+alsa-headers-1.0.9.ebuild:
New upstream version released, see #94196.
05 May 2005; Jeremy Huddleston <eradicator@gentoo.org>
-alsa-headers-1.0.7.ebuild:
Removing old version.
*alsa-headers-1.0.9_rc3 (05 May 2005)
05 May 2005; Jeremy Huddleston <eradicator@gentoo.org>
-alsa-headers-1.0.9_rc2.ebuild, +alsa-headers-1.0.9_rc3.ebuild:
Version bump.
05 May 2005; Jeremy Huddleston <eradicator@gentoo.org>
-alsa-headers-1.0.6a.ebuild, -alsa-headers-1.0.8_rc1.ebuild:
Cleaning out old versions.
*alsa-headers-1.0.9_rc2 (31 Mar 2005)
31 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
+alsa-headers-1.0.9_rc2.ebuild:
Version bump.
29 Mar 2005; Markus Rothe <corsair@gentoo.org> alsa-headers-1.0.8.ebuild:
Stable on ppc64
27 Mar 2005; Guy Martin <gmsoft@gentoo.org> alsa-headers-1.0.8.ebuild:
Stable on hppa.
20 Mar 2005; Lars Weiler <pylon@gentoo.org> alsa-headers-1.0.8.ebuild:
Readded ppc to a 1.x version.
09 Mar 2005; Mike Gardiner <obz@gentoo.org> alsa-headers-1.0.7.ebuild:
Keyworded ppc
08 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
alsa-headers-1.0.8.ebuild:
Stable amd64, sparc, x86.
25 Jan 2005; Markus Rothe <corsair@gentoo.org> alsa-headers-1.0.7.ebuild:
Stable on ppc64
*alsa-headers-1.0.8 (14 Jan 2005)
14 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
+alsa-headers-1.0.8.ebuild, -alsa-headers-1.0.8_rc2.ebuild:
Version bump.
12 Jan 2005; Guy Martin <gmsoft@gentoo.org> alsa-headers-1.0.8_rc1.ebuild:
Stable on hppa.
11 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
alsa-headers-1.0.8_rc1.ebuild:
Stable x86 as it's needed for 2.6.10 kernels (which is in stable x86).
*alsa-headers-1.0.8_rc2 (11 Jan 2005)
11 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
+alsa-headers-1.0.8_rc2.ebuild:
Version bump.
*alsa-headers-1.0.8_rc1 (01 Jan 2005)
01 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
+alsa-headers-1.0.8_rc1.ebuild:
Version bump.
18 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
alsa-headers-1.0.7.ebuild:
Stable amd64, x86.
16 Dec 2004; Markus Rothe <corsair@gentoo.org> alsa-headers-1.0.6a.ebuild:
Stable on ppc64
30 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org>
alsa-headers-1.0.7.ebuild:
Stable sparc.
*alsa-headers-1.0.7 (12 Nov 2004)
12 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org>
alsa-headers-1.0.5a.ebuild, alsa-headers-1.0.6a.ebuild,
+alsa-headers-1.0.7.ebuild:
Version bump.
03 Nov 2004; Stephen P. Becker <geoman@gentoo.org>
alsa-headers-1.0.6a.ebuild:
added ~mips keyword
08 Oct 2004; Guy Martin <gmsoft@gentoo.org> alsa-headers-1.0.6a.ebuild:
Marked stable on hppa.
22 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
alsa-headers-1.0.5a.ebuild, alsa-headers-1.0.6a.ebuild:
Removed unneccessary inherits.
22 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
alsa-headers-1.0.6a.ebuild:
Added to ~sparc.
22 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
alsa-headers-1.0.6a.ebuild:
Stable amd64, x86.
25 Aug 2004; Jeremy Huddleston <eradicator@gentoo.org>
+files/alsa-headers-1.0.6a-user.patch:
Added patch for undefined __user.
*alsa-headers-1.0.6a (23 Aug 2004)
23 Aug 2004; Jeremy Huddleston <eradicator@gentoo.org>
+alsa-headers-1.0.6a.ebuild:
Version bump.
17 Aug 2004; Guy Martin <gmsoft@gentoo.org> alsa-headers-1.0.5a.ebuild:
Stable on hppa.
27 Jul 2004; Aron Griffis <agriffis@gentoo.org> alsa-headers-1.0.5a.ebuild:
stable on alpha and ia64
24 Jul 2004; Lars Weiler <pylon@gentoo.org> alsa-headers-1.0.5a.ebuild:
Stable on ppc.
19 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
alsa-headers-1.0.5a.ebuild:
Fixing keywords to match alsa-driver.
*alsa-headers-1.0.5a (19 Jul 2004)
19 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+alsa-headers-1.0.5a.ebuild:
Initial commit to deal with alsa-headers not being installed with 2.6 kernels.
See bug #55994.

View File

@ -1,5 +0,0 @@
AUX alsa-headers-1.0.6a-user.patch 419 RMD160 a778185703b19cfe07b7c4578a10196fd9f9d5c0 SHA1 9f76087732817fc1d4a01ebf87e418269028b1ef SHA256 fbe9dfbbdfdf83b2c895a5d401cec13c16a490a03617419be701f167c38cab09
DIST alsa-driver-1.0.18a.tar.bz2 2833780 RMD160 c06c0b68999802da80becb58ea86596f031fa406 SHA1 c8ca0d2f9093f697ee519c45c13dd7d166f6fb2a SHA256 31148e6722da1ffbbc96504a106ef2f9a06cfcc0843c3306996d4379abaff833
EBUILD alsa-headers-1.0.18a.ebuild 1021 RMD160 20a73316e9b1c0e85ac81bfc058b0d5dd3cbddbe SHA1 2321aa0b0380d7d1b3ddad5377b8a378c350ac40 SHA256 6eba915e28fb8b0b2a2d0edb66ebc9b9f926567075c759b9ce77b1d908aea984
MISC ChangeLog 21369 RMD160 026fb805d9df6b1d566f332eb425b9e44fdbce58 SHA1 6bd1d28435e3f949f49732a891d0205f20510fa4 SHA256 863f883a840f389913179bccd22f70bcac5e101149734857418942d75670128e
MISC metadata.xml 220 RMD160 e49f8bb330d1798cd2c8ee5335cef1784f0d7ccb SHA1 1b895fe6cae4b8eab08ba1a6a1212baf4b4b4105 SHA256 8570ef11cd59b0d8edb71e78eecaec423616836b10eacb86bee0de941f0ae054

View File

@ -1,44 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-headers/alsa-headers-1.0.18.ebuild,v 1.3 2008/12/12 17:08:26 klausman Exp $
inherit eutils
MY_PN=${PN/headers/driver}
MY_P="${MY_PN}-${PV/_rc/rc}"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="Header files for Advanced Linux Sound Architecture kernel modules"
HOMEPAGE="http://www.alsa-project.org/"
SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE=""
DEPEND=""
RESTRICT="binchecks strip"
# Remove the sound symlink workaround...
pkg_setup() {
if [[ -L "${ROOT}/usr/include/sound" ]]; then
rm "${ROOT}/usr/include/sound"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PN}-1.0.6a-user.patch"
}
src_compile() { :; }
src_install() {
cd "${S}/alsa-kernel/include"
insinto /usr/include/sound
doins *.h || die "include failed"
}

View File

@ -1,14 +0,0 @@
diff -Naur alsa-driver-1.0.6a.orig/alsa-kernel/include/asound.h alsa-driver-1.0.6a/alsa-kernel/include/asound.h
--- alsa-driver-1.0.6a.orig/alsa-kernel/include/asound.h 2004-08-03 11:55:55.000000000 -0700
+++ alsa-driver-1.0.6a/alsa-kernel/include/asound.h 2004-08-25 11:05:21.445603678 -0700
@@ -63,6 +63,10 @@
#include <sys/types.h>
#endif
+#ifndef __user
+#define __user
+#endif
+
/*
* protocol version
*/

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>alsa</herd>
<maintainer>
<email>alsa-bugs@gentoo.org</email>
</maintainer>
</pkgmetadata>