Asus-E200HA-Linux-Post-Install-Script icon indicating copy to clipboard operation
Asus-E200HA-Linux-Post-Install-Script copied to clipboard

audio fix

Open sergix44 opened this issue 8 years ago • 34 comments

I think that audio still not working correctly: for example, playing a youtube video it's working for a few seconds, and after stops working. If you restart the daemon (pulseaudio -k) it gets back to work for a while, and after some seconds of video playing, stops again.

Distro: Linux Mint 18.1

sergix44 avatar Apr 14 '17 13:04 sergix44

Interesting. I had one other person report that. Personally on Ubuntu 16.10 no issues I can see here, just try reproducing. 20 minute video . Perhaps has to do with the version of pulseaudio provided by Mint 18.1?

Grippy98 avatar Apr 14 '17 14:04 Grippy98

I don't know, which version do you have on ubuntu? on mint I have 8.0 Now i want to test with ubuntu 17

sergix44 avatar Apr 14 '17 15:04 sergix44

I am having the same issue. I'm running Ubuntu 16.04

msdiego00 avatar Apr 14 '17 21:04 msdiego00

Try "pulseaudio --version", mine is 9.0 and there aren't any sound playback issues on my end. I really recommend being on Ubuntu 16.10 as of now, I'm trying 17.04 soon to see how that works but there shouldn't be much difference.

Grippy98 avatar Apr 14 '17 21:04 Grippy98

Thank you. I updated to 16.10 and pulseaudio 9.0. It works fine in this setup.

msdiego00 avatar Apr 15 '17 02:04 msdiego00

Glad it does!

On Apr 14, 2017 10:44 PM, "msdiego00" [email protected] wrote:

Thank you. I updated to 16.10 and pulseaudio 9.0. It works fine in this setup.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Grippentech/Asus-E200HA-Linux-Post-Install-Script/issues/3#issuecomment-294267235, or mute the thread https://github.com/notifications/unsubscribe-auth/AG0pIi0YV8DK4FN0EvL8GE34T7yif2apks5rwC73gaJpZM4M9wQ7 .

Grippy98 avatar Apr 15 '17 02:04 Grippy98

In my case with ubuntu 16.10 the keyboard can't get recognized after installation, in live mode it's working

sergix44 avatar Apr 15 '17 16:04 sergix44

@SergiX44 did you join wifi and choose the "update option" during installation? if I did, the same happened to me (keyboard not working, but trackpad multigesture worked). If left out, the keyboard worked, but multigesture did only work after the post-install-script.

dev-bjoern avatar Apr 15 '17 17:04 dev-bjoern

Yeah i've ticked that option, then now I try without updates.

sergix44 avatar Apr 15 '17 17:04 sergix44

It's weird but sometimes you need an external keyboard. Do it with the update option then run the full script and let it reboot. Keyboard starts working after the new kernel is patched.

Grippy98 avatar Apr 15 '17 18:04 Grippy98

I use it also on Linux Mint 18.1 Cinnamon 64-bit version 3.2.7 kernel 4.10 Sound not working and i cant play anything like music or youtube video any suggestion? It starts but after 1 second stop

KonstantinosMar avatar Apr 15 '17 18:04 KonstantinosMar

@Grippentech Could you publish the script for building the kernel with the sound patch? I want to test to compile it directly on lm 18.1

sergix44 avatar Apr 15 '17 19:04 sergix44

Now the sound applet from the panel has dissapear what i did wrong?

KonstantinosMar avatar Apr 15 '17 19:04 KonstantinosMar

@SergiX44 Kernel files and UCM config files are all in this threat: https://bugzilla.kernel.org/show_bug.cgi?id=115531#c64

@KonstantinosMar Right now I'm just going to say you need Ubuntu 16.10 or newer for this bug to work. Mint seems to be out of date on their version of Pulseuadio. You could try installing pulseaudio 9 from a 3rd party repository.

