Hardware issues
Sound problems:
wget http://www.linuxant.com/alsa-driver/alsa-driver-linuxant_1.0.23.0_all.deb.zip
unzip alsa-driver-linuxant_1.0.23.0_all.deb.zip
gdebi-gtk alsa-driver-linuxant_1.0.23.0_all.deb
-Install the package and reboot. Now speakers should mute when headphones are connected, HDMI and microphones (internal & external) should be working. Open alsamixer and unmute S/PDIF (you can do that pressing “m”). Choose HDMI output from the pulseaudio volume applet (hardware tab) when needed.
Suspend problem:
sudo gedit /etc/pm/sleep.d/20_custom-ehci_hcd
- Put lines below to the file
#!/bin/sh
# File: "/etc/pm/sleep.d/20_custom-ehci_hcd".
case "${1}" in
hibernate|suspend)
# Unbind ehci_hcd for first device 0000:00:1a.0:
echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
# Unbind ehci_hcd for second device 0000:00:1d.0:
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
;;
resume|thaw)
# Bind ehci_hcd for first device 0000:00:1a.0:
echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind
# Bind ehci_hcd for second device 0000:00:1d.0:
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind
;;
esac
- Save file and close editor
sudo chmod +x /etc/pm/sleep.d/20_custom-ehci_hcd
Webcam problem:
Skype:
sudo mv /usr/bin/skype /usr/bin/skype.real
sudo gedit /usr/bin/skype
- Put lines below to the file
#!/bin/bash
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype.real
- Save file and close editor
sudo chmod +x /usr/bin/skype
- restart skype
Pidgin:
sudo mv /usr/bin/pidgin /usr/bin/pidgin.real
sudo gedit /usr/bin/pidgin
- Put lines below to the file
#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so pidgin.real
- Save file and close editor
sudo chmod +x /usr/bin/pidgin
- restart pidgin
Wireless LED problem:
sudo gedit /etc/acpi/events/asus-wireless-switch
- Put lines below to the file
event=hotkey ATKD 0000005d
action=/etc/acpi/asus-wireless-switch.sh
- Save and close editor
sudo gedit /etc/acpi/asus-wireless-switch.sh
- Put lines below to the file
#!/bin/sh
# Toggle wireless device on Asus K52 laptops
WLANSTATUS=`cat /sys/class/ieee80211/phy0/rfkill*/state`
test -z $WLANSTATUS && exit 1
if [ $WLANSTATUS = 0 ]; then
echo 0 > /sys/devices/platform/asus_laptop/wlan
elif [ $WLANSTATUS = 1 ]; then
echo 1 > /sys/devices/platform/asus_laptop/wlan
fi
- Save and close editor
sudo chmod +x /etc/acpi/asus-wireless-switch.sh
sudo service acpid restart
sudo /etc/init.d/acpi-support restart
Other issues
Get the calculator button working
sudo gedit /etc/acpi/events/asus-calculator
- Put lines below to the file
event=hotkey (ATKD|HOTK) 000000b5
action=/etc/acpi/asus-calculator.sh
- Save and close editor
sudo gedit /etc/acpi/asus-calculator.sh
- Put lines below to the file
#!/bin/sh
# Start calculator on Asus K52 laptops
. /usr/share/acpi-support/power-funcs
getXconsole
gcalctool &
- Save and close editor
sudo chmod +x /etc/acpi/asus-calculator.sh
sudo service acpid restart
sudo /etc/init.d/acpi-support restart









