At Fri, 12 Oct 2007 15:57:16 +0300, Veli-Matti Lintu wrote:
ti, 2007-10-09 kello 11:30 +0200, Takashi Iwai kirjoitti:
At Mon, 8 Oct 2007 13:59:41 +0300 (EEST), Veli-Matti Lintu wrote:
Hello,
After error and trial I got sound working on Fujitsu-Siemens Computers Lifebook C1410. Attached is a patch that works for me, but probably needs some cleaning.
The laptop uses an ALC262 chip that is also used on other FSC models, but the needed settings seem to be somewhat different from the existing Fujitsu-settings in patch_realtek.c. If I understand correctly, the chips use same subsystem ids, so the patch does not automatically detect the correct chipset. Maybe someone more knowledgeable can help with this? The patch names the internal mic as Int Mic and external mic that can be plugged in as Ext Mic.
There's some more background information in Ubuntu's Launchpad: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/125790
The patch is tested with kernel 2.6.22.9. I am not really familiar with alsa development, so I cannot say which version of the alsa drivers that kernel version uses. The environment where the testing was done is running Ubuntu 7.04 with alsa version 1.0.13. Only updated component is the kernel.
lspci -nv (on C1410)
00:1b.0 0403: 8086:27d8 (rev 02) Subsystem: 10cf:1397 Flags: bus master, fast devsel, latency 0, IRQ 22 Memory at f0640000 (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power Management version 2 Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable- Capabilities: [70] Express Unknown type IRQ 0 Capabilities: [100] Virtual Channel Capabilities: [130] Unknown (5)
I hope someone with more knowledge about alsa drivers could have a look at this. The patch has been in internal use for a few weeks and people seem to be happy with it, so I hope also others can get their sound working.
First, thanks for the patch.
I think we can simply extend the existing fujitsu model. The internal mic is likely a missing feature in that model, too.
So, could you check whether the latest ALSA driver does work for you "as is" (in a certain level)? If not, could you just add alc262_EAPD_verbs to the initialization verbs for ALC262_FUTJISU?
Thanks for looking at this. I tested this against kernel 2.6.22.9 from kernel.org and the patch seems to do the trick. Without alc262_EAPD_verbs sound does not work and the mic settings need to be added to get the mic working.
I do not have any other laptops using the same chip available for testing, so I cannot say whether this affects other models using the same chip.
OK, thanks for confirmation. I committed the fixed patch to HG tree now.
Takashi