No sound with snd-intel-hda in feisty

Bug #109428 reported by Stephan Elsner
10
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Invalid
Medium
Ubuntu Audio Team

Bug Description

Binary package hint: linux-source-2.6.20

No sound on IBM/Lenovo Thinkpad Z61p. Sound applications behave strange - totem player "tries" to play but the position marker doesn't move.
Mixer is visible and shows all channels. Volume max. Reboot doesn't help.

dmesg shows: hda_intel: azx_get_response timeout, switching to polling mode...

lspci -vvv output for sound device:

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
        Subsystem: Lenovo ThinkPad T60/R60 series
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 21
        Region 0: Memory at ee400000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000 Data: 0000
        Capabilities: [70] Express Unknown type IRQ 0
                Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
                Device: Latency L0s <64ns, L1 <1us
                Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
                Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
                Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
                Link: Latency L0s <64ns, L1 <1us
                Link: ASPM Disabled CommClk- ExtSynch-
                Link: Speed unknown, Width x0

Revision history for this message
Stephan Elsner (elsni) wrote :
Revision history for this message
Stephan Elsner (elsni) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please add the missing output requested at https://help.ubuntu.com/community/DebuggingSoundProblems ? Thanks in advance.

Changed in linux-source-2.6.20:
assignee: nobody → brian-murray
status: Unconfirmed → Needs Info
Revision history for this message
Stephan Elsner (elsni) wrote : requested output
Download full text (3.7 KiB)

Sorry I didn't know that theres a document "how to report sound bugs". Here is the missing information. I tried to set the output both to digital and analog but nothing happens.

elsni@cassiopeia:~$ tail -2 /proc/asound/oss/sndstat
Mixers:
0: Analog Devices AD1981

