Skip to contentSkip to conversation

hda_codec: Unknown model for ALC268

DISCUSSION Stefanie 2 participants 3 messages Jan 10, 2009 – Jan 17, 2009

lore
Share & tools
lore

Stefanie

author
#0 lore raw

Hello!

I have problems with the sound chip of my notebook. It is a Medion akoya WIM 2220. Actually, there is a driver for the chip, but somehow, I can't get it to work. I'm desperate and don't know what to do.

My friend helped my to gather the following information:

This is from lspci:

00:1b.0 0403: 8086:284b (rev 04)

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 04)
Subsystem: Wistron Corp. Device 4085
Flags: fast devsel, IRQ 22
Memory at fa200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+
Count=1/1 Enable-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>
Kernel modules: snd-hda-intelk <?>

I have found this in my syslog while trying to load snd-hda-intel:

Jan 10 21:30:16 Mescalin HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22
(level, low) -> IRQ 22
Jan 10 21:30:16 Mescalin HDA Intel 0000:00:1b.0: setting latency timer to 64
Jan 10 21:30:16 Mescalin hda_codec: Unknown model for ALC268, trying
auto-probe from BIOS...
Jan 10 21:30:16 Mescalin hda_codec: Cannot set up configuration from
BIOS.  Using base mode...
Jan 10 21:30:16 Mescalin SPDIF already defined
Jan 10 21:30:16 Mescalin HDA Intel 0000:00:1b.0: PCI INT A disabled
Jan 10 21:30:16 Mescalin HDA Intel: probe of 0000:00:1b.0 failed with

error -16

Thanks in advance for your help.

Stefanie

#1 lore raw
Quoted 37 lines · Stefanie

Hello!

I have problems with the sound chip of my notebook. It is a Medion akoya WIM 2220. Actually, there is a driver for the chip, but somehow, I can't get it to work. I'm desperate and don't know what to do.

My friend helped my to gather the following information:

This is from lspci:

00:1b.0 0403: 8086:284b (rev 04)

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 04)
Subsystem: Wistron Corp. Device 4085
Flags: fast devsel, IRQ 22
Memory at fa200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+
Count=1/1 Enable-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>
Kernel modules: snd-hda-intelk <?>

I have found this in my syslog while trying to load snd-hda-intel:

Jan 10 21:30:16 Mescalin HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22
(level, low) -> IRQ 22
Jan 10 21:30:16 Mescalin HDA Intel 0000:00:1b.0: setting latency timer to 64
Jan 10 21:30:16 Mescalin hda_codec: Unknown model for ALC268, trying
auto-probe from BIOS...
Jan 10 21:30:16 Mescalin hda_codec: Cannot set up configuration from
BIOS.  Using base mode...
Jan 10 21:30:16 Mescalin SPDIF already defined
Jan 10 21:30:16 Mescalin HDA Intel 0000:00:1b.0: PCI INT A disabled
Jan 10 21:30:16 Mescalin HDA Intel: probe of 0000:00:1b.0 failed with
Quoted 1 line

error -16

Hi Stefanie,

There are some pre-defined models for ALC268:

static const char *alc268_models[ALC268_MODEL_LAST] = {
        [ALC267_QUANTA_IL1]     = "quanta-il1",
        [ALC268_3ST]            = "3stack",
        [ALC268_TOSHIBA]        = "toshiba",
        [ALC268_ACER]           = "acer",
        [ALC268_ACER_DMIC]      = "acer-dmic",
        [ALC268_ACER_ASPIRE_ONE]        = "acer-aspire",
        [ALC268_DELL]           = "dell",
        [ALC268_ZEPTO]          = "zepto",
#ifdef CONFIG_SND_DEBUG
        [ALC268_TEST]           = "test",
#endif  
        [ALC268_AUTO]           = "auto",
};      

You can try them with commands like

modprobe snd-hda-intel model=3stack

and report the one works for you, so that we integrate this knowledge into future kernel versions.

You are also welcome to provide your hardware information by running
http://www.alsa-project.org/alsa-info.sh
and upload the data collected by it.

Thanks,
Fengguang

author
#2 lore raw

Hello Fengguang,

thanks for your answer.

Quoted 19 lines · Wu Fengguang

Hi Stefanie,

There are some pre-defined models for ALC268:

static const char *alc268_models[ALC268_MODEL_LAST] = {
        [ALC267_QUANTA_IL1]     = "quanta-il1",
        [ALC268_3ST]            = "3stack",
        [ALC268_TOSHIBA]        = "toshiba",
        [ALC268_ACER]           = "acer",
        [ALC268_ACER_DMIC]      = "acer-dmic",
        [ALC268_ACER_ASPIRE_ONE]        = "acer-aspire",
        [ALC268_DELL]           = "dell",
        [ALC268_ZEPTO]          = "zepto",
#ifdef CONFIG_SND_DEBUG
        [ALC268_TEST]           = "test",
#endif  
        [ALC268_AUTO]           = "auto",
};      
Quoted 7 lines

You can try them with commands like

modprobe snd-hda-intel model=3stack

and report the one works for you, so that we integrate this knowledge into future kernel versions.

I've loaded the module with different model parameters. Afterwards, I tried alsamixer. As this didn't work, I used aumix to maximize all levels. Finally, I used aplay to play some audio files.

"quanta-il1", "toshiba":

from alsamixer:
ALSA lib simple_none.c:1520:(simple_add1) helem (MIXER,'Headphone
Playback Switch',0,2,0) appears twice or more
alsamixer: function snd_mixer_load failed: Invalid argument

-works, but hardly audible

"dell":

Too many audio devices

from alsamixer:
ALSA lib simple_none.c:1520:(simple_add1) helem (MIXER,'Headphone
Playback Switch',0,2,0) appears twice or more
alsamixer: function snd_mixer_load failed: Invalid argument

-works, but hardly audible

"acer", "acer-aspire":

from alsamixer:
ALSA lib simple_none.c:1520:(simple_add1) helem (MIXER,'Master
Playback Switch',0,2,0) appears twice or more
alsamixer: function snd_mixer_load failed: Invalid argument

-nothing audible

"3stack", "acer-dmic", "zepto", "test", and "auto":

HDA Intel: probe of 0000:00:1b.0 failed with error -16

Quoted 4 lines

You are also welcome to provide your hardware information by running
http://www.alsa-project.org/alsa-info.sh
and upload the data collected by it.

http://www.alsa-project.org/db/?f=1db7143668062f92f8cab7c2c214744743b96d44

Yours,
Stefanie