LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-21-2015, 11:05 PM   #1
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Rep: Reputation: 30
Question ACPI not working on Asus X553M - some audio issues as well.


Hi, greetings from Mexico. I just acquired a nice asus laptop which I have installed gentoo. I compiled the kernel myself, most of the hardware is working, just some audio issues.

I enabled the important ACPI options built into the kernel, like the power button. To my surprise, hitting that power button doesn't work, the battery is not recognized (although, it could be a dbus issue), most importantly, I want to know if newer models are coming up with similar issues.

This one in particular was given to me, so I didn't choose this hardware. The boot partition is a 100 meg EFI partition. So, I'm not using grub or lilo, just plain efi.

Anyways, I can live with ACPI not working, but check out this audio config from hell. Its got a Realtek card in it, its main module is snd-hda-intel. I can get the main speakers to work just fine. But when I want my headphones to work, that's when it gets interesting.

On windows (sadly it works too well), if I plug in a 2 ring jack set, it asks if its a headset, headphones, or out-speakers. It has to do some sort of converting, because it can also accept a 3-jack with built-in headset.

Now, this isn't about making that work, I think its too much trouble, even for someone from alsa. But, for me to redirect audio, to a 3-jack headphone/headset, I have to run a python script from alsa called hda-analyzer. (After much thinkering) it sorta does the job, the audio peaks at a level that I consider a bit too low, and alsamixer thinks I'm using my normal speakers, so headphone volume controls are null.

Something that gets me pissed is the fact that everytime I switch from audacious to normal youtube or something else, my audio levels reset to "boot" settings.

Other than that, great graphics, decent wifi. And software libre, gotta love gnu.

So, if someone could direct me to a source of information that could help me, I would be much obliged.
 
Old 08-25-2015, 05:53 PM   #2
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Original Poster
Rep: Reputation: 30
Lightbulb self-update

Well, its not the first time I try to figure it out.
I had some help from #alsa in freenode.

I was told to remove battery, plug off power supply, leave like that for about 3 minutes, and then boot directly into linux.

Since I'm dual booting I will most certainly need to change my boot options in the EFI menu so that Linux comes up first, since Windows usually boots fast and asks no questions. After that, I have to remove the battery, my only way to do such a thing is to get a screwdriver and open it. Honestly asus, how bout you not do that again. How about you stop lickin' Microsoft's boots.

The logic behind this is that the computer is never turned off completely and the kernel doesn't know what to do with such options.

My guess is that this might in fact fix ACPI. The audio part, I'm not betting on it.

Now, what I'm thinking is I don't really need to open it up, I want to keep my warranty and such. So, the best way to do this, is to get it on battery power (in gentoo or a live cd), drain it completely and it should do the trick. But, the battery might protect itself, and not go all the way to zero, and the kernel options might be still up.

What do you guys think?
 
Old 08-26-2015, 07:16 AM   #3
oldtechaa
Member
 
Registered: May 2015
Location: US
Distribution: Fedora
Posts: 364

Rep: Reputation: 83
You sure you compiled your kernel with all the proper options enabled?
 
Old 08-26-2015, 11:41 AM   #4
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Original Poster
Rep: Reputation: 30
Smile I got ACPI to work

Well, it seems that I have been in the vanilla glory of using slackware myself. Since I acquired new hardware, I felt the need to install a distro with optimization in mind, hence Gentoo.

So, all I did was run DBUS. That fixed my acpi problems. BUT, acpi does not seem to work on console-only. It works great with KDE. On an old computer my powerbutton used to turn it off immediately, now, it just gives me the logoff screen, which I think is a nice safety measure.

I don't have my headphones with me, I will test the audio portion later.
 
Old 08-26-2015, 07:33 PM   #5
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Original Poster
Rep: Reputation: 30
Talking I got audio to work

Well, I just got audio to work, it was quite the adventure, I got more help from #alsa on freenode, and I've sent all debugging info to the alsa-devel mailing list.

So, if you're really interested, just take a look at that particular info, hopefully it will be patched in a future kernel release.
 
Old 08-29-2015, 01:59 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Maybe the user isn't listed in the powerdev group.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
asus acpi touch pad does'nt work,while my moise working correctly zharjuly Linux - Newbie 1 08-31-2011 11:10 AM
HDMI Audio not working with ASUS M3N78-EM Spectre5 Linux - Software 6 05-25-2009 10:19 PM
Power Issues, vanilla ubuntu kernel, (acpi etc) acpi -V outputs etc jamescondron Linux - Laptop and Netbook 1 02-16-2009 10:48 AM
ACPI and asus laptop.... Skyblaze Debian 2 01-23-2005 07:45 AM
ASUS P4S8X (audio devices not working) lyllo Linux - Hardware 14 08-03-2003 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration