[alsa-devel] Major reworks on patch_via.c (TESTERS WANTED)

Raymond Yau superquad.vortex2 at gmail.com
Tue Jul 5 11:20:38 CEST 2011


2011/7/5 Takashi Iwai <tiwai at suse.de>:
> At Mon, 4 Jul 2011 21:37:46 +0200,
> Jan Binder wrote:
>
>> * Independent HP worked, when I could turn it on in alsamixer and correctly
>> produced sound with aplay -Dhw:0,2,0 . I could not always reliably enable
>> Independent HP in alsamixer, sometimes it would not change status ans aplay
>> claimed that hw:0,2,0 was busy.
>
> This is intentional.  The switching is racy, so it can't be changed
> safely when the multi-channel PCM is opened/used.
>
>> * Headphone automute (muting rear line out when headphones are plugged in, if
>> I understand correctly) does not seem to work in any setting.
>
> See above.
>

The second ADC can only be connected to Mic at Front Panel ,

It seem that this is a prefect candidate to create device 2 for this
ADC instead of subdevice 1 so that user can use device 2 for the front
panel hp and mic



Node 0x14 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1
  Amp-In vals:  [0x00 0x00]
  Converter: stream=2, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xa]: 16 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x1e


Node 0x1e [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00002334: IN OUT Detect
    Vref caps: HIZ 50 100
  Pin Default 0x02a19038: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x3, Sequence = 0x8
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=20, enabled=1
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x27



APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT1708B 8-Ch Analog [VT1708B 8-Ch Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: VT1708B 8-Ch Digital [VT1708B 8-Ch Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: VT1708B 8-Ch HP [VT1708B 8-Ch HP]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT1708B 8-Ch Analog [VT1708B 8-Ch Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1


More information about the Alsa-devel mailing list