English
Česky
I tried the suspend solution, and this works… a couple of times. After that, I get my screensaver for a second until everything freezes. Do you have any idea what the problem could be and how I might fix this?
I will try it on my computer and I will let you know ASAP.
Hi Robert,
I had bug in my post formating. It should be fixed now. Could you please try follow this guide again and let me now if is working now?
Thanks
Yes, everything works perfectly now. Thank you so much!
Hello Vladislav!
I’ve tried to install alsa-driver-linuxant and it warn about error 2 and now i have no sound.
Could you suggest what to do now?
Hi Igor,
I had the same issue when I try install alsa-driver-linuxant to Ubuntu 10.10
Solution was simple:
- Run synaptics package manager
- uninstall alsa-driver-linuxant
- to a search filed write “kernel”
- sort packages by install status
- select all installed packages in list
- mark selected package to reinstall
- restart computer
It helped me on Ubuntu 10.10, I hope that help you too.
Regards,
Vlada
Hi
Thank you so much for the skype webcam fix, work perfect on Asus.
/K
The sound patch above seems to cause difficulties on my 64bit 10.10 Ubuntu install. Alsa-linuxant seems to do something that messed up the kernel and threw errors on apt-get updates.
If, like me, you don’t like what the alsa-linuxant ‘fix’ does to the current Linux kernel, here is how you get back with minimum (maybe no) damage:
What I discovered is that if you use Synaptic to remove alsa-linuxant completely and then reinstall all your linux kernel modules, things go back to the before alsa-linuxant state. That doesn’t help your device, in my case speakers, but at least the errors go away. Maybe a future kernel will fix things.
Thanks for posting this. Unfortunately I had no success with the first part (sound) due to the following errors:
/usr/lib/alsa-driver-linuxant/acore/pcm_native.c: In function ‘snd_pcm_hw_params’:
/usr/lib/alsa-driver-linuxant/acore/pcm_native.c:489: error: implicit declaration of function ‘pm_qos_remove_requirement’
/usr/lib/alsa-driver-linuxant/acore/pcm_native.c:492: error: implicit declaration of function ‘pm_qos_add_requirement’
Hi Vladislav.
Had a problem in Skype (video upside down), on Linux Mint 9 (Isadora)32 bit.
I followed your Skype solution.
With a small modification in /usr/bin/skype
In stead of :
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype.real
I changed to :
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype.real
Now it works perfect.
Thanks a lot.
Villy.
Hi! I’m using a K52J laptop, but I have very similar problems. Mostly with the headphones. I’m gonna try your solutions. I’d be very happy and thankful if they worked.
—
Yay! Itworked for me! Now headphones work, calculator button works too
MANY THANKS! You saved my butt
Hello! I have strange problem with sound in my Debian 6 machine, when trying to install Linuxant driver.
I get error:
root@bbspqn-k52f:/home/qn/Desktop# dpkg -i alsa-driver-linuxant_1.0.23.1_all.deb
Selecting previously deselected package alsa-driver-linuxant.
(Reading database … 310249 files and directories currently installed.)
Unpacking alsa-driver-linuxant (from alsa-driver-linuxant_1.0.23.1_all.deb) …
Setting up alsa-driver-linuxant (1.0.23.1) …
Building modules for the 2.6.32-5-686-bigmem kernel, please wait… done.
ERROR: Build failed. Please review the build log at /tmp/alsa-driver-linuxant.3210.log
dpkg: error processing alsa-driver-linuxant (–install):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
alsa-driver-linuxant
Then, I’ve checked log file, and looks like problem is:
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run ‘make oldconfig && make prepare’ on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-headers-2.6.32-5-common/Module.symvers
is missing; modules will have no dependencies and modversions.
find: `/usr/src/linux-headers-2.6.32-5-common/alsa-kernel/’: No such file or directory
find: `/usr/src/linux-headers-2.6.32-5-common/alsa-kernel/’: No such file or directory
find: `/usr/src/linux-headers-2.6.32-5-common/alsa-kernel/’: No such file or directory
Building modules, stage 2.
/usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.modpost:42: include/config/auto.conf: No such file or directory
find: `/usr/src/linux-headers-2.6.32-5-common/alsa-kernel/’: No such file or directory
find: `/usr/src/linux-headers-2.6.32-5-common/alsa-kernel/’: No such file or directory
find: `/usr/src/linux-headers-2.6.32-5-common/alsa-kernel/’: No such file or directory
make[2]: *** No rule to make target `include/config/auto.conf’. Stop.
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-5-common’
make: *** [compile] Error 2
I’ve tried to do make oldconfig && make prepare in kernel source, but got another error:
scripts/Makefile.build:44: /usr/src/linux-headers-2.6.32-5-common/scripts/basic/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-headers-2.6.32-5-common/scripts/basic/Makefile’. Stop.
make: *** [scripts_basic] Error 2
What can I do? I have Alsa and kernel sources installed both
I have tryed advices for skype ( both of them ) but no luck. Does your machines use P6100 or i3 processor ? What else might I do?
Thank you
This post TOTALLY resolved my web cam issue. Thanks to those who commented with mods as well!!!
Which model of Asus k52f do you have?
ASUS K52F-BIN6 ?
ASUS K52F-BBR5 ?
ASUS K52F-BBR9 ?
ASUS K52FRF-BBR9 ?
Sorry, I sold Asus K52F and I don’t know which model notebook was.
Thanks a ton mate!!!
This solved my prolong sound issue…..
helo. i have a Asus K53E laptop. I have a problem with the camre: it take photo up-side down… I traied to fix it wit your commands but it didnt work. Help!
wit = with