luni, 9 mai 2011

Wireless driver and suspend

I was having problems with my wireless card when resuming from suspend. The download speed topped somewhere around 200 Kb/s whereas usually I had at least 2 Mb/s.
Rebooting the system restored the proper speed, so it was clear the suspend has something to do with it.
The solution that worked for me: I've put in /etc/pm/config.d/config this line:
SUSPEND_MODULES="ath9k"
Where ath9k is my wireless driver.
If /etc/pm/config.d/config doesn't exist, just create it and add that line (changing ath9k with whatever driver is bothering you while suspending)

duminică, 1 mai 2011

[arch] Adobe Flash x64 on Arch

The flash plugin from the Arch repository doesn't work really well on a 64 bit system (at least for me), being started within a plugin wrapper.

I tried the latest beta flash plugin form, and so far it is very stable.

To manually install the flash player use the following script:


#!/bin/sh
wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz -O flash.tar.gz
mkdir -p ~/.mozilla/plugins
tar -xvzf flash.tar.gz
mv libflashplayer.so ~./mozilla/plugins
rm flash.tar.gz
echo -n "Flash plugin updated"
exit 0
Hope this helped