Yesterday, I had Archlinux on my Dell Latitude E6520 and the sound was working perfectly fine (I even had the loud beep I couldn't get rid of).
Today, I installed Debian and alsa. The first surprise was that in alsamixer, I had half as many playback devices shown... I unmuted them and it somehow worked - at least when I had my headphones plugged in. But after trying to make the sound work on Heroes of Newerth, I tried on Chromium (a game I had installed thinking it was the browser T.T) and it didn't have sound either... Now the odd part is that I'm listening to music on Google chrome while writing this message...
The output of this first command looks to me like the one I had on Archlinux:
lspci -v |grep Audio 00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04) 01:00.1 Audio device: nVidia Corporation Device 0e08 (rev a1)
But when I use
alsamixer and press
F6 (Select sound card), I only have 3 choices:
- (default) 0 HDA Intel PCH enter device name...
Whereas I'm quite sure I had a fourth one under Archlinux.
I tried to install this http://www.dell.com/support/drivers/us/en/19/Product/latitude-e6520?s=dhs But apparently it doesn't work... Not that I expected it to work, it's intended for Ubuntu...
sudo dpkg -i alsa-driver-hda-krug-ubuntu-audio-dev-dkms_188.8.131.52.20110103_all.deb (Reading database ... 129240 files and directories currently installed.) Preparing to replace alsa-driver-hda-krug-ubuntu-audio-dev-dkms 184.108.40.206.20110103 (using alsa-driver-hda-krug-ubuntu-audio-dev-dkms_220.127.116.11.20110103_all.deb) ... ------------------------------ Deleting module version: 18.104.22.168.20110103 completely from the DKMS tree. ------------------------------ Done. Unpacking replacement alsa-driver-hda-krug-ubuntu-audio-dev-dkms ... Setting up alsa-driver-hda-krug-ubuntu-audio-dev-dkms (22.214.171.124.20110103) ... Loading new alsa-driver-hda-krug-ubuntu-audio-dev-126.96.36.199.20110103 DKMS files... First Installation: checking all kernels... Building only for 2.6.32-5-amd64 Building for architecture amd64 Building initial module for 2.6.32-5-amd64 Error! Bad return status for module build on kernel: 2.6.32-5-amd64 (amd64) Consult the make.log in the build directory /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/188.8.131.52.20110103/build/ for more information.
Here is the content of the make.log:
/var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/184.108.40.206.20110103/build$ ls dkms.conf hda_codec.o hda_hwdep.c idt90.patch patch_analog.c patch_cirrus.o patch_hdmi.c patch_si3054.o hda_beep.c hda_eld.c hda_intel.c Kbuild patch_analog.o patch_cmedia.c patch_hdmi.o patch_sigmatel.c hda_beep.h hda_eld.o hda_local.h Kconfig patch_ca0110.c patch_cmedia.o patch_realtek.c patch_sigmatel.o hda_codec.c hda_generic.c hda_proc.c Makefile patch_ca0110.o patch_conexant.c patch_realtek.o patch_via.c hda_codec.h hda_generic.o hda_proc.o make.log patch_cirrus.c patch_conexant.o patch_si3054.c patch_via.o xavierm02@xavierm02-D-L:/var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/220.127.116.11.20110103/build$ cat make.log DKMS make.log for alsa-driver-hda-krug-ubuntu-audio-dev-18.104.22.168.20110103 for kernel 2.6.32-5-amd64 (amd64) Thu Aug 2 17:17:56 EDT 2012 make -C /lib/modules/2.6.32-5-amd64/build M=/var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/22.214.171.124.20110103/build modules make: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64' CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/126.96.36.199.20110103/build/patch_analog.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/188.8.131.52.20110103/build/patch_ca0110.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/184.108.40.206.20110103/build/patch_cirrus.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/220.127.116.11.20110103/build/patch_cmedia.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/18.104.22.168.20110103/build/patch_conexant.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/22.214.171.124.20110103/build/patch_hdmi.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/126.96.36.199.20110103/build/hda_eld.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/188.8.131.52.20110103/build/patch_sigmatel.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/184.108.40.206.20110103/build/patch_realtek.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/220.127.116.11.20110103/build/patch_si3054.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/18.104.22.168.20110103/build/patch_via.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/22.214.171.124.20110103/build/hda_codec.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/126.96.36.199.20110103/build/hda_generic.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/188.8.131.52.20110103/build/hda_proc.o CC [M] /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/184.108.40.206.20110103/build/hda_hwdep.o /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/220.127.116.11.20110103/build/hda_hwdep.c: In function ‘parse_hints’: /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/18.104.22.168.20110103/build/hda_hwdep.c:435: error: implicit declaration of function ‘skip_spaces’ /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/22.214.171.124.20110103/build/hda_hwdep.c:435: warning: assignment makes pointer from integer without a cast /var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/126.96.36.199.20110103/build/hda_hwdep.c:450: warning: assignment makes pointer from integer without a cast make: *** [/var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/188.8.131.52.20110103/build/hda_hwdep.o] Error 1 make: *** [_module_/var/lib/dkms/alsa-driver-hda-krug-ubuntu-audio-dev/184.108.40.206.20110103/build] Error 2 make: *** [sub-make] Error 2 make: *** [all] Error 2 make: Leaving directory `/usr/src/linux-headers-2.6.32-5-amd64' make: *** [all] Error 2
I don't think the driver on the dell website is the way to go since I didn't use it to get everything working on Archlinux but I'm not sure at all.
Another thing I think I did on Archlinux is install a package with a really long name that (maybe) had something to do with audio and had me use
uname -r to know which one intall.
I went through my whole history and couldn't find where I found out I had to install this... Neither could I recall the name of the package...
But I'm quite sure it had something to do with alsa... (because the only other thing it could've been is something about nvidia and I installed nvidia with a downloaded tar.gz...)
By the way,
uname -r returns
I have pulseaudio installed.
PS: Sound only works with headphones at the moment, but that's not the biggest issue.
PS 2: Sound works in Mumble if I set the output to ALSA. Setting the sound to ALSA in HoN won't change anything. And Chromium doesn't give you any kind of choice.
In case it somehow matters, HoN is launched in another instance of the X server on :1 whereas the rest remains on :0.