Intel HDA sound broken on kernel 2.6.22-10.30

Bug #134146 reported by Jose Bernardo
172
Affects Status Importance Assigned to Milestone
linux-source-2.6.22 (Ubuntu)
Invalid
Undecided
Unassigned
linux-ubuntu-modules-2.6.22 (Ubuntu)
Fix Released
Medium
Ubuntu Audio Team

Bug Description

Binary package hint: linux-image-2.6.22-10-386

Sound got broken for me with the upgrade from kernel 2.6.22-9 to 2.6.22-10.30. Previously, the only problem I had was the microphone not working. I started describing this in bug #116326, but since my realtek has a different ID and worked until this update, I think it is probably a new bug.

$ aplay --list-devices
**** Lista de Dispositivos de Hardware PLAYBACK ****
placa 0: Intel [HDA Intel], dispositivo 0: HDA Generic [HDA Generic]
  Subdispositivos: 0/1
  Subdispositivo #0: subdevice #0

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :
Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

$ tail -2 /proc/asound/oss/sndstat
Mixers:
0: Realtek ID 861

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :
Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

$ asoundconf list
Names of available sound cards:
Intel

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :
Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

$ cat /proc/interrupts
           CPU0 CPU1
  0: 5413376 0 IO-APIC-edge timer
  1: 6153 0 IO-APIC-edge i8042
  8: 3 0 IO-APIC-edge rtc
  9: 10916 0 IO-APIC-fasteoi acpi
 12: 143 0 IO-APIC-edge i8042
 14: 32266 0 IO-APIC-edge libata
 15: 0 0 IO-APIC-edge libata
 17: 1108876 0 IO-APIC-fasteoi uhci_hcd:usb4, eth0, i915@pci:0000:00:02.0
 18: 545028 0 IO-APIC-fasteoi uhci_hcd:usb3, ohci1394, sdhci:slot0, ipw3945
 19: 78702 0 IO-APIC-fasteoi uhci_hcd:usb1, ehci_hcd:usb5
 20: 0 0 IO-APIC-fasteoi uhci_hcd:usb2
 21: 336702 0 IO-APIC-fasteoi HDA Intel
220: 69284 0 PCI-MSI-edge ahci
NMI: 0 0
LOC: 995847 4299778
ERR: 0
MIS: 0

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

I forgot to add, my laptop is a Fujitsu Siemens Amilo Pi1505. I had good sound both on feisty and gutsy until today, with this kernel update.

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

This is the codec for the hda-intel sound card

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

This is the codec for the internal modem (I think).

Revision history for this message
Frank (frank-schaeffer) wrote :

Same here on Thinkpad Z61m except that here the sound is very quietly or rather inaudibly. The sound card is identified and configured just as well reported by Jose above.

uname -r
2.6.22-10-generic

Revision history for this message
Frank (frank-schaeffer) wrote :

dmesg

Revision history for this message
Frank (frank-schaeffer) wrote :

asoundconf

Revision history for this message
Frank (frank-schaeffer) wrote :

interrupts

Revision history for this message
Frank (frank-schaeffer) wrote :

Sorry, just forgot to mention. I'am on Kubuntu Gutsy 64bit. The problem exist for all mediaplayers I've installed (e. g. amarok, xine, kaffeine, noatun....)

Best regards

Frank

Revision history for this message
flowbot (flowbot) wrote :

This kernel breaks my (already a bit broken) sound, too. I have an Inspiron 1420 (to get sound working previously, had to add "options snd-hda-intel position_fix=1 model=3stack" to /etc/modprobe.d/alsa-base).

lspci-vv attached, more to follow.

Revision history for this message
flowbot (flowbot) wrote :
Revision history for this message
flowbot (flowbot) wrote :
Revision history for this message
flowbot (flowbot) wrote :
Revision history for this message
flowbot (flowbot) wrote :
Revision history for this message
flowbot (flowbot) wrote :
Revision history for this message
BronsCon (keith-bronstrup) wrote :

Make sure linux-ubuntu-modules-2.6.22-10-[your arch here] is installed and you are booting the correct kernel.

For some reason, for 2.6.22-20, both generic and 386 kernels were installed, while only the generic kernel's modules were installed and the 386 kernel was made default in GRUB.

My solution was to install the modules for 2.6.22-10-386 and, when that worked (and I realized the generic ran better on my system), I removed the 386 kernel and modules, which never should have made their way on to my system to begin with, and went back to the generic kernel.

Everything works over here now that I have the proper kernel and modules installed.

Hope this helps someone else -- and closes this bug.

description: updated
Revision history for this message
BronsCon (keith-bronstrup) wrote : Re: 2.6.22-10-386 kernel gets installed and made GRUB default with no modules (WAS: "Realtek 861 sound broken on kernel 2.6.22-10.30")

I changed the name and binary package hint to reflect the source of the issue.

linux-image-2.6.22-10-386 was a dependency of linux-image-generic. This appears to have been resolved already.

If you are running linux-image-2.6.22-10-386 and should not be, remove this kernel and use a more appropriate one (perhaps linux-image-generic will now choose the correct kernel for you?) and this should fix the problem.

Revision history for this message
flowbot (flowbot) wrote :

This wasn't the problem for me - 386 kernel didn't get installed, just the generic. I've updated synaptic, but nothing new in there. Still, I've got no sound.

Revision history for this message
BronsCon (keith-bronstrup) wrote :

flow,

Is linux-ubuntu-modules-2.6.22-10-generic installed?

Double check this and, if it's not installed, correct this and reboot. All should work.

If this doesn't help, let me know so I can undo the edits I made to this bug.

Revision history for this message
flowbot (flowbot) wrote :

Hi Brons,

linux-ubuntu-modules-2.6.22-10-generic is installed. Alsamixer tells me my chip is SigmaTel ID 7616, but I remember it being something different when all worked.

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

@BronsCon, Please revert you edits - I also only have generic kernel and modules installed.

Revision history for this message
BronsCon (keith-bronstrup) wrote : Re: "Realtek 861 sound broken on kernel 2.6.22-10.30"

I reverted the edits I made.

Do you still have an older kernel available? (press ESC when prompted to access the GRUB menu)

if so, can you boot into that kernel? If everything works, can you report what Alsamixer identifies your sound chip as, provide a lspci, lsmod and possibly a dmesg listing? Then, boot back into 2.6.22-10 and provide the same?

I dont know if, perhaps, someobody more knowledgeable is watching, maybe this will allow them to help? If not, I'll be unavailable until after 3MP EST but will do my best (which, admittedly, I have not done thus far) to get this bug resolved.

Changed in linux-source-2.6.22:
status: New → Confirmed
Revision history for this message
lithorus (lithorus) wrote :

Sound breaks for me too.
I get sound through the speakers of the laptop, but none through the headphone jack when plugged in.

