Package: hw-detect Severity: wishlist Tags: patch hw-detect could support basic sound card detection and automatically schedule at least package linux-sound-base for installation. This package allows to select between ALSA and OSS and takes care of blacklisting the other. I am told it has sane defaults, but that should probably be checked. One step further would be to install alsa-base, but I'm not sure if for Debian that should be done without asking the user. The following code should allow detection for PCI cards with 2.6 kernels. AFAICT 0401 is the class for sound devices. case "$(uname -r)" in 2.6*) if cat /sys/bus/pci/devices/*/class 2>/dev/null | grep -q "0x040100" ; do log "Sound card detected" apt-install linux-sound-base fi ;; esac
Attachment:
pgpyRd_0a_VqU.pgp
Description: PGP signature