• Tag Archives computers
  • WordPress and Piwigo? Yes please!

    So I just discovered the PiwigoPress plugin for WordPress.
    While it’s obsolete and the widget no longer works, the “short code” feature still does. Unfortunately it’s not very well documented, but it is possible to add pictures to an article which link back to not only the picture, but also the album which that picture is part of.

    Trawling through the source code, it seems the following is possible:

    [PiwigoPress id=<pic> lnktype=albumpicture url='http://gallery.lemmurg.com/']
    idPiwigo picture id(s)eg.
    id=1 – picture id 1
    id=1-5 – all pictures with ids 1 through 5
    id=1,3,4 – pictures with ids 1, 3, and 4
    lnktypepicture (default, link to picture only)
    album (?)
    albumpicture (link to picture with album)
    eg lnktype=albumpicture
    urlURL of the Piwigo siteeg: url=http://gallery.lemmurg.com
    sizeSize of the picture. Possible values:
    sq – square
    th – thumbnail
    xs – extra small
    sm – small
    me – medium
    la – large (default)
    xl – extra large
    xx – extra-extra large

    eg: size=sm
    nameAdds image name
    0 – no (default)
    1 – yes
    auto – ?
    eg: name=1
    descAdds image description.
    0 – no (default)
    1 – yes
    eg: desc=1
    lnktypepicture – link to picture only (default)
    albumpicture – link to picture with album
    album – ?
    example: lnktype=albumpicture
    opntypeWhether to open in the current tab or a new one.
    _blank – open in new tab (default)
    random – random order (default)
    orderascWhether to sort pictures in ascending order.
    0 – no (default)
    1 – yes

  • 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:

    • WebCam
    • Turning Bluetooth on/off via software

    And the following items have not been tested:

    • Modem

    Everything else seems to be working just fine. Not bad for a pretty old and underpowered laptop!

    Base Install

    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.


    What worked?

    Almost everything. Not too shabby for an old bespoke piece of kit.

    The most surprising entry here was the fingerprint reader.

    What didn’t?

    • 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.

    Post-install fixes

    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.

    Status: SUCCESS!

    Unkown Device

    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.

    Status: SUCCESS!


    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 inf files 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!

    Status: SUCCESS!


    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 🙁

    Status: FAIL!


    To get the keys working, download and install the following drivers in this order, rebooting as necessary between each one:

    1. Install Sony Firmware Extension Parser (SFEP.exe)
    2. Install Sony Shared Library (Sony_Shared_Library.exe)
    3. Install Sony DLL Utils / Setting Utility Series (Setting_Utility_Series.exe)
    4. Install VAIO Event Service (VAIO _Event_Service.exe)

    And both hardware keys and Fn-keys are now armed and fully operational!

    Status: SUCCESS!


    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.

    Status: FAIL!


  • 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