lspci -s 00:1b -vv :
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
        Subsystem: Sony Corporation Unknown device 81fd
        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 A routed to IRQ 23
        Region 0: Memory at d6300000 (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
lithorus (lithorus) wrote :

Forgot,
Codec: SigmaTel ID 7664

Revision history for this message
BronsCon (keith-bronstrup) wrote :

Don't know why I didn't hink of this before. Those who aren't getting sound from their speakers, try headphones.

If your chip is being identified, it should be working at least somewhat.

Sound chips fillowing the Intel HDA spec will have at least 2 pairs of 2 channels (left and right) with independent volume controls. On most laptops, one will be the speakers and the other will be headphones. These will have separate controls in the mixer; make sure the mixer marked Speaker is turned up and unmuted (or if it is, make sure the one marked Headphone is turned up, perhaps they are mislabeled, which would be another bug altogether, but still mention it here).

I know, before the new kernel, my sound system would route to speakers until I plugged in headphones, then it would shut off the speakers. I believe this can be configured; I'll look into it when I return at about 15:00 EST. Now, they are controlled seperately and the Headphone channel was beign used as the Master. This can be changed in your mixer.

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

I'm right now on kernel 2.6.22-9, and in fact the sound on the speakers is disabled when I plug in my headphones. I never thought of trying if the headphones worked on 2.6.22-10, will try after a reboot. Here is the info for 2.6.22-9, working sound on headphones and speakers:
$ aplay --list-devices
**** Lista de Dispositivos de Hardware PLAYBACK ****
placa 0: Intel [HDA Intel], dispositivo 0: ALC861 Analog [ALC861 Analog]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0
placa 0: Intel [HDA Intel], dispositivo 6: Si3054 Modem [Si3054 Modem]
  Subdispositivos: 1/1
  Subdispositivo #0: subdevice #0

First big change - the modem was detected on 2.6.22-9, isn't detected on 2.6.22-10
Second change - the sound card here shows as ALC861, on 2.6.22-10 shows as hda-generic

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :
Revision history for this message
exactt (giesbert) wrote :

i also have the "no sound" problem with a Realtek 883 on Intel HDA.

Neither the speakers nor the headphones work. just silence...

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

$ tail -2 /proc/asound/oss/sndstat
Mixers:
0: Realtek ALC861

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :
Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

$ asoundconf list
Names of available sound cards:
Intel

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :
Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

$ cat /proc/interrupts
           CPU0 CPU1
  0: 447380 0 IO-APIC-edge timer
  1: 2109 0 IO-APIC-edge i8042
  8: 3 0 IO-APIC-edge rtc
  9: 1328 0 IO-APIC-fasteoi acpi
 12: 143 0 IO-APIC-edge i8042
 14: 3704 0 IO-APIC-edge libata
 15: 0 0 IO-APIC-edge libata
 17: 164991 0 IO-APIC-fasteoi uhci_hcd:usb4, eth0, i915@pci:0000:00:02.0
 18: 62698 0 IO-APIC-fasteoi uhci_hcd:usb3, ohci1394, sdhci:slot0, ipw3945
 19: 55370 0 IO-APIC-fasteoi uhci_hcd:usb1, ehci_hcd:usb5
 20: 0 0 IO-APIC-fasteoi uhci_hcd:usb2
 21: 7131 0 IO-APIC-fasteoi HDA Intel
220: 18397 0 PCI-MSI-edge ahci
NMI: 0 0
LOC: 166757 388642
ERR: 0
MIS: 0

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

The codec for the sound card

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

The codec for the modem

Revision history for this message
Frank (frank-schaeffer) wrote :

Well I can confirm, on 2.6.22-9 sound and headphone are working on my Thinkpad Z61m.
And there is as well as in 2.6.22-9 only the generic-image with restricted-modules installed.
I will create the outputs of the 2.6.22-9 kernel tonight and post it here.
I think this bug is related to the following changes in linux-source-2.6.22 (2.6.22-10.30) gutsy; urgency=low

  [Ben Collins]

  * ubuntu: Disable snd-hda-intel, in favor of lum updated version

Apperently, "lum" means linux-ubuntu-modules

@Ben Collins: Please enable it again through you have found a better solution

Frank

Revision history for this message
markus31 (markus-bloemeke) wrote :

I have the same problem on my notebook since the update. Gutsy tells me that the soundcard is an Intel 82801G (ICH7 Family) High Definition Audio Controller; Bus Type: PCI.

Revision history for this message
sk0rp10 (matteo-andreozzi) wrote :
Revision history for this message
flowbot (flowbot) wrote :

On 2.6.22-9, alsamixer identifies my chip as SigmaTel STAC9228. With the mixer channels, I can get audio out my speakers and headphones (headphones also work in the line-in and mic-in jacks with the appropriate switch set in alsamixer). Mic-in works for recording, haven't tested line-in. But it all seems to work quite well.

On your suggestion, I tried the headphones on 2.6.22-10 (which reports chip as SigmaTel ID 7616), and I could get sound out of the line-in jack with my headphones, but nothing else ... there's only a total of 3 mixer channels on 2.6.22-10, in and out.

I'll attach some stuff from -9 and -10.

Revision history for this message
flowbot (flowbot) wrote :
Revision history for this message
flowbot (flowbot) wrote :
Revision history for this message
flowbot (flowbot) wrote :
Revision history for this message
flowbot (flowbot) wrote :
Revision history for this message
flowbot (flowbot) wrote :
Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

I can get sound out of the headphones if I enable the "master" switch. The speakers are silent.

Revision history for this message
Ian Redfern (ian-redfern) wrote :

On my ThinkPad X60 the sound is definitely playing (built-in speakers or headphones), but is almost inaudibly quiet, even with Master and PCM set to 100%. It was fine on 2.6.22-9.

Mixers: 0: Analog Devices ID 1981
Cards: 0 [Intel ]: HDA-Intel - HDA Intel
HAL: 82801G (ICH7 Family) High Definition Audio Controller

Revision history for this message
Volodymyr Buell (vbuell) wrote :

The same situation with an AD1986 on my nVidia mboard. Sound volume is very very low and have an overdrive effect.

> aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: HDA Generic [HDA Generic]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

> cat codec#0
Codec: Analog Devices ID 1986
Address: 0
Vendor Id: 0x11d41986
Subsystem Id: 0x104381b3
Revision Id: 0x100500

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

Assigning to the kernel team per their bug policy that indicates that Confirmed or Triaged bugs should be assigned to a team.

Changed in linux-source-2.6.22:
assignee: nobody → ubuntu-audio
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Frank (frank-schaeffer) wrote :

As I just read at http://ubuntuforums.org/showthread.php?t=532424 it should be possible to compile alsa by hand and then exchange the snd-hda-intel.ko file in

 /lib/modules/2.6.22-10-generic/ubuntu/media/snd-hda-intel/

through the snd-hda-intel.ko file which was created in

 /lib/modules/2.6.22-10-generic/kernel/sound/pci/hda

by compiling the source and sudo make install-modules, respectively

I didn't try this solution but I think it should mentioned here. Although it becomes clear now that the problematic package is apparently linux-ubuntu-modules

Frank

Revision history for this message
Dorian Scholz (dorianscholz) wrote :

Same problem on my Samsung X60p after installing 2.6.22-10.

For me the solution to this whole problem was to compile ALSA from the current snapshot source.
Namely:
alsa-driver-hg20070823
alsa-lib-hg20070823
alsa-utils-hg20070816
I just downloaded these three from
ftp://ftp.suse.com/pub/projects/alsa/snapshot/
compiled and installed the driver with
# ./configure --with-cards=hda-intel,usb-audio
# make install
and the other two with (first lib, then utils)
# ./configure
# make install
rebooted and all was good...
So this solved:
- sound output was very low, only after cranking up all sliders I was able to hear that there actually was sound...
- missing mixer controls, only three were left..
- no sound at all after suspend-resume without reloading snd-hda-intel
But still the internal mic is not working and the internal speakers don't shut up when I plug in a headphone!

Good luck to the rest of you

Revision history for this message
Re Alvarez (re-alvz) wrote :

On my DV2000...
lspci shows
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
but amixer shows
amixer: Mixer attach default error: No such device
my volume meter is set to mute...i can't unmute it from gnome-panel...if i double click volume meter...i get error

"The volume control did not find any elements and/or devices to control. This means either that you don't have the right GStreamer plugins installed, or that you don't have a sound card configured.

You can remove the volume control from the panel by right-clicking the speaker icon on the panel and selecting "Remove From Panel" from the menu."

what are the next steps for me....is my problem same as you guys??? or am I one lucky one?

Revision history for this message
BronsCon (keith-bronstrup) wrote :

Information overload for me on a busy day like today. The LUM package does appear to be the root of the problem and I'm certain that the kernel team will resolve this in a timely manner.

Not to stray too far off-toipc, bit I feel this should be stated from time to time here:

Try to remember that Gusty IS still a pre-release OS and these things are to be expected.

I run Gutsy in a production environment, but I also keep copies of any config files I modify on a network share that I only keep mounted when updating the backups. I keep backups of documents on a similar share. I can afford the downtime to restore the system and backups. If you can not, or these kinds of issues trouble you, perhaps you should consider Fiesty or Edgy?

Revision history for this message
Re Alvarez (re-alvz) wrote : Re: [Bug 134146] Re: "Realtek 861 sound broken on kernel 2.6.22-10.30"
Download full text (3.3 KiB)

I dont know if this info is any good but when i do sudo modprobe
snd-hda-intel
i get
FATAL: Error inserting snd_hda_intel
(/lib/modules/2.6.22-10-generic/ubuntu/media/snd-hda-intel/snd-hda-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg)

here's dmesg
Aug 24 02:05:57 ralvarez-laptop syslogd 1.4.1#21ubuntu2: restart.
Aug 24 02:05:57 ralvarez-laptop anacron[5425]: Job `cron.daily'
terminated (mailing output)
Aug 24 02:05:57 ralvarez-laptop anacron[5425]: Can't find sendmail
at /usr/sbin/sendmail, not mailing output
Aug 24 02:08:39 ralvarez-laptop anacron[5425]: Job `cron.weekly' started
Aug 24 02:08:39 ralvarez-laptop anacron[7735]: Updated timestamp for job
`cron.weekly' to 2007-08-24
Aug 24 02:08:41 ralvarez-laptop syslogd 1.4.1#21ubuntu2: restart.
Aug 24 02:08:41 ralvarez-laptop anacron[5425]: Job `cron.weekly'
terminated
Aug 24 02:08:41 ralvarez-laptop anacron[5425]: Normal exit (2 jobs run)
Aug 24 02:09:54 ralvarez-laptop kernel: [ 708.296000]
audit(1187935794.279:10): REJECTING m access to /etc/passwd (cupsd(5136)
profile /usr/sbin/cupsd active /usr/sbin/cupsd)
Aug 24 02:09:54 ralvarez-laptop kernel: [ 708.296000]
audit(1187935794.279:11): REJECTING m access to /etc/group (cupsd(5136)
profile /usr/sbin/cupsd active /usr/sbin/cupsd)
Aug 24 02:09:54 ralvarez-laptop kernel: [ 708.300000]
audit(1187935794.279:12): REJECTING m access to /etc/group (cupsd(5136)
profile /usr/sbin/cupsd active /usr/sbin/cupsd)
Aug 24 02:14:19 ralvarez-laptop python: hp-toolbox[8889]: error: PyQt
not installed. GUI not available. Exiting.
Aug 24 02:14:19 ralvarez-laptop python: hp-toolbox[8889]: error: PyQt
init failed. Exiting.
Aug 24 02:17:01 ralvarez-laptop /USR/SBIN/CRON[9092]: (root) CMD (
cd / && run-parts --report /etc/cron.hourly)
Aug 24 02:34:55 ralvarez-laptop NetworkManager: <debug>
[1187937295.689476] nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/computer_alsa_timer').
Aug 24 02:34:55 ralvarez-laptop kernel: [ 2209.588000] snd_hda_intel:
disagrees about version of symbol snd_pcm_new
Aug 24 02:34:55 ralvarez-laptop kernel: [ 2209.588000] snd_hda_intel:
Unknown symbol snd_pcm_new
Aug 24 02:34:55 ralvarez-laptop kernel: [ 2209.588000] snd_hda_intel:
disagrees about version of symbol snd_pcm_limit_hw_rates
Aug 24 02:34:55 ralvarez-laptop kernel: [ 2209.588000] snd_hda_intel:
Unknown symbol snd_pcm_limit_hw_rates
Aug 24 02:34:55 ralvarez-laptop kernel: [ 2209.588000] snd_hda_intel:
disagrees about version of symbol snd_pcm_lib_preallocate_pages_for_all
Aug 24 02:34:55 ralvarez-laptop kernel: [ 2209.588000] snd_hda_intel:
Unknown symbol snd_pcm_lib_preallocate_pages_for_all
Aug 24 02:34:55 ralvarez-laptop kernel: [ 2209.588000] snd_hda_intel:
disagrees about version of symbol snd_pcm_lib_malloc_pages
Aug 24 02:34:55 ralvarez-laptop kernel: [ 2209.588000] snd_hda_intel:
Unknown symbol snd_pcm_lib_malloc_pages
Aug 24 02:34:55 ralvarez-laptop kernel: [ 2209.588000] snd_hda_intel:
disagrees about version of symbol snd_pcm_lib_ioctl
Aug 24 02:34:55 ralvarez-laptop kernel: [ 2209.588000] snd_hda_intel:
Unknown symbol snd_pcm_lib_ioctl
Aug 24 02:34:55 ralvarez-laptop kernel: [ 2209.588000] snd_hda_intel:...

Read more...

Revision history for this message
Ben Aranguren (benaranguren) wrote : Re: "Realtek 861 sound broken on kernel 2.6.22-10.30"

I had the same problem with my T60. Sound was very low when I ran sound preferences tests.

What fixed mine was to recompile alsa.

I don't have the exact steps but basically I
1. Downloaded source by running
apt-get source alsa-source
2. Used module-assistant to recompile alsa
sudo module-assistant prepare
sudo module-assistant update
sudo module-assistant prepare
sudo module-assistant build alsa
3. Restart alsa or reboot or restart gnome

That's it! I have sound working again. I couldn't get any work done without any music so finally.
Now, if someone could only help me with suspending my laptop...

Revision history for this message
Ben Aranguren (benaranguren) wrote :

I forgot, you need to install the new deb of course.

2a. I just used dpkg to install it but i think you can also run
sudo module-assistant install alsa

Revision history for this message
Re Alvarez (re-alvz) wrote : Re: [Bug 134146] Re: "Realtek 861 sound broken on kernel 2.6.22-10.30"

ralvarez@ralvarez-laptop:~$ sudo apt-get source alsa-source
[sudo] password for ralvarez:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for alsa-driver

On Fri, 2007-08-24 at 07:04 +0000, baranguren wrote:

> I had the same problem with my T60. Sound was very low when I ran sound
> preferences tests.
>
> What fixed mine was to recompile alsa.
>
> I don't have the exact steps but basically I
> 1. Downloaded source by running
> apt-get source alsa-source
> 2. Used module-assistant to recompile alsa
> sudo module-assistant prepare
> sudo module-assistant update
> sudo module-assistant prepare
> sudo module-assistant build alsa
> 3. Restart alsa or reboot or restart gnome
>
> That's it! I have sound working again. I couldn't get any work done without any music so finally.
> Now, if someone could only help me with suspending my laptop...
>

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote : Re: "Realtek 861 sound broken on kernel 2.6.22-10.30"

Faster way:
"sudo apt-get install module-assistant
sudo m-a update
sudo m-a prepare
sudo m-a a-i alsa"

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

With the alsa drivers installed as above, I now have sound on the headphones and on the speakers. The switches are wrong (headphone turns off the speakers, front turns off the headphones), but inserting the headphones turns off the speakers as expected. The "master" slider doesn't seem to control anything.

@BronsCon: I am very much aware that gutsy is nowhere near a release, and that using alpha state software and SO is taking a large chance. What I am trying to do is to help fixing bugs before the release. If it come out as complaining, sorry, that is not my idea - I expect breakage from time to time.

Revision history for this message
Re Alvarez (re-alvz) wrote : Re: [Bug 134146] Re: "Realtek 861 sound broken on kernel 2.6.22-10.30"

using Bernardo's method i got my sound back perfectly...now everything
works including headphones & mics.

thanks dude....otherwise i couldnt have watched my legally downloaded
latest movie torrents....:)

