I'm not sure what is wrong, because I removed ConsoleKit and about several other packages with it, it seems to have broken my sound modules. Now I am trying to get alsa-source to make modules for snd_hda_intel. I was trying to compile by following instructions from ALSA Wiki originally: http://www.alsa-project.org/main/index. ... -hda-intel
But I figured out that module-assistant could auto-install it. However, after trying both methods, something about the kernel-headers package may be broken.
Here's the last few lines of errors that m-a has logged:
I already installed and reinstalled kernel-headers-amd64.hwdep32.c:3:27: fatal error: linux/version.h: No such file or directory
│ compilation terminated.
│ seq32.c:3:27: fatal error: linux/version.h: No such file or directory
│ compilation terminated.
│ make[5]: *** [fastdep] Error 1
│ make[5]: Leaving directory `/usr/src/modules/alsa-driver/acore/ioctl32'
│ make[4]: *** [_sfdep_ioctl32] Error 2
│ make[4]: Leaving directory `/usr/src/modules/alsa-driver/acore'
│ make[3]: *** [dep] Error 1
│ make[3]: Leaving directory `/usr/src/modules/alsa-driver'
│ make[2]: *** [include/sndversions.h] Error 2
│ make[2]: Leaving directory `/usr/src/modules/alsa-driver'
│ make[1]: *** [build-stamp] Error 2
│ make[1]: Leaving directory `/usr/src/modules/alsa-driver'
│ make: *** [kdist_image] Error 2
Here's some up to date diagnostic errors and information relating to what's going on:
# uname -a
Linux pc-main 3.1.0-1-amd64 #1 SMP Tue Jan 10 05:01:58 UTC 2012 x86_64 GNU/Linux
$ alsamixer
cannot open mixer: No such file or directory
# lspci -v | grep Audio
[ . . . ]
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
Subsystem: Hewlett-Packard Company Device 2a5e
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at fdff8000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link
[ . . . ]
# dpkg-query -l | grep alsa
ii alsa-base 1.0.23+dfsg-4 ALSA driver configuration files
ii alsa-oss 1.0.17-5 ALSA wrapper for OSS applications
ii alsa-source 1.0.23+dfsg-4 ALSA driver sources
ii alsa-tools 1.0.24.1-3 Console based ALSA utilities for specific hardware
ii alsa-utils 1.0.24.2-4 Utilities for configuring and using ALSA
ii bluez-alsa 4.96-3 Bluetooth ALSA support
ii gstreamer0.10-alsa 0.10.35-1 GStreamer plugin for ALSA
rc libsdl1.2debian-alsa 1.2.14-6.1 Simple DirectMedia Layer (with X11 and ALSA options)
# alsactl init
alsactl: init No soundcards found...
# cat /etc/modprobe.d/alsa-base.conf
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
# Custom added line
options snd-hda-intel probe_mask=1 model=auto
# lsmod | grep snd; echo end of output
end of output
# cat /proc/asound
cat: /proc/asound: No such file or directory
So first and foremost, I have to compile the kernel modules, but I can't figure out why the version.h or other header files aren't there.# /etc/init.d/alsa-utils start
Setting up ALSA...done (none loaded).
Any suggestions.
Oh, and please, keep solutions "Debian Free Software" limited -- I don't use non-free or contrib.