All of lore.kernel.org
 help / color / mirror / Atom feed
* Samsung Audio Problem (update)
@ 2006-12-04 21:43 Allyn, Mark A
  2006-12-05 15:26 ` Tobin Davis
  0 siblings, 1 reply; 6+ messages in thread
From: Allyn, Mark A @ 2006-12-04 21:43 UTC (permalink / raw)
  To: alsa-devel

Hello:
 
With thanks to Tobin Davis, I was able to resolve part of my problem.

With using the latest snapshot of the alsa driver as well as adding

options snd-hda-intel model=laptop-eapd

to the /etc/modprobe.conf file, I was able to get rid of the high
pitched
squeal and have proper audio playback on the internal speakers.

I am still unable to record. For your benefit, I do have some more
Information on the audio device. From the lspci -qn, I got:

Class: 0403
8086:2668	rev03
Subsystem: 144D:C027

Has anyone got audio recording working on this codec and subsystem?

Thank you

Mark Allyn

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: Samsung Audio Problem (update)
  2006-12-04 21:43 Allyn, Mark A
@ 2006-12-05 15:26 ` Tobin Davis
  0 siblings, 0 replies; 6+ messages in thread
From: Tobin Davis @ 2006-12-05 15:26 UTC (permalink / raw)
  To: Allyn, Mark A; +Cc: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 1858 bytes --]

Could you send a couple of things to the mailing list?  Specifically,
recompile the driver with "--with-debug=detect", reinstall it, and send
the output from dmesg after installing the driver.  Also, send the
output from 'cat /proc/asound/card0/codec*'.

I have a laptop (Asus Z62F) with the exact same codec,   and I had to do
some fiddling with the alsamixer controls before I could use either the
internal mic or the external mic.  You might also check that.  The mic
gain is listed as an output for some reason (it's been marked as "fixme"
in the code for quite some time).

Tobin

On Mon, 2006-12-04 at 13:43 -0800, Allyn, Mark A wrote:

> Hello:
>  
> With thanks to Tobin Davis, I was able to resolve part of my problem.
> 
> With using the latest snapshot of the alsa driver as well as adding
> 
> options snd-hda-intel model=laptop-eapd
> 
> to the /etc/modprobe.conf file, I was able to get rid of the high
> pitched
> squeal and have proper audio playback on the internal speakers.
> 
> I am still unable to record. For your benefit, I do have some more
> Information on the audio device. From the lspci -qn, I got:
> 
> Class: 0403
> 8086:2668	rev03
> Subsystem: 144D:C027
> 
> Has anyone got audio recording working on this codec and subsystem?
> 
> Thank you
> 
> Mark Allyn
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel

-- 
Tobin Davis <tdavis@dsl-only.net>

[-- Attachment #1.2: Type: text/html, Size: 3224 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel

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

* Re: Samsung Audio Problem (update)
@ 2006-12-05 18:46 Allyn, Mark A
  2006-12-06 23:31 ` Tobin Davis
  0 siblings, 1 reply; 6+ messages in thread
From: Allyn, Mark A @ 2006-12-05 18:46 UTC (permalink / raw)
  To: Tobin Davis; +Cc: alsa-devel

Tobin:

Here is the result of the debug=detect & codec#0:

=====================================================

[17179640.512000] PCI: Setting latency timer of device 0000:00:1b.0 to
64
[17179640.544000] ALSA
/mnt1/src/asianux/BUILD/alsa-driver-hg20061130/pci/hda/../..
                       /alsa-kernel/pci/hda/hda_intel.c:696: codec_mask
= 0x1
[17179640.740000] ALSA
/mnt1/src/asianux/BUILD/alsa-driver-hg20061130/pci/hda/hda_codec.c:1743:

                       hda_codec: model 'laptop-eapd' is selected

========================================================================
output of codec#0
Codec: Analog Devices AD1986A
Address: 0
Vendor Id: 0x11d41986
Subsystem Id: 0x144dc027
Revision Id: 0x100500
Default PCM:
    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
Node 0x02 [Audio Output] wcaps 0x30311: Stereo Digital
  PCM:
    rates [0x60]: 44100 48000
    bits [0x2]: 16
    formats [0x5]: PCM AC3
  Connection: 2
     0x01* 0x06
Node 0x03 [Audio Output] wcaps 0x44d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Power: 0x0
Node 0x04 [Audio Output] wcaps 0x40d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Power: 0x0
Node 0x05 [Audio Output] wcaps 0x40d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Power: 0x0
Node 0x06 [Audio Input] wcaps 0x100511: Stereo
  PCM:
    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Power: 0x0
  Connection: 1
     0x12
Node 0x07 [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 8
     0x03 0x09 0x13 0x14 0x15 0x16 0x17 0x18
Node 0x08 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x07
Node 0x09 [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80] [0x80]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Connection: 2
     0x04 0x05
Node 0x0a [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x07* 0x04 0x05
Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x07* 0x04
Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x04* 0x07
Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x05* 0x08
Node 0x0e [Audio Selector] wcaps 0x300100: Mono
  Connection: 2
     0x08* 0x11
Node 0x0f [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 8
     0x1f* 0x20 0x1d 0x1d 0x27 0x28 0x29 0x2a
Node 0x10 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x20* 0x1c 0x1f
Node 0x11 [Audio Selector] wcaps 0x300941: Stereo
  Connection: 2
     0x0f* 0x2b
Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 8
     0x11* 0x22 0x00 0x21 0x10 0x07 0x08 0x23
Node 0x13 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x11
Node 0x14 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80]
  Connection: 1
     0x23
Node 0x15 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x22
Node 0x16 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x21
Node 0x17 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x10
Node 0x18 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x8f]
  Connection: 2
     0x19* 0x24
Node 0x19 [Beep Generator Widget] wcaps 0x700000: Mono
Node 0x1a [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x081f: OUT HP Detect
  Pin Default 0x02214021: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
  Pin-ctls: 0xc0: OUT HP
  Connection: 1
     0x0a
Node 0x1b [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x081001f: OUT HP EAPD Detect
  Pin Default 0x01014011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0b
Node 0x1c [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0837: IN OUT Detect
  Pin Default 0x41013012: [N/A] Line Out at Ext Rear
    Conn = 1/8, Color = Blue
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0c
Node 0x1d [Pin Complex] wcaps 0x400985: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x081737: IN OUT Detect
  Pin Default 0x01019015: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Pink
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0d
Node 0x1e [Pin Complex] wcaps 0x400104: Mono Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x0810: OUT
  Pin Default 0x511710f0: [N/A] Speaker at Int Rear
    Conn = Analog, Color = Black
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0e
Node 0x1f [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x081727: IN Detect
  Pin Default 0x02a190f0: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
  Pin-ctls: 0x24: IN
Node 0x20 [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x081727: IN Detect
  Pin Default 0x418130f0: [N/A] Line In at Ext Rear
    Conn = 1/8, Color = Blue
  Pin-ctls: 0x20: IN
Node 0x21 [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x0827: IN Detect
  Pin Default 0x5997e0f0: [N/A] Aux at Int ATAPI
    Conn = Analog, Color = White
  Pin-ctls: 0x20: IN
Node 0x22 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x593310f0: [N/A] CD at Int ATAPI
    Conn = ATAPI, Color = Black
  Pin-ctls: 0x20: IN
Node 0x23 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x0820: IN
  Pin Default 0x59b770f0: [N/A] Telephony at Int ATAPI
    Conn = Analog, Color = Yellow
  Pin-ctls: 0x20: IN
Node 0x24 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x0820: IN
  Pin Default 0x51f710f0: [N/A] Other at Int Rear
    Conn = Analog, Color = Black
  Pin-ctls: 0x20: IN
Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x0810: OUT
  Pin Default 0x4145f0f0: [N/A] SPDIF Out at Ext Rear
    Conn = Optical, Color = Other
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x02
Node 0x26 [Power Widget] wcaps 0x500500: Mono
  Power: 0x0
  Connection: 8
     0x07* 0x08 0x13 0x14 0x15 0x16 0x17 0x18
Node 0x27 [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 2
     0x1f 0x1d
Node 0x28 [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 2
     0x1f 0x20
Node 0x29 [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 2
     0x1d 0x20
Node 0x2a [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 3
     0x1f 0x1d 0x20
Node 0x2b [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x0f

====================================================== 

________________________________

From: Tobin Davis [mailto:tdavis@dsl-only.net] 
Sent: Tuesday, December 05, 2006 7:26 AM
To: Allyn, Mark A
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [Alsa-devel] Samsung Audio Problem (update)


Could you send a couple of things to the mailing list?  Specifically,
recompile the driver with "--with-debug=detect", reinstall it, and send
the output from dmesg after installing the driver.  Also, send the
output from 'cat /proc/asound/card0/codec*'.

I have a laptop (Asus Z62F) with the exact same codec,   and I had to do
some fiddling with the alsamixer controls before I could use either the
internal mic or the external mic.  You might also check that.  The mic
gain is listed as an output for some reason (it's been marked as "fixme"
in the code for quite some time).

Tobin

On Mon, 2006-12-04 at 13:43 -0800, Allyn, Mark A wrote: 

	Hello:
	 
	With thanks to Tobin Davis, I was able to resolve part of my
problem.
	
	With using the latest snapshot of the alsa driver as well as
adding
	
	options snd-hda-intel model=laptop-eapd
	
	to the /etc/modprobe.conf file, I was able to get rid of the
high
	pitched
	squeal and have proper audio playback on the internal speakers.
	
	I am still unable to record. For your benefit, I do have some
more
	Information on the audio device. From the lspci -qn, I got:
	
	Class: 0403
	8086:2668	rev03
	Subsystem: 144D:C027
	
	Has anyone got audio recording working on this codec and
subsystem?
	
	Thank you
	
	Mark Allyn
	
	
------------------------------------------------------------------------
-
	Take Surveys. Earn Cash. Influence the Future of IT
	Join SourceForge.net's Techsay panel and you'll get the chance
to share your
	opinions on IT & business topics through brief surveys - and
earn cash
	
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
	_______________________________________________
	Alsa-devel mailing list
	Alsa-devel@lists.sourceforge.net
	https://lists.sourceforge.net/lists/listinfo/alsa-devel
	

-- 
Tobin Davis <tdavis@dsl-only.net> 	

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: Samsung Audio Problem (update)
  2006-12-05 18:46 Allyn, Mark A
@ 2006-12-06 23:31 ` Tobin Davis
  0 siblings, 0 replies; 6+ messages in thread
From: Tobin Davis @ 2006-12-06 23:31 UTC (permalink / raw)
  To: Allyn, Mark A; +Cc: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 11089 bytes --]