On Fri, 2007-08-24 at 10:25 +0000, Jose Bernardo wrote:

> With the alsa drivers installed as above, I now have sound on the
> headphones and on the speakers. The switches are wrong (headphone turns
> off the speakers, front turns off the headphones), but inserting the
> headphones turns off the speakers as expected. The "master" slider
> doesn't seem to control anything.
>
> @BronsCon: I am very much aware that gutsy is nowhere near a release,
> and that using alpha state software and SO is taking a large chance.
> What I am trying to do is to help fixing bugs before the release. If it
> come out as complaining, sorry, that is not my idea - I expect breakage
> from time to time.
>

Revision history for this message
Frank (frank-schaeffer) wrote : Re: "Realtek 861 sound broken on kernel 2.6.22-10.30"

Well Jose Bernardo's "trick" works also fine here on my Thinkpad Z61m.

Revision history for this message
TDB (michael-baranov) wrote :

Confirming: recompiling ALSA works.
On my Toshiba p205 I no longer had the correct card model selected despite I had model=lenovo option.
I could switch (in grub menu) from 2.6.22.9 to 2.6.22.10 and back and see the changes in the mixer.

Revision history for this message
johannes (j00hannes) wrote :

since 2.6.22-10 the soudn on my amilo pro is very low but i can hear something. the way described above didn't work to gain real sound again. using the 2.6.22-9 i have many more devices available in kmix.

