Re: Keep internal PC speaker output with snd_hda_intel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon-2009/08/17-00:36 Jan Ploski wrote:

> I find it hard to believe that Alsa has no control of where this
> specific beep goes when the module is loaded or over its exact volume
> (I've seen in the source code that the played frequency is generated
> by the driver so why not volume?)

I have the same problem:  I want sound by headphone and beeps by beeper,
but disabling CONFIG_SND_HDA_INPUT_BEEP saved me.

well, intel HDA has a concept of routing sound sources through a number
of components and mixers to certain colored jacks.

you might search OUR FAVOURITE SEARCH-ENGINE for "/sys/class/sound/
user_pin_configs", and please report back any findings regarding the
format to use given a users preferred routing!

I have only:

  $ egrep -Hi . /sys/class/sound/hwC0D0/*pin_conf*
  /sys/class/sound/hwC0D0/init_pin_configs:0x14 0x01014410
  /sys/class/sound/hwC0D0/init_pin_configs:0x15 0x01011412
  /sys/class/sound/hwC0D0/init_pin_configs:0x16 0x01016411
  /sys/class/sound/hwC0D0/init_pin_configs:0x17 0x01012414
  /sys/class/sound/hwC0D0/init_pin_configs:0x18 0x01a19c40
  /sys/class/sound/hwC0D0/init_pin_configs:0x19 0x02a19c50
  /sys/class/sound/hwC0D0/init_pin_configs:0x1a 0x01813441
  /sys/class/sound/hwC0D0/init_pin_configs:0x1b 0x02214c20
  /sys/class/sound/hwC0D0/init_pin_configs:0x1c 0x9933014f
  /sys/class/sound/hwC0D0/init_pin_configs:0x1d 0x411111f0
  /sys/class/sound/hwC0D0/init_pin_configs:0x1e 0x99430130
  /sys/class/sound/hwC0D0/init_pin_configs:0x1f 0x99c30160

but the files:

  /sys/class/sound/hwC0D0/driver_pin_configs
  /sys/class/sound/hwC0D0/init_pin_configs
  /sys/class/sound/hwC0D0/user_pin_configs

are also present.  "init_pin_configs" are set by the BIOS at startup.
maybe there should be _much more_ documentation available as to what to
put into user_pin_configs, but a little is there.  look into[1] or the
equivalent path into your kernel docs:

  "
  For example, when you want to change the pin default configuration
  value of the pin widget 0x14 to 0x9993013f, and let the driver
  re-configure based on that state, run like below:
  ------------------------------------------------------------------------
    # echo 0x14 0x9993013f > /sys/class/sound/hwC0D0/user_pin_configs
    # echo 1 > /sys/class/sound/hwC0D0/reconfig
  ------------------------------------------------------------------------
  "

[1] /usr/src/linux-2.6.30.4/Documentation/sound/alsa/HD-Audio.txt


clemens


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux