Fred
2017-05-20 17:16:47 UTC
For some reason Codec: Realtek ID 887 shows up in
/proc/asound/card0/codec#0 on the not working setup and the codec is
shown as Codec: Realtek ALC887-VD on the working setup.
The machine (hardware) is identical in both cases. The only real
significant difference is that when the codec is misidentified is that
Linux is booting of an Evo 850 SSD.
The motherboard is an MSI Z87-G41 PC Mate(MS-7850)
Looking at the linux/pci/hda/patch_realtek.c ALC887-VD is listed but no
"ID 887".
static struct alc_codec_rename_table rename_tbl[] = {
{ 0x10ec0221, 0xf00f, 0x1003, "ALC231" },
{ 0x10ec0269, 0xfff0, 0x3010, "ALC277" },
{ 0x10ec0269, 0xf0f0, 0x2010, "ALC259" },
{ 0x10ec0269, 0xf0f0, 0x3010, "ALC258" },
{ 0x10ec0269, 0x00f0, 0x0010, "ALC269VB" },
{ 0x10ec0269, 0xffff, 0xa023, "ALC259" },
{ 0x10ec0269, 0xffff, 0x6023, "ALC281X" },
{ 0x10ec0269, 0x00f0, 0x0020, "ALC269VC" },
{ 0x10ec0269, 0x00f0, 0x0030, "ALC269VD" },
{ 0x10ec0662, 0xffff, 0x4020, "ALC656" },
{ 0x10ec0887, 0x00f0, 0x0030, "ALC887-VD" },
{ 0x10ec0888, 0x00f0, 0x0030, "ALC888-VD" },
{ 0x10ec0888, 0xf0f0, 0x3020, "ALC886" },
{ 0x10ec0899, 0x2000, 0x2000, "ALC899" },
{ 0x10ec0892, 0xffff, 0x8020, "ALC661" },
{ 0x10ec0892, 0xffff, 0x8011, "ALC661" },
{ 0x10ec0892, 0xffff, 0x4011, "ALC656" },
{ } /* terminator */
};
On the working setup the kernel says:
[ 24.738717] bus: 'pci': add driver snd_hda_intel
[ 24.738722] bus: 'pci': driver_probe_device: matched device
0000:00:1b.0 with driver snd_hda_intel
[ 24.738723] bus: 'pci': really_probe: probing driver snd_hda_intel
with device 0000:00:1b.0
[ 24.738833] driver: 'snd_hda_intel': driver_bound: bound to device
'0000:00:1b.0'
[ 24.738835] bus: 'pci': really_probe: bound device 0000:00:1b.0 to
driver snd_hda_intel
[ 24.738839] bus: 'pci': driver_probe_device: matched device
0000:01:00.1 with driver snd_hda_intel
[ 24.738840] bus: 'pci': really_probe: probing driver snd_hda_intel
with device 0000:01:00.1
[ 24.738877] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 24.744128] driver: 'snd_hda_intel': driver_bound: bound to device
'0000:01:00.1'
[ 24.744154] bus: 'pci': really_probe: bound device 0000:01:00.1 to
driver snd_hda_intel
[ 24.783348] bus: 'hdaudio': add driver snd_hda_codec_generic
[ 24.785915] bus: 'hdaudio': add driver snd_hda_codec_realtek
On the not working setup the kernel says:
[ 9.243639] bus: 'pci': add driver snd_hda_intel
[ 9.243643] bus: 'pci': driver_probe_device: matched device
0000:00:1b.0 with driver snd_hda_intel
[ 9.243644] bus: 'pci': really_probe: probing driver snd_hda_intel
with device 0000:00:1b.0
[ 9.243645] snd_hda_intel 0000:00:1b.0: no default pinctrl state
[ 9.243748] driver: 'snd_hda_intel': driver_bound: bound to device
'0000:00:1b.0'
[ 9.243817] bus: 'pci': really_probe: bound device 0000:00:1b.0 to
driver snd_hda_intel
[ 9.243823] bus: 'pci': driver_probe_device: matched device
0000:01:00.1 with driver snd_hda_intel
[ 9.243824] bus: 'pci': really_probe: probing driver snd_hda_intel
with device 0000:01:00.1
[ 9.243826] snd_hda_intel 0000:01:00.1: no default pinctrl state
[ 9.243857] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 9.250692] driver: 'snd_hda_intel': driver_bound: bound to device
'0000:01:00.1'
[ 9.250731] bus: 'pci': really_probe: bound device 0000:01:00.1 to
driver snd_hda_intel
[ 9.350238] bus: 'hdaudio': add driver snd_hda_codec_generic
[ 9.368334] bus: 'hdaudio': add driver snd_hda_codec_realtek
If I look at the differences between the codec files.
There are no Controls and Mixers listed in the ID 887 codec. This makes
sense as alsamixer says " This sound device does not have any controls. "
Seems like it could be a possible timing issue.
Any thoughts?
Fred
/proc/asound/card0/codec#0 on the not working setup and the codec is
shown as Codec: Realtek ALC887-VD on the working setup.
The machine (hardware) is identical in both cases. The only real
significant difference is that when the codec is misidentified is that
Linux is booting of an Evo 850 SSD.
The motherboard is an MSI Z87-G41 PC Mate(MS-7850)
Looking at the linux/pci/hda/patch_realtek.c ALC887-VD is listed but no
"ID 887".
static struct alc_codec_rename_table rename_tbl[] = {
{ 0x10ec0221, 0xf00f, 0x1003, "ALC231" },
{ 0x10ec0269, 0xfff0, 0x3010, "ALC277" },
{ 0x10ec0269, 0xf0f0, 0x2010, "ALC259" },
{ 0x10ec0269, 0xf0f0, 0x3010, "ALC258" },
{ 0x10ec0269, 0x00f0, 0x0010, "ALC269VB" },
{ 0x10ec0269, 0xffff, 0xa023, "ALC259" },
{ 0x10ec0269, 0xffff, 0x6023, "ALC281X" },
{ 0x10ec0269, 0x00f0, 0x0020, "ALC269VC" },
{ 0x10ec0269, 0x00f0, 0x0030, "ALC269VD" },
{ 0x10ec0662, 0xffff, 0x4020, "ALC656" },
{ 0x10ec0887, 0x00f0, 0x0030, "ALC887-VD" },
{ 0x10ec0888, 0x00f0, 0x0030, "ALC888-VD" },
{ 0x10ec0888, 0xf0f0, 0x3020, "ALC886" },
{ 0x10ec0899, 0x2000, 0x2000, "ALC899" },
{ 0x10ec0892, 0xffff, 0x8020, "ALC661" },
{ 0x10ec0892, 0xffff, 0x8011, "ALC661" },
{ 0x10ec0892, 0xffff, 0x4011, "ALC656" },
{ } /* terminator */
};
On the working setup the kernel says:
[ 24.738717] bus: 'pci': add driver snd_hda_intel
[ 24.738722] bus: 'pci': driver_probe_device: matched device
0000:00:1b.0 with driver snd_hda_intel
[ 24.738723] bus: 'pci': really_probe: probing driver snd_hda_intel
with device 0000:00:1b.0
[ 24.738833] driver: 'snd_hda_intel': driver_bound: bound to device
'0000:00:1b.0'
[ 24.738835] bus: 'pci': really_probe: bound device 0000:00:1b.0 to
driver snd_hda_intel
[ 24.738839] bus: 'pci': driver_probe_device: matched device
0000:01:00.1 with driver snd_hda_intel
[ 24.738840] bus: 'pci': really_probe: probing driver snd_hda_intel
with device 0000:01:00.1
[ 24.738877] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 24.744128] driver: 'snd_hda_intel': driver_bound: bound to device
'0000:01:00.1'
[ 24.744154] bus: 'pci': really_probe: bound device 0000:01:00.1 to
driver snd_hda_intel
[ 24.783348] bus: 'hdaudio': add driver snd_hda_codec_generic
[ 24.785915] bus: 'hdaudio': add driver snd_hda_codec_realtek
On the not working setup the kernel says:
[ 9.243639] bus: 'pci': add driver snd_hda_intel
[ 9.243643] bus: 'pci': driver_probe_device: matched device
0000:00:1b.0 with driver snd_hda_intel
[ 9.243644] bus: 'pci': really_probe: probing driver snd_hda_intel
with device 0000:00:1b.0
[ 9.243645] snd_hda_intel 0000:00:1b.0: no default pinctrl state
[ 9.243748] driver: 'snd_hda_intel': driver_bound: bound to device
'0000:00:1b.0'
[ 9.243817] bus: 'pci': really_probe: bound device 0000:00:1b.0 to
driver snd_hda_intel
[ 9.243823] bus: 'pci': driver_probe_device: matched device
0000:01:00.1 with driver snd_hda_intel
[ 9.243824] bus: 'pci': really_probe: probing driver snd_hda_intel
with device 0000:01:00.1
[ 9.243826] snd_hda_intel 0000:01:00.1: no default pinctrl state
[ 9.243857] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 9.250692] driver: 'snd_hda_intel': driver_bound: bound to device
'0000:01:00.1'
[ 9.250731] bus: 'pci': really_probe: bound device 0000:01:00.1 to
driver snd_hda_intel
[ 9.350238] bus: 'hdaudio': add driver snd_hda_codec_generic
[ 9.368334] bus: 'hdaudio': add driver snd_hda_codec_realtek
If I look at the differences between the codec files.
There are no Controls and Mixers listed in the ID 887 codec. This makes
sense as alsamixer says " This sound device does not have any controls. "
Seems like it could be a possible timing issue.
Any thoughts?
Fred