[Maybe Solved] pin retask for sound ALC298 for Galaxy Book 10.6 (W620) headphones jack
by aus9 from LinuxQuestions.org on (#4ZR7B)
Hi
The commands below that have "hda" in them come from alsa-utils for debian based distros.....YMMV
THIS IS A POSSIBLE FIX FOR A SPECIFIC make and model and only the headphone wrong pin. Do not follow this guide for your device unless you have an EXACT MATCH.
YOU HAVE BEEN WARNED.
after running
Code:sudo su
(input local user password ( a member of sudoers)
hdajacksensetestwithout headphone lead....and wants analog headphone sound
then repeating root powered hdajacksensetest with headphones inserted we have the following results
no headphone
Pin 0x18 (Pink Mic, Rear side): present = No
headphone inserted
Pin 0x18 (Pink Mic, Rear side): present = Yes
I do NOT have same hardware so modified my screenshot to suit.
Note the steps as per the image.
https://imgur.com/QX3SIVk
steps run as a local user
Code: hdajackretaskstep 1 pulldown and change HDMI to ALC298
step 2 Tick the box for Advanced override. This has more options.
If you are altering an output to output, you may be able to avoid this box
but we are altering an input to output pin.
step 3 Next go to the wrong pin ID=0x18
You will notice it claims to be an input device.
step 4 pulldown the Device and choose Headphone
OPTIONAL change the color from pink to green. This optional step only affects results for root powered command hdajacksensetest
step 5 Click on Apply Now.
A popup will ask you to enter the root password (Not the sudo password)
##############
You must test sound now. Do not skip ahead!
If and only if you hear sound through the headphones....we go to the next step
We need this new setup to persist over reboot so
step 6 Click on Install boot override
A popup will ask you to enter the root password (Not the sudo password)


The commands below that have "hda" in them come from alsa-utils for debian based distros.....YMMV
THIS IS A POSSIBLE FIX FOR A SPECIFIC make and model and only the headphone wrong pin. Do not follow this guide for your device unless you have an EXACT MATCH.
YOU HAVE BEEN WARNED.
after running
Code:sudo su
(input local user password ( a member of sudoers)
hdajacksensetestwithout headphone lead....and wants analog headphone sound
then repeating root powered hdajacksensetest with headphones inserted we have the following results
no headphone
Pin 0x18 (Pink Mic, Rear side): present = No
headphone inserted
Pin 0x18 (Pink Mic, Rear side): present = Yes
I do NOT have same hardware so modified my screenshot to suit.
Note the steps as per the image.
https://imgur.com/QX3SIVk
steps run as a local user
Code: hdajackretaskstep 1 pulldown and change HDMI to ALC298
step 2 Tick the box for Advanced override. This has more options.
If you are altering an output to output, you may be able to avoid this box
but we are altering an input to output pin.
step 3 Next go to the wrong pin ID=0x18
You will notice it claims to be an input device.
step 4 pulldown the Device and choose Headphone
OPTIONAL change the color from pink to green. This optional step only affects results for root powered command hdajacksensetest
step 5 Click on Apply Now.
A popup will ask you to enter the root password (Not the sudo password)
##############
You must test sound now. Do not skip ahead!
If and only if you hear sound through the headphones....we go to the next step
We need this new setup to persist over reboot so
step 6 Click on Install boot override
A popup will ask you to enter the root password (Not the sudo password)