linux - on pin configuration in ALSA

06
2014-04
  • jj_p

    I seek explanation for a strange behavior: as my codec dump can testify, I have speakers on pin 0x14 and HP on 0x15 (and, possibly, ext MIC at 0x18 and int MIC at 0x19), then why does the command

    sudo hda-verb /dev/snd/hwC0D0 0x18 SET_PIN_WIDGET_CONTROL 0
    

    mute my machine and

    sudo hda-verb /dev/snd/hwC0D0 0x18 SET_PIN_WIDGET_CONTROL 1
    

    restore sound?

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    linux - Alsa Headers not found in Ubuntu 9.04
  • Sunny Shah.

    I want to run my programs which I was running in Fedora core 6 which uses alsa apis, In FC6 I had alsa headers in /usr/include/alsa folder. In Ubuntu 9.04, I search whole file system but cant find alsa headers like asoundlib, asoundef.h, input.h, output.h, etc.

    Please tell me how can I get it?

    Answer,

    do

    sudo aptitude install libasound2-dev 


  • Related Answers
  • RageZ

    I would say do a

    sudo aptitude install libasound2-dev