LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Debian 2.6.8 sound (https://www.linuxquestions.org/questions/debian-26/debian-2-6-8-sound-221465/)

Mingthefirst 08-23-2004 05:12 PM

Debian 2.6.8 sound
 
I've recompiled my kernel and sound doesnt'work.
Kernel=2.6.8
Code:

lspci
shows
Quote:

0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
which I think used to use via82cxxx_audio.

Bad kernel recompilation might be the problem, so anyone please share how you got your sound working on 2.6?

From .config
Quote:

CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_RTCTIMER is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

HappyTux 08-23-2004 05:31 PM

You missed a couple of modules the one for your sound card for instance and the ac97.

Code:

>$ grep -i snd /boot/config-2.6.8.1-ck4
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
CONFIG_SND_SBAWE=m
CONFIG_SND_SB16_CSP=y
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
CONFIG_SND_BT87X=m
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
CONFIG_SND_EMU10K1=m
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_SONICVIBES is not set
CONFIG_SND_VIA82XX=m
# CONFIG_SND_VX222 is not set
# CONFIG_SND_USB_AUDIO is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set

You will not need all the ones I have but you will need the CONFIG_SND_MPU401_UART=m,
CONFIG_SND_AC97_CODEC=m and CONFIG_SND_VIA82XX=m for sure. Plus you need the packages alsa-base and alsa-utils installed. Then once you have the proper modules run the alsaconf as root and pick your card from the list. And as normal user in a console window run the alsamixer and set the volumes on the Master and PCM channels to about 75% and exit with the ESC key and the volumes should now be saved as default for when you next boot. What it looks like when working.

Code:

>$ lsmod
Module                  Size  Used by
nvidia              4819316  12
apm                    17636  2
snd_via82xx            19556  1
snd_ac97_codec        66116  1 snd_via82xx
snd_pcm_oss            49448  0
snd_mixer_oss          17440  2 snd_pcm_oss
snd_pcm                83240  2 snd_via82xx,snd_pcm_oss
snd_timer              20100  1 snd_pcm
snd_page_alloc          9032  2 snd_via82xx,snd_pcm
snd_mpu401_uart        5792  1 snd_via82xx
snd_rawmidi            19460  1 snd_mpu401_uart
snd_seq_device          6440  1 snd_rawmidi
snd                    45636  9 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              6848  2 snd
uhci_hcd              29264  0
via686a                17832  0
i2c_sensor              2304  1 via686a
i2c_isa                1600  0
i2c_core              18832  3 via686a,i2c_sensor,i2c_isa
ns558                  4608  0
sidewinder            11712  0
joydev                  7936  0
gameport                3520  3 snd_via82xx,ns558,sidewinder
parport_pc            26464  1
lp                      8616  0
parport                33832  2 parport_pc,lp
tulip                  37440  0
crc32                  3808  1 tulip



All times are GMT -5. The time now is 02:53 AM.