Page 23 of 29 FirstFirst ... 132122232425 ... LastLast
Results 221 to 230 of 281

Thread: snd_hda_intel options database

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

    Re: snd_hda_intel options database

    Quote Originally Posted by oooh View Post
    options snd-hda-intel model=sony

    Works for me, on Sony Vaio FZ21M, with a Nvidia GForce800M

    However, HDMI DOES NOT WORK !!

    Code:
    aplay -l
    **** Lista de PLAYBACK dispositivos hardware ****
    tarjeta 0: Intel [HDA Intel], dispositivo 0: STAC92xx Analog [STAC92xx Analog]
      Subdispositivos: 1/1
      Subdispositivo #0: subdevice #0
    Any idea what could be wrong ? I have the latest Nvidia 260 from the Nvidia website
    Have a look at this thread and ask questions over there:
    http://ubuntuforums.org/showthread.php?t=1552250

  2. #222
    Join Date
    May 2011
    Beans
    1

    problem with my lenovo z560

    hi friends,

    i have problem with my lenovo z560. Both the headphone and internal speaker play at the same time. I have tried everything posted in the forum.

    my alsa.base conf file is as follows


    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++
    # autoloader aliases
    install sound-slot-0 /sbin/modprobe snd-card-0
    install sound-slot-1 /sbin/modprobe snd-card-1
    install sound-slot-2 /sbin/modprobe snd-card-2
    install sound-slot-3 /sbin/modprobe snd-card-3
    install sound-slot-4 /sbin/modprobe snd-card-4
    install sound-slot-5 /sbin/modprobe snd-card-5
    install sound-slot-6 /sbin/modprobe snd-card-6
    install sound-slot-7 /sbin/modprobe snd-card-7

    # Cause optional modules to be loaded above generic modules
    install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
    #
    # Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
    install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
    install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
    install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
    #
    install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
    # Cause optional modules to be loaded above sound card driver modules
    install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
    install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

    # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
    install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
    # Prevent abnormal drivers from grabbing index 0
    options bt87x index=-2
    options cx88_alsa index=-2
    options saa7134-alsa index=-2
    options snd-atiixp-modem index=-2
    options snd-intel8x0m index=-2
    options snd-via82xx-modem index=-2
    options snd-usb-audio index=-2
    options snd-usb-us122l index=-2
    options snd-usb-usx2y index=-2
    options snd-usb-caiaq index=-2
    # Ubuntu #62691, enable MPU for snd-cmipci
    options snd-cmipci mpu_port=0x330 fm_port=0x388
    # Keep snd-pcsp from being loaded as first soundcard
    options snd-pcsp index=-2
    options snd-hda-intel model=20060 enable=1 index=0
    options snd-hda-intel enable_msi=1
    #options snd-hda-intel model=laptop
    #options snd-hda-intel model=lenovo
    #options snd-hda-intel model=thinkpad
    #options snd-hda-intel probe_mask=1

    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++

    please help me to get the problem solved.

    with regards,


    rr

  3. #223
    Join Date
    Jun 2008
    Beans
    57

    Re: problem with my lenovo z560

    Let me know if you ever find the fix cause I have the same notebook and the exact same problem

    Thanks

    Quote Originally Posted by rrklinux View Post
    hi friends,

    i have problem with my lenovo z560. Both the headphone and internal speaker play at the same time. I have tried everything posted in the forum.

    my alsa.base conf file is as follows


    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++
    # autoloader aliases
    install sound-slot-0 /sbin/modprobe snd-card-0
    install sound-slot-1 /sbin/modprobe snd-card-1
    install sound-slot-2 /sbin/modprobe snd-card-2
    install sound-slot-3 /sbin/modprobe snd-card-3
    install sound-slot-4 /sbin/modprobe snd-card-4
    install sound-slot-5 /sbin/modprobe snd-card-5
    install sound-slot-6 /sbin/modprobe snd-card-6
    install sound-slot-7 /sbin/modprobe snd-card-7

    # Cause optional modules to be loaded above generic modules
    install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
    #
    # Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
    install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
    install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
    install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
    #
    install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
    # Cause optional modules to be loaded above sound card driver modules
    install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
    install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

    # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
    install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
    # Prevent abnormal drivers from grabbing index 0
    options bt87x index=-2
    options cx88_alsa index=-2
    options saa7134-alsa index=-2
    options snd-atiixp-modem index=-2
    options snd-intel8x0m index=-2
    options snd-via82xx-modem index=-2
    options snd-usb-audio index=-2
    options snd-usb-us122l index=-2
    options snd-usb-usx2y index=-2
    options snd-usb-caiaq index=-2
    # Ubuntu #62691, enable MPU for snd-cmipci
    options snd-cmipci mpu_port=0x330 fm_port=0x388
    # Keep snd-pcsp from being loaded as first soundcard
    options snd-pcsp index=-2
    options snd-hda-intel model=20060 enable=1 index=0
    options snd-hda-intel enable_msi=1
    #options snd-hda-intel model=laptop
    #options snd-hda-intel model=lenovo
    #options snd-hda-intel model=thinkpad
    #options snd-hda-intel probe_mask=1

    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++

    please help me to get the problem solved.

    with regards,


    rr

  4. #224
    Join Date
    May 2011
    Beans
    2

    Re: snd_hda_intel options database

    Gateway ID49C13u

    options snd-hda-intel model=thinkpad

    works for headphone jack

  5. #225
    Join Date
    May 2011
    Beans
    12

    Re: snd_hda_intel options database

    Quote Originally Posted by the_guv View Post
    hey shinjimx .. tx to you, i now have ACDC rocking my sys!



    couple things tho .. for some folks, i think jaunty up

    you may need to use "alsa-base.conf", rather than "alsa-base"

    dunno if it's me or my setup, somehow, but for me it worked with hyphens rather than underscores, so i made that ..

    options snd-hda-intel-model=hp-dv5

    er, dunno about Metallica, mind call me old-fashioned.
    anyone know the code for fujitsu u810?
    i try many seem not work well..

    thanks

    i only try

    "
    options snd-hda-intel model=hp

    "

    do it need add "options snd-hda-intel enable_msi=1"
    what does it code use for?
    thanks

  6. #226
    Join Date
    May 2011
    Beans
    1

    Wink Re: snd_hda_intel options database

    These entries / knowledge were found elsewhere, unfortunately I don't know who to credit but considering how hard it was for me to find them I think it's worth posting here to save others grief.

    CLEVO P170HM / Origin PC EON-17S / also sager and ayva direct models based on Clevo p170HM
    Sound based on Realtek ALC892 running under HDA Intel PCH codec

    If you are having trouble with headphone not turning speakers off the laptop has built in function hit "fn + 5" not F5 . This toggles the laptop speaker mode ( I bought it for development but apparently it has like 5 speakers plus a subwoofer built into it) - I find it best to leave Pulse on Internal Audio Analog Stereo, Port "Analog Speakers" . Then plug a head phone in and play something. If you hear sound hit "fn + 5" - that should switch it to headphone only. after that plugging /unplugging the headphones works properly.


    If you are dealing with HDMI audio issues the other poster found adding this line to alsa-base.conf caused aplay -l to stop showing 4 or 5 hdmi sound devices and reduced it down to 1 which seems to work for them. options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2

    He's not quite sure why and I would be interested in any tweaks anyone comes up with to refine either of these things.

  7. #227
    Join Date
    Aug 2010
    Beans
    2

    Re: snd_hda_intel options database

    I have a Toshiba Satellite L655-S5061 laptop and my headphones and microphone didn't work until I used the following:

    options snd-hda-intel model=ideapad

  8. #228
    Join Date
    Jan 2010
    Beans
    27

    Re: Samsung R40 (R40Plus) microphone

    Hi all!
    Samsung R40plus finally works fine with microphone under Ubuntu 10.10
    sudo gedit /etc/modprobe.d/alsa-base
    #add following line to the bottom of this file
    option snd-hda-intel model=laptop
    I've been searching for solution for a weeks, even recompiled alsa for another driver, but it's obvious and better solution
    Have a nice day!

  9. #229
    Join Date
    Oct 2006
    Beans
    8

    Talking Re: snd_hda_intel options database

    You're my new God .. Thanks a million !

    Quote Originally Posted by xtrman View Post
    For the Conexant 5069 card I have found a way to mute the internal speakers.
    Download hda-verb from ftp://ftp.suse.com/pub/people/tiwai/...erb-0.3.tar.gz.
    Then execute
    Code:
    sudo hda-verb /dev/snd/hwC0D0 0x1f 0x701 1
    to turn the internal speakers off and
    Code:
    sudo hda-verb /dev/snd/hwC0D0 0x1f 0x701 0
    to turn them on again.

    I have also filed a bug report upstream on this.

    Edit: I have now created a daemon to automattically mute and unmute the internal speakers when headphones are plugged in and removed.
    Program:
    Code:
    /* 
     * File:   main.cpp
     * Author: xtr
     *
     * Created on April 26, 2010, 5:26 PM
     */
    
    #include <stdio.h>
    #include <stdlib.h>
    #include <ctype.h>
    #include <unistd.h>
    #include <sys/ioctl.h>
    #include <sys/io.h>
    #include <sys/types.h>
    #include <sys/fcntl.h>
    #include <syslog.h>
    #include <signal.h>
    
    #include <stdint.h>
    typedef uint8_t u8;
    typedef uint16_t u16;
    typedef uint32_t u32;
    typedef uint64_t u64;
    
    #define HDA_VERB(nid,verb,param)    ((nid)<<24 | (verb)<<8 | (param))
    #define HDA_IOCTL_VERB_WRITE        _IOWR('H', 0x11, struct hda_verb_ioctl)
    
    struct hda_verb_ioctl {
        u32 verb;    /* HDA_VERB() */
        u32 res;    /* response */
    };
    
    void daemonize()
    {
        pid_t pid, sid;
    
        /* Fork off the parent process */
        pid = fork();
        if (pid < 0) {
                exit(EXIT_FAILURE);
        }
        /* If we got a good PID, then
           we can exit the parent process. */
        if (pid > 0) {
                exit(EXIT_SUCCESS);
        }
    
        /* Change the file mode mask */
        umask(0);
    
        /* Open any logs here */
        openlog("pinsensed", LOG_PID, LOG_DAEMON);
        /* Create a new SID for the child process */
        sid = setsid();
        if (sid < 0) {
                /* Log any failure here */
                exit(EXIT_FAILURE);
        }
    
        /* Change the current working directory */
        if ((chdir("/")) < 0) {
                /* Log any failure here */
                exit(EXIT_FAILURE);
        }
    
    
        /* Close out the standard file descriptors */
        close(STDIN_FILENO);
        close(STDOUT_FILENO);
        close(STDERR_FILENO);
    
    }
    
    bool done = false;
    
    void trpsig(int)
    {
        done = true;
    }
    
    int main(int argc, char** argv) {
        daemonize();
        signal(SIGTERM, &trpsig);
    
        int fd, state;
        struct hda_verb_ioctl val;
        syslog(LOG_INFO, "Daemon started.");
        fd = open("/dev/snd/hwC0D0", O_RDWR);
        if (fd < 0) {
            syslog(LOG_ERR, "Failed to open snd device.");
                exit(EXIT_FAILURE);
        }
        val.verb = HDA_VERB(0x19, 0x0f09, 0x0);
            if (ioctl(fd, HDA_IOCTL_VERB_WRITE, &val) < 0)
                syslog(LOG_ERR, "Failed to write hda verb.");
        state = val.res >> 31;
        syslog(LOG_INFO, "Starting input value: %0x", state);
        while(!done)
        {
            sleep(1);
            val.verb = HDA_VERB(0x19, 0x0f09, 0x0);
            if (ioctl(fd, HDA_IOCTL_VERB_WRITE, &val) < 0)
                syslog(LOG_ERR, "Failed to write hda verb.");
    
            if(state != (val.res >> 31))
            {
                state = (val.res >> 31);
                syslog(LOG_INFO, "New input value: %0x", state);
                if(state == 0x1)
                    val.verb = HDA_VERB(0x1f, 0x701, 0x1);
                else
                    val.verb = HDA_VERB(0x1f, 0x701, 0x0);
                if (ioctl(fd, HDA_IOCTL_VERB_WRITE, &val) < 0)
                    syslog(LOG_ERR, "Failed to write hda verb.");
            }
        }
        close(fd);
        syslog(LOG_INFO, "Daemon stopped.");
        exit(EXIT_SUCCESS);
    }
    Compile with g++ main.cpp -o pinsensed
    Run with sudo ./pinsensed

  10. #230
    Join Date
    Jul 2006
    Location
    UK
    Beans
    23
    Distro
    Kubuntu 11.04 Natty Narwhal

    Lightbulb Lenovo G470

    Thought this might help somebody else out there.
    The mic on my Lenovo G470 worked perfectly under Win7, but was totally silent under K/Ubuntu 11.04.

    Adding the following line to the bottom of my /etc/modprobe.d/alsa-base.conf did the trick.

    Code:
    #Load proper sound driver (mic fix)
    options snd-hda-intel model=laptop position_fix=1 enable=yes
    UPD
    This fixes only the mic problem. Moreover, position_fix=1 enable=yes doesn't seem to have any influence on it. Unfortunately, this fix does not make the headphones jack work. Changing model=laptop to model=ideapad fixes the headphones, but screws the mic.
    Still looking for a solution.

    cat /proc/asound/card0/codec* | grep Codec outputs Conexant CX20590 (which appears to be more widely known as CX506e, closely related to CX5066)

    Cheers!
    Last edited by finomeno; September 7th, 2011 at 05:23 PM.

Page 23 of 29 FirstFirst ... 132122232425 ... 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
  •