Grippy98 avatar Apr 16 '17 00:04 Grippy98

I install pulseaudio 9 still nothing i think i have to swap to Ubuntu...

KonstantinosMar avatar Apr 16 '17 15:04 KonstantinosMar

I'm trying to build kernel from source but without success. I think that maybe there is a problem with my .config file :s Can anyone guide me how to correctly build it?

andrembpontes avatar Apr 16 '17 17:04 andrembpontes

@andrembpontes what error are you getting?

Grippy98 avatar Apr 16 '17 19:04 Grippy98

After build the kernel with make, make modules and make modules_install, my /lib/modules// have just a few files if I compare it with my current stock kernel.

Also when I try to generate the initram image I get error 'cause missing modules

So I think that the kernel modules are not being built.. maybe cause I have to enable it somehow?

andrembpontes avatar Apr 16 '17 20:04 andrembpontes

First of all follow a tutorial such as this: https://wiki.ubuntu.com/KernelTeam/GitKernelBuild Secondly, you should stop at step 5, so do "make oldconfig" and manually selecting what modules you want. Defaults should be good for most of them but you will want to enable intel SST (or similar patches) as well as the Connexant driver (load them as modules with the M command or Y depending on the module.)

Grippy98 avatar Apr 16 '17 21:04 Grippy98

Now I'm under ubuntu 16.10, and now audio has completely stopped to work: In the audio settings there's no devices, i think after some system updates. I can't start pulseaudio again, and force reloading alsa doesn't help.

here the pulseaudio -vv https://gist.github.com/anonymous/dc3a0b3be7c9d036818605a58568584e

sergix44 avatar Apr 17 '17 16:04 sergix44

@Grippentech I have already followed this tutorial and end up with the same result... Can you send me your .config file, please?

andrembpontes avatar Apr 17 '17 20:04 andrembpontes

Here u go: https://gist.github.com/Grippentech/3be10b39ea487cc8960166911aff0ad0

Grippy98 avatar Apr 18 '17 01:04 Grippy98

@SergiX44 I don't know about pulseaudio crashing. What do you get if you type "uname -r"? Is it still a kernel with -custom at the end? If not it means Ubuntu flashed a different version of the kernel and is using that, thus disabling audio again.

Grippy98 avatar Apr 18 '17 01:04 Grippy98

hi, I've noticed something - I cant get audio from youtube video, but i can get (chopped) sound from workrave (http://www.workrave.org/) - when i go to audio settings in the workrave, select a sound and click "play", then i can hear - the first 0.2 s is cutted out and there are some artifacts, but at least its something.

Tested on ubuntu 16.10, pulseaudio 9.

mrozo avatar Apr 18 '17 15:04 mrozo

Hmm that's weird. Ubuntu 16.10 shouldn't have chopped audio issues. Apparently sometimes it looses what should be the default sound device apparently, will look into a fix soon, need to confirm that's the issue.

Grippy98 avatar Apr 19 '17 16:04 Grippy98

have chopped sound as well on ubuntu 16.10 with Firefox!

ghost avatar Apr 19 '17 20:04 ghost

Thanks @Grippentech for the config file, I managed to build the kernel and boot it up.

I'm having problems now setting up pulseaudio. UCM files are in the correct place but I'm unable to start pulseaudio.

ouput of pulseaudio -v attached...

Do you have any idea??

andrembpontes avatar Apr 23 '17 12:04 andrembpontes

You should have two files in /usr/share/alsa/ucm/chtcx2072x/ , chtcx2072x.conf and HiFi.conf correct?

Grippy98 avatar Apr 23 '17 18:04 Grippy98

Yes, extracted from kernel.zip downloaded from releases

andrembpontes avatar Apr 23 '17 18:04 andrembpontes

Hmmm not sure off the top of my head right now. Can you please start another issue thread so we don't clutter this one up?

Grippy98 avatar Apr 23 '17 18:04 Grippy98