are there any general problems with the new kernel? i also noticed that some icons (in the system tray and in amarok for example) turned to the default - a rectangle showing a document.

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

I'm going to remove the alsa package generated above (alsa-modules-2.6.22-10-generic_1.0.14-1ubuntu1+2.6.22-10.30_i386.deb) and try the fix to bug #131368; if that works I'll mark this as duplicate, of course, if it fixes the problems for you guys too.

Revision history for this message
Alexey Balmashnov (a.balmashnov) wrote :

Jose Bernardo

Thanks! Recompilation works on my Dell Inspiron 640m.

Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

The debdiff posted in bug #131368 by CHris Rogers works for me, it allowed me to generate a working linux-ubuntu-modules. I vote for marking this bug as duplicate of that one.

What I did:

sudo apt-get build-dep linux-ubuntu-modules-2.6.22-10-generic
apt-get source linux-ubuntu-modules-2.6.22-10-generic
patch -p3 < l-u-m.debdiff
cd linux-ubuntu-modules-2.6.22-2.6.22
fakeroot debian/rules binary

Then I installed the resulting package, linux-ubuntu-modules-2.6.22-10-generic_2.6.22-10.24_i386.deb. Now I have working sound again.

Revision history for this message
Kishore (kitts) wrote : Re: [Bug 134146] Re: Intel HDA sound broken on kernel 2.6.22-10.30

On Sunday 26 Aug 2007 2:13:03 pm Jose Bernardo wrote:
> The debdiff posted in bug #131368 by CHris Rogers works for me, it
> allowed me to generate a working linux-ubuntu-modules. I vote for
> marking this bug as duplicate of that one.
>
> What I did:
>
> sudo apt-get build-dep linux-ubuntu-modules-2.6.22-10-generic
> apt-get source linux-ubuntu-modules-2.6.22-10-generic
> patch -p3 < l-u-m.debdiff
> cd linux-ubuntu-modules-2.6.22-2.6.22
> fakeroot debian/rules binary
>
> Then I installed the resulting package, linux-ubuntu-
> modules-2.6.22-10-generic_2.6.22-10.24_i386.deb. Now I have working
> sound again.

Thanks for pointing this out. The same worked for me as well! :-)
--
Cheers!
kitts

Revision history for this message
Ricky Reveen (rickyreveen) wrote :

I also have the no sound issue with my Lenovo 3000 n100, 0768-a52.

Tried recompiling Alsa per baranguren, but it didn't help in my case.
I think I'll wait and see what happens with the next couple of updates before
pursuing it further.

Revision history for this message
Ricky Reveen (rickyreveen) wrote :

Oops, misread baranguren's follow-up. Additionally did: sudo m-a a-i alsa, and now all is well. Thanks.

Revision history for this message
Noam Meltzer (tsnoam) wrote :

Hi,

I have just upgraded to linux-ubuntu-modules-2.6.22-10-generic-2.6.22-10.24.
After that I have unloaded and reloaded my sound modules, and sound now works.
I haven't tried to reboot yet (though I don't see a reason why it should make any difference).

- Noam

Revision history for this message
Frank (frank-schaeffer) wrote :

Well, same here. Deinstalling self-compiled alsa-modules and sources, upgrading to lum 2.6.22-10.24 and sound works on thinkpad z61m in a expected way. Plug in a headphone disables build-in speakers and vice verse.

Good work guys, thanks

Frank

Revision history for this message
markus31 (markus-bloemeke) wrote :

Since today's system update, playback works again on my Intel 82801G (ICH7 Family) High Definition Audio Controller; Bus Type: PCI. I could not check the line-in.

Revision history for this message
Jonh Wendell (wendell) wrote :

This upload fixes this issue:

linux-ubuntu-modules-2.6.22 (2.6.22-10.24) gutsy; urgency=low

  [Kyle McMartin]

  * revert to stock snd-hda-intel code
  * fix 3-udebs.mk to call depmod with path

  [Tim Gardner]

  * Lirc SIR & TTUSBIR Support

 -- Kyle McMartin <email address hidden> Mon, 27 Aug 2007 15:31:01 +0000

Changed in linux-source-2.6.22:
status: Triaged → Fix Released
Revision history for this message
Jose Bernardo (bernardo-bandos) wrote :

COnfirmed, with this update I have sound again working as expected.

Revision history for this message
Ryan (rpm) wrote :

Where can I get the update?

Revision history for this message
Kishore (kitts) wrote :

With the latest update of LUM, sounds has been restored.

Revision history for this message
Ryan (rpm) wrote :

I know this is a stupid question, but will the update make to me via apt? Or do I need to download and install it using dpkg?

Revision history for this message
Ryan (rpm) wrote :

ignore my last comment, i installed linux-ubuntu-modules-2.6.22-10-generic and now the snd-hda-intel driver is avaialble.

thank you.

Revision history for this message
Mike Basinger (mike.basinger) wrote :

On my Lenovo 3000 N100 I have sound but headphone switching using linux-ubuntu-modules-2.6.22-10-generic-2.6.22-10.24 still.

Revision history for this message
Matthijs De Smedt (matthijs--) wrote :

I have an Asus A6 laptop with:
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

Sound from the speakers works, and the speakers mute when headphones is plugged in. But there's no sound coming through the headphones. Tried every possible model in /etc/modprobe.d/alsa-base and even installing alsa-source. None of these changed anything. Sound still works, except for the headphone jack.

Revision history for this message
lithorus (lithorus) wrote :

Which version of the linux-ubuntu-modules-2.6.22-10-generic do you have
installed? This sounds excactly like the bug I had when I didn't have the
updated version of linux-ubuntu-modules-2.6.22-10-generic.

