Saturday, December 29, 2012

debian no sound

turns out there are a few processes locked up the sound device lsof /dev/snd/* to find out what those processes are, and kill -9 those processes, then the sound works again for me

Wednesday, December 26, 2012

debian Logitech Z205 usb speaker

find your usb device through here cat /proc/asound/cards edit ~/.asoundrc 1 pcm.!default {
2 type hw
3 card 2
4 }
5 ctl.!default {
6 type hw
7 card 2
8 }
sudo /etc/init.d/alsa-utils restart

Tuesday, December 18, 2012

mysqld unknown option --skip-bdb

/usr/sbin/mysqld: unknown option '--skip-bdb' because Using BerkeleyDB is now discouraged as its support will cease in 5.1.12. so edit file /etc/mysql/my.cnf #skip-bdb

Saturday, December 1, 2012

easy_install uninstall

$ easy_install -m [PACKAGE] It removes all dependencies of that package then $ rm -rf .../python2.X/site-packages/[PACKAGE].egg