Restarting USB subsystem in CentOS

After a long uptime specific (cheap) devices or components connected to the USB ports lock up or malfunction. Unplugging and plugging them usually fixes issues, but physical access to the system (especially a remote server) is neither always possible or desirable.

In cases like this, Linux (unlike Windows) can trigger a USB subsystem restart by deactivating and reactivating the USB controller(s).

Source engine games error in shaderapidx9.dll

This error affects all Source engine based games, including Left 4 Dead 2, Portal 1 & 2, Team Fortress 2.

In my case the issue was caused by using LapLink PCMover to transfer stuff from a 32bit (older) Windows PC to a 64bit one. This broke part of WMI, triggering some rather weird errors later down the road.

Connect to a VPN server in Windows and Android

A VPN connection is still mostly regarded as “business solution”, only useful to connecting employees to the company network. But this is no longer true nowadays.

VPNs can be very useful in protecting the integrity and security of data transfers, no matter who the two communicating parties are. To learn how to set up a connection and connect to a VPN server…

Gaining ownership of protected files in Windows 7

Since Vista, Microsoft implemented a more serious protection system concerning core operating system files.

Because of this, replacing, editing, deleting or making any changes to protected files is a tedious task, requiring the additional step of obtaining the appropriate rights and permissions on the files first.

Richard Conway – A case of crossed wires

Just finished playing Gunpoint, “a stealth game about rewiring things and punching people”…

“10 dead. 31 injured. 20 jobs. $13,000. The week echoed in my mind like a gunshot in an empty street..

They don’t let me name names on this blog, but the person behind the hit I was investigating is probably […]”

Low framerate with Aero/Flash on ATI/AMD Radeon in Windows 7

At random times, especially after a long computer uptime (over 2 weeks), all windows animations and especially any Flash-based video player would become sluggish and render at about 10-15FPS.

This happens independent of where using the computer or letting it idle while it is running. The solution…