No sound with Realtek ALC298 on a Samsung Galaxy book
Dear ALSA community,
I just bought a Samsung Galaxy book 12" laptop and I installed the latest Fedora version (31) on it. Unfortunately when I try to listen something there is absolutely no sound from speaker nor headsets. I checked that volumes of the different channels were max. I also checked for muting system but I didn't found anything.
Of course it works perfectly under Windows.
I saw on internet that many ALC298 users had troubles with it. I tried different options to the intel hda driver (especially the model one) but it changes nothing.
Here is the alsa-info.sh output: http://alsa-project.org/db/?
f=871881e295972b9ecf252b25e90d659e38d939b8
I would appreciate some help in order to find a solution. Tell me if you need more information.
Thanks in advance.
Aurélien
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 13 lines · Aurélien Croc
Dear ALSA community,
I just bought a Samsung Galaxy book 12" laptop and I installed the latest Fedora version (31) on it. Unfortunately when I try to listen something there is absolutely no sound from speaker nor headsets. I checked that volumes of the different channels were max. I also checked for muting system but I didn't found anything.
Of course it works perfectly under Windows.
I saw on internet that many ALC298 users had troubles with it. I tried different options to the intel hda driver (especially the model one) but it changes nothing.
Quoted 5 lines
Here is the
alsa-info.shoutput: http://alsa-project.org/db/?
f=871881e295972b9ecf252b25e90d659e38d939b8
I would appreciate some help in order to find a solution. Tell me if you need more information.
Thanks in advance.
The BIOS seems broken, it just sets a single output pin. You need to try to figure out the pin connections, e.g. via hdajackretask program. The headphone might work with that. But the speaker output might need another special handling, and it's nothing but trial-and-test with the existing quirks for similar devices. Take a look at sound/pci/hda/patch_realtek.c.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 6 lines
The BIOS seems broken, it just sets a single output pin. You need to try to figure out the pin connections, e.g. via hdajackretask program. The headphone might work with that. But the speaker output might need another special handling, and it's nothing but trial-and-test with the existing quirks for similar devices. Take a look at
sound/pci/hda/patch_realtek.c.
Thank you for your answer. I tried hdajackretask but I didn't succeed to get sound from headsets.. Maybe I didn't tried all the advanced features of this tool..
I also tried some quirks from your file but it changes nothing. There are too many possibilities. It seems to be hard to test them all.
Don't you know a solution to get what is bugged or to get information about which channel is linked to headets or internal speakers from Windows drivers? I think about a tool to sniff communication between the driver and the sound card? or read information from the sound card under windows? Reverse engineering the Windows driver would lead to the solution but will be very long for me since I'm not familiar with the Intel HDA card and how this Realtek chip internally works.
Don't hesitate if you have any hints which could help me (and all the other users of this laptop..)
Cheers,
Aurélien
Quoted 30 lines · Le lundi 17 février 2020, 09:00:42 CET Takashi Iwai a écrit :
On Sat, 15 Feb 2020 17:56:58 +0100,
Quoted 13 lines · Aurélien Croc
Dear ALSA community,
I just bought a Samsung Galaxy book 12" laptop and I installed the latest Fedora version (31) on it. Unfortunately when I try to listen something there is absolutely no sound from speaker nor headsets. I checked that volumes of the different channels were max. I also checked for muting system but I didn't found anything.
Of course it works perfectly under Windows.
I saw on internet that many ALC298 users had troubles with it. I tried different options to the intel hda driver (especially the model one) but it
changes nothing.Quoted 5 lines
Here is the
alsa-info.shoutput: http://alsa-project.org/db/?
f=871881e295972b9ecf252b25e90d659e38d939b8
I would appreciate some help in order to find a solution. Tell me if you need more information.
Thanks in advance.The BIOS seems broken, it just sets a single output pin. You need to try to figure out the pin connections, e.g. via hdajackretask program. The headphone might work with that. But the speaker output might need another special handling, and it's nothing but trial-and-test with the existing quirks for similar devices. Take a look at
sound/pci/hda/patch_realtek.c.
Quoted 1 line
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 8 lines · Aurélien Croc
Quoted 7 lines
The BIOS seems broken, it just sets a single output pin. You need to try to figure out the pin connections, e.g. via hdajackretask program. The headphone might work with that. But the speaker output might need another special handling, and it's nothing but trial-and-test with the existing quirks for similar devices. Take a look at
sound/pci/hda/patch_realtek.c.
Quoted 5 lines
Thank you for your answer. I tried hdajackretask but I didn't succeed to get sound from headsets.. Maybe I didn't tried all the advanced features of this tool..
I also tried some quirks from your file but it changes nothing. There are too many possibilities. It seems to be hard to test them all.
Yeah, that's the problem -- there are way too many device-specific implementations and workarounds :-<
Quoted 4 lines
Don't you know a solution to get what is bugged or to get information about which channel is linked to headets or internal speakers from Windows drivers? I think about a tool to sniff communication between the driver and the sound card? or read information from the sound card under windows?
Sometimes you have some data in *.INF file or such. At least, if the standard Windows driver (not the h/w vendor's one) works, the extra configuration is usually put there.
Also, when you test the sound, don't use PulseAudio but test directly with ALSA native apps (e.g. aplay with -Dhw:0 or -Dplughw:0, etc). You can use speaker-test program, too.
And always try a headphone output at first. The headset mic might not work, but the headphone output is usually the easiest one to get working.
Takashi
Quoted 7 lines
Reverse engineering the Windows driver would lead to the solution but will be very long for me since I'm not familiar with the Intel HDA card and how this Realtek chip internally works.
Don't hesitate if you have any hints which could help me (and all the other users of this laptop..)
Cheers,
Quoted 37 lines
Aurélien
Quoted 31 lines · Le lundi 17 février 2020, 09:00:42 CET Takashi Iwai a écrit :
On Sat, 15 Feb 2020 17:56:58 +0100,
Quoted 13 lines · Aurélien Croc
Dear ALSA community,
I just bought a Samsung Galaxy book 12" laptop and I installed the latest Fedora version (31) on it. Unfortunately when I try to listen something there is absolutely no sound from speaker nor headsets. I checked that volumes of the different channels were max. I also checked for muting system but I didn't found anything.
Of course it works perfectly under Windows.
I saw on internet that many ALC298 users had troubles with it. I tried different options to the intel hda driver (especially the model one) but it
changes nothing.Quoted 5 lines
Here is the
alsa-info.shoutput: http://alsa-project.org/db/?
f=871881e295972b9ecf252b25e90d659e38d939b8
I would appreciate some help in order to find a solution. Tell me if you need more information.
Thanks in advance.The BIOS seems broken, it just sets a single output pin. You need to try to figure out the pin connections, e.g. via hdajackretask program. The headphone might work with that. But the speaker output might need another special handling, and it's nothing but trial-and-test with the existing quirks for similar devices. Take a look at
sound/pci/hda/patch_realtek.c.Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 3 lines
Sometimes you have some data in *.INF file or such. At least, if the standard Windows driver (not the h/w vendor's one) works, the extra configuration is usually put there.
The Windows driver is the one provided by Realtek. The manufacturer ID is "INTELAUDIO\FUNC_01&VEN_10EC&DEV_0298&SUBSYS_144DC14F".
I looked into the INF file which corresponds to this driver but I'm not sure to understand it. There is a specific section attached to this device which looks like:
[CusEffectSettingsMaxim.AddReg] HKR,SSTPPCfg\{C75061F3-F2B2-4DCC-8F9F-82ABB4131E66}\SPK\EFX,16777217, 1, 1,0,0,1,1,0,0,0 HKR,SSTPPCfg\{C75061F3-F2B2-4DCC-8F9F-82ABB4131E66}\SPK\EFX,16777218, 1, 2,0,0,1,0,0,80,2
....
I don't know if the solution is in these lines or not..
Quoted 3 lines
Also, when you test the sound, don't use PulseAudio but test directly with ALSA native apps (e.g. aplay with -Dhw:0 or -Dplughw:0, etc). You can use speaker-test program, too.
I tried again all the channels with headphone only by using only ALSA and not pulseaudio. There is no sound at all.
Note that the internal microphone and the microphone of my headphone when it's plugged in works very well..
Quoted 3 lines
And always try a headphone output at first. The headset mic might not work, but the headphone output is usually the easiest one to get working.
Thank you for your help. I hope we'll find the problem..
Quoted 20 lines · Aurélien Croc
Quoted 4 lines
Sometimes you have some data in *.INF file or such. At least, if the standard Windows driver (not the h/w vendor's one) works, the extra configuration is usually put there.
The Windows driver is the one provided by Realtek. The manufacturer ID is "INTELAUDIO\FUNC_01&VEN_10EC&DEV_0298&SUBSYS_144DC14F".
I looked into the INF file which corresponds to this driver but I'm not sure to understand it. There is a specific section attached to this device which looks like:
[CusEffectSettingsMaxim.AddReg] HKR,SSTPPCfg\{C75061F3-F2B2-4DCC-8F9F-82ABB4131E66}\SPK\EFX,16777217, 1, 1,0,0,1,1,0,0,0 HKR,SSTPPCfg\{C75061F3-F2B2-4DCC-8F9F-82ABB4131E66}\SPK\EFX,16777218, 1, 2,0,0,1,0,0,80,2
....I don't know if the solution is in these lines or not..
Quoted 8 lines
Quoted 3 lines
Also, when you test the sound, don't use PulseAudio but test directly with ALSA native apps (e.g. aplay with -Dhw:0 or -Dplughw:0, etc). You can use speaker-test program, too.
I tried again all the channels with headphone only by using only ALSA and not pulseaudio. There is no sound at all.
Note that the internal microphone and the microphone of my headphone when it's plugged in works very well..
Aha, so the input works but only the output doesn't?
Then it's not about the basic stuff like pin configuration but rather the missing COEF setup or such that is specific to Realtek codec (and/or the Samsung platform).
Kailang, do you have any clue?
thanks,
Takashi
Quoted 10 lines
Quoted 4 lines
And always try a headphone output at first. The headset mic might not work, but the headphone output is usually the easiest one to get working.
Thank you for your help. I hope we'll find the problem..
Quoted 47 lines
-----Original Message-----
From: Takashi Iwai <[email protected]>
Sent: Tuesday, February 18, 2020 6:05 AM
To: Aurélien Croc <[email protected]>
Cc: [email protected]; Kailang <[email protected]>
Subject: Re: [alsa-devel] No sound with Realtek ALC298 on a Samsung Galaxy bookQuoted 5 lines · Aurélien Croc
Quoted 4 lines
Sometimes you have some data in *.INF file or such. At least, if the standard Windows driver (not the h/w vendor's one) works, the extra configuration is usually put there.
Quoted 7 lines
The Windows driver is the one provided by Realtek. The manufacturer ID is "INTELAUDIO\FUNC_01&VEN_10EC&DEV_0298&SUBSYS_144DC14F". I looked into the INF file which corresponds to this driver but I'm not sure to understand it. There is a specific section attached to this device which looks like:
[CusEffectSettingsMaxim.AddReg]HKR,SSTPPCfg\{C75061F3-F2B2-4DCC-8F9F-82ABB4131E66}\SPK\EFX,16777217 ,
Quoted 3 lines
1,
1,0,0,1,1,0,0,0HKR,SSTPPCfg\{C75061F3-F2B2-4DCC-8F9F-82ABB4131E66}\SPK\EFX,16777218 ,
Quoted 7 lines
1,
2,0,0,1,0,0,80,2
....I don't know if the solution is in these lines or not..
Quoted 8 lines
Quoted 3 lines
Also, when you test the sound, don't use PulseAudio but test directly with ALSA native apps (e.g. aplay with -Dhw:0 or -Dplughw:0, etc). You can use speaker-test program, too.
I tried again all the channels with headphone only by using only ALSA and not pulseaudio. There is no sound at all.
Note that the internal microphone and the microphone of my headphone when it's plugged in works very well..
Quoted 6 lines
Aha, so the input works but only the output doesn't?
Then it's not about the basic stuff like pin configuration but rather the missing COEF setup or such that is specific to Realtek codec (and/or the Samsung platform).Kailang, do you have any clue?
Sorry.
Samsung didn't request this platform need to support Linux.
Quoted 19 lines
thanks,
Takashi
Quoted 10 lines
Quoted 4 lines
And always try a headphone output at first. The headset mic might not work, but the headphone output is usually the easiest one to get working.
Thank you for your help. I hope we'll find the problem..
------Please consider the environment before printing this e-mail.
Hi,
Quoted 6 lines
Aha, so the input works but only the output doesn't?
Then it's not about the basic stuff like pin configuration but rather the missing COEF setup or such that is specific to Realtek codec (and/or the Samsung platform).Kailang, do you have any clue?
While waiting for Kailang's answer (and I hope he'll get the solution!!), isn't it possible to grab information from Windows? I'm sorry I don't know very well how Realtek chip works but if the problem would comes from some registers which are not well initialized isn't it possible to dump the state of the realtek chip and its registers under Windows and compare it with the one under Linux?
Because I'm not sure that revers engineer the Windows driver would really easily lead to the solution.
Thank you again for your help.
Aurélien
Hi,
Quoted 2 lines
Sorry.
Samsung didn't request this platform need to support Linux.
I can understand that you can't work on my problem if your client (Samsung) didn't paid for that. However is it possible to get ALC298 specs in order to understand how to configure it (in particular a document which explains its COEF registers and their meaning) and I will do the job.
Thank you in advance.
Regards,
Aurélien
P.S. : sorry for those who received this email twice: I had trouble with the SMTP server..
Quoted 10 lines
-----Original Message-----
From: Aurélien Croc <[email protected]>
Sent: Saturday, February 29, 2020 1:40 AM
To: [email protected]
Cc: Kailang <[email protected]>; Takashi Iwai <[email protected]>
Subject: Re: [alsa-devel] No sound with Realtek ALC298 on a Samsung Galaxy book
Quoted 8 lines
Quoted 2 lines
Sorry.
Samsung didn't request this platform need to support Linux.I can understand that you can't work on my problem if your client (Samsung) didn't paid for that. However is it possible to get ALC298 specs in order to understand how-to configure it (in particular a document which explains its COEF registers and their meaning) and I will do the job.
Hi,
OK. I could try to request spec from our AE.
Quoted 8 lines
Thank you in advance.
Regards,Aurélien
------Please consider the environment before printing this e-mail.