All of lore.kernel.org
 help / color / mirror / Atom feed
* Acer Aspire 8920g / snd-hda-intel / ALC889
@ 2008-04-21 12:02 Andy Green
  2008-04-21 15:57 ` Takashi Iwai
  0 siblings, 1 reply; 15+ messages in thread
From: Andy Green @ 2008-04-21 12:02 UTC (permalink / raw)
  To: alsa-devel

Hi folks -

I have a new 8920g on Fedora development running 2.6.25 which has

$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.16rc2 (Thu Jan 31 
16:40:16 2008 UTC).

I get a decent looking set of alsa things in /proc/asound

$ cat /proc/asound/cards
  0 [Intel          ]: HDA-Intel - HDA Intel
                       HDA Intel at 0xfc300000 irq 22

and dmesg says that model=acer was selected reasonably enough.

I can play audio down the logical sound devices, including cat 
/dev/urandom > /dev/dsp and the interrupt count goes up in /proc/interrupts.

Alsamixer shows a bunch of things and I twiddled them all to no avail. 
There has never been even a click from the speakers or headphone jack on 
this machine.

At least three funnies on this machine:

1) It is confused if it has ALC889 or ALC883 in there

$ grep ALC /proc/asound/* -R
/proc/asound/card0/codec#0:Codec: Realtek ALC889    <==== 889
/proc/asound/card0/pcm2c/sub0/info:id: ALC883 Analog  <=== 883...
/proc/asound/card0/pcm2c/sub0/info:name: ALC883 Analog
/proc/asound/card0/pcm2c/info:id: ALC883 Analog
/proc/asound/card0/pcm2c/info:name: ALC883 Analog
/proc/asound/card0/pcm0c/sub0/info:id: ALC883 Analog
/proc/asound/card0/pcm0c/sub0/info:name: ALC883 Analog
/proc/asound/card0/pcm0c/info:id: ALC883 Analog
/proc/asound/card0/pcm0c/info:name: ALC883 Analog
/proc/asound/card0/pcm0p/sub0/info:id: ALC883 Analog
/proc/asound/card0/pcm0p/sub0/info:name: ALC883 Analog
/proc/asound/card0/pcm0p/info:id: ALC883 Analog
/proc/asound/card0/pcm0p/info:name: ALC883 Analog
/proc/asound/Intel/codec#0:Codec: Realtek ALC889    <=== 889
/proc/asound/Intel/pcm2c/sub0/info:id: ALC883 Analog
/proc/asound/Intel/pcm2c/sub0/info:name: ALC883 Analog
/proc/asound/Intel/pcm2c/info:id: ALC883 Analog
/proc/asound/Intel/pcm2c/info:name: ALC883 Analog
/proc/asound/Intel/pcm0c/sub0/info:id: ALC883 Analog
/proc/asound/Intel/pcm0c/sub0/info:name: ALC883 Analog
/proc/asound/Intel/pcm0c/info:id: ALC883 Analog
/proc/asound/Intel/pcm0c/info:name: ALC883 Analog
/proc/asound/Intel/pcm0p/sub0/info:id: ALC883 Analog
/proc/asound/Intel/pcm0p/sub0/info:name: ALC883 Analog
/proc/asound/Intel/pcm0p/info:id: ALC883 Analog
/proc/asound/Intel/pcm0p/info:name: ALC883 Analog
/proc/asound/oss/sndstat:0: ALC883 Analog (DUPLEX)
/proc/asound/oss/sndstat:0: Realtek ALC889
/proc/asound/pcm:00-02: ALC883 Analog : ALC883 Analog : capture 1
/proc/asound/pcm:00-00: ALC883 Analog : ALC883 Analog : playback 1 : 
capture 1

2) from dmesg

ALSA sound/pci/hda/hda_intel.c:1810: chipset global capabilities = 0x4401
ALSA sound/pci/hda/hda_intel.c:749: codec_mask = 0x3
ALSA sound/pci/hda/hda_codec.c:2211: hda_codec: model 'acer' is selected
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Headphone 
Playback Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Speaker Playback 
Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Mono Playback 
Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Line-Out Playback 
Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Speaker Playback 
Switch, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Mono Playback 
Switch, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave IEC958 Playback 
Switch, skipped

3) there is a funny embedded capacitive volume control thing on this 
device, whether it gates output by itself or is just a bunch of special 
keyboard keys, I dunno.

Any ideas, more information needed?

-Andy

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-04-21 12:02 Acer Aspire 8920g / snd-hda-intel / ALC889 Andy Green
@ 2008-04-21 15:57 ` Takashi Iwai
  2008-04-21 18:25   ` Andy Green
  0 siblings, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2008-04-21 15:57 UTC (permalink / raw)
  To: Andy Green; +Cc: alsa-devel

At Mon, 21 Apr 2008 13:02:40 +0100,
Andy Green wrote:
> 
> Hi folks -
> 
> I have a new 8920g on Fedora development running 2.6.25 which has
> 
> $ cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version 1.0.16rc2 (Thu Jan 31 
> 16:40:16 2008 UTC).
> 
> I get a decent looking set of alsa things in /proc/asound
> 
> $ cat /proc/asound/cards
>   0 [Intel          ]: HDA-Intel - HDA Intel
>                        HDA Intel at 0xfc300000 irq 22
> 
> and dmesg says that model=acer was selected reasonably enough.

First of all, do you need to pass model=acer at all?

> I can play audio down the logical sound devices, including cat 
> /dev/urandom > /dev/dsp and the interrupt count goes up in /proc/interrupts.
> 
> Alsamixer shows a bunch of things and I twiddled them all to no avail. 
> There has never been even a click from the speakers or headphone jack on 
> this machine.
> 
> At least three funnies on this machine:
> 
> 1) It is confused if it has ALC889 or ALC883 in there
> 
> $ grep ALC /proc/asound/* -R
> /proc/asound/card0/codec#0:Codec: Realtek ALC889    <==== 889
> /proc/asound/card0/pcm2c/sub0/info:id: ALC883 Analog  <=== 883...

This doesn't matter.  ALC889 is compatible with ALC883, and the driver
uses the same string inside.

> 2) from dmesg
> 
> ALSA sound/pci/hda/hda_intel.c:1810: chipset global capabilities = 0x4401
> ALSA sound/pci/hda/hda_intel.c:749: codec_mask = 0x3
> ALSA sound/pci/hda/hda_codec.c:2211: hda_codec: model 'acer' is selected
> ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Headphone 
> Playback Volume, skipped
> ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Speaker Playback 
> Volume, skipped
> ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Mono Playback 
> Volume, skipped
> ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Line-Out Playback 
> Volume, skipped
> ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Speaker Playback 
> Switch, skipped
> ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Mono Playback 
> Switch, skipped
> ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave IEC958 Playback 
> Switch, skipped
> 
> 3) there is a funny embedded capacitive volume control thing on this 
> device, whether it gates output by itself or is just a bunch of special 
> keyboard keys, I dunno.
> 
> Any ideas, more information needed?

alsa-info.sh (found in www.alsa-project.org debug page) would give
more detailed debug information.  Please show that output.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-04-21 15:57 ` Takashi Iwai
@ 2008-04-21 18:25   ` Andy Green
  2008-04-22 10:34     ` Takashi Iwai
  0 siblings, 1 reply; 15+ messages in thread