2.6.22-10.23 had the problem and was fixed in 2.6.22-10.24

On 8/31/07, Matthijs de Smedt <email address hidden> wrote:
>
> I have an Asus A6 laptop with:
> 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
> Definition Audio Controller (rev 02)
>
> Sound from the speakers works, and the speakers mute when headphones is
> plugged in. But there's no sound coming through the headphones. Tried
> every possible model in /etc/modprobe.d/alsa-base and even installing
> alsa-source. None of these changed anything. Sound still works, except
> for the headphone jack.
>
> --
> Intel HDA sound broken on kernel 2.6.22-10.30
> https://bugs.launchpad.net/bugs/134146
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Matthijs De Smedt (matthijs--) wrote :

Ah, indeed. I do still have linux-ubuntu-modules-2.6.22-10-generic 2.6.22-10.23. Could you please tell me how to upgrade? apt-get update && apt-get upgrade obviously doesn't do the trick.

Revision history for this message
Matthijs De Smedt (matthijs--) wrote :

Well I got a deb from here:
https://launchpad.net/ubuntu/gutsy/+source/linux-ubuntu-modules-2.6.22/2.6.22-10.24

And I have headphone sound now. It's really glitchy though. I need to set 'line-in' to exactly 52 (0.00 dB gain) to get sound. Somehow this also increases the volume on my laptop speakers to unreasonable levels.

Revision history for this message
lithorus (lithorus) wrote :

<https://launchpad.net/ubuntu/gutsy/+source/linux-ubuntu-modules-2.6.22/2.6.22-10.24>
2.6.22-10.25 is the latest.

Btw. I would recommend using a GUI when upgrading Gutsy. apt-get update etc.
is simply not good to resolve package breakage.

Make sure that you have linux-generic installed which depends on the latest
linux-ubuntu-modules. Something you can see in a GUI package manager
frontend (eg. aptitude).

On 8/31/07, Matthijs de Smedt <email address hidden> wrote:
>
> Well I got a deb from here:
>
> https://launchpad.net/ubuntu/gutsy/+source/linux-ubuntu-modules-2.6.22/2.6.22-10.24
>
> And I have headphone sound now. It's really glitchy though. I need to
> set 'line-in' to exactly 52 (0.00 dB gain) to get sound. Somehow this
> also increases the volume on my laptop speakers to unreasonable levels.
>
> --
> Intel HDA sound broken on kernel 2.6.22-10.30
> https://bugs.launchpad.net/bugs/134146
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Matthijs De Smedt (matthijs--) wrote :

Synaptic shows the same thing. I have:
linux-generic 2.6.22.10.11
linux-image-2.6.22-20-generic 2.6.22.10.30
linux-ubuntu-modules-2.6.22-10-generic 2.6.22-10.23 (now manually upgraded to .24)

According to syntaptic and aptitude, these are the latest versions. I have everything checked in software sources except commercial and backports. This setup was done from a Tribe 5 CD. Is everybody else getting newer packages from the gutsy tree?

Revision history for this message
Matthijs De Smedt (matthijs--) wrote :

Ah. Obviously completely unrelated to this bug. nl.archive.ubuntu.com is far from up to date. When the 170mb of updates are finished I'll check if hda-intel is also working properly on my asus laptop. Thanks for your patience.

Revision history for this message
Anish Bhatt (anish7) wrote :

I have an HP dv6500-t with a realtek 268 card. And none of that is working for me ! Optimistically updating everyday, hope something works out !

gutsy 64-bit, lum 2.6.22-10.25 and alsa-driver-1.0.15rc1

Revision history for this message
ntt (ntt) wrote :

almost exactly the same here: HP DV6560EL running Gutsy5 AMD64 (plus
updates).

I fear we've got no chances of audio working out of the box, unless the
Ubuntu kernel modules maintainers do bite the bullet and start using
ALSA-HG (the ALSA "current", developer version) instead of the latest
ALSA release.

Or else, we'll probably have to wait until the next Ubuntu release,
April '08. or pray very hard about backporting.

but... wait a minute... where have you got that ALSA 1.05rc1 driver???

