Coder Social home page Coder Social logo

huawei-ubuntu-sound-fix's People

Contributors

elboulangero avatar foofly avatar kharlexis avatar maksimetny avatar smoren avatar techkek avatar vpkopylov avatar wartybix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

huawei-ubuntu-sound-fix's Issues

not working

Hi I am new to linux, I tried to install Ubuntu 22 distro and I have exactly the problem you described,
I tried your solution (after a lot of other commands, too many to remember) but nothing seems to have changed. :(

Battery drain and buzz noise.

MateBook 14s (2021), Fedora 39 - Gnome 45

Hi guys,
everything is working correctly, but i have noticed high battery consumption and a buzzing noise coming from the speakers when in balanced or performance mode from Gnome settings.
I tried changing the sleep time from 0.3 to 2 seconds, and the buzzing noise seems to change.
Any ideas? Thanks!

A solution to "amixer : Host is down" caused by PipeWire being default sound card

In some standard installation of linux distros, PipeWire is installed to handle computer sound. However, PipeWire sound card is identified as the default device for amixer, that blocks this sound fix from functioning well since amixer get Headphone | grep -q "off" command only do things on the default device. Under this circumstance, if you run huawei-soundcard-headphones-monitor.sh in terminal, info "amixer : Host is down" occurs.

To avoid this, you could get the ID of your actual sound device with alsamixer , and then press F6 button to open sound card menu to see the number. In my case below, 0 is the real sound device.
Screenshot from 2024-01-31 22-45-35
And you shall edit the huawei-soundcard-headphones-monitor.sh. In line 48, replace amixer with, in my case, amixer -c 0 , the number should be the same as the ID we got before.
Then install the sound fix and check if it works.

It works on my device MACHD-WXX9/MACHD-WFE9Q aka Matebook X Pro 2021.
more kernel and hardware info:

Host: MatebookLinuX Kernel: 6.6.10-1-MANJARO arch: x86_64 bits: 64
Desktop: GNOME v: 45.3 Distro: Manjaro Linux
Machine:
Type: Laptop System: HUAWEI product: MACHD-WXX9 v: M1160
serial:
Mobo: HUAWEI model: MACHD-WXX9-PCB-B1 v: M1160
serial: UEFI: HUAWEI v: 2.38 date: 05/29/2023

Also, since it is a default sound card problem, I think a more simple solution exits definitely. Please let me know if you have any ideas about it.

Ubuntu 23.10 support

Hi, the fix is working for 23.4, but for some reason it can't enable speaker on 23.10. Switching to jack seems works reliable.

USB-C Headset not detected

If a USB-C headset is connected, it is not auto-detected as it happens with the 3.5mm Jack or any Bluetooth headset, could it have something to do with the specific audio DAC?

Fedora supports & Uninstall script

Hi
This fix is works on Fedora 39 for MateBook 14s

I think the following features will be useful for some users:

  • Add variant for dnf package manager
  • Add uninstall script (Removes all fix files and service)

Huawei Matebook d16 with i7-12700H

Hi Guys,

i have a Matebook d16 with an i7-12700H. I'm running arch linux but i can't use my headphones.

The first thing i recognized is, that i don't have the control 'Headphone' under alsa. The next thing (maybe not really a problem, because i don't have it under alsa) i although don't have sink-port called headphones under pulseaudio.

Currently i'm a little bit lost. I don't where to hack more....

I anyone give me a hint where to look. It seems my be my installation or my matebook is a little bit differnt.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.