четверг, 27 марта 2014 г.

Don't let your USB mouse die!

Annoying thing: when you try to use USB mouse, it goes to "sleep" mode after only few seconds of inactivity (mouse inactivity), meaning there is no more red light at it's bottom and it doesn't respond to movements. You should click buttons to have it awaken.

The issue is related to powersaving, and it can be saved with using the following command:

for i in /sys/bus/usb/devices/*/power/control; do echo on > $i; done

воскресенье, 1 декабря 2013 г.

Configuring open-source driver for Radeon HD 6520G

Hi, here's my /etc/X11/xorg.conf.d/20-radeon.conf file:

Section "Device"
    Identifier "Radeon"
    Driver "radeon"
    Option "ColorTiling2D" "false"
    Option "ZaphodHeads"   "VGA-0"
EndSection
Explanations:
  • ColorTiling2D -- not supported for this certain card, and thus has to be disabled. I was told about that on the freedesktop.org bugtracker.. After many unsuccessful attempts to start Xorg at all.
  • ZaphodHeads -- you need this line if you want dual-head with the second display attached via VGA. If you attach second display to HDMI -- the option is probably not needed here. See ATI#Dual_Head_setup does not actually work, so you can omit this line.

Also, you have to add radeon.dpm=1 to the kernel parameters. Without that (and before this option became available at all), I simply couldn't use the radeon driver -- the notebook got hotter and hotter every minute and then turned off. See ATI#Dynamic_power_management