Re: [alsa-devel] hda-intel: no soundcard with current linus' git tree
I've also no sound. Had it working using the alsa.git tree _before_ the last merge (>48h). Needed to use model=asus for this fujitsu v5505 here.
Now it doesn't work, even with other model-options (fujitsu, laptop).
legolas:/proc/asound # cat cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xfc400000 irq 22 legolas:/proc/asound # cat pcm 00-01: Conexant Digital : Conexant Digital : playback 1 00-00: CONEXANT Analog : CONEXANT Analog : playback 1 : capture 1 legolas:/proc/asound # cat hwdep 00-00: HDA Codec 0 legolas:/proc/asound # cat devices 2: : timer 3: [ 0- 1]: digital audio playback 4: [ 0- 0]: digital audio playback 5: [ 0- 0]: digital audio capture 6: [ 0- 0]: hardware dependent 7: [ 0] : control 8: : sequencer
legolas:/proc/asound # cat card0/codec#0 Codec: Conexant CX20549 (Venice) Address: 0 Vendor Id: 0x14f15045 Subsystem Id: 0x1734110e Revision Id: 0x100100 No Modem Function Group found 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 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 Pin Default 0x92170110: [Fixed] Speaker at Int Front Conn = Analog, Color = Unknown Pin-ctls: 0x40: OUT Power: 0x0 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 Pin Default 0x0121401f: [Jack] HP Out at Ext Rear Conn = 1/8, Color = Green Pin-ctls: 0xc0: OUT HP Power: 0x0 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: [0x2b 0x2b] Pincap 0x08113c: IN OUT HP Detect Pin Default 0x01a19020: [Jack] Mic at Ext Rear Conn = 1/8, Color = Pink Pin-ctls: 0x20: IN Power: 0x0 Connection: 2 0x19 0x17* Node 0x13 [Pin Complex] wcaps 0x400301: Stereo Digital Pincap 0x0810: OUT Pin Default 0x214571f0: [Jack] SPDIF Out at Sep Rear Conn = Optical, Color = Yellow Pin-ctls: 0x00: Connection: 1 0x18 Node 0x14 [Pin Complex] wcaps 0x400081: Stereo Pincap 0x081124: IN Detect Pin Default 0x97a7012e: [Fixed] Mic at Int Riser Conn = Analog, Color = Unknown Pin-ctls: 0x24: IN Node 0x15 [Pin Complex] wcaps 0x400001: Stereo Pincap 0x0820: IN Pin Default 0x400001f0: [N/A] Line Out at Ext N/A Conn = Unknown, Color = Unknown 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: [0x94 0x94] [0x94 0x94] [0x94 0x94] [0x94 0x94] [0x94 0x94] Power: 0x0 Connection: 5 0x19 0x14 0x12 0x11 0x15 Node 0x18 [Audio Output] wcaps 0x211: Stereo Digital PCM: rates [0x40]: 48000 bits [0x6]: 16 20 formats [0x5]: PCM AC3 Node 0x19 [Audio Output] wcaps 0xc11: Stereo PCM: rates [0x540]: 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power: 0x0 Node 0x1a [Audio Input] wcaps 0x100d0b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x17, stepsize=0x05, mute=1 Amp-In vals: [0x17 0x17] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] Power: 0x0 Connection: 5 0x17 0x14* 0x12 0x11 0x15 Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono
Best regards Jan-Simon
At Thu, 18 Oct 2007 10:49:48 +0200, Jan-Simon Möller wrote:
I've also no sound. Had it working using the alsa.git tree _before_ the last merge (>48h). Needed to use model=asus for this fujitsu v5505 here.
Well, it's not called as "working". You did some workaround explicitly...
Now it doesn't work, even with other model-options (fujitsu, laptop).
There is no recent change regarding Conexant codecs over months in ALSA tree. So, the problem has to be there for long time.
I guess you didn't take ALSA codes from alsa.git properly? alsa.git master is as same as Linus tree. The latest ALSA code is hold in mm branch.
thanks,
Takashi
Hi !
I compiled some different kernel and tried - no success without module, module=fujitsu, module=laptop, model=asus. I went through the alsa doc and found the section about Conexant 5047. I tried it and got some sound when using module=laptop-hp.
So I suppose some pins are different here.
So let's summarize: I get sound on a 2.6.23 with module=laptop-hp. Laptop is a fujitsu-siemens v5505 as mentioned.
Best regards Jan-Simon
At Thu, 18 Oct 2007 17:05:17 +0200, Jan-Simon Möller wrote:
No, it's Conexant 5045. Slightly but fatally different from 5047.
Could you check whether the patch below fixes the problem? Don't forget to adjust mixers after the patch. You'll have PCM and other volumes. Unmute and raise them appropriately.
You may still have a weak mic input, though, but it's another problem...
thanks,
Takashi
diff -r fb9512ce24e0 pci/hda/patch_conexant.c --- a/pci/hda/patch_conexant.c Thu Oct 18 10:48:43 2007 +0200 +++ b/pci/hda/patch_conexant.c Thu Oct 18 17:26:58 2007 +0200 @@ -554,10 +554,16 @@ static struct snd_kcontrol_new cxt5045_m .get = conexant_mux_enum_get, .put = conexant_mux_enum_put }, - HDA_CODEC_VOLUME("Int Mic Volume", 0x1a, 0x01, HDA_INPUT), - HDA_CODEC_MUTE("Int Mic Switch", 0x1a, 0x01, HDA_INPUT), - HDA_CODEC_VOLUME("Ext Mic Volume", 0x1a, 0x02, HDA_INPUT), - HDA_CODEC_MUTE("Ext Mic Switch", 0x1a, 0x02, HDA_INPUT), + HDA_CODEC_VOLUME("Int Mic Capture Volume", 0x1a, 0x01, HDA_INPUT), + HDA_CODEC_MUTE("Int Mic Capture Switch", 0x1a, 0x01, HDA_INPUT), + HDA_CODEC_VOLUME("Ext Mic Capture Volume", 0x1a, 0x02, HDA_INPUT), + HDA_CODEC_MUTE("Ext Mic Capture Switch", 0x1a, 0x02, HDA_INPUT), + HDA_CODEC_VOLUME("PCM Playback Volume", 0x17, 0x0, HDA_INPUT), + HDA_CODEC_MUTE("PCM Playback Switch", 0x17, 0x0, HDA_INPUT), + HDA_CODEC_VOLUME("Int Mic Playback Volume", 0x17, 0x1, HDA_INPUT), + HDA_CODEC_MUTE("Int Mic Playback Switch", 0x17, 0x1, HDA_INPUT), + HDA_CODEC_VOLUME("Ext Mic Playback Volume", 0x17, 0x2, HDA_INPUT), + HDA_CODEC_MUTE("Ext Mic Playback Switch", 0x17, 0x2, HDA_INPUT), HDA_BIND_VOL("Master Playback Volume", &cxt5045_hp_bind_master_vol), { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, @@ -576,16 +582,15 @@ static struct hda_verb cxt5045_init_verb {0x12, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN }, {0x14, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN|AC_PINCTL_VREF_80 }, /* HP, Amp */ - {0x11, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_HP }, - {0x17, AC_VERB_SET_CONNECT_SEL,0x01}, - {0x17, AC_VERB_SET_AMP_GAIN_MUTE, - AC_AMP_SET_OUTPUT|AC_AMP_SET_RIGHT|AC_AMP_SET_LEFT|0x01}, - {0x17, AC_VERB_SET_AMP_GAIN_MUTE, - AC_AMP_SET_OUTPUT|AC_AMP_SET_RIGHT|AC_AMP_SET_LEFT|0x02}, - {0x17, AC_VERB_SET_AMP_GAIN_MUTE, - AC_AMP_SET_OUTPUT|AC_AMP_SET_RIGHT|AC_AMP_SET_LEFT|0x03}, - {0x17, AC_VERB_SET_AMP_GAIN_MUTE, - AC_AMP_SET_OUTPUT|AC_AMP_SET_RIGHT|AC_AMP_SET_LEFT|0x04}, + {0x10, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT}, + {0x10, AC_VERB_SET_CONNECT_SEL, 0x1}, + {0x11, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_HP}, + {0x11, AC_VERB_SET_CONNECT_SEL, 0x1}, + {0x17, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(0)}, + {0x17, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(1)}, + {0x17, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(2)}, + {0x17, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(3)}, + {0x17, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(4)}, /* Record selector: Int mic */ {0x1a, AC_VERB_SET_CONNECT_SEL,0x1}, {0x1a, AC_VERB_SET_AMP_GAIN_MUTE,
Tried you patch. Now the card works even without any model selected. Also the speakers sound "better" now :D . Bass is nearly too loud.
Tnx for looking into this! Just on question: is it possible to mute the main speakers when headphones get plugged in ? Atm the internal speakers stay on.
Best regards Jan-Simon
At Thu, 18 Oct 2007 18:19:25 +0200, Jan-Simon Möller wrote:
Tried you patch. Now the card works even without any model selected. Also the speakers sound "better" now :D . Bass is nearly too loud.
Good to hear!
Try model=fujitsu or model=laptop. This will activate the auto-muting.
If it works, let me know the PCI SSID (from the output of lspci -vv).
thanks,
Takashi
Am Freitag 19 Oktober 2007 07:05:54 schrieb Takashi Iwai:
Try model=fujitsu or model=laptop. This will activate the auto-muting.
model=laptop worked, model=fujitsu did not.
If it works, let me know the PCI SSID (from the output of lspci -vv).
I did already, here's the copy:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 110e Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 22 Region 0: Memory at fc400000 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable- Address: 0000000000000000 Data: 0000 Capabilities: [70] Express Unknown type IRQ 0 Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag- Device: Latency L0s <64ns, L1 <1us Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported- Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+ Device: MaxPayload 128 bytes, MaxReadReq 128 bytes Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0 Link: Latency L0s <64ns, L1 <1us Link: ASPM Disabled CommClk- ExtSynch- Link: Speed unknown, Width x0 Capabilities: [100] Virtual Channel Capabilities: [130] Unknown (5)
Model name is FSC Esprimo Mobile Edition9 V5505 T7300, details here: http://www.notebookzentrale.de/eshop.php?action=article_detail&s_supplie...
Thanks again, great work! I patched my 10.3 default kernel and it works also :D . Linux is great - have phun !
Best regards Jan-Simon Möller
At Fri, 19 Oct 2007 12:46:34 +0200, Jan-Simon Möller wrote:
Thanks. With the patch below, the driver should work without option. Give it a try.
Takashi
diff -r 7cf5e23f804e sound/pci/hda/patch_conexant.c --- a/sound/pci/hda/patch_conexant.c Fri Oct 19 08:23:00 2007 +0200 +++ b/sound/pci/hda/patch_conexant.c Fri Oct 19 12:56:13 2007 +0200 @@ -765,6 +765,7 @@ static struct snd_pci_quirk cxt5045_cfg_ SND_PCI_QUIRK(0x103c, 0x30d9, "HP Spartan", CXT5045_LAPTOP), SND_PCI_QUIRK(0x1734, 0x10ad, "Fujitsu Si1520", CXT5045_FUJITSU), SND_PCI_QUIRK(0x1734, 0x10cb, "Fujitsu Si3515", CXT5045_LAPTOP), + SND_PCI_QUIRK(0x1734, 0x110e, "Fujitsu V5505", CXT5045_LAPTOP), SND_PCI_QUIRK(0x8086, 0x2111, "Conexant Reference board", CXT5045_LAPTOP), {} };
Am Freitag 19 Oktober 2007 12:02:29 schrieb Takashi Iwai:
Thanks. With the patch below, the driver should work without option. Give it a try.
Thanks, it works with both patches ! Have to try the mic for skype next.
Best regards Jan-Simon
participants (2)
-
Jan-Simon Möller
-
Takashi Iwai