Install and configure gitolite and gitweb on Debian 9 ‘stretch’.
- Tag Archives computers
Proper UK International Keyboard layout for Windows
Download a comprehensive international keyboard layout for UK keyboards from http://www.zolid.com/uk-intl-kb/index.htm
Recovering an LVM on a formatted disk
Recovering an LVM volume group from a formatted drive.
Debian “Jessie” – fix post-upgrade bootup problem (nfs mounts and systemd)
Debian fails to boot after an upgrade; systemd tries to mount nfs before network. GAH!
Debian “Jessie” – Fixing monitor resolution
Fix monitor resolution using a custom EDID file.
Android SDK, HAXM, and Avast!
Checklist to support Virtualization for the Android SDK under Windows 10 and running Avast! antivirus.
Installing Windows 10 on a Sony VAIO TZ
So I got bored and decided to see if I could get an old VAIO VGN-TZ27GN running Windows 10. The short answer is: Yes.
UPDATE 2019-06 : Drivers download link.
After post-install fixes, these items are not yet working:
- Turning Bluetooth on/off via software
And the following items have not been tested:
Everything else seems to be working just fine. Not bad for a pretty old and underpowered laptop!
The base install went quite easily, taking some time due to spinning disk, but nevertheless no worries. Ended up using just over 8GB of diskspace, around 9GB after a couple of updates and Skype was installed.
Almost everything. Not too shabby for an old bespoke piece of kit.
The most surprising entry here was the fingerprint reader.
- Three devices in the Device Manager: SD and MS card readers, and an unknown device.
- The special hardware buttons on the front.
- Some of the Fn keys.
- The microphone and webcam. Nothing flagged up in Device Manager, but no go either.
- Disabling bluetooth. Funnily enough disabling Wifi works.
All drivers were downloaded from the official Sony Support Site.
Memory Stick and SD-Card reader
Simple case of heading over to the Sony support site, downloading and installing the drivers. This sorted out the device errors in the Device Manager. A quick test showed them working now.
The Unknown Device turned out to be the Sony Firmware Extension Parser (SFEP). A quick download from the Sony support site and it installed flawlessly.
So the microphone did end up working just fine, it’s just that the TZ has both a built-in microphone as well as a microphone jack, and Windows 10 defaulted to the jack. Switching defaults in the properties and it’s all good.First Attempt
- Downloaded Audio driver from Sony support site.
- Created a restore point
- Tried to install the driver.
- The driver failed to install from the setup program, but installed fine when manually clicking on the various
inffiles in the driver package.
- Microphone still not working, but found second device in Audio Settings now. Set other device as default, et voila, va haff a vorkink mikrofon! Now I wonder if it was always working… let’s try a System Restore!
As for all the other issues, Step 1 is to download the Camera driver from the Sony support site.
Unfortunately the driver fails to install. Even forcing the install manually fails to get the camera working, as does running the installer in compatibility mode.
For now, the webcam goes down as broken 🙁
To get the keys working, download and install the following drivers in this order, rebooting as necessary between each one:
- Install Sony Firmware Extension Parser (
- Install Sony Shared Library (
- Install Sony DLL Utils / Setting Utility Series (
- Install VAIO Event Service (
And both hardware keys and Fn-keys are now armed and fully operational!
While it works, it’s impossible to turn it off without using the hardware switch, which also turns off Wifi.
Attempting to install the driver from the Sony support site failed with a message saying the software is incompatible with this version of windows.
Upgrading server from Debian 7 “wheezy” to 8 “jessie”
My experience upgrading anaconda from Debian 7 “wheezy” to Debian 8 “jessie”.
Windows 7 – RTC using UTC
Ok, so this is more a note for my future self than anything interesting, but basically, to force Windows to keep the computer’s RTC at UTC (required if dual-booting Linux, and also just in general makes sense), adjust the following registry key:
Key: HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\RealTimeIsUniversal Type: DWORD Value: 1 (RTC is in UTC) , 0 (RTC is in local time (default)
Alternatively, save the following as a registry key file (.reg), and import it into your registry:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] "RealTimeIsUniversal"=dword:00000001
Windows – UK International Keyboard
Windows has an officially supported international keyboard layout for the US with AltGr-initiated dead keys for composing characters. Unfortunately there is no equivalent for the UK; the UK international keyboard layout is completely unusable for programmers as it turns a lot of commonly-used keys into dead keys.
But there is a decent international layout for the UK available from here: