* Alsa support for conexant
@ 2012-04-06 0:30 Sql Sql
2012-04-06 14:09 ` Pierre-Louis Bossart
0 siblings, 1 reply; 3+ messages in thread
From: Sql Sql @ 2012-04-06 0:30 UTC (permalink / raw)
To: alsa-devel@alsa-project.org
I have a Lenovo Thinkpad T400 with a mini dock which has SPDIF output. It is running Debian Squeeze.
When I run alsamixer, I can see the soundcard detected is:
Conexant CX20561
When I run aplay -l:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: Conexant Digital [Conexant Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
However, I can't get it to output through SPDIF.
I tried:
aplay -Dplug:iec958 /usr/share/sounds/alsa/Front_Center.wav = no sound
I tried:
pcm.!default {
type plug
slave {
pcm "front:CARD=Intel"
}
}
(restarted alsautils), it still doesn't work.
I tried adding:
options snd-hda-intel model=lenovo-x200
options snd-hda-intel model=lenovo
options snd-hda-intel model=laptop
options snd-hda-intel model=thinkpad
and then alsa force reload
None of these work.
Is there anyway I can get it to output through SPDIF? My other computer that has SPDIF outputs fine using the custom asound.conf so why isn't it working for the lenovo? BTW, I confirmed the SPDIF is not defective by booting into Windows and testing it.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Alsa support for conexant
2012-04-06 0:30 Alsa support for conexant Sql Sql
@ 2012-04-06 14:09 ` Pierre-Louis Bossart
2012-04-06 19:36 ` Sql Sql
0 siblings, 1 reply; 3+ messages in thread
From: Pierre-Louis Bossart @ 2012-04-06 14:09 UTC (permalink / raw)
To: alsa-devel
> Is there anyway I can get it to output through SPDIF? My other computer that has SPDIF outputs fine using the custom asound.conf so why isn't it working for the lenovo? BTW, I confirmed the SPDIF is not defective by booting into Windows and testing it.
Can you check if the SPDIF pin is actually enabled (look at
/proc/asound/cardxx/codec#xx) as OUT. I had a similar problem a long
time ago on a Lenovo W500, enabling the pin with a one-line verb for the
connexant 5051 solved the problem.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Alsa support for conexant
2012-04-06 14:09 ` Pierre-Louis Bossart
@ 2012-04-06 19:36 ` Sql Sql
0 siblings, 0 replies; 3+ messages in thread
From: Sql Sql @ 2012-04-06 19:36 UTC (permalink / raw)
To: Pierre-Louis Bossart, alsa-devel@alsa-project.org
Thanks for the response,
I did
cat /proc/asound/card0/codec#0
and got the following output: (I have bolded the relevant information)
Codec: Conexant CX20561 (Hermosa)
Address: 0
Function Id: 0x1
Vendor Id: 0x14f15051
Subsystem Id: 0x17aa211c
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x10 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=0
Amp-Out vals: [0x1f 0x1f]
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Node 0x11 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=0
Amp-Out vals: [0x4a 0x4a]
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Node 0x12 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x5]: PCM AC3
Node 0x13 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=0
Amp-Out vals: [0x00]
Node 0x14 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=0
Amp-In vals: [0x44 0x44] [0x44 0x44]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Connection: 2
0x1d* 0x17
Node 0x15 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=0
Amp-In vals: [0x44 0x44]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Connection: 1
0x18
Node 0x16 [Pin Complex] wcaps 0x400581: Stereo
Pincap 0x0000001c: OUT HP Detect
Pin Default 0x022140f0: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=37, enabled=1
Power: setting=D0, actual=D0
Connection: 2
0x10* 0x11
Node 0x17 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
Amp-In vals: [0x03 0x03]
Pincap 0x00001224: IN Detect
Vref caps: 50 80
Pin Default 0x61a190f0: [N/A] Mic at Sep Rear
Conn = 1/8, Color = Pink
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=38, enabled=1
Power: setting=D0, actual=D0
Node 0x18 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
Amp-In vals: [0x03 0x03]
Pincap 0x00001224: IN Detect
Vref caps: 50 80
Pin Default 0x02a190f0: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=39, enabled=1
Power: setting=D0, actual=D0
Node 0x19 [Pin Complex] wcaps 0x400581: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0x40f000f0: [N/A] Other at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=37, enabled=1
Power: setting=D0, actual=D0
Connection: 2
0x10* 0x11
Node 0x1a [Pin Complex] wcaps 0x400501: Stereo
Pincap 0x00010010: OUT EAPD
EAPD 0x2: EAPD
Pin Default 0x901701f0: [Fixed] Speaker at Int N/A
Conn = Analog, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Power: setting=D0, actual=D0
Connection: 2
0x10* 0x11
Node 0x1b [Pin Complex] wcaps 0x400500: Mono
Pincap 0x00010010: OUT EAPD
EAPD 0x2: EAPD
Pin Default 0x40f001f0: [N/A] Other at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Power: setting=D0, actual=D0
Connection: 2
0x10* 0x11
Node 0x1c [Pin Complex] wcaps 0x400701: Stereo Digital
Pincap 0x00000010: OUT
Pin Default 0x40f001f0: [N/A] Other at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Power: setting=D0, actual=D0
Connection: 1
0x12
Node 0x1d [Pin Complex] wcaps 0x40040b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x2f, mute=0
Amp-In vals: [0x03 0x03]
Pincap 0x00000020: IN
Pin Default 0x90a601f0: [Fixed] Mic at Int N/A
Conn = Digital, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Power: setting=D0, actual=D0
Node 0x1e [Vendor Defined Widget] wcaps 0xf00000: Mono
It looks like it is already enabled and set to OUT.
How do I enable the pin with a one line verb? Do I write option connexant 5051 to modprobe.d/alsabase.conf?
________________________________
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: alsa-devel@alsa-project.org
Sent: Friday, April 6, 2012 10:09 AM
Subject: Re: [alsa-devel] Alsa support for conexant
> Is there anyway I can get it to output through SPDIF? My other computer that has SPDIF outputs fine using the custom asound.conf so why isn't it working for the lenovo? BTW, I confirmed the SPDIF is not defective by booting into Windows and testing it.
Can you check if the SPDIF pin is actually enabled (look at
/proc/asound/cardxx/codec#xx) as OUT. I had a similar problem a long
time ago on a Lenovo W500, enabling the pin with a one-line verb for the
connexant 5051 solved the problem.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-06 19:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-06 0:30 Alsa support for conexant Sql Sql
2012-04-06 14:09 ` Pierre-Louis Bossart
2012-04-06 19:36 ` Sql Sql
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.