* Re: [ALSA] hda-codec - Fix laptop models for Cxt5045
[not found] <871w2ea4ek.fsf@ixod.org>
@ 2008-07-01 7:07 ` Jaroslav Kysela
2008-07-01 9:54 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Jaroslav Kysela @ 2008-07-01 7:07 UTC (permalink / raw)
To: Mark T.B. Carroll; +Cc: ALSA development, Marc Boucher
On Mon, 30 Jun 2008, Mark T.B. Carroll wrote:
> Greetings. I thought I should mention that your patch
> http://kerneltrap.org/mailarchive/git-commits-head/2008/2/1/670694
> broke headphone sound for me on a Toshiba Satellite P105-S6197,
> sound card PCI ID 8086:27d8 with Conexant CX20549 codec. The speakers
> silence when I plug the headphones in but no sound comes from them.
>
> Details are at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488063
> but half of my Debian bug reports go ignored for years.
>
> A sufficient workaround for me is to comment out the `default:' in the
> `switch (board_config)' in the function `patch_cxt5045' in
> sound/pci/hda/patch_conexant.c. Then everything works fine again.
>
> The same problem appears to be reported by evilviper77 at
> http://bbs.archlinux.org/viewtopic.php?pid=373770 - they have a
> Toshiba P105-9339.
CCing to alsa-devel mailing list.
Jaroslav
-----
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ALSA] hda-codec - Fix laptop models for Cxt5045
2008-07-01 7:07 ` [ALSA] hda-codec - Fix laptop models for Cxt5045 Jaroslav Kysela
@ 2008-07-01 9:54 ` Takashi Iwai
2008-07-01 12:26 ` Mark T.B. Carroll
0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2008-07-01 9:54 UTC (permalink / raw)
To: Mark T.B. Carroll; +Cc: ALSA development, Marc Boucher
At Tue, 1 Jul 2008 09:07:30 +0200 (CEST),
Jaroslav Kysela wrote:
>
> On Mon, 30 Jun 2008, Mark T.B. Carroll wrote:
>
> > Greetings. I thought I should mention that your patch
> > http://kerneltrap.org/mailarchive/git-commits-head/2008/2/1/670694
> > broke headphone sound for me on a Toshiba Satellite P105-S6197,
> > sound card PCI ID 8086:27d8 with Conexant CX20549 codec. The speakers
> > silence when I plug the headphones in but no sound comes from them.
Do you mean that the no sound comes from the headphone even if you
plug it? And, the speaker works again after unplugging the HP?
> > Details are at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488063
> > but half of my Debian bug reports go ignored for years.
> >
> > A sufficient workaround for me is to comment out the `default:' in the
> > `switch (board_config)' in the function `patch_cxt5045' in
> > sound/pci/hda/patch_conexant.c. Then everything works fine again.
Does the speaker auto-muting work if you do that?
> > The same problem appears to be reported by evilviper77 at
> > http://bbs.archlinux.org/viewtopic.php?pid=373770 - they have a
> > Toshiba P105-9339.
Please run alsa-info.sh (with --no-upload option) for both working
(patched) and non-working (the original) cases, and attach generated
files to compare. This will be helpful to analyze the problem.
thanks,
Takashi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ALSA] hda-codec - Fix laptop models for Cxt5045
2008-07-01 9:54 ` Takashi Iwai
@ 2008-07-01 12:26 ` Mark T.B. Carroll
2008-07-01 12:36 ` Takashi Iwai
2008-07-01 12:40 ` Takashi Iwai
0 siblings, 2 replies; 9+ messages in thread
From: Mark T.B. Carroll @ 2008-07-01 12:26 UTC (permalink / raw)
To: Takashi Iwai; +Cc: ALSA development, Marc Boucher
[-- Attachment #1: Type: text/plain, Size: 1525 bytes --]
Takashi Iwai <tiwai@suse.de> writes:
> At Tue, 1 Jul 2008 09:07:30 +0200 (CEST),
> Jaroslav Kysela wrote:
>>
>> On Mon, 30 Jun 2008, Mark T.B. Carroll wrote:
>>
>> > Greetings. I thought I should mention that your patch
>> > http://kerneltrap.org/mailarchive/git-commits-head/2008/2/1/670694
>> > broke headphone sound for me on a Toshiba Satellite P105-S6197,
>> > sound card PCI ID 8086:27d8 with Conexant CX20549 codec. The speakers
>> > silence when I plug the headphones in but no sound comes from them.
>
> Do you mean that the no sound comes from the headphone even if you
> plug it? And, the speaker works again after unplugging the HP?
Yes.
>> > Details are at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488063
>> > but half of my Debian bug reports go ignored for years.
>> >
>> > A sufficient workaround for me is to comment out the `default:' in the
>> > `switch (board_config)' in the function `patch_cxt5045' in
>> > sound/pci/hda/patch_conexant.c. Then everything works fine again.
>
> Does the speaker auto-muting work if you do that?
Yes.
In both cases, the speakers work fine: they mute if I plug the
headphones in, and unmute when I unplug them.
The difference is that if I leave the `default:' in the code, no sound
comes from the headphones when they are plugged in.
> Please run alsa-info.sh (with --no-upload option) for both working
> (patched) and non-working (the original) cases, and attach generated
> files to compare. This will be helpful to analyze the problem.
Okay.
Mark
[-- Attachment #2: alsa-info.txt from configuration that breaks headphones --]
[-- Type: text/plain, Size: 13027 bytes --]
name=root&type=33&description=/tmp/alsa-info.txt&expiry=&s=Submit+Post&content=
!!################################
!!ALSA Information Script v 0.4.48
!!################################
!!Script ran on: Tue Jul 1 08:16:19 EDT 2008
!!Linux Distribution
!!------------------
Debian GNU/Linux 4.0 \n \l
!!Kernel Information
!!------------------
Kernel release: 2.6.26-rc8
Operating System: GNU/Linux
Architecture: x86_64
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: 1.0.16
Library version:
Utilities version: 1.0.16
!!Loaded ALSA modules
!!-------------------
!!Soundcards recognised by ALSA
!!-----------------------------
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xd0340000 irq 22
!!PCI Soundcards installed in the system
!!--------------------------------------
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
0a:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------
00:1b.0 0403: 8086:27d8 (rev 02)
Subsystem: 1179:ff31
!!Modprobe options (Sound related)
!!--------------------------------
snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-pcsp: index=-2
!!Loaded sound module options
!!--------------------------
!!HDA-Intel Codec information
!!---------------------------
--startcollapse--
Codec: Conexant CX20549 (Venice)
Address: 0
Vendor Id: 0x14f15045
Subsystem Id: 0x1179ff31
Revision Id: 0x100100
Modem Function Group: 0x2
Default PCM:
rates [0x140]: 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x10 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0x2b 0x2b]
Pincap 0x0810014: OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x95170110: [Fixed] Speaker at Int Top
Conn = Analog, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Power: setting=D0, actual=D0
Connection: 2
0x19 0x17*
Node 0x11 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0x2b 0x2b]
Pincap 0x08113c: IN OUT HP Detect
Vref caps: HIZ 80
Pin Default 0x4221101f: [N/A] HP Out at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0xc0: OUT HP VREF_HIZ
Unsolicited: tag=37, enabled=1
Power: setting=D0, actual=D0
Connection: 2
0x19 0x17*
Node 0x12 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0xab 0xab]
Pincap 0x08113c: IN OUT HP Detect
Vref caps: HIZ 80
Pin Default 0x02811020: [Jack] Line In at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=38, enabled=1
Power: setting=D0, actual=D0
Connection: 2
0x19* 0x17
Node 0x13 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x0810: OUT
Pin Default 0x02441140: [Jack] SPDIF Out at Ext Front
Conn = RCA, Color = Black
DefAssociation = 0x4, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1
0x18
Node 0x14 [Pin Complex] wcaps 0x400081: Stereo
Pincap 0x081124: IN Detect
Vref caps: HIZ 80
Pin Default 0x02a1102e: [Jack] Mic at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0xe
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Node 0x15 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x59330060: [N/A] CD at Int ATAPI
Conn = ATAPI, Color = Unknown
DefAssociation = 0x6, Sequence = 0x0
Pin-ctls: 0x00:
Node 0x16 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x07, nsteps=0x07, stepsize=0x0b, mute=1
Amp-Out vals: [0x06]
Node 0x17 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
Amp-In caps: ofs=0x14, nsteps=0x2b, stepsize=0x05, mute=1
Amp-In vals: [0x14 0x14] [0x14 0x14] [0x14 0x14] [0x80 0x80] [0x80 0x80]
Power: setting=D0, actual=D0
Connection: 5
0x19 0x14 0x12 0x11 0x15
Node 0x18 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x1
PCM:
rates [0x40]: 48000
bits [0x6]: 16 20
formats [0x5]: PCM AC3
Node 0x19 [Audio Output] wcaps 0xc11: Stereo R/L
Converter: stream=0, channel=0
PCM:
rates [0x540]: 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Node 0x1a [Audio Input] wcaps 0x100d0b: Stereo Amp-In R/L
Amp-In caps: ofs=0x00, nsteps=0x17, stepsize=0x05, mute=1
Amp-In vals: [0x17 0x17] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
Converter: stream=0, channel=0
SDI-Select: 0
Power: setting=D0, actual=D0
Connection: 5
0x17 0x14* 0x12 0x11 0x15
Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 7 2008-07-01 08:14 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 6 2008-07-01 08:14 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 5 2008-07-01 08:15 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 4 2008-07-01 08:14 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 3 2008-07-01 08:14 /dev/snd/seq
crw-rw---- 1 root audio 116, 2 2008-07-01 08:14 /dev/snd/timer
!!Aplay/Arecord output
!!------------
APLAY
**** 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
ARECORD
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [Intel]
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 43
Mono:
Front Left: Playback 43 [100%] [0.00dB] [on]
Front Right: Playback 43 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 20
Mono:
Front Left: Playback 20 [100%] [0.00dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 120 [100%] [30.00dB]
Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'Ext Mic',0
Capabilities: pvolume cvolume pswitch cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 20 Capture 0 - 23
Front Left: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Simple mixer control 'ExtMic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Int Mic',0
Capabilities: pvolume cvolume pswitch cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 20 Capture 0 - 23
Front Left: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Simple mixer control 'IntMic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [on]
!!Alsactl output
!!-------------
--startcollapse--
state.Intel {
control.1 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 IntMic
comment.item.1 ExtMic
iface MIXER
name 'Capture Source'
value IntMic
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
comment.dbmin 0
comment.dbmax 3450
iface MIXER
name 'Int Mic Capture Volume'
value.0 23
value.1 23
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Int Mic Capture Switch'
value.0 true
value.1 true
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
comment.dbmin 0
comment.dbmax 3450
iface MIXER
name 'Ext Mic Capture Volume'
value.0 23
value.1 23
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Ext Mic Capture Switch'
value.0 true
value.1 true
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'PCM Playback Volume'
value.0 20
value.1 20
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'PCM Playback Switch'
value.0 true
value.1 true
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'Int Mic Playback Volume'
value.0 20
value.1 20
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Int Mic Playback Switch'
value.0 true
value.1 true
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'Ext Mic Playback Volume'
value.0 20
value.1 20
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Ext Mic Playback Switch'
value.0 true
value.1 true
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 43'
comment.dbmin -6450
comment.dbmax 0
iface MIXER
name 'Master Playback Volume'
value.0 43
value.1 43
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Master Playback Switch'
value true
}
control.14 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.15 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Pro Mask'
value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.16 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Default'
value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Playback Switch'
value true
}
control.18 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Default PCM Playback Switch'
value true
}
control.19 {
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 120
value.1 120
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
iwl3945
[-- Attachment #3: alsa-info.txt from configuration where headphones work fine --]
[-- Type: text/plain, Size: 13027 bytes --]
name=root&type=33&description=/tmp/alsa-info.txt&expiry=&s=Submit+Post&content=
!!################################
!!ALSA Information Script v 0.4.48
!!################################
!!Script ran on: Tue Jul 1 08:09:52 EDT 2008
!!Linux Distribution
!!------------------
Debian GNU/Linux 4.0 \n \l
!!Kernel Information
!!------------------
Kernel release: 2.6.26-rc8
Operating System: GNU/Linux
Architecture: x86_64
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: 1.0.16
Library version:
Utilities version: 1.0.16
!!Loaded ALSA modules
!!-------------------
!!Soundcards recognised by ALSA
!!-----------------------------
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xd0340000 irq 22
!!PCI Soundcards installed in the system
!!--------------------------------------
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
0a:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------
00:1b.0 0403: 8086:27d8 (rev 02)
Subsystem: 1179:ff31
!!Modprobe options (Sound related)
!!--------------------------------
snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-pcsp: index=-2
!!Loaded sound module options
!!--------------------------
!!HDA-Intel Codec information
!!---------------------------
--startcollapse--
Codec: Conexant CX20549 (Venice)
Address: 0
Vendor Id: 0x14f15045
Subsystem Id: 0x1179ff31
Revision Id: 0x100100
Modem Function Group: 0x2
Default PCM:
rates [0x140]: 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x10 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0x2b 0x2b]
Pincap 0x0810014: OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x95170110: [Fixed] Speaker at Int Top
Conn = Analog, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Power: setting=D0, actual=D0
Connection: 2
0x19 0x17*
Node 0x11 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0x2b 0x2b]
Pincap 0x08113c: IN OUT HP Detect
Vref caps: HIZ 80
Pin Default 0x4221101f: [N/A] HP Out at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0xc0: OUT HP VREF_HIZ
Unsolicited: tag=00, enabled=0
Power: setting=D0, actual=D0
Connection: 2
0x19 0x17*
Node 0x12 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0xab 0xab]
Pincap 0x08113c: IN OUT HP Detect
Vref caps: HIZ 80
Pin Default 0x02811020: [Jack] Line In at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Power: setting=D0, actual=D0
Connection: 2
0x19* 0x17
Node 0x13 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x0810: OUT
Pin Default 0x02441140: [Jack] SPDIF Out at Ext Front
Conn = RCA, Color = Black
DefAssociation = 0x4, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1
0x18
Node 0x14 [Pin Complex] wcaps 0x400081: Stereo
Pincap 0x081124: IN Detect
Vref caps: HIZ 80
Pin Default 0x02a1102e: [Jack] Mic at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0xe
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Node 0x15 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x59330060: [N/A] CD at Int ATAPI
Conn = ATAPI, Color = Unknown
DefAssociation = 0x6, Sequence = 0x0
Pin-ctls: 0x00:
Node 0x16 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x07, nsteps=0x07, stepsize=0x0b, mute=1
Amp-Out vals: [0x06]
Node 0x17 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
Amp-In caps: ofs=0x14, nsteps=0x2b, stepsize=0x05, mute=1
Amp-In vals: [0x14 0x14] [0x14 0x14] [0x14 0x14] [0x80 0x80] [0x80 0x80]
Power: setting=D0, actual=D0
Connection: 5
0x19 0x14 0x12 0x11 0x15
Node 0x18 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x1
PCM:
rates [0x40]: 48000
bits [0x6]: 16 20
formats [0x5]: PCM AC3
Node 0x19 [Audio Output] wcaps 0xc11: Stereo R/L
Converter: stream=0, channel=0
PCM:
rates [0x540]: 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Node 0x1a [Audio Input] wcaps 0x100d0b: Stereo Amp-In R/L
Amp-In caps: ofs=0x00, nsteps=0x17, stepsize=0x05, mute=1
Amp-In vals: [0x17 0x17] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
Converter: stream=0, channel=0
SDI-Select: 0
Power: setting=D0, actual=D0
Connection: 5
0x17 0x14* 0x12 0x11 0x15
Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 7 2008-07-01 08:07 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 6 2008-07-01 08:07 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 5 2008-07-01 08:09 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 4 2008-07-01 08:07 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 3 2008-07-01 08:07 /dev/snd/seq
crw-rw---- 1 root audio 116, 2 2008-07-01 08:07 /dev/snd/timer
!!Aplay/Arecord output
!!------------
APLAY
**** 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
ARECORD
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [Intel]
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 43
Mono:
Front Left: Playback 43 [100%] [0.00dB] [on]
Front Right: Playback 43 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 20
Mono:
Front Left: Playback 20 [100%] [0.00dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 120 [100%] [30.00dB]
Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'Ext Mic',0
Capabilities: pvolume cvolume pswitch cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 20 Capture 0 - 23
Front Left: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Simple mixer control 'ExtMic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Int Mic',0
Capabilities: pvolume cvolume pswitch cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 20 Capture 0 - 23
Front Left: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Simple mixer control 'IntMic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [on]
!!Alsactl output
!!-------------
--startcollapse--
state.Intel {
control.1 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 IntMic
comment.item.1 ExtMic
iface MIXER
name 'Capture Source'
value IntMic
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
comment.dbmin 0
comment.dbmax 3450
iface MIXER
name 'Int Mic Capture Volume'
value.0 23
value.1 23
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Int Mic Capture Switch'
value.0 true
value.1 true
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
comment.dbmin 0
comment.dbmax 3450
iface MIXER
name 'Ext Mic Capture Volume'
value.0 23
value.1 23
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Ext Mic Capture Switch'
value.0 true
value.1 true
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'PCM Playback Volume'
value.0 20
value.1 20
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'PCM Playback Switch'
value.0 true
value.1 true
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'Int Mic Playback Volume'
value.0 20
value.1 20
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Int Mic Playback Switch'
value.0 true
value.1 true
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'Ext Mic Playback Volume'
value.0 20
value.1 20
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Ext Mic Playback Switch'
value.0 true
value.1 true
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 43'
comment.dbmin -6450
comment.dbmax 0
iface MIXER
name 'Master Playback Volume'
value.0 43
value.1 43
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Master Playback Switch'
value true
}
control.14 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.15 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Pro Mask'
value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.16 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Default'
value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Playback Switch'
value true
}
control.18 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Default PCM Playback Switch'
value true
}
control.19 {
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 120
value.1 120
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
iwl3945
[-- Attachment #4: 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] 9+ messages in thread
* Re: [ALSA] hda-codec - Fix laptop models for Cxt5045
2008-07-01 12:26 ` Mark T.B. Carroll
@ 2008-07-01 12:36 ` Takashi Iwai
2008-07-01 12:40 ` Takashi Iwai
1 sibling, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2008-07-01 12:36 UTC (permalink / raw)
To: Mark T.B. Carroll; +Cc: ALSA development, Marc Boucher
At Tue, 01 Jul 2008 08:26:47 -0400,
Mark T.B. Carroll wrote:
>
> Takashi Iwai <tiwai@suse.de> writes:
>
> > At Tue, 1 Jul 2008 09:07:30 +0200 (CEST),
> > Jaroslav Kysela wrote:
> >>
> >> On Mon, 30 Jun 2008, Mark T.B. Carroll wrote:
> >>
> >> > Greetings. I thought I should mention that your patch
> >> > http://kerneltrap.org/mailarchive/git-commits-head/2008/2/1/670694
> >> > broke headphone sound for me on a Toshiba Satellite P105-S6197,
> >> > sound card PCI ID 8086:27d8 with Conexant CX20549 codec. The speakers
> >> > silence when I plug the headphones in but no sound comes from them.
> >
> > Do you mean that the no sound comes from the headphone even if you
> > plug it? And, the speaker works again after unplugging the HP?
>
> Yes.
>
> >> > Details are at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488063
> >> > but half of my Debian bug reports go ignored for years.
> >> >
> >> > A sufficient workaround for me is to comment out the `default:' in the
> >> > `switch (board_config)' in the function `patch_cxt5045' in
> >> > sound/pci/hda/patch_conexant.c. Then everything works fine again.
> >
> > Does the speaker auto-muting work if you do that?
>
> Yes.
>
> In both cases, the speakers work fine: they mute if I plug the
> headphones in, and unmute when I unplug them.
OK, it means that your hardware does hardware-muting, thus the driver
doesn't have to mute by itself.
> The difference is that if I leave the `default:' in the code, no sound
> comes from the headphones when they are plugged in.
>
> > Please run alsa-info.sh (with --no-upload option) for both working
> > (patched) and non-working (the original) cases, and attach generated
> > files to compare. This will be helpful to analyze the problem.
>
> Okay.
Thanks.
Takashi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ALSA] hda-codec - Fix laptop models for Cxt5045
2008-07-01 12:26 ` Mark T.B. Carroll
2008-07-01 12:36 ` Takashi Iwai
@ 2008-07-01 12:40 ` Takashi Iwai
2008-07-01 12:48 ` Takashi Iwai
2008-07-01 13:03 ` Mark T.B. Carroll
1 sibling, 2 replies; 9+ messages in thread
From: Takashi Iwai @ 2008-07-01 12:40 UTC (permalink / raw)
To: Mark T.B. Carroll; +Cc: ALSA development, Marc Boucher
At Tue, 01 Jul 2008 08:26:47 -0400,
Mark T.B. Carroll wrote:
>
> > Please run alsa-info.sh (with --no-upload option) for both working
> > (patched) and non-working (the original) cases, and attach generated
> > files to compare. This will be helpful to analyze the problem.
>
> Okay.
There is no difference in the amp state, so I suppose the headphone
isn't plugged with these. If so, please run alsa-info.sh with the
headphone plugged, for both working and broken cases.
thanks,
Takashi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ALSA] hda-codec - Fix laptop models for Cxt5045
2008-07-01 12:40 ` Takashi Iwai
@ 2008-07-01 12:48 ` Takashi Iwai
2008-07-01 13:19 ` Mark T.B. Carroll
2008-07-01 13:03 ` Mark T.B. Carroll
1 sibling, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2008-07-01 12:48 UTC (permalink / raw)
To: Mark T.B. Carroll; +Cc: ALSA development, Marc Boucher
At Tue, 01 Jul 2008 14:40:59 +0200,
I wrote:
>
> At Tue, 01 Jul 2008 08:26:47 -0400,
> Mark T.B. Carroll wrote:
> >
> > > Please run alsa-info.sh (with --no-upload option) for both working
> > > (patched) and non-working (the original) cases, and attach generated
> > > files to compare. This will be helpful to analyze the problem.
> >
> > Okay.
>
> There is no difference in the amp state, so I suppose the headphone
> isn't plugged with these. If so, please run alsa-info.sh with the
> headphone plugged, for both working and broken cases.
... or I might have read it wrong. The problem is that the pin 0x11
is disabled, where it's supposed to be a headphone jack.
So, for your device, model=laptop-micsense should be the right model.
Try that model, and if it works, try the patch without model option
again.
thanks,
Takashi
---
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 64df810..95e3367 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -906,6 +906,7 @@ static struct snd_pci_quirk cxt5045_cfg_tbl[] = {
SND_PCI_QUIRK(0x103c, 0x30cf, "HP DV9533EG", CXT5045_LAPTOP_HPSENSE),
SND_PCI_QUIRK(0x103c, 0x30d5, "HP 530", CXT5045_LAPTOP_HP530),
SND_PCI_QUIRK(0x103c, 0x30d9, "HP Spartan", CXT5045_LAPTOP_HPSENSE),
+ SND_PCI_QUIRK(0x1179, 0xff31, "Toshiba P105", CXT5045_LAPTOP_MICSENSE),
SND_PCI_QUIRK(0x152d, 0x0753, "Benq R55E", CXT5045_BENQ),
SND_PCI_QUIRK(0x1734, 0x10ad, "Fujitsu Si1520", CXT5045_LAPTOP_MICSENSE),
SND_PCI_QUIRK(0x1734, 0x10cb, "Fujitsu Si3515", CXT5045_LAPTOP_HPMICSENSE),
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [ALSA] hda-codec - Fix laptop models for Cxt5045
2008-07-01 12:40 ` Takashi Iwai
2008-07-01 12:48 ` Takashi Iwai
@ 2008-07-01 13:03 ` Mark T.B. Carroll
1 sibling, 0 replies; 9+ messages in thread
From: Mark T.B. Carroll @ 2008-07-01 13:03 UTC (permalink / raw)
To: Takashi Iwai; +Cc: ALSA development, Marc Boucher
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
Takashi Iwai <tiwai@suse.de> writes:
> There is no difference in the amp state, so I suppose the headphone
> isn't plugged with these.
Correct.
> If so, please run alsa-info.sh with the headphone plugged, for both
> working and broken cases.
Enclosed.
Mark
[-- Attachment #2: With headphone sound not working --]
[-- Type: text/plain, Size: 13027 bytes --]
name=root&type=33&description=/tmp/alsa-info.txt&expiry=&s=Submit+Post&content=
!!################################
!!ALSA Information Script v 0.4.48
!!################################
!!Script ran on: Tue Jul 1 08:55:50 EDT 2008
!!Linux Distribution
!!------------------
Debian GNU/Linux 4.0 \n \l
!!Kernel Information
!!------------------
Kernel release: 2.6.26-rc8
Operating System: GNU/Linux
Architecture: x86_64
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: 1.0.16
Library version:
Utilities version: 1.0.16
!!Loaded ALSA modules
!!-------------------
!!Soundcards recognised by ALSA
!!-----------------------------
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xd0340000 irq 22
!!PCI Soundcards installed in the system
!!--------------------------------------
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
0a:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------
00:1b.0 0403: 8086:27d8 (rev 02)
Subsystem: 1179:ff31
!!Modprobe options (Sound related)
!!--------------------------------
snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-pcsp: index=-2
!!Loaded sound module options
!!--------------------------
!!HDA-Intel Codec information
!!---------------------------
--startcollapse--
Codec: Conexant CX20549 (Venice)
Address: 0
Vendor Id: 0x14f15045
Subsystem Id: 0x1179ff31
Revision Id: 0x100100
Modem Function Group: 0x2
Default PCM:
rates [0x140]: 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x10 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0xab 0xab]
Pincap 0x0810014: OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x95170110: [Fixed] Speaker at Int Top
Conn = Analog, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Power: setting=D0, actual=D0
Connection: 2
0x19 0x17*
Node 0x11 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0x2b 0x2b]
Pincap 0x08113c: IN OUT HP Detect
Vref caps: HIZ 80
Pin Default 0x4221101f: [N/A] HP Out at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0xc0: OUT HP VREF_HIZ
Unsolicited: tag=37, enabled=1
Power: setting=D0, actual=D0
Connection: 2
0x19 0x17*
Node 0x12 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0xab 0xab]
Pincap 0x08113c: IN OUT HP Detect
Vref caps: HIZ 80
Pin Default 0x02811020: [Jack] Line In at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=38, enabled=1
Power: setting=D0, actual=D0
Connection: 2
0x19* 0x17
Node 0x13 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x0810: OUT
Pin Default 0x02441140: [Jack] SPDIF Out at Ext Front
Conn = RCA, Color = Black
DefAssociation = 0x4, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1
0x18
Node 0x14 [Pin Complex] wcaps 0x400081: Stereo
Pincap 0x081124: IN Detect
Vref caps: HIZ 80
Pin Default 0x02a1102e: [Jack] Mic at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0xe
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Node 0x15 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x59330060: [N/A] CD at Int ATAPI
Conn = ATAPI, Color = Unknown
DefAssociation = 0x6, Sequence = 0x0
Pin-ctls: 0x00:
Node 0x16 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x07, nsteps=0x07, stepsize=0x0b, mute=1
Amp-Out vals: [0x06]
Node 0x17 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
Amp-In caps: ofs=0x14, nsteps=0x2b, stepsize=0x05, mute=1
Amp-In vals: [0x14 0x14] [0x14 0x14] [0x14 0x14] [0x80 0x80] [0x80 0x80]
Power: setting=D0, actual=D0
Connection: 5
0x19 0x14 0x12 0x11 0x15
Node 0x18 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=5, channel=0
Digital: Enabled
Digital category: 0x1
PCM:
rates [0x40]: 48000
bits [0x6]: 16 20
formats [0x5]: PCM AC3
Node 0x19 [Audio Output] wcaps 0xc11: Stereo R/L
Converter: stream=5, channel=0
PCM:
rates [0x540]: 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Node 0x1a [Audio Input] wcaps 0x100d0b: Stereo Amp-In R/L
Amp-In caps: ofs=0x00, nsteps=0x17, stepsize=0x05, mute=1
Amp-In vals: [0x17 0x17] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
Converter: stream=0, channel=0
SDI-Select: 0
Power: setting=D0, actual=D0
Connection: 5
0x17 0x14* 0x12 0x11 0x15
Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 7 2008-07-01 08:54 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 6 2008-07-01 08:54 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 5 2008-07-01 08:55 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 4 2008-07-01 08:54 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 3 2008-07-01 08:54 /dev/snd/seq
crw-rw---- 1 root audio 116, 2 2008-07-01 08:54 /dev/snd/timer
!!Aplay/Arecord output
!!------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: Conexant Digital [Conexant Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [Intel]
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 43
Mono:
Front Left: Playback 43 [100%] [0.00dB] [on]
Front Right: Playback 43 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 20
Mono:
Front Left: Playback 20 [100%] [0.00dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 120 [100%] [30.00dB]
Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'Ext Mic',0
Capabilities: pvolume cvolume pswitch cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 20 Capture 0 - 23
Front Left: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Simple mixer control 'ExtMic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Int Mic',0
Capabilities: pvolume cvolume pswitch cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 20 Capture 0 - 23
Front Left: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Simple mixer control 'IntMic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [on]
!!Alsactl output
!!-------------
--startcollapse--
state.Intel {
control.1 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 IntMic
comment.item.1 ExtMic
iface MIXER
name 'Capture Source'
value IntMic
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
comment.dbmin 0
comment.dbmax 3450
iface MIXER
name 'Int Mic Capture Volume'
value.0 23
value.1 23
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Int Mic Capture Switch'
value.0 true
value.1 true
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
comment.dbmin 0
comment.dbmax 3450
iface MIXER
name 'Ext Mic Capture Volume'
value.0 23
value.1 23
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Ext Mic Capture Switch'
value.0 true
value.1 true
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'PCM Playback Volume'
value.0 20
value.1 20
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'PCM Playback Switch'
value.0 true
value.1 true
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'Int Mic Playback Volume'
value.0 20
value.1 20
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Int Mic Playback Switch'
value.0 true
value.1 true
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'Ext Mic Playback Volume'
value.0 20
value.1 20
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Ext Mic Playback Switch'
value.0 true
value.1 true
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 43'
comment.dbmin -6450
comment.dbmax 0
iface MIXER
name 'Master Playback Volume'
value.0 43
value.1 43
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Master Playback Switch'
value true
}
control.14 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.15 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Pro Mask'
value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.16 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Default'
value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Playback Switch'
value true
}
control.18 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Default PCM Playback Switch'
value true
}
control.19 {
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 120
value.1 120
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
iwl3945
[-- Attachment #3: With headphone sound working --]
[-- Type: text/plain, Size: 13027 bytes --]
name=root&type=33&description=/tmp/alsa-info.txt&expiry=&s=Submit+Post&content=
!!################################
!!ALSA Information Script v 0.4.48
!!################################
!!Script ran on: Tue Jul 1 08:59:41 EDT 2008
!!Linux Distribution
!!------------------
Debian GNU/Linux 4.0 \n \l
!!Kernel Information
!!------------------
Kernel release: 2.6.26-rc8
Operating System: GNU/Linux
Architecture: x86_64
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: 1.0.16
Library version:
Utilities version: 1.0.16
!!Loaded ALSA modules
!!-------------------
!!Soundcards recognised by ALSA
!!-----------------------------
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xd0340000 irq 22
!!PCI Soundcards installed in the system
!!--------------------------------------
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
0a:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------
00:1b.0 0403: 8086:27d8 (rev 02)
Subsystem: 1179:ff31
!!Modprobe options (Sound related)
!!--------------------------------
snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-pcsp: index=-2
!!Loaded sound module options
!!--------------------------
!!HDA-Intel Codec information
!!---------------------------
--startcollapse--
Codec: Conexant CX20549 (Venice)
Address: 0
Vendor Id: 0x14f15045
Subsystem Id: 0x1179ff31
Revision Id: 0x100100
Modem Function Group: 0x2
Default PCM:
rates [0x140]: 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x10 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0x2b 0x2b]
Pincap 0x0810014: OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x95170110: [Fixed] Speaker at Int Top
Conn = Analog, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Power: setting=D0, actual=D0
Connection: 2
0x19 0x17*
Node 0x11 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0x2b 0x2b]
Pincap 0x08113c: IN OUT HP Detect
Vref caps: HIZ 80
Pin Default 0x4221101f: [N/A] HP Out at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0xc0: OUT HP VREF_HIZ
Unsolicited: tag=00, enabled=0
Power: setting=D0, actual=D0
Connection: 2
0x19 0x17*
Node 0x12 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0xab 0xab]
Pincap 0x08113c: IN OUT HP Detect
Vref caps: HIZ 80
Pin Default 0x02811020: [Jack] Line In at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Power: setting=D0, actual=D0
Connection: 2
0x19* 0x17
Node 0x13 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x0810: OUT
Pin Default 0x02441140: [Jack] SPDIF Out at Ext Front
Conn = RCA, Color = Black
DefAssociation = 0x4, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1
0x18
Node 0x14 [Pin Complex] wcaps 0x400081: Stereo
Pincap 0x081124: IN Detect
Vref caps: HIZ 80
Pin Default 0x02a1102e: [Jack] Mic at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0xe
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Node 0x15 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x59330060: [N/A] CD at Int ATAPI
Conn = ATAPI, Color = Unknown
DefAssociation = 0x6, Sequence = 0x0
Pin-ctls: 0x00:
Node 0x16 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x07, nsteps=0x07, stepsize=0x0b, mute=1
Amp-Out vals: [0x06]
Node 0x17 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
Amp-In caps: ofs=0x14, nsteps=0x2b, stepsize=0x05, mute=1
Amp-In vals: [0x14 0x14] [0x14 0x14] [0x14 0x14] [0x80 0x80] [0x80 0x80]
Power: setting=D0, actual=D0
Connection: 5
0x19 0x14 0x12 0x11 0x15
Node 0x18 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=5, channel=0
Digital: Enabled
Digital category: 0x1
PCM:
rates [0x40]: 48000
bits [0x6]: 16 20
formats [0x5]: PCM AC3
Node 0x19 [Audio Output] wcaps 0xc11: Stereo R/L
Converter: stream=5, channel=0
PCM:
rates [0x540]: 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Node 0x1a [Audio Input] wcaps 0x100d0b: Stereo Amp-In R/L
Amp-In caps: ofs=0x00, nsteps=0x17, stepsize=0x05, mute=1
Amp-In vals: [0x17 0x17] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
Converter: stream=0, channel=0
SDI-Select: 0
Power: setting=D0, actual=D0
Connection: 5
0x17 0x14* 0x12 0x11 0x15
Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 7 2008-07-01 08:58 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 6 2008-07-01 08:58 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 5 2008-07-01 08:59 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 4 2008-07-01 08:58 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 3 2008-07-01 08:58 /dev/snd/seq
crw-rw---- 1 root audio 116, 2 2008-07-01 08:58 /dev/snd/timer
!!Aplay/Arecord output
!!------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: Conexant Digital [Conexant Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [Intel]
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 43
Mono:
Front Left: Playback 43 [100%] [0.00dB] [on]
Front Right: Playback 43 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 20
Mono:
Front Left: Playback 20 [100%] [0.00dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 120 [100%] [30.00dB]
Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'Ext Mic',0
Capabilities: pvolume cvolume pswitch cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 20 Capture 0 - 23
Front Left: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Simple mixer control 'ExtMic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Int Mic',0
Capabilities: pvolume cvolume pswitch cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 20 Capture 0 - 23
Front Left: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Simple mixer control 'IntMic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [on]
!!Alsactl output
!!-------------
--startcollapse--
state.Intel {
control.1 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 IntMic
comment.item.1 ExtMic
iface MIXER
name 'Capture Source'
value IntMic
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
comment.dbmin 0
comment.dbmax 3450
iface MIXER
name 'Int Mic Capture Volume'
value.0 23
value.1 23
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Int Mic Capture Switch'
value.0 true
value.1 true
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
comment.dbmin 0
comment.dbmax 3450
iface MIXER
name 'Ext Mic Capture Volume'
value.0 23
value.1 23
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Ext Mic Capture Switch'
value.0 true
value.1 true
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'PCM Playback Volume'
value.0 20
value.1 20
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'PCM Playback Switch'
value.0 true
value.1 true
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'Int Mic Playback Volume'
value.0 20
value.1 20
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Int Mic Playback Switch'
value.0 true
value.1 true
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'Ext Mic Playback Volume'
value.0 20
value.1 20
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Ext Mic Playback Switch'
value.0 true
value.1 true
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 43'
comment.dbmin -6450
comment.dbmax 0
iface MIXER
name 'Master Playback Volume'
value.0 43
value.1 43
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Master Playback Switch'
value true
}
control.14 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.15 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Pro Mask'
value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.16 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Default'
value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Playback Switch'
value true
}
control.18 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Default PCM Playback Switch'
value true
}
control.19 {
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 120
value.1 120
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
iwl3945
[-- Attachment #4: 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] 9+ messages in thread
* Re: [ALSA] hda-codec - Fix laptop models for Cxt5045
2008-07-01 12:48 ` Takashi Iwai
@ 2008-07-01 13:19 ` Mark T.B. Carroll
2008-07-01 13:23 ` Takashi Iwai
0 siblings, 1 reply; 9+ messages in thread
From: Mark T.B. Carroll @ 2008-07-01 13:19 UTC (permalink / raw)
To: Takashi Iwai; +Cc: ALSA development, Marc Boucher
[-- Attachment #1: Type: text/plain, Size: 302 bytes --]
Takashi Iwai <tiwai@suse.de> writes:
> + SND_PCI_QUIRK(0x1179, 0xff31, "Toshiba P105", CXT5045_LAPTOP_MICSENSE),
This patch seems to fix the problem for me! Thanks. I thought I'd
previouslyu tried model=laptop-micsense but I obviously messed that
up somehow. FWIW I enclose the alsa-info.txt.
Mark
[-- Attachment #2: Patched kernel with headphones plugged in --]
[-- Type: text/plain, Size: 13027 bytes --]
name=root&type=33&description=/tmp/alsa-info.txt&expiry=&s=Submit+Post&content=
!!################################
!!ALSA Information Script v 0.4.48
!!################################
!!Script ran on: Tue Jul 1 09:14:15 EDT 2008
!!Linux Distribution
!!------------------
Debian GNU/Linux 4.0 \n \l
!!Kernel Information
!!------------------
Kernel release: 2.6.26-rc8
Operating System: GNU/Linux
Architecture: x86_64
Processor: unknown
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version: 1.0.16
Library version:
Utilities version: 1.0.16
!!Loaded ALSA modules
!!-------------------
!!Soundcards recognised by ALSA
!!-----------------------------
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xd0340000 irq 22
!!PCI Soundcards installed in the system
!!--------------------------------------
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
0a:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------
00:1b.0 0403: 8086:27d8 (rev 02)
Subsystem: 1179:ff31
!!Modprobe options (Sound related)
!!--------------------------------
snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-pcsp: index=-2
!!Loaded sound module options
!!--------------------------
!!HDA-Intel Codec information
!!---------------------------
--startcollapse--
Codec: Conexant CX20549 (Venice)
Address: 0
Vendor Id: 0x14f15045
Subsystem Id: 0x1179ff31
Revision Id: 0x100100
Modem Function Group: 0x2
Default PCM:
rates [0x140]: 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x10 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0x2b 0x2b]
Pincap 0x0810014: OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x95170110: [Fixed] Speaker at Int Top
Conn = Analog, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Power: setting=D0, actual=D0
Connection: 2
0x19 0x17*
Node 0x11 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0x2b 0x2b]
Pincap 0x08113c: IN OUT HP Detect
Vref caps: HIZ 80
Pin Default 0x4221101f: [N/A] HP Out at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0xc0: OUT HP VREF_HIZ
Unsolicited: tag=00, enabled=0
Power: setting=D0, actual=D0
Connection: 2
0x19 0x17*
Node 0x12 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
Amp-Out vals: [0xab 0xab]
Pincap 0x08113c: IN OUT HP Detect
Vref caps: HIZ 80
Pin Default 0x02811020: [Jack] Line In at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=38, enabled=1
Power: setting=D0, actual=D0
Connection: 2
0x19* 0x17
Node 0x13 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x0810: OUT
Pin Default 0x02441140: [Jack] SPDIF Out at Ext Front
Conn = RCA, Color = Black
DefAssociation = 0x4, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1
0x18
Node 0x14 [Pin Complex] wcaps 0x400081: Stereo
Pincap 0x081124: IN Detect
Vref caps: HIZ 80
Pin Default 0x02a1102e: [Jack] Mic at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x2, Sequence = 0xe
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Node 0x15 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x59330060: [N/A] CD at Int ATAPI
Conn = ATAPI, Color = Unknown
DefAssociation = 0x6, Sequence = 0x0
Pin-ctls: 0x00:
Node 0x16 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x07, nsteps=0x07, stepsize=0x0b, mute=1
Amp-Out vals: [0x06]
Node 0x17 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
Amp-In caps: ofs=0x14, nsteps=0x2b, stepsize=0x05, mute=1
Amp-In vals: [0x14 0x14] [0x14 0x14] [0x14 0x14] [0x80 0x80] [0x80 0x80]
Power: setting=D0, actual=D0
Connection: 5
0x19 0x14 0x12 0x11 0x15
Node 0x18 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=5, channel=0
Digital: Enabled
Digital category: 0x1
PCM:
rates [0x40]: 48000
bits [0x6]: 16 20
formats [0x5]: PCM AC3
Node 0x19 [Audio Output] wcaps 0xc11: Stereo R/L
Converter: stream=5, channel=0
PCM:
rates [0x540]: 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Power: setting=D0, actual=D0
Node 0x1a [Audio Input] wcaps 0x100d0b: Stereo Amp-In R/L
Amp-In caps: ofs=0x00, nsteps=0x17, stepsize=0x05, mute=1
Amp-In vals: [0x17 0x17] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
Converter: stream=0, channel=0
SDI-Select: 0
Power: setting=D0, actual=D0
Connection: 5
0x17 0x14* 0x12 0x11 0x15
Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 7 2008-07-01 09:12 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 6 2008-07-01 09:12 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 5 2008-07-01 09:13 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 4 2008-07-01 09:12 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 3 2008-07-01 09:12 /dev/snd/seq
crw-rw---- 1 root audio 116, 2 2008-07-01 09:12 /dev/snd/timer
!!Aplay/Arecord output
!!------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: Conexant Digital [Conexant Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [Intel]
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 43
Mono:
Front Left: Playback 43 [100%] [0.00dB] [on]
Front Right: Playback 43 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 20
Mono:
Front Left: Playback 20 [100%] [0.00dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 120 [100%] [30.00dB]
Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'Ext Mic',0
Capabilities: pvolume cvolume pswitch cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 20 Capture 0 - 23
Front Left: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Simple mixer control 'ExtMic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Int Mic',0
Capabilities: pvolume cvolume pswitch cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 20 Capture 0 - 23
Front Left: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Front Right: Playback 20 [100%] [0.00dB] [on] Capture 23 [100%] [34.50dB] [on]
Simple mixer control 'IntMic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [on]
!!Alsactl output
!!-------------
--startcollapse--
state.Intel {
control.1 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 IntMic
comment.item.1 ExtMic
iface MIXER
name 'Capture Source'
value IntMic
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
comment.dbmin 0
comment.dbmax 3450
iface MIXER
name 'Int Mic Capture Volume'
value.0 23
value.1 23
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Int Mic Capture Switch'
value.0 true
value.1 true
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
comment.dbmin 0
comment.dbmax 3450
iface MIXER
name 'Ext Mic Capture Volume'
value.0 23
value.1 23
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Ext Mic Capture Switch'
value.0 true
value.1 true
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'PCM Playback Volume'
value.0 20
value.1 20
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'PCM Playback Switch'
value.0 true
value.1 true
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'Int Mic Playback Volume'
value.0 20
value.1 20
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Int Mic Playback Switch'
value.0 true
value.1 true
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 20'
comment.dbmin -3000
comment.dbmax 0
iface MIXER
name 'Ext Mic Playback Volume'
value.0 20
value.1 20
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Ext Mic Playback Switch'
value.0 true
value.1 true
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 43'
comment.dbmin -6450
comment.dbmax 0
iface MIXER
name 'Master Playback Volume'
value.0 43
value.1 43
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Master Playback Switch'
value true
}
control.14 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.15 {
comment.access read
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Pro Mask'
value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.16 {
comment.access 'read write'
comment.type IEC958
comment.count 1
iface MIXER
name 'IEC958 Playback Default'
value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Playback Switch'
value true
}
control.18 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'IEC958 Default PCM Playback Switch'
value true
}
control.19 {
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 120
value.1 120
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
iwl3945
[-- 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] 9+ messages in thread
* Re: [ALSA] hda-codec - Fix laptop models for Cxt5045
2008-07-01 13:19 ` Mark T.B. Carroll
@ 2008-07-01 13:23 ` Takashi Iwai
0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2008-07-01 13:23 UTC (permalink / raw)
To: Mark T.B. Carroll; +Cc: ALSA development, Marc Boucher
At Tue, 01 Jul 2008 09:19:45 -0400,
Mark T.B. Carroll wrote:
>
> Takashi Iwai <tiwai@suse.de> writes:
>
> > + SND_PCI_QUIRK(0x1179, 0xff31, "Toshiba P105", CXT5045_LAPTOP_MICSENSE),
>
> This patch seems to fix the problem for me! Thanks. I thought I'd
> previouslyu tried model=laptop-micsense but I obviously messed that
> up somehow. FWIW I enclose the alsa-info.txt.
Thanks for confirmation!
Takashi
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-07-01 13:23 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <871w2ea4ek.fsf@ixod.org>
2008-07-01 7:07 ` [ALSA] hda-codec - Fix laptop models for Cxt5045 Jaroslav Kysela
2008-07-01 9:54 ` Takashi Iwai
2008-07-01 12:26 ` Mark T.B. Carroll
2008-07-01 12:36 ` Takashi Iwai
2008-07-01 12:40 ` Takashi Iwai
2008-07-01 12:48 ` Takashi Iwai
2008-07-01 13:19 ` Mark T.B. Carroll
2008-07-01 13:23 ` Takashi Iwai
2008-07-01 13:03 ` Mark T.B. Carroll
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.