Summary: | Audio for VT8233/A/8235/8237 AC97 Audio Controller under linux-2.6.10-gentoo-r5 does not work (works for linux-2.6.7-gentoo-r11) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | t35t0r <t35t0r> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
t35t0r
2005-01-17 02:11:44 UTC
You'll need more ALSA modules loaded. On my system, I have, alongside my snd-intel8x0 driver: snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_ac97_codec snd_pcm snd_timer snd snd_page_alloc The OSS ones are optional. Which output plugin are you using in XMMS? Have you tried just playing a sound with aplay? Have you tried using alsaconf to configure your card? Listed below are the kernel .config settings and the sound still isn't working. As I said its pretty much the same config as in 2.6.7-gentoo-r11 which works. Any ideas on what's wrong now? /root# cd /usr/src/linux src/linux# pwd src/linux-2.6.10-gentoo-r5 src/linux# grep SND .config CONFIG_SND=y CONFIG_SND_TIMER=y CONFIG_SND_PCM=y CONFIG_SND_RAWMIDI=y CONFIG_SND_SEQUENCER=y # CONFIG_SND_SEQ_DUMMY is not set CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=y CONFIG_SND_PCM_OSS=y CONFIG_SND_SEQUENCER_OSS=y CONFIG_SND_RTCTIMER=y # CONFIG_SND_VERBOSE_PRINTK is not set # CONFIG_SND_DEBUG is not set CONFIG_SND_MPU401_UART=y # CONFIG_SND_DUMMY is not set # CONFIG_SND_VIRMIDI is not set # CONFIG_SND_MTPAV is not set # CONFIG_SND_SERIAL_U16550 is not set CONFIG_SND_MPU401=y # 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_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 is not set # CONFIG_SND_WAVEFRONT is not set # CONFIG_SND_CMI8330 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_ATIIXP_MODEM 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 is not set # CONFIG_SND_CS46XX is not set # CONFIG_SND_CS4281 is not set # CONFIG_SND_EMU10K1 is not set # 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_SND_USB_USX2Y is not set Which output plugin are you using in XMMS? Have you tried just playing a sound with aplay? Have you tried using alsaconf to configure your card? Since your last message these are the kernels I have tested: 2.6.11-rc1 SND_VIA82XX does not work, *upgrade* 2.6.10-gentoo-r5 SND_VIA82XX does not work, *upgrade* 2.6.10 SND_VIA82XX does not work, *upgrade* 2.6.9 SND_VIA82XX does not work, *upgrade* 2.6.8.1 SND_VIA82XX works!!! *upgrade* 2.6.7-gentoo-r11 SND_VIA82XX works!!! *original kernel* This is with the configuration which i listed before. XMMS is using libALSA.so v1.2.10, alsaplayer works with the kernels where SND_VIA82XX is operation, I didn't use alsaconf /etc/modules.d/alsa or /etc/init.d/alsasound as these seem to be wrappers for loading the appropriate modules on boot and assigning mixers to the appropriate devices. I am using /etc/modules.autoload.d/kernel-2.6 interface to load the SND_VIA82XX and SND_VIA_CODEC, everything else is built into the kernel. I don't have any explanation for this, what's the big change between 2.6.8.1 and 2.6.9? ok, I fixed the problem (I got sound working on all the kernels listed below), but I found another ?problem? with the SND_VIA82XX module. I was loading the SND_VIA82XX module in /etc/modules.autoload.d/kernel-2.6 with: snd-via82xx ac97_clock=96000 ..this worked for 2.6.7-gentoo-r11 and 2.6.8.1, but stopped working with kernels >=2.6.9. I simply took out the ac97_clock=96000 parameter and now it just reads: snd-via82xx ..and this works for all kernels, but if you do: modinfo snd_via82xx author: Jaroslav Kysela <perex@suse.cz> description: VIA VT82xx audio license: GPL parm: index:Index value for VIA 82xx bridge. parm: id:ID string for VIA 82xx bridge. parm: enable:Enable audio part of VIA 82xx bridge. parm: mpu_port:MPU-401 port. (VT82C686x only) parm: joystick:Enable joystick. (VT82C686x only) parm: ac97_clock:AC'97 codec clock (default 48000Hz). parm: ac97_quirk:AC'97 workaround for strange hardware. parm: dxs_support:Support for DXS channels (0 = auto, 1 = enable, 2 = disable, 3 = 48k only, 4 = no VRA) vermagic: 2.6.11-rc1 preempt K7 4KSTACKS gcc-3.3 depends: gameport,snd-ac97-codec alias: pci:v00001106d00003058sv*sd*bc*sc*i* alias: pci:v00001106d00003059sv*sd*bc*sc*i* ..you can see that setting ac97_clock should work because its still a valid parameter, so why has it stopped working after 2.6.8.1 ?? If it concerns you then you should probably ask the upstream ALSA developers. I believe the clock rate should also be mentioned in dmesg so you can check which one it is using. From: Jaroslav Kysela <perex@suse.cz> To: t35t0r@gmail.com Cc: Takashi Iwai <tiwai@suse.de> Date: Tue, 18 Jan 2005 10:40:56 +0100 (CET) Subject: Re: snd_via82xx ac97_clock=96000 parameter doesn't work for kernels >= linux-2.6.9 (fwd) > > Dear sir: > > > > If you get a chance can you look at > > http://bugs.gentoo.org/show_bug.cgi?id=78327 ... It seems that the no-sound bug is caused with the AC'97 codec initialization. Specifying 96000 as ac97_clock parameter won't help, because this value must be from 8000 to 48000 otherwise it is ignored. Please, fill a bug to our bugtrack system. Jaroslav Additional comment from https://bugtrack.alsa-project.org/alsa-bug/view.php?id=833 (you'll need account to view) (0003252) tiwai 01-18-05 17:44 I guess your problem has nothing to do with ac97_clock. Setting ac97_clock=96000 is simply wrong. If this really works, then something else is broken... |