elsni@cassiopeia:~$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 98 [77%] [-928.00dB] [on]
  Front Right: Playback 98 [77%] [-928.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 102 [80%] [-800.00dB] [on]
  Front Right: Playback 102 [80%] [-800.00dB] [on]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 127
  Mono: Capture [off]
  Front Left: Playback 102 [80%] [-800.00dB] [on]
  Front Right: Playback 102 [80%] [-800.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 127
  Mono: Capture [on]
  Front Left: Playback 94 [74%] [-1056.00dB] [on]
  Front Right: Playback 94 [74%] [-1056.00dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 127
  Front Left: 127 [100%]
  Front Right: 127 [100%]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'PCM' 'ADC'
  Item0: 'PCM'
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 121 [95%] [-192.00dB] [off]
  Front Right: Capture 121 [95%] [-192.00dB] [off]
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]

elsni@cassiopeia:~$ asoundconf list
Names of available sound cards:
Intel

elsni@cassiopeia:~$ sudo cat /etc/asound.conf ~/.asoundrc*
cat: /etc/asound.conf: No such file or directory
cat: /home/elsni/.asoundrc*: No such file or directory

elsni@cassiopeia:~$ cat /proc/interrupts
           CPU0 CPU1
  0: 170468 0 IO-APIC-edge timer
  1: 607 0 IO-APIC-edge i8042
  8: 49 0 IO-APIC-edge rtc
  9: 204 0 IO-APIC-fasteoi acpi
 12: 2351 1187 IO-APIC-edge i8042
 14: 7168 0 IO-APIC-edge libata
 15: 0 0 IO-APIC-edge libata
 16: 36115 25061 IO-APIC-fasteoi uhci_hcd:usb1, libata, eth0, tifm_7xx1, yenta, sdhci:slot0, fglrx
 21: 33693 0 IO-APIC-fasteoi uhci_hcd:usb2, ohci1394, ip...

Read more...

Revision history for this message
Stephan Elsner (elsni) wrote :

If I start an app from the console which wants to produce sound the following error occurs:
ALSA lib pcm_direct.c:867:(snd_pcm_direct_initialize_slave) snd_pcm_hw_params_any failed
ALSA lib pcm_dmix.c:876:(snd_pcm_dmix_open) unable to initialize slave

Changed in linux-source-2.6.20:
assignee: brian-murray → ubuntu-audio
importance: Undecided → Medium
status: Needs Info → Confirmed
Revision history for this message
Alessandro Tanasi (jekil) wrote :

I have the same problem with my z61p the it resume after hibernate (bug #98605)

Revision history for this message
Stephan Elsner (elsni) wrote :

Sound does not work for me from the first boot and hibernation does not work either (my z61p does not resume from hibernation, screen remains black)

Revision history for this message
Unfinishe (jt-kirk) wrote :

Same problem with my Samsung R65 notebook.

Revision history for this message
Unfinishe (jt-kirk) wrote :

The following fixes the sound problem for me:

sudo mkdir /usr/src/alsa
cd /usr/src/alsa
sudo wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.14rc3.tar.bz2
sudo tar xfj alsa-driver-1.0.14rc3.tar.bz2
cd alsa-driver-1.0.14rc3
sudo vim alsa-kernel/pci/hda/hda_intel.c und AZX_MAX_CODECS von 3 auf 4 ändern
sudo ./configure --with-cards=hda-intel
sudo make
sudo make install

Revision history for this message
cyborgas (nuno-justoweb) wrote :

Kernel from http://rookery.ubuntu.com/~kyle/kernels/salgado/2007-04-25/ fixed problem with sound on my IBM Thinkpad R50.

Revision history for this message
Sebastian Bergmann (sb-sebastian-bergmann) wrote :

Same here with a ThinkPad X60s, I have no sound support at all.

Revision history for this message
Stephan Elsner (elsni) wrote :

The instructions from "Unfinishe" didn't work for me.

elsni@cassiopeia:/usr/src/alsa/alsa-driver-1.0.14rc3$ sudo ./configure --with-cards=hda-intel
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

beginning of config.log :

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

  $ ./configure --with-cards=hda-intel

## --------- ##
## Platform. ##
## --------- ##

hostname = cassiopeia
uname -m = i686
uname -r = 2.6.20-15-generic
uname -s = Linux
uname -v = #2 SMP Sun Apr 15 07:36:31 UTC 2007

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/X11R6/bin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1375: checking for gcc
configure:1391: found /usr/bin/gcc
configure:1401: result: gcc
configure:1645: checking for C compiler version
configure:1648: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1651: $? = 0
configure:1653: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib -libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu -enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
configure:1656: $? = 0
configure:1658: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:1661: $? = 1
configure:1684: checking for C compiler default output file name
configure:1687: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:1690: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1729: error: C compiler cannot create executables
See `config.log' for more details.

Revision history for this message
Stephan Elsner (elsni) wrote :

the new kernel mentioned has no effect either.

Revision history for this message
Sebastian Bergmann (sb-sebastian-bergmann) wrote :

The problem went away for me after enabling the modem in the BIOS of my ThinkPad X60s.

Revision history for this message
Stephan Elsner (elsni) wrote :

Great! This works for me too! Enabling the modem in the BIOS switches on sound on the z61p!
Thank you!

Revision history for this message
Daniel T Chen (crimsun) wrote :

Closing due to known issue.

Changed in linux-source-2.6.20:
status: Confirmed → Rejected
Revision history for this message
Stephan Elsner (elsni) wrote :

Why is this issue closed?
It's still a bug because sound does not work with modem disabled, what is not at all obvious.

Revision history for this message
Daniel T Chen (crimsun) wrote :

This is a hardware issue that the vendor must address. There is nothing that the driver can do to work around it.

Revision history for this message
Stephan Elsner (elsni) wrote :

But it works in windows...

Revision history for this message
Jan Niklas Hasse (jhasse) wrote :

@Stephan Elsner
It works under Linux too!
Just type
sudo apt-get install build-essential
before you follow Unfinishe's instructions.

@Unfinishe
How did you find out? Works! Cool.

Revision history for this message
ThinkpadUBUNTU (wjkierstead) wrote :

Turning on the modem fixed the sound on my Z61p as well. Machine/model 9452-JRU

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.