From: Andy Green @ 2008-04-21 18:25 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Somebody in the thread at some point said:

>> and dmesg says that model=acer was selected reasonably enough.
> 
> First of all, do you need to pass model=acer at all?

No, the auto thing detects it as acer and reports in dmesg that it has 
selected acer.  Currently I forced it anyway in /etc/modprobe.conf to 
acer as part of running around trying everything I could imagine.

>> 1) It is confused if it has ALC889 or ALC883 in there
>>
>> $ grep ALC /proc/asound/* -R
>> /proc/asound/card0/codec#0:Codec: Realtek ALC889    <==== 889
>> /proc/asound/card0/pcm2c/sub0/info:id: ALC883 Analog  <=== 883...
> 
> This doesn't matter.  ALC889 is compatible with ALC883, and the driver
> uses the same string inside.

OK.

> alsa-info.sh (found in www.alsa-project.org debug page) would give
> more detailed debug information.  Please show that output.

It is here:

http://pastebin.ca/992253

Thanks for taking an interest.

-Ady

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-04-21 18:25   ` Andy Green
@ 2008-04-22 10:34     ` Takashi Iwai
  2008-04-22 11:09       ` Andy Green
  0 siblings, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2008-04-22 10:34 UTC (permalink / raw)
  To: Andy Green; +Cc: alsa-devel

At Mon, 21 Apr 2008 19:25:42 +0100,
Andy Green wrote:
> 
> Somebody in the thread at some point said:
> 
> >> and dmesg says that model=acer was selected reasonably enough.
> > 
> > First of all, do you need to pass model=acer at all?
> 
> No, the auto thing detects it as acer and reports in dmesg that it has 
> selected acer.  Currently I forced it anyway in /etc/modprobe.conf to 
> acer as part of running around trying everything I could imagine.

I guess the correct model is rather acer-aspire.  Try it instead.

> >> 1) It is confused if it has ALC889 or ALC883 in there
> >>
> >> $ grep ALC /proc/asound/* -R
> >> /proc/asound/card0/codec#0:Codec: Realtek ALC889    <==== 889
> >> /proc/asound/card0/pcm2c/sub0/info:id: ALC883 Analog  <=== 883...
> > 
> > This doesn't matter.  ALC889 is compatible with ALC883, and the driver
> > uses the same string inside.
> 
> OK.
> 
> > alsa-info.sh (found in www.alsa-project.org debug page) would give
> > more detailed debug information.  Please show that output.
> 
> It is here:
> 
> http://pastebin.ca/992253

The setting looks OK otherwise.
BTW, it'd be better to show the contents in the post at the next
time.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-04-22 10:34     ` Takashi Iwai
@ 2008-04-22 11:09       ` Andy Green
  2008-04-22 11:20         ` Takashi Iwai
  0 siblings, 1 reply; 15+ messages in thread
From: Andy Green @ 2008-04-22 11:09 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 2014 bytes --]

Somebody in the thread at some point said:

Hi -

>> selected acer.  Currently I forced it anyway in /etc/modprobe.conf to 
>> acer as part of running around trying everything I could imagine.
> 
> I guess the correct model is rather acer-aspire.  Try it instead.

I did try this, it did change the alsamixer stuff a bit and made more 
complaints in dmesg, but didn't change the silence situation.

ALSA sound/pci/hda/hda_intel.c:1810: chipset global capabilities = 0x4401
ALSA sound/pci/hda/hda_intel.c:749: codec_mask = 0x3
ALSA sound/pci/hda/hda_codec.c:2211: hda_codec: model 'acer-aspire' is 
selected
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Surround Playback 
Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Center Playback 
Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave LFE Playback 
Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Side Playback 
Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Headphone 
Playback Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Speaker Playback 
Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Mono Playback 
Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Line-Out Playback 
Volume, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Surround Playback 
Switch, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Center Playback 
Switch, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave LFE Playback 
Switch, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Side Playback 
Switch, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Speaker Playback 
Switch, skipped
ALSA sound/pci/hda/hda_codec.c:1073: Cannot find slave Mono Playback 
Switch, skipped

>> http://pastebin.ca/992253
> 
> The setting looks OK otherwise.
> BTW, it'd be better to show the contents in the post at the next
> time.

Thanks, I took this advice.

-Andy

[-- Attachment #2: alsa-info.txt --]
[-- Type: text/plain, Size: 24518 bytes --]

name=agreen&type=33&description=/tmp/alsa-info.txt&expiry=&s=Submit+Post&content=
!!################################
!!ALSA Information Script v 0.4.41
!!################################

!!Script ran on: Tue Apr 22 12:02:29 BST 2008


!!Linux Distribution
!!------------------

Fedora release 8.93 (Rawhide) Fedora release 8.93 (Rawhide) Fedora release 8.93 (Rawhide) Fedora release 8.93 (Rawhide)


!!Kernel Information
!!------------------

Kernel release:    2.6.25-1.fc9.x86_64
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     1.0.16rc2
Library version:    1.0.16
Utilities version:  1.0.16


!!Loaded ALSA modules
!!-------------------

snd_hda_intel


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfc300000 irq 22


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)


!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:284b (rev 03)
	Subsystem: 1025:0145


!!Modprobe options (Sound related)
!!--------------------------------

snd-usb-audio: index=1
snd-hda-intel: index=0 model=acer-aspire


!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : 0
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
index : 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
model : acer-aspire,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
power_save : 0
power_save_controller : Y
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
single_cmd : N


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC889
Address: 0
Vendor Id: 0x10ec0889
Subsystem Id: 0x10250145
Revision Id: 0x100004
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0
Node 0x02 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=5, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=5, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=5, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x05 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=5, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=5, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x90 0x90]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x2e 0x2e]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x9d 0x9d]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x570]: 32000 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x1f 0x1f] [0x80 0x80] [0x1c 0x1c] [0x80 0x80] [0x80 0x80] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 10
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x33 0x33]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x05 0x0b
Node 0x10 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x11 [Pin Complex] wcaps 0x400300: Mono Digital
  Pincap 0x0810: OUT
  Pin Default 0x18561130: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x10
Node 0x12 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x99a3094e: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x4, Sequence = 0xe
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x081003c: IN OUT HP EAPD Detect
  EAPD 0x0:
  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=04, enabled=1
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x081003c: IN OUT HP EAPD Detect
  EAPD 0x0:
  Pin Default 0x0221101f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0834: IN OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0834: IN OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d 0x0e 0x0f* 0x26
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x02 0x02]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02a19c40: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d 0x0e 0x0f 0x26*
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d 0x0e 0x0f 0x26*
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02813441: [Jack] Line In at Ext Front
    Conn = 1/8, Color = Blue
    DefAssociation = 0x4, Sequence = 0x1
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c 0x0d 0x0e 0x0f 0x26*
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x08373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1c [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x0824: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x0820: IN
  Pin Default 0x4016852d: [N/A] Speaker at Ext N/A
    Conn = Digital, Color = Purple
    DefAssociation = 0x2, Sequence = 0xd
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
  Pincap 0x0810: OUT
  Pin Default 0x02451120: [Jack] SPDIF Out at Ext Front
    Conn = Optical, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400280: Mono Digital
  Pincap 0x0820: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=28
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 12
     0x18* 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b 0x12
Node 0x25 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x26 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x3e 0x3e]
  Connection: 2
     0x25 0x0b
Codec: Generic 11c1 ID 1040
Address: 1
Vendor Id: 0x11c11040
Subsystem Id: 0x10250145
Revision Id: 0x100200
Modem Function Group: 0x1
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root root 116, 10 2008-04-22 11:56 /dev/snd/controlC0
crw-rw----+ 1 root root 116,  9 2008-04-22 11:56 /dev/snd/hwC0D0
crw-rw----+ 1 root root 116,  8 2008-04-22 11:56 /dev/snd/hwC0D1
crw-rw----+ 1 root root 116,  7 2008-04-22 11:57 /dev/snd/pcmC0D0c
crw-rw----+ 1 root root 116,  6 2008-04-22 12:01 /dev/snd/pcmC0D0p
crw-rw----+ 1 root root 116,  5 2008-04-22 11:56 /dev/snd/pcmC0D1p
crw-rw----+ 1 root root 116,  4 2008-04-22 11:56 /dev/snd/pcmC0D2c
crw-rw----+ 1 root root 116,  3 2008-04-22 11:56 /dev/snd/seq
crw-rw----+ 1 root root 116,  2 2008-04-22 11:56 /dev/snd/timer


!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

#Generated by system-config-soundcard
#If you edit this file, don't run system-config-soundcard,
#all your changes here could be lost.
#SWCONF
#DEV 0
defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1


!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: ALC883 Analog [ALC883 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 225 [88%] [-6.00dB]
  Front Right: Playback 225 [88%] [-6.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 51 [80%] [-11.00dB] [on]
  Front Right: Playback 51 [80%] [-11.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 28 [90%] [7.50dB] [on]
  Front Right: Playback 28 [90%] [7.50dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 2 [67%]
  Front Right: 2 [67%]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 46 [100%] [30.00dB] [on]
  Front Right: Capture 46 [100%] [30.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 29 [63%] [13.00dB] [off]
  Front Right: Capture 29 [63%] [13.00dB] [off]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 104 [87%] [22.00dB]
  Front Right: Capture 104 [87%] [22.00dB]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Mic'


!!Alsactl output
!!-------------

--startcollapse--
state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 64'
		comment.dbmin -6200
		comment.dbmax 200
		iface MIXER
		name 'Front Playback Volume'
		value.0 51
		value.1 51
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Front Playback Switch'
		value.0 true
		value.1 true
	}
	control.3 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
	}
	control.4 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Line Playback Volume'
		value.0 28
		value.1 28
	}
	control.5 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Line Playback Switch'
		value.0 true
		value.1 true
	}
	control.6 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 31'
		comment.dbmin -3450
		comment.dbmax 1200
		iface MIXER
		name 'Mic Playback Volume'
		value.0 31
		value.1 31
	}
	control.7 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 3'
		comment.dbmin 0
		comment.dbmax 3000
		iface MIXER
		name 'Mic Boost'
		value.0 2
		value.1 2
	}
	control.8 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Mic Playback Switch'
		value.0 true
		value.1 true
	}
	control.9 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 46'
		comment.dbmin -1600
		comment.dbmax 3000
		iface MIXER
		name 'Capture Volume'
		value.0 46
		value.1 46
	}
	control.10 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
	}
	control.11 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 46'
		comment.dbmin -1600
		comment.dbmax 3000
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 29
		value.1 29
	}
	control.12 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
	}
	control.13 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 'Front Mic'
		comment.item.2 Line
		comment.item.3 CD
		iface MIXER
		name 'Input Source'
		value 'Front Mic'
	}
	control.14 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 Mic
		comment.item.1 'Front Mic'
		comment.item.2 Line
		comment.item.3 CD
		iface MIXER
		name 'Input Source'
		index 1
		value Mic
	}
	control.15 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.16 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.17 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.18 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
	}
	control.19 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 64'
		comment.dbmin -6400
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value 64
	}
	control.20 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.21 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 225
		value.1 225
	}
	control.22 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 120'
		comment.tlv '0000000100000008fffff44800000032'
		comment.dbmin -3000
		comment.dbmax 3000
		iface MIXER
		name 'Digital Capture Volume'
		value.0 104
		value.1 104
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------

Module
aes_x86_64
aes_generic
bridge
bnep
rfcomm
l2cap
bluetooth
autofs4
sunrpc
ipt_REJECT
nf_conntrack_ipv4
iptable_filter
ip_tables
ip6t_REJECT
xt_tcpudp
nf_conntrack_ipv6
xt_state
nf_conntrack
ip6table_filter
ip6_tables
x_tables
ipv6
cpufreq_ondemand
acpi_cpufreq
freq_table
dm_mirror
dm_multipath
dm_mod
sr_mod
cdrom
snd_usb_audio
snd_usb_lib
snd_rawmidi
arc4
ecb
crypto_blkcipher
pata_acpi
snd_hda_intel
snd_seq_dummy
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_seq_device
snd_pcm_oss
iwl4965
snd_mixer_oss
i2c_i801
uvcvideo
acer_wmi
iwlcore
iTCO_wdt
battery
ac
snd_pcm
button
video
wmi
iTCO_vendor_support
snd_timer
compat_ioctl32
output
videodev
joydev
rfkill
v4l1_compat
pcspkr
ata_piix
mac80211
i2c_core
serio_raw
snd_page_alloc
ata_generic
cfg80211
snd_hwdep
snd
soundcore
sg
ahci
libata
sd_mod
scsi_mod
raid456
async_xor
async_memcpy
async_tx
xor
raid1
ext3
jbd
mbcache
uhci_hcd
ohci_hcd
ehci_hcd



[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-04-22 11:09       ` Andy Green
@ 2008-04-22 11:20         ` Takashi Iwai
  2008-04-22 11:28           ` Andy Green
  0 siblings, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2008-04-22 11:20 UTC (permalink / raw)
  To: Andy Green; +Cc: alsa-devel

At Tue, 22 Apr 2008 12:09:59 +0100,
Andy Green wrote:
> 
> Somebody in the thread at some point said:
> 
> Hi -
> 
> >> selected acer.  Currently I forced it anyway in /etc/modprobe.conf to 
> >> acer as part of running around trying everything I could imagine.
> > 
> > I guess the correct model is rather acer-aspire.  Try it instead.
> 
> I did try this, it did change the alsamixer stuff a bit and made more 
> complaints in dmesg,

They are no complains but just positive information.

> but didn't change the silence situation.

Hm, then the problem is somewhere different.
You hear neither from speaker nor HP-jack?


Takashi

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-04-22 11:20         ` Takashi Iwai
@ 2008-04-22 11:28           ` Andy Green
  2008-04-23 21:10             ` Andy Green
  0 siblings, 1 reply; 15+ messages in thread
From: Andy Green @ 2008-04-22 11:28 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Somebody in the thread at some point said:

Hi -

>> I did try this, it did change the alsamixer stuff a bit and made more 
>> complaints in dmesg,
> 
> They are no complains but just positive information.

OK.

>> but didn't change the silence situation.
> 
> Hm, then the problem is somewhere different.
> You hear neither from speaker nor HP-jack?

Nothing, despite changing settings "headphone" and "IEC958" in alsamixer 
-c0 (alsamixer by itself picks up pulseaudio nowadays apparently).  It's 
as if the amp is powered down, or we route everything to modem :-) 
Never a click or a buzz.  I also have mic routing to pcm turned up and 
this makes no sound.  Entering the jack to the headphone socket also 
makes no "click" in the headphones as you could maybe expect.

Maybe there is a special GPIO floating about that enables amp power?

-Andy

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-04-22 11:28           ` Andy Green
@ 2008-04-23 21:10             ` Andy Green
  2008-04-25 12:29               ` Takashi Iwai
  0 siblings, 1 reply; 15+ messages in thread
From: Andy Green @ 2008-04-23 21:10 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Somebody in the thread at some point said:

>> Hm, then the problem is somewhere different.
>> You hear neither from speaker nor HP-jack?
> 
> Nothing, despite changing settings "headphone" and "IEC958" in alsamixer 
> -c0 (alsamixer by itself picks up pulseaudio nowadays apparently).  It's 
> as if the amp is powered down, or we route everything to modem :-) 

Just some derisory extra information, external mic jack is working fine 
(and has bias voltage), Line-jack is also OK, but built-in mic is dead 
with some very small noise, maybe it is not given bias.  If the issue 
was basically power management enabling, it could make sense.

I saw realtek are pretty good with their datasheets, but there is none 
for ALC889 in their ftp site that has the rest.

I also recompiled alsa 1.0.16 for grins but it didn't make any change. 
I looked in alsa-kernel/pci/hda/patch_realtek.c and enabled 
SND_CONFIG_DEBUG and SND_CONFIG_VERBOSE_PRINTK because there seemed to 
be some extra features generated then for ALC device GPIO pin control. 
But they didn't turn up in alsamixer.  Do you know if there is an 
existing way to meddle with GPIO controls on ALC889 from inside ALSA easily?

-Andy

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-04-23 21:10             ` Andy Green
@ 2008-04-25 12:29               ` Takashi Iwai
  2008-05-05 22:06                 ` Andy Green
  0 siblings, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2008-04-25 12:29 UTC (permalink / raw)
  To: Andy Green; +Cc: alsa-devel

At Wed, 23 Apr 2008 22:10:45 +0100,
Andy Green wrote:
> 
> Somebody in the thread at some point said:
> 
> >> Hm, then the problem is somewhere different.
> >> You hear neither from speaker nor HP-jack?
> > 
> > Nothing, despite changing settings "headphone" and "IEC958" in alsamixer 
> > -c0 (alsamixer by itself picks up pulseaudio nowadays apparently).  It's 
> > as if the amp is powered down, or we route everything to modem :-) 
> 
> Just some derisory extra information, external mic jack is working fine 
> (and has bias voltage), Line-jack is also OK, but built-in mic is dead 
> with some very small noise, maybe it is not given bias.  If the issue 
> was basically power management enabling, it could make sense.
> 
> I saw realtek are pretty good with their datasheets, but there is none 
> for ALC889 in their ftp site that has the rest.
> 
> I also recompiled alsa 1.0.16 for grins but it didn't make any change. 
> I looked in alsa-kernel/pci/hda/patch_realtek.c and enabled 
> SND_CONFIG_DEBUG and SND_CONFIG_VERBOSE_PRINTK because there seemed to 
> be some extra features generated then for ALC device GPIO pin control. 
> But they didn't turn up in alsamixer.  Do you know if there is an 
> existing way to meddle with GPIO controls on ALC889 from inside ALSA easily?

Build CONFIG_SND_HDA_HWDEP=y and you'll have /dev/snd/hwC0D0 device.
With the hda-verb program in the URL below, you can exec the verb on
the fly:
	ftp://ftp.suse.com/pub/people/tiwai/misc/hda-verb-0.2.tar.bz2


Takashi

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-04-25 12:29               ` Takashi Iwai
@ 2008-05-05 22:06                 ` Andy Green
  2008-05-06 10:39                   ` Takashi Iwai
  0 siblings, 1 reply; 15+ messages in thread
From: Andy Green @ 2008-05-05 22:06 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Somebody in the thread at some point said:

> Build CONFIG_SND_HDA_HWDEP=y and you'll have /dev/snd/hwC0D0 device.
> With the hda-verb program in the URL below, you can exec the verb on
> the fly:
> 	ftp://ftp.suse.com/pub/people/tiwai/misc/hda-verb-0.2.tar.bz2

Thanks for the hints and the applet... after some meddling around I 
found the magic incantations to fire up the amp / speakers on this 
laptop are to force model=acer-aspire in /etc/modprobe.conf, then using 
the applet from the URL quoted above:

./hda-verb /dev/snd/hwC0D0 0x15 SET_EAPD_BTLENABLE 2

I confirmed stereo operation...  it doesn't react to headphone 
insertion, plays audio through speakers and headphone jack in that case. 
    Didn't try 5.1 (this laptop has a 5.1 speaker set) yet but I 
wouldn't be surprised if that was trouble too.  Still this is waaaay 
better than silence!  Thanks again for the help.

-Andy

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-05-05 22:06                 ` Andy Green
@ 2008-05-06 10:39                   ` Takashi Iwai
  2008-05-06 11:00                     ` Andy Green
  0 siblings, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2008-05-06 10:39 UTC (permalink / raw)
  To: Andy Green; +Cc: alsa-devel

At Mon, 05 May 2008 23:06:50 +0100,
Andy Green wrote:
> 
> Somebody in the thread at some point said:
> 
> > Build CONFIG_SND_HDA_HWDEP=y and you'll have /dev/snd/hwC0D0 device.
> > With the hda-verb program in the URL below, you can exec the verb on
> > the fly:
> > 	ftp://ftp.suse.com/pub/people/tiwai/misc/hda-verb-0.2.tar.bz2
> 
> Thanks for the hints and the applet... after some meddling around I 
> found the magic incantations to fire up the amp / speakers on this 
> laptop are to force model=acer-aspire in /etc/modprobe.conf, then using 
> the applet from the URL quoted above:
> 
> ./hda-verb /dev/snd/hwC0D0 0x15 SET_EAPD_BTLENABLE 2
> 
> I confirmed stereo operation...  it doesn't react to headphone 
> insertion, plays audio through speakers and headphone jack in that case. 
>     Didn't try 5.1 (this laptop has a 5.1 speaker set) yet but I 
> wouldn't be surprised if that was trouble too.  Still this is waaaay 
> better than silence!  Thanks again for the help.

Is this above with model=acer-aspire *and* your additional verb?
Or, is it without model option?

I found that one initialization is missing for auto-configuration mode
of ALC889.  Please try the patch below and remove model=xxx option.


Takashi

---

diff -r dd67eb84e184 pci/hda/patch_realtek.c
--- a/pci/hda/patch_realtek.c	Fri May 02 12:22:34 2008 +0200
+++ b/pci/hda/patch_realtek.c	Tue May 06 12:39:22 2008 +0200
@@ -877,6 +877,7 @@ do_sku:
 		case 0x10ec0883:
 		case 0x10ec0885:
 		case 0x10ec0888:
+		case 0x10ec0889:
 			snd_hda_codec_write(codec, 0x20, 0,
 					    AC_VERB_SET_COEF_INDEX, 7);
 			tmp = snd_hda_codec_read(codec, 0x20, 0,

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-05-06 10:39                   ` Takashi Iwai
@ 2008-05-06 11:00                     ` Andy Green
  2008-05-06 11:16                       ` Takashi Iwai
  2008-05-13 13:51                       ` Takashi Iwai
  0 siblings, 2 replies; 15+ messages in thread
From: Andy Green @ 2008-05-06 11:00 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Somebody in the thread at some point said:

Hi -

> Is this above with model=acer-aspire *and* your additional verb?
> Or, is it without model option?

I tried it with model=acer (same as no forcing) and acer-aspire, I was 
able to play 2-channel PCM sounds OK only with the extra verb either 
way.  I got more controls in alsamixer with just "acer" (like low 
frequency channel), but they didn't seem to do anything useful.

> I found that one initialization is missing for auto-configuration mode
> of ALC889.  Please try the patch below and remove model=xxx option.

OK I will test this patch later today with no model forcing.

-Andy

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-05-06 11:00                     ` Andy Green
@ 2008-05-06 11:16                       ` Takashi Iwai
  2008-05-13 13:51                       ` Takashi Iwai
  1 sibling, 0 replies; 15+ messages in thread
From: Takashi Iwai @ 2008-05-06 11:16 UTC (permalink / raw)
  To: Andy Green; +Cc: alsa-devel

At Tue, 06 May 2008 12:00:59 +0100,
Andy Green wrote:
> 
> Somebody in the thread at some point said:
> 
> Hi -
> 
> > Is this above with model=acer-aspire *and* your additional verb?
> > Or, is it without model option?
> 
> I tried it with model=acer (same as no forcing) and acer-aspire, I was 
> able to play 2-channel PCM sounds OK only with the extra verb either 
> way.  I got more controls in alsamixer with just "acer" (like low 
> frequency channel), but they didn't seem to do anything useful.

OK, then you might need the patch below instead.  If the first one
failed, give it a try.


thanks,

Takashi

---

diff -r dd67eb84e184 pci/hda/patch_realtek.c
--- a/pci/hda/patch_realtek.c	Fri May 02 12:22:34 2008 +0200
+++ b/pci/hda/patch_realtek.c	Tue May 06 13:15:43 2008 +0200
@@ -853,6 +853,7 @@ do_sku:
 		case 0x10ec0269:
 		case 0x10ec0862:
 		case 0x10ec0662:	
+		case 0x10ec0889:
 			snd_hda_codec_write(codec, 0x14, 0,
 					    AC_VERB_SET_EAPD_BTLENABLE, 2);
 			snd_hda_codec_write(codec, 0x15, 0,
@@ -877,6 +878,7 @@ do_sku:
 		case 0x10ec0883:
 		case 0x10ec0885:
 		case 0x10ec0888:
+		case 0x10ec0889:
 			snd_hda_codec_write(codec, 0x20, 0,
 					    AC_VERB_SET_COEF_INDEX, 7);
 			tmp = snd_hda_codec_read(codec, 0x20, 0,

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-05-06 11:00                     ` Andy Green
  2008-05-06 11:16                       ` Takashi Iwai
@ 2008-05-13 13:51                       ` Takashi Iwai
  2008-05-13 14:41                         ` Andy Green
  1 sibling, 1 reply; 15+ messages in thread
From: Takashi Iwai @ 2008-05-13 13:51 UTC (permalink / raw)
  To: Andy Green; +Cc: alsa-devel

At Tue, 06 May 2008 12:00:59 +0100,
Andy Green wrote:
> 
> Somebody in the thread at some point said:
> 
> Hi -
> 
> > Is this above with model=acer-aspire *and* your additional verb?
> > Or, is it without model option?
> 
> I tried it with model=acer (same as no forcing) and acer-aspire, I was 
> able to play 2-channel PCM sounds OK only with the extra verb either 
> way.  I got more controls in alsamixer with just "acer" (like low 
> frequency channel), but they didn't seem to do anything useful.
> 
> > I found that one initialization is missing for auto-configuration mode
> > of ALC889.  Please try the patch below and remove model=xxx option.
> 
> OK I will test this patch later today with no model forcing.

Did you get any positive/negative result?


thanks,

Takashi

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Acer Aspire 8920g / snd-hda-intel / ALC889
  2008-05-13 13:51                       ` Takashi Iwai
@ 2008-05-13 14:41                         ` Andy Green
  0 siblings, 0 replies; 15+ messages in thread
From: Andy Green @ 2008-05-13 14:41 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Somebody in the thread at some point said:
> At Tue, 06 May 2008 12:00:59 +0100,
> Andy Green wrote:
>> Somebody in the thread at some point said:
>>
>> Hi -
>>
>>> Is this above with model=acer-aspire *and* your additional verb?
>>> Or, is it without model option?
>> I tried it with model=acer (same as no forcing) and acer-aspire, I was 
>> able to play 2-channel PCM sounds OK only with the extra verb either 
>> way.  I got more controls in alsamixer with just "acer" (like low 
>> frequency channel), but they didn't seem to do anything useful.
>>
>>> I found that one initialization is missing for auto-configuration mode
>>> of ALC889.  Please try the patch below and remove model=xxx option.
>> OK I will test this patch later today with no model forcing.
> 
> Did you get any positive/negative result?

Sorry Takashi, I did try both patches but neither seemed to work.  I 
didn't get any time since then to confirm it wasn't something dumb on my 
side.  After failing to see anything from the recompile / re-install and 
modprobing snd-hda-intel out and back in, running hda-verb as described 
did continue to bring the audio right up.

I should check that the mixer VID/PID actually is ...889 on this machine.

-Andy

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-05-13 14:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-21 12:02 Acer Aspire 8920g / snd-hda-intel / ALC889 Andy Green
2008-04-21 15:57 ` Takashi Iwai
2008-04-21 18:25   ` Andy Green
2008-04-22 10:34     ` Takashi Iwai
2008-04-22 11:09       ` Andy Green
2008-04-22 11:20         ` Takashi Iwai
2008-04-22 11:28           ` Andy Green
2008-04-23 21:10             ` Andy Green
2008-04-25 12:29               ` Takashi Iwai
2008-05-05 22:06                 ` Andy Green
2008-05-06 10:39                   ` Takashi Iwai
2008-05-06 11:00                     ` Andy Green
2008-05-06 11:16                       ` Takashi Iwai
2008-05-13 13:51                       ` Takashi Iwai
2008-05-13 14:41                         ` Andy Green

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.