[alsa-devel] hda-intel on macbook: unknown model for ACL882
Hi all,
Since I didn't get much feedback on alsa-users, I figured I'd place a pointer here, too.
The revision 3 macbook pro(santa-rosa) ships with a ALC882.
Loading hda_intel with auto-detection results in very VERY quiet sound out of the headphones if 'front' is set to 100%, mic input seems to work too, but also very quiet.
Providing an option 'model=w2jc' to modprobe however results in working(loud) front and mic. But this model does not seem to provide headphones output, so they don't work.
This sounds to me like it may be easy to fix, so I hope you find this information useful. Would be great to have the sound working.
Regards, Steffen (subscribed for the moment..)
The snd-hda-module loads with the following message: | kernel: hda_codec: Unknown model for ALC882, trying auto-probe from BIOS... | kernel: ALSA /usr/src/alsa/alsa-driver/pci/hda/hda_codec.c:2339: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) | kernel: ALSA /usr/src/alsa/alsa-driver/pci/hda/hda_codec.c:2343: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) | kernel: ALSA /usr/src/alsa/alsa-driver/pci/hda/hda_codec.c:2347: hp_outs=1 (0x15/0x0/0x0/0x0/0x0) | kernel: ALSA /usr/src/alsa/alsa-driver/pci/hda/hda_codec.c:2355: inputs: mic=0x18, fmic=0x0, line=0x1a, fline=0x0, cd=0x0, aux=0x0
aplay -l says:
| **** List of PLAYBACK Hardware Devices **** | card 0: Intel [HDA Intel], device 0: ALC882 Analog [ALC882 Analog] | Subdevices: 1/1 | Subdevice #0: subdevice #0 | card 0: Intel [HDA Intel], device 1: ALC882 Digital [ALC882 Digital] | Subdevices: 1/1 | Subdevice #0: subdevice #0
lspci -vv -nn says:
| 00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03) | Subsystem: Apple Computer Inc. Unknown device [106b:00a0] | 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: 256 bytes | Interrupt: pin A routed to IRQ 20 | Region 0: Memory at 9b500000 (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)
At Wed, 4 Jul 2007 18:50:22 +0200, Steffen Schulz wrote:
Hi all,
Since I didn't get much feedback on alsa-users, I figured I'd place a pointer here, too.
The revision 3 macbook pro(santa-rosa) ships with a ALC882.
Loading hda_intel with auto-detection results in very VERY quiet sound out of the headphones if 'front' is set to 100%, mic input seems to work too, but also very quiet.
Providing an option 'model=w2jc' to modprobe however results in working(loud) front and mic. But this model does not seem to provide headphones output, so they don't work.
This sounds to me like it may be easy to fix, so I hope you find this information useful. Would be great to have the sound working.
Which ALSA version did you try? Did you try model=macpro with the latest version?
If it still doesn't work, attach the contents of /proc/asound/card0/codec#* files, please.
Takashi
On 070704 at 19:00, Takashi Iwai wrote:
Which ALSA version did you try? Did you try model=macpro with the latest version?
I tried alsa from vanilla 2.6.22-rc6 as well as the drivers from recent rsync/svn. I compiled alsa-driver with cards=hda-intel and got the same results as with the stock kernel drivers.
I just rsync'ed again in case something changed the last 1-2 days.
I tried all the 882-models listet in the Documentation, including macpro. Only with w2jc the volume levels are okay.
I get a working mic and headphones but both VERY quiet with model=auto. PCM and Front have to be at 100% for me to actually hear something.
I get nothing from the speakers, but maybe it's to quiet.
Same with model=macpro.
With model=w2jc, PCM and Front control the Speakers 'correctly', Mic Boost and Mic work too, but there are headphones for this model.
If it still doesn't work, attach the contents of /proc/asound/card0/codec#* files, please.
Attached is codec#0 for model=macpro and w2jc.
/steffen
Hi all, hi Takashi
someone at Ubuntuforums found some more effects with model=w2jc, I thought the info might help you to provide an update.
When I switch from 2ch to 6ch, the mic is ignored as input and I can hear whatever is playing through the front speakers also through the headphones when plugged to the *input*. Headphone output is still mute (or very VERY quiet).
It is however not possible to mute or lower the speaker output without affecting the headphone volume at the input plug.
Switching Input sources has no effect and I can't speak for SPDIF, except the output plug's light goes on..
I can't produce any of this behaviour with model=macpro or auto.
Please ask if you need more information.
/Steffen
On 070704 at 19:47, Steffen Schulz wrote:
On 070704 at 19:00, Takashi Iwai wrote:
Which ALSA version did you try? Did you try model=macpro with the latest version?
I tried alsa from vanilla 2.6.22-rc6 as well as the drivers from recent rsync/svn. I compiled alsa-driver with cards=hda-intel and got the same results as with the stock kernel drivers.
I just rsync'ed again in case something changed the last 1-2 days.
I tried all the 882-models listet in the Documentation, including macpro. Only with w2jc the volume levels are okay.
I get a working mic and headphones but both VERY quiet with model=auto. PCM and Front have to be at 100% for me to actually hear something.
I get nothing from the speakers, but maybe it's to quiet.
Same with model=macpro.
With model=w2jc, PCM and Front control the Speakers 'correctly', Mic Boost and Mic work too, but there are headphones for this model.
If it still doesn't work, attach the contents of /proc/asound/card0/codec#* files, please.
Attached is codec#0 for model=macpro and w2jc.
/steffen
participants (2)
-
Steffen Schulz
-
Takashi Iwai