I can confirm. This is still existing for me on:
- Ubuntu 20.04.2
- Linux 5.8.0-44-generic
- HP-EliteBook-840-G6
- HP UltraSlim Dock 2013
- Realtek ALC215

I tried almost all steps described here and in other places. Without any
luck.

If I use hdajacksensetest with plugged jack in dock I get:

$ hdajacksensetest -c 0 -a
Pin 0x12 (Not connected): present = No
Pin 0x13 (Not connected): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x16 (Not connected): present = Yes
Pin 0x17 (Not connected): present = No
Pin 0x18 (Not connected): present = No
Pin 0x19 (Black Mic, Right side): present = No
Pin 0x1a (Not connected): present = Yes
Pin 0x1b (Not connected): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x21 (Black Headphone, Right side): present = No

If I use hdajacksensetest with unplugged jack in dock I get:

$ hdajacksensetest -c 0 -a
Pin 0x12 (Not connected): present = No
Pin 0x13 (Not connected): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x16 (Not connected): present = No
Pin 0x17 (Not connected): present = No
Pin 0x18 (Not connected): present = No
Pin 0x19 (Black Mic, Right side): present = No
Pin 0x1a (Not connected): present = Yes
Pin 0x1b (Not connected): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x21 (Black Headphone, Right side): present = No

Which leads me to the assumption pin 0x16 is the one Iam looking for.

I tried to hdajackretask it but got:
"tee: /sys/class/sound/hwC0D0/reconfig: Device or resource busy"

I followed the steps to temporary disable pulseaudio as suggested in
different posts.

But trying to hdajackretask now, it always freezes the tool (ubuntu
shows the "force quit" dialog every now and then) when I click on "Apply
now" and after entering my password. After killing it computer stays
busy a lot and all sound devices are gone. Having a look at alsamixer
also fails then:

$ alsamixer
alsamixer - cannot open mixer: No such file or directory

After reboot everything is back in place. But still no output on the
jack of the dock.

After investing some hours of try and error i found this:
https://ubuntuforums.org/showthread.php?t=2392730

So I tried to simply overwrite my pin 0x16 with "Dock line out".

It seems to work. At least I get a file stored in /lib/firmware/:

$ cat /lib/firmware/hda-jack-retask.fw
[codec]
0x10ec0215 0x103c854d 0

[pincfg]
0x12 0x40000000
0x13 0x411111f0
0x14 0x90170110
0x16 0x220140b0
0x17 0x411111f0
0x18 0x411111f0
0x19 0x04a11040
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x40600001
0x1e 0x411111f0
0x21 0x04211020

And one in /etc/modprobe.d/:
$ cat /etc/modprobe.d/hda-jack-retask.conf
# This file was added by the program 'hda-jack-retask'.
# If you want to revert the changes made by this program, you can simply erase 
this file and reboot your computer.
options snd-hda-intel 
patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw

Which makes me confident that at least hdajackretask did its job.

But now I dont have sound at all.

If I use hdajacksensetest with plugged jack in dock now I get:

$ hdajacksensetest -c 0 -a
Pin 0x12 (Not connected): present = No
Pin 0x13 (Not connected): present = No
Pin 0x14 (Internal Speaker): present = No
Pin 0x16 (Not connected): present = Yes
Pin 0x17 (Not connected): present = No
Pin 0x18 (Not connected): present = No
Pin 0x19 (Black Mic, Right side): present = No
Pin 0x1a (Not connected): present = Yes
Pin 0x1b (Not connected): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
Pin 0x21 (Black Headphone, Right side): present = No

Which is exactly the same as before.

I also tried the approach from Gijs with the "Advanced options". Same
result.

Would appreciate help on that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1470730

Title:
  [HP EliteBook 840 G2, Realtek ALC3228, HP UltraSlim Dock 2013] Line
  in/Line out on docking station doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1470730/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to