Mark,
After looking through the documentation and the Windows regestry
settings for that system's driver, I found some interesting differences
to the microphone selector.

Try this patch against the alsa-driver-hg20061130 snapshot
(ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/alsa-driver-hg20061129.tar.bz2).

To apply:
tar -jxvf alsa-driver-hg20061130.tar.bz2
 cd alsa-driver-hg20061130/alsa-kernel
patch -p1 <SamsungQ1.patch
cd ..
./configure --with-cards=hda-intel --with-debug=detect ; make ; make
install

Let me know if this fixes your microphone.  I also added the subdevice
id so you shouldn't need to add any model parameters.

Tobin

On Tue, 2006-12-05 at 10:46 -0800, Allyn, Mark A wrote:

> Tobin:
> 
> Here is the result of the debug=detect & codec#0:
> 
> =====================================================
> 
> [17179640.512000] PCI: Setting latency timer of device 0000:00:1b.0 to
> 64
> [17179640.544000] ALSA
> /mnt1/src/asianux/BUILD/alsa-driver-hg20061130/pci/hda/../..
>                        /alsa-kernel/pci/hda/hda_intel.c:696: codec_mask
> = 0x1
> [17179640.740000] ALSA
> /mnt1/src/asianux/BUILD/alsa-driver-hg20061130/pci/hda/hda_codec.c:1743:
> 
>                        hda_codec: model 'laptop-eapd' is selected
> 
> ========================================================================
> output of codec#0
> Codec: Analog Devices AD1986A
> Address: 0
> Vendor Id: 0x11d41986
> Subsystem Id: 0x144dc027
> Revision Id: 0x100500
> Default PCM:
>     rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
>     bits [0xe]: 16 20 24
>     formats [0x1]: PCM
> Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
> Default Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
> Node 0x02 [Audio Output] wcaps 0x30311: Stereo Digital
>   PCM:
>     rates [0x60]: 44100 48000
>     bits [0x2]: 16
>     formats [0x5]: PCM AC3
>   Connection: 2
>      0x01* 0x06
> Node 0x03 [Audio Output] wcaps 0x44d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Power: 0x0
> Node 0x04 [Audio Output] wcaps 0x40d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Power: 0x0
> Node 0x05 [Audio Output] wcaps 0x40d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Power: 0x0
> Node 0x06 [Audio Input] wcaps 0x100511: Stereo
>   PCM:
>     rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
>     bits [0x6]: 16 20
>     formats [0x1]: PCM
>   Power: 0x0
>   Connection: 1
>      0x12
> Node 0x07 [Audio Mixer] wcaps 0x200101: Stereo
>   Connection: 8
>      0x03 0x09 0x13 0x14 0x15 0x16 0x17 0x18
> Node 0x08 [Audio Mixer] wcaps 0x200100: Mono
>   Connection: 1
>      0x07
> Node 0x09 [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
>   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-In vals:  [0x80] [0x80]
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x80]
>   Connection: 2
>      0x04 0x05
> Node 0x0a [Audio Selector] wcaps 0x300101: Stereo
>   Connection: 3
>      0x07* 0x04 0x05
> Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
>   Connection: 2
>      0x07* 0x04
> Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
>   Connection: 2
>      0x04* 0x07
> Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
>   Connection: 2
>      0x05* 0x08
> Node 0x0e [Audio Selector] wcaps 0x300100: Mono
>   Connection: 2
>      0x08* 0x11
> Node 0x0f [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
>   Amp-Out vals:  [0x00 0x00]
>   Connection: 8
>      0x1f* 0x20 0x1d 0x1d 0x27 0x28 0x29 0x2a
> Node 0x10 [Audio Selector] wcaps 0x300101: Stereo
>   Connection: 3
>      0x20* 0x1c 0x1f
> Node 0x11 [Audio Selector] wcaps 0x300941: Stereo
>   Connection: 2
>      0x0f* 0x2b
> Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Connection: 8
>      0x11* 0x22 0x00 0x21 0x10 0x07 0x08 0x23
> Node 0x13 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Connection: 1
>      0x11
> Node 0x14 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
>   Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80]
>   Connection: 1
>      0x23
> Node 0x15 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Connection: 1
>      0x22
> Node 0x16 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Connection: 1
>      0x21
> Node 0x17 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Connection: 1
>      0x10
> Node 0x18 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
>   Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
>   Amp-Out vals:  [0x8f]
>   Connection: 2
>      0x19* 0x24
> Node 0x19 [Beep Generator Widget] wcaps 0x700000: Mono
> Node 0x1a [Pin Complex] wcaps 0x400185: Stereo Amp-Out
>   Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Pincap 0x081f: OUT HP Detect
>   Pin Default 0x02214021: [Jack] HP Out at Ext Front
>     Conn = 1/8, Color = Green
>   Pin-ctls: 0xc0: OUT HP
>   Connection: 1
>      0x0a
> Node 0x1b [Pin Complex] wcaps 0x400185: Stereo Amp-Out
>   Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Pincap 0x081001f: OUT HP EAPD Detect
>   Pin Default 0x01014011: [Jack] Line Out at Ext Rear
>     Conn = 1/8, Color = Green
>   Pin-ctls: 0x40: OUT
>   Connection: 1
>      0x0b
> Node 0x1c [Pin Complex] wcaps 0x400185: Stereo Amp-Out
>   Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Pincap 0x0837: IN OUT Detect
>   Pin Default 0x41013012: [N/A] Line Out at Ext Rear
>     Conn = 1/8, Color = Blue
>   Pin-ctls: 0x40: OUT
>   Connection: 1
>      0x0c
> Node 0x1d [Pin Complex] wcaps 0x400985: Stereo Amp-Out
>   Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Pincap 0x081737: IN OUT Detect
>   Pin Default 0x01019015: [Jack] Line Out at Ext Rear
>     Conn = 1/8, Color = Pink
>   Pin-ctls: 0x40: OUT
>   Connection: 1
>      0x0d
> Node 0x1e [Pin Complex] wcaps 0x400104: Mono Amp-Out
>   Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
>   Amp-Out vals:  [0x80]
>   Pincap 0x0810: OUT
>   Pin Default 0x511710f0: [N/A] Speaker at Int Rear
>     Conn = Analog, Color = Black
>   Pin-ctls: 0x40: OUT
>   Connection: 1
>      0x0e
> Node 0x1f [Pin Complex] wcaps 0x400081: Stereo
>   Pincap 0x081727: IN Detect
>   Pin Default 0x02a190f0: [Jack] Mic at Ext Front
>     Conn = 1/8, Color = Pink
>   Pin-ctls: 0x24: IN
> Node 0x20 [Pin Complex] wcaps 0x400081: Stereo
>   Pincap 0x081727: IN Detect
>   Pin Default 0x418130f0: [N/A] Line In at Ext Rear
>     Conn = 1/8, Color = Blue
>   Pin-ctls: 0x20: IN
> Node 0x21 [Pin Complex] wcaps 0x400081: Stereo
>   Pincap 0x0827: IN Detect
>   Pin Default 0x5997e0f0: [N/A] Aux at Int ATAPI
>     Conn = Analog, Color = White
>   Pin-ctls: 0x20: IN
> Node 0x22 [Pin Complex] wcaps 0x400001: Stereo
>   Pincap 0x0820: IN
>   Pin Default 0x593310f0: [N/A] CD at Int ATAPI
>     Conn = ATAPI, Color = Black
>   Pin-ctls: 0x20: IN
> Node 0x23 [Pin Complex] wcaps 0x400000: Mono
>   Pincap 0x0820: IN
>   Pin Default 0x59b770f0: [N/A] Telephony at Int ATAPI
>     Conn = Analog, Color = Yellow
>   Pin-ctls: 0x20: IN
> Node 0x24 [Pin Complex] wcaps 0x400000: Mono
>   Pincap 0x0820: IN
>   Pin Default 0x51f710f0: [N/A] Other at Int Rear
>     Conn = Analog, Color = Black
>   Pin-ctls: 0x20: IN
> Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital
>   Pincap 0x0810: OUT
>   Pin Default 0x4145f0f0: [N/A] SPDIF Out at Ext Rear
>     Conn = Optical, Color = Other
>   Pin-ctls: 0x40: OUT
>   Connection: 1
>      0x02
> Node 0x26 [Power Widget] wcaps 0x500500: Mono
>   Power: 0x0
>   Connection: 8
>      0x07* 0x08 0x13 0x14 0x15 0x16 0x17 0x18
> Node 0x27 [Audio Mixer] wcaps 0x200101: Stereo
>   Connection: 2
>      0x1f 0x1d
> Node 0x28 [Audio Mixer] wcaps 0x200101: Stereo
>   Connection: 2
>      0x1f 0x20
> Node 0x29 [Audio Mixer] wcaps 0x200101: Stereo
>   Connection: 2
>      0x1d 0x20
> Node 0x2a [Audio Mixer] wcaps 0x200101: Stereo
>   Connection: 3
>      0x1f 0x1d 0x20
> Node 0x2b [Audio Mixer] wcaps 0x200100: Mono
>   Connection: 1
>      0x0f
> 
> ====================================================== 
> 
> ________________________________
> 
> From: Tobin Davis [mailto:tdavis@dsl-only.net] 
> Sent: Tuesday, December 05, 2006 7:26 AM
> To: Allyn, Mark A
> Cc: alsa-devel@lists.sourceforge.net
> Subject: Re: [Alsa-devel] Samsung Audio Problem (update)
> 
> 
> Could you send a couple of things to the mailing list?  Specifically,
> recompile the driver with "--with-debug=detect", reinstall it, and send
> the output from dmesg after installing the driver.  Also, send the
> output from 'cat /proc/asound/card0/codec*'.
> 
> I have a laptop (Asus Z62F) with the exact same codec,   and I had to do
> some fiddling with the alsamixer controls before I could use either the
> internal mic or the external mic.  You might also check that.  The mic
> gain is listed as an output for some reason (it's been marked as "fixme"
> in the code for quite some time).
> 
> Tobin
> 
> On Mon, 2006-12-04 at 13:43 -0800, Allyn, Mark A wrote: 
> 
> 	Hello:
> 	 
> 	With thanks to Tobin Davis, I was able to resolve part of my
> problem.
> 	
> 	With using the latest snapshot of the alsa driver as well as
> adding
> 	
> 	options snd-hda-intel model=laptop-eapd
> 	
> 	to the /etc/modprobe.conf file, I was able to get rid of the
> high
> 	pitched
> 	squeal and have proper audio playback on the internal speakers.
> 	
> 	I am still unable to record. For your benefit, I do have some
> more
> 	Information on the audio device. From the lspci -qn, I got:
> 	
> 	Class: 0403
> 	8086:2668	rev03
> 	Subsystem: 144D:C027
> 	
> 	Has anyone got audio recording working on this codec and
> subsystem?
> 	
> 	Thank you
> 	
> 	Mark Allyn
> 	
> 	
> ------------------------------------------------------------------------
> -
> 	Take Surveys. Earn Cash. Influence the Future of IT
> 	Join SourceForge.net's Techsay panel and you'll get the chance
> to share your
> 	opinions on IT & business topics through brief surveys - and
> earn cash
> 	
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
> V
> 	_______________________________________________
> 	Alsa-devel mailing list
> 	Alsa-devel@lists.sourceforge.net
> 	https://lists.sourceforge.net/lists/listinfo/alsa-devel
> 	
> 

-- 
Tobin Davis <tdavis@dsl-only.net>

[-- Attachment #1.2: Type: text/html, Size: 19868 bytes --]

[-- Attachment #2: SamsungQ1.patch --]
[-- Type: text/x-patch, Size: 1981 bytes --]

diff -r b201c63fc4b3 pci/hda/patch_analog.c
--- a/pci/hda/patch_analog.c	Mon Dec 04 18:03:53 2006 +0100
+++ b/pci/hda/patch_analog.c	Wed Dec 06 15:24:25 2006 -0800
@@ -786,12 +786,23 @@ static struct hda_verb ad1986a_eapd_init
 	{}
 };
 
+/* Ultra initialization */
+static struct hda_verb ad1986a_ultra_init[] = {
+	/* eapd initialization */
+	{0x1b, AC_VERB_SET_EAPD_BTLENABLE, 0x00},
+	/* CLFE -> Mic in */
+	{ 0x1d, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x24 },
+	{ 0x1d, AC_VERB_SET_AMP_GAIN_MUTE, 0xb080},
+	{ } /* end */
+};
+
 /* models */
 enum {
 	AD1986A_6STACK,
 	AD1986A_3STACK,
 	AD1986A_LAPTOP,
 	AD1986A_LAPTOP_EAPD,
+	AD1986A_ULTRA,
 	AD1986A_MODELS
 };
 
@@ -800,6 +811,7 @@ static const char *ad1986a_models[AD1986
 	[AD1986A_3STACK]	= "3stack",
 	[AD1986A_LAPTOP]	= "laptop",
 	[AD1986A_LAPTOP_EAPD]	= "laptop-eapd",
+	[AD1986A_ULTRA]		= "ultra",
 };
 
 static struct snd_pci_quirk ad1986a_cfg_tbl[] = {
@@ -821,6 +833,7 @@ static struct snd_pci_quirk ad1986a_cfg_
 	SND_PCI_QUIRK(0x144d, 0xc023, "Samsung X60", AD1986A_LAPTOP_EAPD),
 	SND_PCI_QUIRK(0x144d, 0xc024, "Samsung R65", AD1986A_LAPTOP_EAPD),
 	SND_PCI_QUIRK(0x144d, 0xc026, "Samsung X11", AD1986A_LAPTOP_EAPD),
+	SND_PCI_QUIRK(0x144d, 0xc027, "Samsung Q1", AD1986A_ULTRA),
 	SND_PCI_QUIRK(0x17aa, 0x1017, "Lenovo A60", AD1986A_3STACK),
 	SND_PCI_QUIRK(0x17aa, 0x2066, "Lenovo N100", AD1986A_LAPTOP_EAPD),
 	SND_PCI_QUIRK(0x17c0, 0x2017, "Samsung M50", AD1986A_LAPTOP),
@@ -886,6 +899,15 @@ static int patch_ad1986a(struct hda_code
 		spec->multiout.dac_nids = ad1986a_laptop_dac_nids;
 		spec->multiout.dig_out_nid = 0;
 		spec->input_mux = &ad1986a_laptop_eapd_capture_source;
+		break;
+	case AD1986A_ULTRA:
+		spec->mixers[0] = ad1986a_laptop_eapd_mixers;
+		spec->num_init_verbs = 2;
+		spec->init_verbs[1] = ad1986a_ultra_init;
+		spec->multiout.max_channels = 2;
+		spec->multiout.num_dacs = 1;
+		spec->multiout.dac_nids = ad1986a_laptop_dac_nids;
+		spec->multiout.dig_out_nid = 0;
 		break;
 	}
 

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #4: Type: text/plain, Size: 161 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel

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

* Re: Samsung Audio Problem (update)
       [not found] <5FD5754DDBA0B1499B5A0B4BB54194852FFD0A@fmsmsx411.amr.corp.intel.com>
@ 2006-12-07 23:24 ` Tobin Davis
  0 siblings, 0 replies; 6+ messages in thread
From: Tobin Davis @ 2006-12-07 23:24 UTC (permalink / raw)
  To: Allyn, Mark A; +Cc: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 12406 bytes --]

Could you send the new dmesg output as well as the output from
cat /proc/asound/card0/codec#0?  I'm assuming you compiled the driver
with "--with-debug=detect"?  I need to see what the driver reports after
loading.

Thanks,

Tobin

On Thu, 2006-12-07 at 14:03 -0800, Allyn, Mark A wrote:

> Tobin:
>  
> I did apply the patch as you suggest. The dmesg from the modprobe of the
> snd-hda-intel does show 
> the ultra (Samsung) loading. However, there is still no recording. I set
> all of the sliders on 
> 100 percent and I made sure that the capture is on both mike and
> capture. Audio playback of 
> existing audio files is okay.
>  
> Mark
> 
> ________________________________
> 
> From: Tobin Davis [mailto:tdavis@dsl-only.net] 
> Sent: Wednesday, December 06, 2006 3:31 PM
> To: Allyn, Mark A
> Cc: alsa-devel@lists.sourceforge.net
> Subject: RE: [Alsa-devel] Samsung Audio Problem (update)
> 
> 
> Mark,
> After looking through the documentation and the Windows regestry
> settings for that system's driver, I found some interesting differences
> to the microphone selector.
> 
> Try this patch against the alsa-driver-hg20061130 snapshot
> (ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/alsa-driver-hg2006
> 1129.tar.bz2).
> 
> To apply:
> tar -jxvf alsa-driver-hg20061130.tar.bz2
> cd alsa-driver-hg20061130/alsa-kernel
> patch -p1 <SamsungQ1.patch
> cd ..
> ./configure --with-cards=hda-intel --with-debug=detect ; make ; make
> install
> 
> Let me know if this fixes your microphone.  I also added the subdevice
> id so you shouldn't need to add any model parameters.
> 
> Tobin
> 
> On Tue, 2006-12-05 at 10:46 -0800, Allyn, Mark A wrote: 
> 
> 	Tobin:
> 	
> 	Here is the result of the debug=detect & codec#0:
> 	
> 	=====================================================
> 	
> 	[17179640.512000] PCI: Setting latency timer of device
> 0000:00:1b.0 to
> 	64
> 	[17179640.544000] ALSA
> 	/mnt1/src/asianux/BUILD/alsa-driver-hg20061130/pci/hda/../..
> 	                       /alsa-kernel/pci/hda/hda_intel.c:696:
> codec_mask
> 	= 0x1
> 	[17179640.740000] ALSA
> 	
> /mnt1/src/asianux/BUILD/alsa-driver-hg20061130/pci/hda/hda_codec.c:1743:
> 	
> 	                       hda_codec: model 'laptop-eapd' is
> selected
> 	
> 	
> ========================================================================
> 	output of codec#0
> 	Codec: Analog Devices AD1986A
> 	Address: 0
> 	Vendor Id: 0x11d41986
> 	Subsystem Id: 0x144dc027
> 	Revision Id: 0x100500
> 	Default PCM:
> 	    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
> 	    bits [0xe]: 16 20 24
> 	    formats [0x1]: PCM
> 	Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00,
> mute=1
> 	Default Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05,
> mute=1
> 	Node 0x02 [Audio Output] wcaps 0x30311: Stereo Digital
> 	  PCM:
> 	    rates [0x60]: 44100 48000
> 	    bits [0x2]: 16
> 	    formats [0x5]: PCM AC3
> 	  Connection: 2
> 	     0x01* 0x06
> 	Node 0x03 [Audio Output] wcaps 0x44d: Stereo Amp-Out
> 	  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80 0x80]
> 	  Power: 0x0
> 	Node 0x04 [Audio Output] wcaps 0x40d: Stereo Amp-Out
> 	  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80 0x80]
> 	  Power: 0x0
> 	Node 0x05 [Audio Output] wcaps 0x40d: Stereo Amp-Out
> 	  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80 0x80]
> 	  Power: 0x0
> 	Node 0x06 [Audio Input] wcaps 0x100511: Stereo
> 	  PCM:
> 	    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
> 	    bits [0x6]: 16 20
> 	    formats [0x1]: PCM
> 	  Power: 0x0
> 	  Connection: 1
> 	     0x12
> 	Node 0x07 [Audio Mixer] wcaps 0x200101: Stereo
> 	  Connection: 8
> 	     0x03 0x09 0x13 0x14 0x15 0x16 0x17 0x18
> 	Node 0x08 [Audio Mixer] wcaps 0x200100: Mono
> 	  Connection: 1
> 	     0x07
> 	Node 0x09 [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
> 	  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
> 	  Amp-In vals:  [0x80] [0x80]
> 	  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
> 	  Amp-Out vals:  [0x80]
> 	  Connection: 2
> 	     0x04 0x05
> 	Node 0x0a [Audio Selector] wcaps 0x300101: Stereo
> 	  Connection: 3
> 	     0x07* 0x04 0x05
> 	Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
> 	  Connection: 2
> 	     0x07* 0x04
> 	Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
> 	  Connection: 2
> 	     0x04* 0x07
> 	Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
> 	  Connection: 2
> 	     0x05* 0x08
> 	Node 0x0e [Audio Selector] wcaps 0x300100: Mono
> 	  Connection: 2
> 	     0x08* 0x11
> 	Node 0x0f [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> 	  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
> 	  Amp-Out vals:  [0x00 0x00]
> 	  Connection: 8
> 	     0x1f* 0x20 0x1d 0x1d 0x27 0x28 0x29 0x2a
> 	Node 0x10 [Audio Selector] wcaps 0x300101: Stereo
> 	  Connection: 3
> 	     0x20* 0x1c 0x1f
> 	Node 0x11 [Audio Selector] wcaps 0x300941: Stereo
> 	  Connection: 2
> 	     0x0f* 0x2b
> 	Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> 	  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80 0x80]
> 	  Connection: 8
> 	     0x11* 0x22 0x00 0x21 0x10 0x07 0x08 0x23
> 	Node 0x13 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> 	  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80 0x80]
> 	  Connection: 1
> 	     0x11
> 	Node 0x14 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
> 	  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80]
> 	  Connection: 1
> 	     0x23
> 	Node 0x15 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> 	  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80 0x80]
> 	  Connection: 1
> 	     0x22
> 	Node 0x16 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> 	  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80 0x80]
> 	  Connection: 1
> 	     0x21
> 	Node 0x17 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
> 	  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80 0x80]
> 	  Connection: 1
> 	     0x10
> 	Node 0x18 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
> 	  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
> 	  Amp-Out vals:  [0x8f]
> 	  Connection: 2
> 	     0x19* 0x24
> 	Node 0x19 [Beep Generator Widget] wcaps 0x700000: Mono
> 	Node 0x1a [Pin Complex] wcaps 0x400185: Stereo Amp-Out
> 	  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80 0x80]
> 	  Pincap 0x081f: OUT HP Detect
> 	  Pin Default 0x02214021: [Jack] HP Out at Ext Front
> 	    Conn = 1/8, Color = Green
> 	  Pin-ctls: 0xc0: OUT HP
> 	  Connection: 1
> 	     0x0a
> 	Node 0x1b [Pin Complex] wcaps 0x400185: Stereo Amp-Out
> 	  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80 0x80]
> 	  Pincap 0x081001f: OUT HP EAPD Detect
> 	  Pin Default 0x01014011: [Jack] Line Out at Ext Rear
> 	    Conn = 1/8, Color = Green
> 	  Pin-ctls: 0x40: OUT
> 	  Connection: 1
> 	     0x0b
> 	Node 0x1c [Pin Complex] wcaps 0x400185: Stereo Amp-Out
> 	  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80 0x80]
> 	  Pincap 0x0837: IN OUT Detect
> 	  Pin Default 0x41013012: [N/A] Line Out at Ext Rear
> 	    Conn = 1/8, Color = Blue
> 	  Pin-ctls: 0x40: OUT
> 	  Connection: 1
> 	     0x0c
> 	Node 0x1d [Pin Complex] wcaps 0x400985: Stereo Amp-Out
> 	  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80 0x80]
> 	  Pincap 0x081737: IN OUT Detect
> 	  Pin Default 0x01019015: [Jack] Line Out at Ext Rear
> 	    Conn = 1/8, Color = Pink
> 	  Pin-ctls: 0x40: OUT
> 	  Connection: 1
> 	     0x0d
> 	Node 0x1e [Pin Complex] wcaps 0x400104: Mono Amp-Out
> 	  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
> 	  Amp-Out vals:  [0x80]
> 	  Pincap 0x0810: OUT
> 	  Pin Default 0x511710f0: [N/A] Speaker at Int Rear
> 	    Conn = Analog, Color = Black
> 	  Pin-ctls: 0x40: OUT
> 	  Connection: 1
> 	     0x0e
> 	Node 0x1f [Pin Complex] wcaps 0x400081: Stereo
> 	  Pincap 0x081727: IN Detect
> 	  Pin Default 0x02a190f0: [Jack] Mic at Ext Front
> 	    Conn = 1/8, Color = Pink
> 	  Pin-ctls: 0x24: IN
> 	Node 0x20 [Pin Complex] wcaps 0x400081: Stereo
> 	  Pincap 0x081727: IN Detect
> 	  Pin Default 0x418130f0: [N/A] Line In at Ext Rear
> 	    Conn = 1/8, Color = Blue
> 	  Pin-ctls: 0x20: IN
> 	Node 0x21 [Pin Complex] wcaps 0x400081: Stereo
> 	  Pincap 0x0827: IN Detect
> 	  Pin Default 0x5997e0f0: [N/A] Aux at Int ATAPI
> 	    Conn = Analog, Color = White
> 	  Pin-ctls: 0x20: IN
> 	Node 0x22 [Pin Complex] wcaps 0x400001: Stereo
> 	  Pincap 0x0820: IN
> 	  Pin Default 0x593310f0: [N/A] CD at Int ATAPI
> 	    Conn = ATAPI, Color = Black
> 	  Pin-ctls: 0x20: IN
> 	Node 0x23 [Pin Complex] wcaps 0x400000: Mono
> 	  Pincap 0x0820: IN
> 	  Pin Default 0x59b770f0: [N/A] Telephony at Int ATAPI
> 	    Conn = Analog, Color = Yellow
> 	  Pin-ctls: 0x20: IN
> 	Node 0x24 [Pin Complex] wcaps 0x400000: Mono
> 	  Pincap 0x0820: IN
> 	  Pin Default 0x51f710f0: [N/A] Other at Int Rear
> 	    Conn = Analog, Color = Black
> 	  Pin-ctls: 0x20: IN
> 	Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital
> 	  Pincap 0x0810: OUT
> 	  Pin Default 0x4145f0f0: [N/A] SPDIF Out at Ext Rear
> 	    Conn = Optical, Color = Other
> 	  Pin-ctls: 0x40: OUT
> 	  Connection: 1
> 	     0x02
> 	Node 0x26 [Power Widget] wcaps 0x500500: Mono
> 	  Power: 0x0
> 	  Connection: 8
> 	     0x07* 0x08 0x13 0x14 0x15 0x16 0x17 0x18
> 	Node 0x27 [Audio Mixer] wcaps 0x200101: Stereo
> 	  Connection: 2
> 	     0x1f 0x1d
> 	Node 0x28 [Audio Mixer] wcaps 0x200101: Stereo
> 	  Connection: 2
> 	     0x1f 0x20
> 	Node 0x29 [Audio Mixer] wcaps 0x200101: Stereo
> 	  Connection: 2
> 	     0x1d 0x20
> 	Node 0x2a [Audio Mixer] wcaps 0x200101: Stereo
> 	  Connection: 3
> 	     0x1f 0x1d 0x20
> 	Node 0x2b [Audio Mixer] wcaps 0x200100: Mono
> 	  Connection: 1
> 	     0x0f
> 	
> 	====================================================== 
> 	
> 	________________________________
> 	
> 	From: Tobin Davis [mailto:tdavis@dsl-only.net] 
> 	Sent: Tuesday, December 05, 2006 7:26 AM
> 	To: Allyn, Mark A
> 	Cc: alsa-devel@lists.sourceforge.net
> 	Subject: Re: [Alsa-devel] Samsung Audio Problem (update)
> 	
> 	
> 	Could you send a couple of things to the mailing list?
> Specifically,
> 	recompile the driver with "--with-debug=detect", reinstall it,
> and send
> 	the output from dmesg after installing the driver.  Also, send
> the
> 	output from 'cat /proc/asound/card0/codec*'.
> 	
> 	I have a laptop (Asus Z62F) with the exact same codec,   and I
> had to do
> 	some fiddling with the alsamixer controls before I could use
> either the
> 	internal mic or the external mic.  You might also check that.
> The mic
> 	gain is listed as an output for some reason (it's been marked as
> "fixme"
> 	in the code for quite some time).
> 	
> 	Tobin
> 	
> 	On Mon, 2006-12-04 at 13:43 -0800, Allyn, Mark A wrote: 
> 	
> 		Hello:
> 		 
> 		With thanks to Tobin Davis, I was able to resolve part
> of my
> 	problem.
> 		
> 		With using the latest snapshot of the alsa driver as
> well as
> 	adding
> 		
> 		options snd-hda-intel model=laptop-eapd
> 		
> 		to the /etc/modprobe.conf file, I was able to get rid of
> the
> 	high
> 		pitched
> 		squeal and have proper audio playback on the internal
> speakers.
> 		
> 		I am still unable to record. For your benefit, I do have
> some
> 	more
> 		Information on the audio device. From the lspci -qn, I
> got:
> 		
> 		Class: 0403
> 		8086:2668	rev03
> 		Subsystem: 144D:C027
> 		
> 		Has anyone got audio recording working on this codec and
> 	subsystem?
> 		
> 		Thank you
> 		
> 		Mark Allyn
> 		
> 		
> 	
> ------------------------------------------------------------------------
> 	-
> 		Take Surveys. Earn Cash. Influence the Future of IT
> 		Join SourceForge.net's Techsay panel and you'll get the
> chance
> 	to share your
> 		opinions on IT & business topics through brief surveys -
> and
> 	earn cash
> 		
> 	
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
> 	V
> 		_______________________________________________
> 		Alsa-devel mailing list
> 		Alsa-devel@lists.sourceforge.net
> 		https://lists.sourceforge.net/lists/listinfo/alsa-devel
> 		
> 	
> 	
> 

-- 
Tobin Davis <tdavis@dsl-only.net>

[-- Attachment #1.2: Type: text/html, Size: 23274 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel

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

* Re: Samsung Audio Problem (update)
@ 2006-12-07 23:52 Allyn, Mark A
  0 siblings, 0 replies; 6+ messages in thread
From: Allyn, Mark A @ 2006-12-07 23:52 UTC (permalink / raw)
  To: Tobin Davis; +Cc: alsa-devel

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

Tobin:
 
Here are the dmesg outputs and codec outputs as well.
 
I did notice a slide for 'internal', but I could not activate the
capture for that slider.
 
Mark

________________________________

From: Tobin Davis [mailto:tdavis@dsl-only.net] 
Sent: Thursday, December 07, 2006 3:24 PM
To: Allyn, Mark A
Cc: alsa-devel@alsa-project.org
Subject: RE: [Alsa-devel] Samsung Audio Problem (update)


Could you send the new dmesg output as well as the output from cat
/proc/asound/card0/codec#0?  I'm assuming you compiled the driver with
"--with-debug=detect"?  I need to see what the driver reports after
loading.

Thanks,

Tobin

On Thu, 2006-12-07 at 14:03 -0800, Allyn, Mark A wrote: 

	Tobin:
	 
	I did apply the patch as you suggest. The dmesg from the
modprobe of the
	snd-hda-intel does show 
	the ultra (Samsung) loading. However, there is still no
recording. I set
	all of the sliders on 
	100 percent and I made sure that the capture is on both mike and
	capture. Audio playback of 
	existing audio files is okay.
	 
	Mark
	
	________________________________
	
	From: Tobin Davis [mailto:tdavis@dsl-only.net] 
	Sent: Wednesday, December 06, 2006 3:31 PM
	To: Allyn, Mark A
	Cc: alsa-devel@lists.sourceforge.net
	Subject: RE: [Alsa-devel] Samsung Audio Problem (update)
	
	
	Mark,
	After looking through the documentation and the Windows regestry
	settings for that system's driver, I found some interesting
differences
	to the microphone selector.
	
	Try this patch against the alsa-driver-hg20061130 snapshot
	
(ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/alsa-driver-hg2006
	1129.tar.bz2).
	
	To apply:
	tar -jxvf alsa-driver-hg20061130.tar.bz2
	cd alsa-driver-hg20061130/alsa-kernel
	patch -p1 <SamsungQ1.patch
	cd ..
	./configure --with-cards=hda-intel --with-debug=detect ; make ;
make
	install
	
	Let me know if this fixes your microphone.  I also added the
subdevice
	id so you shouldn't need to add any model parameters.
	
	Tobin
	
	On Tue, 2006-12-05 at 10:46 -0800, Allyn, Mark A wrote: 
	
		Tobin:
		
		Here is the result of the debug=detect & codec#0:
		
		=====================================================
		
		[17179640.512000] PCI: Setting latency timer of device
	0000:00:1b.0 to
		64
		[17179640.544000] ALSA
	
/mnt1/src/asianux/BUILD/alsa-driver-hg20061130/pci/hda/../..
	
/alsa-kernel/pci/hda/hda_intel.c:696:
	codec_mask
		= 0x1
		[17179640.740000] ALSA
		
	
/mnt1/src/asianux/BUILD/alsa-driver-hg20061130/pci/hda/hda_codec.c:1743:
		
		                       hda_codec: model 'laptop-eapd' is
	selected
		
		
	
========================================================================
		output of codec#0
		Codec: Analog Devices AD1986A
		Address: 0
		Vendor Id: 0x11d41986
		Subsystem Id: 0x144dc027
		Revision Id: 0x100500
		Default PCM:
		    rates [0x7f]: 8000 11025 16000 22050 32000 44100
48000
		    bits [0xe]: 16 20 24
		    formats [0x1]: PCM
		Default Amp-In caps: ofs=0x00, nsteps=0x00,
stepsize=0x00,
	mute=1
		Default Amp-Out caps: ofs=0x1f, nsteps=0x1f,
stepsize=0x05,
	mute=1
		Node 0x02 [Audio Output] wcaps 0x30311: Stereo Digital
		  PCM:
		    rates [0x60]: 44100 48000
		    bits [0x2]: 16
		    formats [0x5]: PCM AC3
		  Connection: 2
		     0x01* 0x06
		Node 0x03 [Audio Output] wcaps 0x44d: Stereo Amp-Out
		  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80 0x80]
		  Power: 0x0
		Node 0x04 [Audio Output] wcaps 0x40d: Stereo Amp-Out
		  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80 0x80]
		  Power: 0x0
		Node 0x05 [Audio Output] wcaps 0x40d: Stereo Amp-Out
		  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80 0x80]
		  Power: 0x0
		Node 0x06 [Audio Input] wcaps 0x100511: Stereo
		  PCM:
		    rates [0x7f]: 8000 11025 16000 22050 32000 44100
48000
		    bits [0x6]: 16 20
		    formats [0x1]: PCM
		  Power: 0x0
		  Connection: 1
		     0x12
		Node 0x07 [Audio Mixer] wcaps 0x200101: Stereo
		  Connection: 8
		     0x03 0x09 0x13 0x14 0x15 0x16 0x17 0x18
		Node 0x08 [Audio Mixer] wcaps 0x200100: Mono
		  Connection: 1
		     0x07
		Node 0x09 [Audio Mixer] wcaps 0x20010e: Mono Amp-In
Amp-Out
		  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00,
mute=1
		  Amp-In vals:  [0x80] [0x80]
		  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00,
mute=1
		  Amp-Out vals:  [0x80]
		  Connection: 2
		     0x04 0x05
		Node 0x0a [Audio Selector] wcaps 0x300101: Stereo
		  Connection: 3
		     0x07* 0x04 0x05
		Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
		  Connection: 2
		     0x07* 0x04
		Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
		  Connection: 2
		     0x04* 0x07
		Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
		  Connection: 2
		     0x05* 0x08
		Node 0x0e [Audio Selector] wcaps 0x300100: Mono
		  Connection: 2
		     0x08* 0x11
		Node 0x0f [Audio Selector] wcaps 0x30010d: Stereo
Amp-Out
		  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27,
mute=0
		  Amp-Out vals:  [0x00 0x00]
		  Connection: 8
		     0x1f* 0x20 0x1d 0x1d 0x27 0x28 0x29 0x2a
		Node 0x10 [Audio Selector] wcaps 0x300101: Stereo
		  Connection: 3
		     0x20* 0x1c 0x1f
		Node 0x11 [Audio Selector] wcaps 0x300941: Stereo
		  Connection: 2
		     0x0f* 0x2b
		Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo
Amp-Out
		  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80 0x80]
		  Connection: 8
		     0x11* 0x22 0x00 0x21 0x10 0x07 0x08 0x23
		Node 0x13 [Audio Selector] wcaps 0x30010d: Stereo
Amp-Out
		  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80 0x80]
		  Connection: 1
		     0x11
		Node 0x14 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
		  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80]
		  Connection: 1
		     0x23
		Node 0x15 [Audio Selector] wcaps 0x30010d: Stereo
Amp-Out
		  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80 0x80]
		  Connection: 1
		     0x22
		Node 0x16 [Audio Selector] wcaps 0x30010d: Stereo
Amp-Out
		  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80 0x80]
		  Connection: 1
		     0x21
		Node 0x17 [Audio Selector] wcaps 0x30010d: Stereo
Amp-Out
		  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80 0x80]
		  Connection: 1
		     0x10
		Node 0x18 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
		  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b,
mute=1
		  Amp-Out vals:  [0x8f]
		  Connection: 2
		     0x19* 0x24
		Node 0x19 [Beep Generator Widget] wcaps 0x700000: Mono
		Node 0x1a [Pin Complex] wcaps 0x400185: Stereo Amp-Out
		  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80 0x80]
		  Pincap 0x081f: OUT HP Detect
		  Pin Default 0x02214021: [Jack] HP Out at Ext Front
		    Conn = 1/8, Color = Green
		  Pin-ctls: 0xc0: OUT HP
		  Connection: 1
		     0x0a
		Node 0x1b [Pin Complex] wcaps 0x400185: Stereo Amp-Out
		  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80 0x80]
		  Pincap 0x081001f: OUT HP EAPD Detect
		  Pin Default 0x01014011: [Jack] Line Out at Ext Rear
		    Conn = 1/8, Color = Green
		  Pin-ctls: 0x40: OUT
		  Connection: 1
		     0x0b
		Node 0x1c [Pin Complex] wcaps 0x400185: Stereo Amp-Out
		  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80 0x80]
		  Pincap 0x0837: IN OUT Detect
		  Pin Default 0x41013012: [N/A] Line Out at Ext Rear
		    Conn = 1/8, Color = Blue
		  Pin-ctls: 0x40: OUT
		  Connection: 1
		     0x0c
		Node 0x1d [Pin Complex] wcaps 0x400985: Stereo Amp-Out
		  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80 0x80]
		  Pincap 0x081737: IN OUT Detect
		  Pin Default 0x01019015: [Jack] Line Out at Ext Rear
		    Conn = 1/8, Color = Pink
		  Pin-ctls: 0x40: OUT
		  Connection: 1
		     0x0d
		Node 0x1e [Pin Complex] wcaps 0x400104: Mono Amp-Out
		  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05,
mute=1
		  Amp-Out vals:  [0x80]
		  Pincap 0x0810: OUT
		  Pin Default 0x511710f0: [N/A] Speaker at Int Rear
		    Conn = Analog, Color = Black
		  Pin-ctls: 0x40: OUT
		  Connection: 1
		     0x0e
		Node 0x1f [Pin Complex] wcaps 0x400081: Stereo
		  Pincap 0x081727: IN Detect
		  Pin Default 0x02a190f0: [Jack] Mic at Ext Front
		    Conn = 1/8, Color = Pink
		  Pin-ctls: 0x24: IN
		Node 0x20 [Pin Complex] wcaps 0x400081: Stereo
		  Pincap 0x081727: IN Detect
		  Pin Default 0x418130f0: [N/A] Line In at Ext Rear
		    Conn = 1/8, Color = Blue
		  Pin-ctls: 0x20: IN
		Node 0x21 [Pin Complex] wcaps 0x400081: Stereo
		  Pincap 0x0827: IN Detect
		  Pin Default 0x5997e0f0: [N/A] Aux at Int ATAPI
		    Conn = Analog, Color = White
		  Pin-ctls: 0x20: IN
		Node 0x22 [Pin Complex] wcaps 0x400001: Stereo
		  Pincap 0x0820: IN
		  Pin Default 0x593310f0: [N/A] CD at Int ATAPI
		    Conn = ATAPI, Color = Black
		  Pin-ctls: 0x20: IN
		Node 0x23 [Pin Complex] wcaps 0x400000: Mono
		  Pincap 0x0820: IN
		  Pin Default 0x59b770f0: [N/A] Telephony at Int ATAPI
		    Conn = Analog, Color = Yellow
		  Pin-ctls: 0x20: IN
		Node 0x24 [Pin Complex] wcaps 0x400000: Mono
		  Pincap 0x0820: IN
		  Pin Default 0x51f710f0: [N/A] Other at Int Rear
		    Conn = Analog, Color = Black
		  Pin-ctls: 0x20: IN
		Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital
		  Pincap 0x0810: OUT
		  Pin Default 0x4145f0f0: [N/A] SPDIF Out at Ext Rear
		    Conn = Optical, Color = Other
		  Pin-ctls: 0x40: OUT
		  Connection: 1
		     0x02
		Node 0x26 [Power Widget] wcaps 0x500500: Mono
		  Power: 0x0
		  Connection: 8
		     0x07* 0x08 0x13 0x14 0x15 0x16 0x17 0x18
		Node 0x27 [Audio Mixer] wcaps 0x200101: Stereo
		  Connection: 2
		     0x1f 0x1d
		Node 0x28 [Audio Mixer] wcaps 0x200101: Stereo
		  Connection: 2
		     0x1f 0x20
		Node 0x29 [Audio Mixer] wcaps 0x200101: Stereo
		  Connection: 2
		     0x1d 0x20
		Node 0x2a [Audio Mixer] wcaps 0x200101: Stereo
		  Connection: 3
		     0x1f 0x1d 0x20
		Node 0x2b [Audio Mixer] wcaps 0x200100: Mono
		  Connection: 1
		     0x0f
		
		====================================================== 
		
		________________________________
		
		From: Tobin Davis [mailto:tdavis@dsl-only.net] 
		Sent: Tuesday, December 05, 2006 7:26 AM
		To: Allyn, Mark A
		Cc: alsa-devel@lists.sourceforge.net
		Subject: Re: [Alsa-devel] Samsung Audio Problem (update)
		
		
		Could you send a couple of things to the mailing list?
	Specifically,
		recompile the driver with "--with-debug=detect",
reinstall it,
	and send
		the output from dmesg after installing the driver.
Also, send
	the
		output from 'cat /proc/asound/card0/codec*'.
		
		I have a laptop (Asus Z62F) with the exact same codec,
and I
	had to do
		some fiddling with the alsamixer controls before I could
use
	either the
		internal mic or the external mic.  You might also check
that.
	The mic
		gain is listed as an output for some reason (it's been
marked as
	"fixme"
		in the code for quite some time).
		
		Tobin
		
		On Mon, 2006-12-04 at 13:43 -0800, Allyn, Mark A wrote: 
		
			Hello:
			 
			With thanks to Tobin Davis, I was able to
resolve part
	of my
		problem.
			
			With using the latest snapshot of the alsa
driver as
	well as
		adding
			
			options snd-hda-intel model=laptop-eapd
			
			to the /etc/modprobe.conf file, I was able to
get rid of
	the
		high
			pitched
			squeal and have proper audio playback on the
internal
	speakers.
			
			I am still unable to record. For your benefit, I
do have
	some
		more
			Information on the audio device. From the lspci
-qn, I
	got:
			
			Class: 0403
			8086:2668	rev03
			Subsystem: 144D:C027
			
			Has anyone got audio recording working on this
codec and
		subsystem?
			
			Thank you
			
			Mark Allyn
			
			
		
	
------------------------------------------------------------------------
		-
			Take Surveys. Earn Cash. Influence the Future of
IT
			Join SourceForge.net's Techsay panel and you'll
get the
	chance
		to share your
			opinions on IT & business topics through brief
surveys -
	and
		earn cash
			
		
	
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
		V
			_______________________________________________
			Alsa-devel mailing list
			Alsa-devel@lists.sourceforge.net
	
https://lists.sourceforge.net/lists/listinfo/alsa-devel
			
		
		
	
	

-- 
Tobin Davis <tdavis@dsl-only.net> 	

[-- Attachment #2: codec --]
[-- Type: application/octet-stream, Size: 7032 bytes --]

Codec: Analog Devices AD1986A
Address: 0
Vendor Id: 0x11d41986
Subsystem Id: 0x144dc027
Revision Id: 0x100500
Default PCM:
    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
Node 0x02 [Audio Output] wcaps 0x30311: Stereo Digital
  PCM:
    rates [0x60]: 44100 48000
    bits [0x2]: 16
    formats [0x5]: PCM AC3
  Connection: 2
     0x01* 0x06
Node 0x03 [Audio Output] wcaps 0x44d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x18 0x18]
  Power: 0x0
Node 0x04 [Audio Output] wcaps 0x40d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Power: 0x0
Node 0x05 [Audio Output] wcaps 0x40d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Power: 0x0
Node 0x06 [Audio Input] wcaps 0x100511: Stereo
  PCM:
    rates [0x7f]: 8000 11025 16000 22050 32000 44100 48000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Power: 0x0
  Connection: 1
     0x12
Node 0x07 [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 8
     0x03 0x09 0x13 0x14 0x15 0x16 0x17 0x18
Node 0x08 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x07
Node 0x09 [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80] [0x80]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Connection: 2
     0x04 0x05
Node 0x0a [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x07* 0x04 0x05
Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x07* 0x04
Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x04* 0x07
Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x05* 0x08
Node 0x0e [Audio Selector] wcaps 0x300100: Mono
  Connection: 2
     0x08* 0x11
Node 0x0f [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 8
     0x1f* 0x20 0x1d 0x1d 0x27 0x28 0x29 0x2a
Node 0x10 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x20* 0x1c 0x1f
Node 0x11 [Audio Selector] wcaps 0x300941: Stereo
  Connection: 2
     0x0f* 0x2b
Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x0f 0x0f]
  Connection: 8
     0x11* 0x22 0x00 0x21 0x10 0x07 0x08 0x23
Node 0x13 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x1f 0x1f]
  Connection: 1
     0x11
Node 0x14 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80]
  Connection: 1
     0x23
Node 0x15 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x22
Node 0x16 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Connection: 1
     0x21
Node 0x17 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x1d 0x1d]
  Connection: 1
     0x10
Node 0x18 [Audio Selector] wcaps 0x30010c: Mono Amp-Out
  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x8f]
  Connection: 2
     0x19* 0x24
Node 0x19 [Beep Generator Widget] wcaps 0x700000: Mono
Node 0x1a [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x17 0x17]
  Pincap 0x081f: OUT HP Detect
  Pin Default 0x02214021: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
  Pin-ctls: 0xc0: OUT HP
  Connection: 1
     0x0a
Node 0x1b [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x17 0x17]
  Pincap 0x081001f: OUT HP EAPD Detect
  Pin Default 0x01014011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0b
Node 0x1c [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0837: IN OUT Detect
  Pin Default 0x41013012: [N/A] Line Out at Ext Rear
    Conn = 1/8, Color = Blue
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0c
Node 0x1d [Pin Complex] wcaps 0x400985: Stereo Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x081737: IN OUT Detect
  Pin Default 0x01019015: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Pink
  Pin-ctls: 0x24: IN
  Connection: 1
     0x0d
Node 0x1e [Pin Complex] wcaps 0x400104: Mono Amp-Out
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x0810: OUT
  Pin Default 0x511710f0: [N/A] Speaker at Int Rear
    Conn = Analog, Color = Black
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0e
Node 0x1f [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x081727: IN Detect
  Pin Default 0x02a190f0: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
  Pin-ctls: 0x24: IN
Node 0x20 [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x081727: IN Detect
  Pin Default 0x418130f0: [N/A] Line In at Ext Rear
    Conn = 1/8, Color = Blue
  Pin-ctls: 0x20: IN
Node 0x21 [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x0827: IN Detect
  Pin Default 0x5997e0f0: [N/A] Aux at Int ATAPI
    Conn = Analog, Color = White
  Pin-ctls: 0x20: IN
Node 0x22 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x593310f0: [N/A] CD at Int ATAPI
    Conn = ATAPI, Color = Black
  Pin-ctls: 0x20: IN
Node 0x23 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x0820: IN
  Pin Default 0x59b770f0: [N/A] Telephony at Int ATAPI
    Conn = Analog, Color = Yellow
  Pin-ctls: 0x20: IN
Node 0x24 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x0820: IN
  Pin Default 0x51f710f0: [N/A] Other at Int Rear
    Conn = Analog, Color = Black
  Pin-ctls: 0x20: IN
Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x0810: OUT
  Pin Default 0x4145f0f0: [N/A] SPDIF Out at Ext Rear
    Conn = Optical, Color = Other
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x02
Node 0x26 [Power Widget] wcaps 0x500500: Mono
  Power: 0x0
  Connection: 8
     0x07* 0x08 0x13 0x14 0x15 0x16 0x17 0x18
Node 0x27 [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 2
     0x1f 0x1d
Node 0x28 [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 2
     0x1f 0x20
Node 0x29 [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 2
     0x1d 0x20
Node 0x2a [Audio Mixer] wcaps 0x200101: Stereo
  Connection: 3
     0x1f 0x1d 0x20
Node 0x2b [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x0f

[-- Attachment #3: dmesg --]
[-- Type: application/octet-stream, Size: 379 bytes --]

[17186438.208000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[17186438.240000] ALSA /mnt1/src/asianux/BUILD/alsa-driver-hg20061130/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:696: codec_mask = 0x1
[17186438.436000] ALSA /mnt1/src/asianux/BUILD/alsa-driver-hg20061130/pci/hda/hda_codec.c:1768: hda_codec: model 'ultra' is selected for config 144d:c027 (Samsung Q1)

[-- Attachment #4: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #5: Type: text/plain, Size: 161 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel

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

end of thread, other threads:[~2006-12-07 23:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <5FD5754DDBA0B1499B5A0B4BB54194852FFD0A@fmsmsx411.amr.corp.intel.com>
2006-12-07 23:24 ` Samsung Audio Problem (update) Tobin Davis
2006-12-07 23:52 Allyn, Mark A
  -- strict thread matches above, loose matches on Subject: below --
2006-12-05 18:46 Allyn, Mark A
2006-12-06 23:31 ` Tobin Davis
2006-12-04 21:43 Allyn, Mark A
2006-12-05 15:26 ` Tobin Davis

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.