[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No sound on a Thinkpad T61 w/ ALSA and AS1984 sound card (redux)



On Wednesday 24 December 2008 04:31, Kyle Barbour wrote:
> Hello everyone,
>
> A while back (http://lists.debian.org/debian-user/2008/01/msg02415.html),
> I was having trouble getting sound  to work on my Thinkpad T61.
> Although that was resolved and everything worked wonderfully, a few
> days ago sound stopped working again, and I haven't been successful at
> fixing the problem. Neither the internal speakers nor the headphones
> produce any sound. The master volume and the PCM volume are on full,
> neither are muted, and both the speaker and headphones are enabled.
>
> My sound card is an Analog Devices 1984 (AD1984) sound card, and I'm
> running Debian Lenny (2.6.26-1-686 kernel) with ALSA 1.0.16. According
> to thinkwiki (http://www.thinkwiki.org/wiki/AD1984), this card should
> be supported in the kernel and in the alsa driver in the versions I'm
> using.
>
> lsmod | grep snd_hda_intel returns:
>
> snd_hdsnd_hda_intel         324248  2
> snd_pcm                62596  2 snd_pcm_oss,snd_hda_intel
> snd                    45604  12
> snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_seq_oss,snd_seq,snd_tim
>er,snd_seq_device snd_page_alloc          7816  2 snd_hda_intel,snd_pcm
> a_intel         324248  2
> snd_pcm                62596  2 snd_pcm_oss,snd_hda_intel
> snd                    45604  12
> snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_seq_oss,snd_seq,snd_tim
>er,snd_seq_device snd_page_alloc          7816  2 snd_hda_intel,snd_pcm
>
> so it looks as though the correct module is loaded.
>
> I tried reconfiguring the sound card with alsaconf, which didn't fix
> the problem, although it reported a successful status. Compiling ALSA
> from alsa-source (using module-assistant) and manually loading the
> modules didn't fix anything either (so maybe not an ALSA problem?).
>
> Some more information:
>
> $ cat /proc/asound/cards
> 0 [Intel          ]: HDA-Intel - HDA Intel
>                      HDA Intel at 0xfe020000 irq 17
> $ cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version 1.0.16.
> $ cat /dev/sndstat
> Sound Driver:3.8.1a-980706 (ALSA v1.0.16 emulation code)
> Kernel: Linux finnegan 2.6.26-1-686 #1 SMP Mon Dec 15 18:15:07 UTC 2008
> i686 Config options: 0
>
> Installed drivers:
> Type 10: ALSA emulation
>
> Card config:
> HDA Intel at 0xfe020000 irq 17
>
> Audio devices:
> 0: AD198x Analog (DUPLEX)
>
> Synth devices: NOT ENABLED IN CONFIG
>
> Midi devices: NOT ENABLED IN CONFIG
>
> Timers:
> 7: system timer
>
> Mixers:
> 0: Analog Devices AD1984
>
> Any thoughts on what might be causing the problem?
>
> Thanks!
>
> Kyle Barbour

Hi Kyle.

Have you tried other kernels when booting your Lenny, just to check that your 
current sound problems are the same when booting other kernels.

Also looking at the ALSA-configuration.txt file for the 1.0.16 alsa driver, 
and later versions, the AD1984 codec lists 3 model options, as below.

AD1984
   basic  default configuration
   thinkpad Lenovo Thinkpad T61/X61
   dell  Dell T3400

If you havn't already done so, it may be worth adding the following line 
to /etc/modprobe.d/alsa-base.

options snd-hda-intel model=thinkpad

Reboot after doing this. You can restart alsa, but a reboot starts from 
scratch, so may be the easier option.

You may find that opening alsamixer as user on the CLI (Gnomes terminal, or 
KDE's Konsole), may show more controls, which may need to be unmuted (M key 
to mute/unmute), or additional sliders that need to be pushed up to get sound 
output.

I am puzzled that your lsmod shows the module, snd-hdsnd-hda-intel. I can't 
find that module anywhere, but apparently in your case it is loaded, and 2 
things are using it. Try the commands below, and post the output, to see what 
if anything is using the sound, and may be preventing your sounds working.

lsof -n | grep /dev/dsp
lsof | grep /dev/snd

I've posted a ? to the alsa devel list about this snd-hdsnd-hda-intel module. 
Just out of curiosity, because I've never seen it loaded before.

Best wishes.

Nigel.






Reply to: