Bug 43180 (ALSA) - Lost Tuba CineBass booster.
Summary: Lost Tuba CineBass booster.
Status: CLOSED CODE_FIX
Alias: ALSA
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-29 22:30 UTC by l'enfant terrible
Modified: 2019-03-28 13:54 UTC (History)
4 users (show)

See Also:
Kernel Version: 3.3.3
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
"alc882_quirks" and "patch_realtek" pathes (2.44 KB, application/zip)
2012-04-29 22:32 UTC, l'enfant terrible
Details
fixed patches (2.75 KB, application/zip)
2012-05-03 15:52 UTC, l'enfant terrible
Details
alsa-info and patch_realtek (2.75 KB, application/zip)
2012-05-06 14:11 UTC, l'enfant terrible
Details
alsa-info output (7.18 KB, application/zip)
2012-05-07 09:30 UTC, l'enfant terrible
Details
The fix patch committed to sound git tree (1.25 KB, patch)
2012-05-07 09:39 UTC, Takashi Iwai
Details | Diff

Description l'enfant terrible 2012-04-29 22:30:18 UTC
I have Acer Aspire 5739g and after upgrade kernel to version 3.3.1 (not sure) sound lost low frequencies. On kernel 3.0.30 all works fine. After viewing the source code, to solve this problem, I wrote a patches (look attachments), they work for my Acer Aspire 5739g with:

options snd-hda-intel model=acer-aspire-6530g
options snd-hda-intel enable_msi=1

in modprobe.conf and must work for Acer Aspire 6530g.  
Maybe there's an easier way to get sound to work?
Comment 1 l'enfant terrible 2012-04-29 22:32:27 UTC
Created attachment 73124 [details]
"alc882_quirks" and "patch_realtek" pathes
Comment 2 l'enfant terrible 2012-05-01 17:49:12 UTC
Also, I found, that with my patches, if I connect the headphones, the sound keeps going from speakers too. Without patches this problem is not observed.
Comment 3 l'enfant terrible 2012-05-03 15:52:15 UTC
Created attachment 73165 [details]
fixed patches
Comment 4 l'enfant terrible 2012-05-03 15:59:07 UTC
i fix problem with headphones (look new attachment), but in patch_realtel.c i had to slightly modify two functions, so i do not know how this will affect the work of other models.
Comment 5 Takashi Iwai 2012-05-05 12:20:33 UTC
Please give alsa-info.sh output (run with --no-upload option) and attach the output to here.  Also, try the latest 3.4-rc kernel.  There have been lots of changes for Realtek codecs, especially about the Acer Aspire machines, thus there may be no big merit to debug 3.3 kernels.

If 3.4-rc kernel doesn't work, check whether alc882_fixup_tbl[] in patch_realtek.c contains the PCI SSID of your machine.  If not, try to add an appropriate one.
Comment 6 l'enfant terrible 2012-05-06 14:08:31 UTC
Thank for reply and for useful advices! I try 3.4 kernel, but in comparison with the 3.3 version, nothing has changed. Then I add SND_PCI_QUIRK(0x1025, 0x021e, "Acer Aspire 5739G", ALC882_FIXUP_ACER_ASPIRE_4930G) in alc882_fixup_tbl[] (kernel 3.3) and it worked! Now my modprobe.conf contain only "options snd-hda-intel model=auto". In the attached archive patch and alsa-info.sh output.
Comment 7 l'enfant terrible 2012-05-06 14:11:09 UTC
Created attachment 73212 [details]
alsa-info and patch_realtek
Comment 8 Takashi Iwai 2012-05-07 08:06:06 UTC
(In reply to comment #6)
> Thank for reply and for useful advices! I try 3.4 kernel, but in comparison
> with the 3.3 version, nothing has changed. Then I add SND_PCI_QUIRK(0x1025,
> 0x021e, "Acer Aspire 5739G", ALC882_FIXUP_ACER_ASPIRE_4930G) in
> alc882_fixup_tbl[] (kernel 3.3) and it worked! Now my modprobe.conf contain
> only "options snd-hda-intel model=auto".

OK, good to hear.  I'll cook up the fix patch and try to push to 3.4 kernel.

> In the attached archive patch and alsa-info.sh output.

The attachment in comment 7 doesn't contain alsa-info.sh output.  A wrong file attached?
Comment 9 l'enfant terrible 2012-05-07 09:30:57 UTC
Created attachment 73215 [details]
alsa-info output

Oops, my fault, I apologize. Now attach the correct file.
Comment 10 Takashi Iwai 2012-05-07 09:38:40 UTC
Thanks.  I already added the fix to sound git tree as attached below.
Comment 11 Takashi Iwai 2012-05-07 09:39:17 UTC
Created attachment 73216 [details]
The fix patch committed to sound git tree
Comment 12 Florian Mickler 2012-05-17 11:52:55 UTC
A patch referencing this bug report has been merged in Linux v3.4-rc7:

commit f5c53d898cc34079373c63a290528963db31d681
Author: Takashi Iwai <tiwai@suse.de>
Date:   Mon May 7 10:07:33 2012 +0200

    ALSA: hda/realtek - Add a fixup for Acer Aspire 5739G

Note You need to log in before you can comment on or make changes to this bug.