did you recompile the kernel modules, or is just the latest update
(which my usual mirror hasn't received yet)?

anish wrote:
> I have an HP dv6500-t with a realtek 268 card. And none of that is
> working for me ! Optimistically updating everyday, hope something works
> out !
>
> gutsy 64-bit, lum 2.6.22-10.25 and alsa-driver-1.0.15rc1
>

Revision history for this message
ntt (ntt) wrote :

in the meantime I've checked out the changelog of ALSA 1.0.5-rc1: it
seems it _should_ have some support for the Realtek ALC268 chip (and,
more important, for some variations of it - like ACER and Toshiba)

still, you reported it didn't work for you... I'm wondering whether the
  ALC268 HP uses in its notebooks has some differences from the generic
Realtek chip...

well, at least something is now moving. cross fingers!

anish wrote:
> I have an HP dv6500-t with a realtek 268 card. And none of that is
> working for me ! Optimistically updating everyday, hope something works
> out !
>
> gutsy 64-bit, lum 2.6.22-10.25 and alsa-driver-1.0.15rc1
>

Revision history for this message
Elisée Maurer (elisee) wrote :

I think I have the same problem, sound was working under Feisty after DSDT correction (I'm on a Toshiba P100-477), but now under Gutsy, I have no more sound... hope it gets fixed before gutsy release!

Revision history for this message
Rocco (rocco) wrote :

I have the same problem on a Dell Vostro 1700. I have compiled and installed alsa-driver 1.0.15rc1 from source. Then the sound works OK.

Revision history for this message
ntt (ntt) wrote :

Thanks for the info

Rocco wrote:
> I have the same problem on a Dell Vostro 1700. I have compiled and
> installed alsa-driver 1.0.15rc1 from source. Then the sound works OK.
>

Revision history for this message
Elisée Maurer (elisee) wrote :

How should I achieve this? Do I have to first uninstall alsa-driver 1.0.14 via apt? And what packages should I install? Only alsa-driver? Thanks in advance.

Changed in linux-source-2.6.22:
status: New → Invalid
Revision history for this message
Anish Bhatt (anish7) wrote :

could someone explain what's 'fakeroot debian/rules binary' in jose bernardo's comments ?

Revision history for this message
Kishore (kitts) wrote :

On Friday 07 Sep 2007 8:16:24 pm anish wrote:
> could someone explain what's 'fakeroot debian/rules binary' in jose
> bernardo's comments ?

It is the command used to build the package. It executes the script "rules"
which helps generate the .deb package.
--
Cheers!
kitts

Revision history for this message
evolvingjerk (michael-s-klishin) wrote :

It is still an issue with September 10 daily build. Is there any hope for a fix before Gutsy comes gold?

Revision history for this message
Runar Ingebrigtsen (ringe) wrote : Copy on Packard Bell BU45

My Packard Bell BU45 described at: https://wiki.ubuntu.com/LaptopTestingTeam/PackardBellENBU45

- The internal mic doesn't work.
- The mic jack does receive sound, but this is not recognized by apps (Ekiga, sound preferences)
- The sound preferences dialog says:
    Failed to construct test pipeline for 'gconfaudiosrc ! audioconvert ! audioresample ! gconfaudiosink profile=chat'

See following attachments.

Revision history for this message
Runar Ingebrigtsen (ringe) wrote : Attachments from Packard Bell BU45
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :
Revision history for this message
Runar Ingebrigtsen (ringe) wrote :
Revision history for this message
Runar Ingebrigtsen (ringe) wrote : Comments on BU45

The mic is the only problem on the BU45, playing sound works.

Revision history for this message
Luis Suárez (luiscsuarez-gmail) wrote :

Neither one of thehis fixes works for me on my Toshiba PSPA6U (I also posted tin a similar thread)

But that seems not to be the only problem, The fan has also gone down, this laptop used to work so cool with kernel 2.6.20 and now is burning my fingers.

I have a custom dsdt fixed with no errors and warnings on my BIOS v2.4, v3.8 and v4.0

all of them were already fixed and the three of them conserve the same behavior

Revision history for this message
Markus Vuori (lite-deactivatedaccount) wrote :

After upgrading to gutsy (in september) the snd-hda-driver started to misbehave.

Now I have on up-to-date gutsy on Lenovo T60 and I have to always modprobe (and modprobe -r) the driver at least twice before it works. And the first modprobe takes more than 10 seconds. After a couple of load/unload cycles the sound works.

lspci -vv:
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: <access denied>

Revision history for this message
Markus Vuori (lite-deactivatedaccount) wrote :

And before the two modprobes sound applications either hang or don't find any sound devices.

Revision history for this message
Greg Toombs (greg-toombs) wrote :

I don't see why canonical doesn't just copy the snd_hda_intel module code from alsa-drivers. Because it works.

Revision history for this message
Greg Toombs (greg-toombs) wrote :

In gentoo, I meant to say.

Revision history for this message
Luis Suárez (luiscsuarez-gmail) wrote : Re: [Bug 134146] Re: Intel HDA sound broken on kernel 2.6.22-10.30

In gentoo and most of other distributions.

El jue, 01-11-2007 a las 15:29 +0000, Greg Toombs escribió:
> In gentoo, I meant to say.
>

Revision history for this message
mccubbin.t (mccubbin-t) wrote :

I guess this bug is most similar to what i am experiencing. I have an HP dv6500t and gutsy installed. No sound.

Revision history for this message
Anish Bhatt (anish7) wrote :

Downloading and recompiling ALSA from source solves the problem. Just move the original snd-hda-intel module from /lib/modules/<kernel>/ubuntu/media/snd-hda-intel to somewhere else to avoid a conflict. Get alsa-driver, alsa-lib and alsa-utils.

Revision history for this message
ntt (ntt) wrote :

Confirmed, with your audio chip (same I have on my HP DV6560-EL) you need ALSA v1.0.15 or newer.

I found this Ubuntu page to be useful in installing the new ALSA driver by hand:

https://help.ubuntu.com/community/HdaIntelSoundHowto

It will take you just 5 minutes to compile and install the new ALSA driver, and rest assured your sound chip _will_ work afterwards, as mine does now.

give it a try.

To post a comment you must log in.