Guowei Lv

1 minute read

Just got the Thinkpad X1 Carbon Gen 7 as work laptop. Installed manjaro and noticed that there is a clipping noise when using the headphone jack.

How to fix:

  1. Install alsa-tools

  2. Create a script in /usr/bin

    #!/bin/bash
    hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x67
    hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x3000

  3. Create a new file in /etc/systemd/system/

[Unit]
Description=Scriptssh-keygen -t rsa -b 4096 -C "your_email@example.com"

[Service]
ExecStart=/usr/bin/script

[Install]
WantedBy=multi-user.target 
  1. Run and auto start the service
    sudo chmod 755 /usr/bin/script
    sudo systemctl enable script.service
comments powered by Disqus