Page 18 of 29 FirstFirst ... 8161718192028 ... LastLast
Results 171 to 180 of 281

Thread: snd_hda_intel options database

  1. #171
    Join Date
    Aug 2010
    Beans
    4

    Re: snd_hda_intel options database

    Quote Originally Posted by simosx View Post
    This is nice. What's missing is the PCI ID for the soundcard. You need to 'lspci -n' to find the PCI ID.

    Then, you can track in the Alsa source code and find the location where you can specify, for your PCI ID, that the quirk to enable is the 'quanta' quirk. In doing so, Ubuntu 10.10 will support your hardware out of the box. Also, other Linux users irrespective of distro will be able to use their same sound card.

    Some hints on what you need to do, http://simos.info/blog/archives/984
    If you manage to complete the task, it would be beneficial to report back.
    I was hoping to contribute to the opensource project for a long time,but i didn't konwn how the opensource development works,i am not that familiar with the opensource cummutity,all the bug tracking,irc channel and mailing list are new to me.In china,it is not that easy to start doing all this things,the English community evironment,and the people around you can teach you nothing about that.It is very appreciate that you can help me to learn all this stuff.

    OK,below is the result of
    Code:
    lspci -n
    :
    Code:
    00:00.0 0600: 8086:2a40 (rev 07)
    00:02.0 0300: 8086:2a42 (rev 07)
    00:02.1 0380: 8086:2a43 (rev 07)
    00:1a.0 0c03: 8086:2937 (rev 03)
    00:1a.1 0c03: 8086:2938 (rev 03)
    00:1a.2 0c03: 8086:2939 (rev 03)
    00:1a.7 0c03: 8086:293c (rev 03)
    00:1b.0 0403: 8086:293e (rev 03)
    00:1c.0 0604: 8086:2940 (rev 03)
    00:1c.1 0604: 8086:2942 (rev 03)
    00:1c.2 0604: 8086:2944 (rev 03)
    00:1c.3 0604: 8086:2946 (rev 03)
    00:1c.4 0604: 8086:2948 (rev 03)
    00:1c.5 0604: 8086:294a (rev 03)
    00:1d.0 0c03: 8086:2934 (rev 03)
    00:1d.1 0c03: 8086:2935 (rev 03)
    00:1d.2 0c03: 8086:2936 (rev 03)
    00:1d.7 0c03: 8086:293a (rev 03)
    00:1e.0 0604: 8086:2448 (rev 93)
    00:1f.0 0601: 8086:2919 (rev 03)
    00:1f.2 0106: 8086:2929 (rev 03)
    00:1f.3 0c05: 8086:2930 (rev 03)
    02:00.0 0880: 197b:2382
    02:00.2 0805: 197b:2381
    02:00.3 0880: 197b:2383
    02:00.4 0880: 197b:2384
    05:00.0 0280: 10ec:8172 (rev 10)
    08:00.0 0200: 10ec:8168 (rev 03)
    And according to
    Code:
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    ,i guess
    Code:
    00:1b.0 0403: 8086:293e (rev 03)
    is what you mean the PCI ID,especially
    Code:
    0403: 8086:293e
    ,is that right?

    Which alsa should i download ??
    Last edited by techlivezheng; August 23rd, 2010 at 05:42 PM.

  2. #172
    Join Date
    Aug 2010
    Beans
    4

    Re: snd_hda_intel options database

    Quote Originally Posted by simosx View Post
    This is nice. What's missing is the PCI ID for the soundcard. You need to 'lspci -n' to find the PCI ID.

    Then, you can track in the Alsa source code and find the location where you can specify, for your PCI ID, that the quirk to enable is the 'quanta' quirk. In doing so, Ubuntu 10.10 will support your hardware out of the box. Also, other Linux users irrespective of distro will be able to use their same sound card.

    Some hints on what you need to do, http://simos.info/blog/archives/984
    If you manage to complete the task, it would be beneficial to report back.
    Ok,Now,I cloned the alsa-kernel git repo,and add a patch just follow yours,please have a look.

    Code:
    diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
    index 6b00a23..10a720a 100644
    --- a/sound/pci/hda/patch_realtek.c
    +++ b/sound/pci/hda/patch_realtek.c
    @@ -14487,6 +14487,7 @@ static const char *alc269_models[ALC269_MODEL_LAST] = {
     
     static struct snd_pci_quirk alc269_cfg_tbl[] = {
            SND_PCI_QUIRK(0x17aa, 0x3bf8, "Quanta FL1", ALC269_QUANTA_FL1),
    +       SND_PCI_QUIRK(0x8086, 0x293e, "Lenovo Thinkpad SL410k 28428VC", ALC269_QUANTA_FL1),
            SND_PCI_QUIRK(0x1025, 0x047c, "ACER ZGA", ALC271_ACER),
            SND_PCI_QUIRK(0x1043, 0x8330, "ASUS Eeepc P703 P900A",
                          ALC269_AMIC),
    @@ -19359,6 +19360,7 @@ static int patch_alc680(struct hda_codec *codec)
      * patch entries
      */
     static struct hda_codec_preset snd_hda_preset_realtek[] = {
    +       { .id = 0x8086293e, .name = "ALC269", .patch = patch_alc269 },
            { .id = 0x10ec0260, .name = "ALC260", .patch = patch_alc260 },
            { .id = 0x10ec0262, .name = "ALC262", .patch = patch_alc262 },
            { .id = 0x10ec0267, .name = "ALC267", .patch = patch_alc268 },

  3. #173
    Join Date
    Apr 2009
    Beans
    4

    Re: snd_hda_intel options database

    Helpppppp Please!

    I have installed 10.4 lucid , my laptop is ACER ASPIRE 4930ZG
    Need configuration for the alsa.conf file , my internal mic is noisy
    and in Skype is dead.

    ehudama@yehudama-laptop:~$ aplay -l

    **** List of PLAYBACK Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
    Subdevices:1/1
    Subdevices: #0: subdevice #0
    card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
    Subdevices: 1/1
    Subdevices: #0: subdevice #0
    card 0: Intel [HDA Intel], device 3: NVIDIA HDMI [NVIDIA HDMI]
    Subdevices: 1/1
    Subdevices: #0: subdevice #0

    Try to put in alsa.conf file:

    options snd-hda-intel model=acer-aspire-4930g

    doesn't help much. any solution?

  4. #174
    Join Date
    Aug 2005
    Beans
    359

    Re: snd_hda_intel options database

    Quote Originally Posted by techlivezheng View Post
    I was hoping to contribute to the opensource project for a long time,but i didn't konwn how the opensource development works,i am not that familiar with the opensource cummutity,all the bug tracking,irc channel and mailing list are new to me.In china,it is not that easy to start doing all this things,the English community evironment,and the people around you can teach you nothing about that.It is very appreciate that you can help me to learn all this stuff.

    OK,below is the result of
    Code:
    lspci -n
    :
    Code:
    00:00.0 0600: 8086:2a40 (rev 07)
    00:02.0 0300: 8086:2a42 (rev 07)
    00:02.1 0380: 8086:2a43 (rev 07)
    00:1a.0 0c03: 8086:2937 (rev 03)
    00:1a.1 0c03: 8086:2938 (rev 03)
    00:1a.2 0c03: 8086:2939 (rev 03)
    00:1a.7 0c03: 8086:293c (rev 03)
    00:1b.0 0403: 8086:293e (rev 03)
    00:1c.0 0604: 8086:2940 (rev 03)
    00:1c.1 0604: 8086:2942 (rev 03)
    00:1c.2 0604: 8086:2944 (rev 03)
    00:1c.3 0604: 8086:2946 (rev 03)
    00:1c.4 0604: 8086:2948 (rev 03)
    00:1c.5 0604: 8086:294a (rev 03)
    00:1d.0 0c03: 8086:2934 (rev 03)
    00:1d.1 0c03: 8086:2935 (rev 03)
    00:1d.2 0c03: 8086:2936 (rev 03)
    00:1d.7 0c03: 8086:293a (rev 03)
    00:1e.0 0604: 8086:2448 (rev 93)
    00:1f.0 0601: 8086:2919 (rev 03)
    00:1f.2 0106: 8086:2929 (rev 03)
    00:1f.3 0c05: 8086:2930 (rev 03)
    02:00.0 0880: 197b:2382
    02:00.2 0805: 197b:2381
    02:00.3 0880: 197b:2383
    02:00.4 0880: 197b:2384
    05:00.0 0280: 10ec:8172 (rev 10)
    08:00.0 0200: 10ec:8168 (rev 03)
    And according to
    Code:
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    ,i guess
    Code:
    00:1b.0 0403: 8086:293e (rev 03)
    is what you mean the PCI ID,especially
    Code:
    0403: 8086:293e
    ,is that right?

    Which alsa should i download ??
    (yep, you got the correct PCI ID).

    What you need to do is be able to test any changes before you send them to the Alsa project.

    1. For this, you need to build the latest (snapshot) Alsa using the instructions at http://ubuntuforums.org/showthread.php?p=6589810
    Thus, the first step is to build the latest Alsa and confirm that it works.

    2. Then, remove the 'model=quanta' line from the configuration file in /etc/ and restart your computer.

    3. Verify that with the latest Alsa the problem actually exists, thus you need to fix.

    I prefer to

    wget www.alsa-project.org/alsa-info.sh -O alsa-info.sh && bash alsa-info.sh


    Then, I save the output when prompted. You can verify from the output which version of alsa driver-kernel, alsa lib and alsa utils you have.

    4. Now locate the file 'patch_realtek.c'. It should be in a alsa-kernel/pci/hda/ subfolder, and it's about 600KB.

    (just noticed you already replied with patch. sending this message and reading your reply)

  5. #175
    Join Date
    Aug 2005
    Beans
    359

    Re: snd_hda_intel options database

    Quote Originally Posted by techlivezheng View Post
    Ok,Now,I cloned the alsa-kernel git repo,and add a patch just follow yours,please have a look.

    Code:
    diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
    index 6b00a23..10a720a 100644
    --- a/sound/pci/hda/patch_realtek.c
    +++ b/sound/pci/hda/patch_realtek.c
    @@ -14487,6 +14487,7 @@ static const char *alc269_models[ALC269_MODEL_LAST] = {
     
     static struct snd_pci_quirk alc269_cfg_tbl[] = {
            SND_PCI_QUIRK(0x17aa, 0x3bf8, "Quanta FL1", ALC269_QUANTA_FL1),
    +       SND_PCI_QUIRK(0x8086, 0x293e, "Lenovo Thinkpad SL410k 28428VC", ALC269_QUANTA_FL1),
            SND_PCI_QUIRK(0x1025, 0x047c, "ACER ZGA", ALC271_ACER),
            SND_PCI_QUIRK(0x1043, 0x8330, "ASUS Eeepc P703 P900A",
                          ALC269_AMIC),
    @@ -19359,6 +19360,7 @@ static int patch_alc680(struct hda_codec *codec)
      * patch entries
      */
     static struct hda_codec_preset snd_hda_preset_realtek[] = {
    +       { .id = 0x8086293e, .name = "ALC269", .patch = patch_alc269 },
            { .id = 0x10ec0260, .name = "ALC260", .patch = patch_alc260 },
            { .id = 0x10ec0262, .name = "ALC262", .patch = patch_alc262 },
            { .id = 0x10ec0267, .name = "ALC267", .patch = patch_alc268 },
    That looks great to me. Follow my previous steps so that you compile and test these changes. You need to restart Alsa (either reboot or sudo /sbin/alsa force-reload) and get it to detect your soundcard without having the 'model=quanta' hint. Once your patch achieves this, then you can post to the alsa-devel mailing list for the developer to include in Alsa.

  6. #176
    Join Date
    Aug 2010
    Beans
    3

    Re: snd_hda_intel options database

    Hello new to the forums and Ubuntu. I installed Ubuntu 10.04 over the weekend and do not have any sound. I have been scouring the forums this thread as well as http://ubuntuforums.org/showthread.p...ght=intel+ich9 i followed the instructions and nothing really came of it. in fact now when i try the system testing it seems to hang up. Really though the instructions in the above post would help since the model of laptop is that same MSI 6275. Any suggestions on how to determine the correct settings for my sound card or is a trial and error process. Any help would be greatly appreciated

  7. #177
    Join Date
    Aug 2005
    Beans
    359

    Re: snd_hda_intel options database

    Quote Originally Posted by Aegiusfang View Post
    Hello new to the forums and Ubuntu. I installed Ubuntu 10.04 over the weekend and do not have any sound. I have been scouring the forums this thread as well as http://ubuntuforums.org/showthread.p...ght=intel+ich9 i followed the instructions and nothing really came of it. in fact now when i try the system testing it seems to hang up. Really though the instructions in the above post would help since the model of laptop is that same MSI 6275. Any suggestions on how to determine the correct settings for my sound card or is a trial and error process. Any help would be greatly appreciated
    Read the last posts in this thread. It helps if you can produce the 'alsa-info.sh' output. The information 'intel ich9' is not descriptive enough to warrant advice. The alsa-info.sh output is better. Once you have that, read the first post in this thread on the process of trying out different models. Finally, once you find a model (assuming it exists), help in informing the ALSA developers so that Ubuntu 10.10 supports your laptop out of the box.

  8. #178
    Join Date
    Aug 2010
    Beans
    3

    Re: snd_hda_intel options database

    I tried following the directions for taking a snapshot in step one above however I wasn't able to download the files in order to compile and install them. I then proceeded to use the wget command which produced 2 files:

    alsa-info.sh

    --2010-08-24 16:17:48-- http://www.alsa-project.org/alsa-info.sh
    Resolving www.alsa-project.org... 212.20.107.51
    Connecting to www.alsa-project.org|212.20.107.51|:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://git.alsa-project.org/?p=alsa-...s/alsa-info.sh [following]
    --2010-08-24 16:17:56-- http://git.alsa-project.org/?p=alsa-...s/alsa-info.sh
    Resolving git.alsa-project.org... 212.20.107.51
    Reusing existing connection to www.alsa-project.org:80.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [text/plain]
    Saving to: `index.html?p=alsa-driver.git;a=blob_plain;f=utils%2Falsa-info.sh'

    0K .......... .......... ...... 22.2K=1.2s

    2010-08-24 16:17:58 (22.2 KB/s) - `index.html?p=alsa-driver.git;a=blob_plain;f=utils%2Falsa-info.sh' saved [27026]



    index.html?p=alsa-driver.git;a=blob_plain;f=utils%2Falsa-info.sh
    Edit: Removed details of this file as they were extremely long.

    I am not sure but the second file looks like the script i was asked to download.
    As to getting more information I am not sure if lspci -v command will give additional info:

    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    Subsystem: Micro-Star International Co., Ltd. Device 6740
    Flags: bus master, fast devsel, latency 0, IRQ 22
    Memory at fdef8000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: HDA Intel
    Kernel modules: snd-hda-intel

    Also the command aplay -l gives:

    card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: Intel [HDA Intel], device 1: ALC1200 Digital [ALC1200 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0


    I am not sure if this information is of any help. If not I would appreciate help in resolving the inability to download the alsa snapshot files. I did record a log file for that but have not included it here.
    Last edited by Aegiusfang; August 24th, 2010 at 10:00 PM.

  9. #179
    Join Date
    Feb 2008
    Beans
    5,026
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: snd_hda_intel options database

    My computer is an HP G62 laptop, with 3 GB of memory, 320 GB hard drive, and AMD Athlon(tm) II P320 Dual-Core Processor. (The G62 is really a family of computers, thanks HP.)

    Lspci: Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)

    Aplay: card 0: SB [HDA ATI SB], device 0: ALC259 Analog [ALC259 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    Sound works nicely now.

    alsa-base.conf:
    options snd-hda-intel model=auto

    AND in Sound Preferences, select Output "connector," "analog speakers."

    Sound comes out of the speakers when there are no earphones plugged in, then out of the earphones when I plug them in.

    I'm running Lucid, 2.6.32-24-generic.

  10. #180
    Join Date
    May 2008
    Location
    Ohio, USA
    Beans
    6,905
    Distro
    Ubuntu Gnome 15.04 Vivid Vervet

    Re: snd_hda_intel options database

    Aegiusfang
    Try running this command in a terminal for 10.04 or later:
    Code:
    ubuntu-bug audio
    Reference the Ubuntu-Bug Audio link in my sig.

Page 18 of 29 FirstFirst ... 8161718192028 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •