Aug 6, 2012

How to get Validity fingerprint sensor working on Windows 8 - updated

I have been trying out Windows 8 RC on my laptop, it's an HP Elitebook 2540p. One of the features I've not been able to set up properly is the fingerprint login. The 2540p sports a Validity VFS451 sensor, which worked fine under Windows 7. But searching for Windows 8 drivers gave no results.

If you use Help and Support in Windows, and search for fingerprint, it tries to help you by saying type "biometric", then select "Settings" and "Biometric Devices". This, of course, leads to nothing, unless the correct driver and software is installed. It also suggests to let Windows Update find the drivers, but let's face it, if that worked you wouldn't be reading this.

So I went ahead to HP's support site and downloaded the Windows 7 64-bit drivers. They installed with no problem, and the Validity Sensor appeared under Device Manager. Yay! Now to reboot and find out if it worked.

Windows-key, "biometric", Settings, .... nothing. Ok, I'll try rebooting again.

In the end I went to the source, downloaded the Windows 7 drivers from Validity, and tried installing them. It didn't go too well. I got an error message and a question if I wanted to retry in compatibility mode. Windows suggested we run it in "Windows XP Service Pack 3"-mode - went ahead and did that, but no luck. There's a folder in the archive called DPPersonal_FMA, and subfolders for 64-bit and 32-bit, which contains a DPSetup.exe. I ran that and got through the installer with no problems, and now when I typed in "biometric" in metro, lo and behold - Biometric Devices.
Successful "biometric" search in Metro!

Now enrolling the fingerprints sure is a piece of cake! But, as I soon found out, no - not really. By clicking "Manage your fingerprint data", you enter a wizard that helps you enroll fingerprints. At least two fingers are needed. The first scanning screen is just a "test" screen to let you figure out how to scan for success... It worked fine. Then, into the enrollment view, click to select a finger, and swipe. It worked the first time. But you have to swipe several times. The second time, and N times after, I only got "swipe unsuccessful". I tried going back, tried restarting the wizard, the only thing I came up with was "Unspecified Error" and then the app crashed.

I restarted the computer again, remembering that I had the same pain doing this with Windows 7! In fact, after some time, Fingerprints didn't play well with 7 at all. The software was there, but I was unable to scan my finger. So this next step applies to Windows 7 as well, I believe. A bit of black magic and totally unstable, but the fingerprint reader is working.

  1. After the computer has restarted, log in as usual, but go straight to the Biometric Settings. 
  2. Start the wizard.
  3. Navigate the wizard using tab and enter. Do not test-scan before clicking "Enroll".
  4. Now you should be able to click the finger and scan it the required two or more times.
  5. If you get a message "the fingerprint reader is not connected", don't freak out. Just click Finish or Exit or whatever the option is. I got the same message. I rebooted again, and repeated steps 2-4. The fingerprints scanned the first time were still there the next time.
  6. When you're happy, click Next and Finish. 
  7. Try locking the screen and logging back in - using your finger!

Update August 7, 20:50 CET:
It's been a couple of days since I got it working, and I'm guessing 4 reboots. Suddenly I can't log on using my finger again. The option was there, but nothing happened when I swiped. So... I logged in using my password, went to Biometric Devices, and now the status for the reader was "Unavailable". That's just great!

I ran Update Driver... just for fun, and it installed a driver over a year older than the current. Great work! And then I was back to Biometric Devices being completely emtpy. Had to uninstall it, check the box for "remove driver software" and then reinstall the driver from Validity. Now it works again, but not sure for how long.

Update 2: December 5, 2014:
I've seen the comment that the file from validity is no longer available, but I haven't been able to research it. Today I had to reinstall the old laptop and do fix the fingerprint problem again... Guess what, HP have been busy. There's an updated driver available now, just download from here (64-bit version): HP support site   Looks like it's working out of the box this time! And for a bonus: It works on Windows 8.1, too.

Aug 4, 2012

Finding a job for the Raspberry Pi

Raspberry Pi, the new favorite toy of all us computer geeks. The small size, low power, no sound and heat makes for a very friendly installment and for some funky case mods. How about a pack of smokes or a deck of cards... I only got mine last week, but I've been waiting since the middle of May. If you want the technical details, here they are.

I tried to compile a small list of possible usages for it here, some are my own ideas, some I've gathered from various discussions on the web. Some of them require specific hardware and possible mad skills in some technical field. For almost every usage there are existing solutions available commercially, but this is for those who love to tinker, customize and learn by doing.

  • HTPC - can play back upt to full HD, has onboard HDMI and toslink outputs. Small enough to be mounted on or behind your TV. Does not need any further hardware except perhaps wifi dongle, if you don't have a cable handy. It's also the most mentioned use for the raspi that I've seen. There's a dedicated Debian-based distro for running XBMC on the raspi called Raspbmc.
  • In-car Media-server ("carputer"). The micro-usb power allows a cigarette adapter to power the unit, and it's small enough to fit inside the glove compartment (or other available spaces). Requires cigarette adapter and connection to amplifier or existing playback-device. Not sure if many regular car stereos have digital inputs, so you may have to cash out for a DAC as well. Luckily there are several USB DACs available in many price ranges.
  • Home Automation a.k.a. "Smart-House" Controller. A low-power unit that can monitor different environment variables (get it?) using whatever sensors you can get working. For example, turn up or down lights, heat, sun screening etc. It can even be used with the Tellstick Duo (or the simpler Tellstick) to turn any kind of power outlet on or off. Seems Tellus are already aware of this. I imagine connecting motion and temperature sensors, RFID or whatnot to achieve a fully automated and energy efficient house.
  • Security camera system, using the raspi as a brain in a multi-cam setup ( Discussion on the subject here )
  • Outdoorsy stuff. It's small, light and requires no more power than regular batteries can provide. It can run off a smallish solar panel or perhaps fuel cells (it requires 5V/700 mA). You can attach GPS trackers to it. Actually, that could come in handy for the in-car stuff as well.
  • Lightweight NAS. If you don't require too much space, a USB stick/HDD and/or the SD card will suffice as a NAS or at least a file server at home, without the space and noise requirements of the usual stuff. 
  • Game console - enclose the raspi in your favorite 80s gaming console box. Good luck getting it to work with cartridges or cassettes, though.
  • Beer brewing system - for monitoring of temperature and pressure, logging this, and starting/stopping your cooler/heater. 
For more creative ideas look to the Raspberry Pi forum or Hack a Day.

Also worth reading is this blog post from Scott Hanselman: Top 10 Raspberry Pi myths and truths.

Jul 30, 2012

My Silent HTPC - part 4

All right, software time! After putting the last screws in the Streacom cabinet, I had to test if it could actually be put to use.


My original idea was to try (all) the different setups for the same box. First I'd install OpenElec, then Windows + XBMC, then some Linux variant with XBMC. Turned out to be impossible to find the time with the arrival of my daughter! (Also impossible: completing this post before summer vacation.)

So to save time, I went straight for the low-cost option of Ubuntu and XBMC - following  this guide Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs. It worked really well, but keep in mind, it only applies if you have an AMD/ATi video card.

So, I wanted to install from a USB stick (obviously). Had to insert the USB stick in the right USB port for the BIOS to recognize it. Turned out to be the top left one, don't ask why. 

Install of ubuntu minimal from stick was effortless, though I had to rely on ethernet for the time. The installer did not seem to recognize any of my USB WiFi dongles.

Installing a usb wifi dongle - worked better than anticipated when using Atheros chipset (TPLink TN300N) (given that I didnt remember all the iwconfig, iwlist and ifconfig commands. Thanks, google!).

Using a WPA2 passkey was nearly impossible. I tried different ways in the config file and in command line, but to no avail. Turns out, it has to be converted to a hex key and saved to the config file.  Had to create the hex key using this tool [wireshark.org]  and punch that into the /etc/network/interfaces file. Here's a handy howto for that.

Then everything was golden, on boot, it skips right into xbmc without any login or menu selection or other funky business. To compare with my Syvio, I never in almost four years got it to boot straight to oversight, which was the "xbmc UI app".

Setup a Samba share for my Windows boxes to share files - no weirdness there, up and running as planned.

But then I had problems with connection speed on this usb dongle when transferring big files. Speed started out good - then dropped, then connection would time out. This seemed to be the case with the old Syvio system as well, but then I blamed it on crappy hardware. This time - not so much! So I purchased an Asus N53 USB Wifi dongle - available from Amazon.com.

After switching to the new one, sporting a Ralink 2800 chipset, no problems, and did not need to install any drivers or update the /etc/network/interfaces file. Smooth! (PS, for Ubuntu 11.10 apparently things were a little harder)

Now, to wrap up very quickly and get this post posted, there are some remaining issues.
-No sound for the time being. Have to look into that. Well, that was fixed easily, but I don't know what happened. Basically I followed the standard procedure of selecting transport and output - and the first time, I had no luck. Second time around - it works. 

-Overscan problems with Aeon - what to do. Switched back to Confluence. Probably a driver-issue. Not a biggie, anyhow.

Screen capture of sensors output
-Sensors for Asus motherboard not available for Linux. Oh joy... That's a problem, but it turns out, it kinda works anyway. It's a lot less inaccurate than some others report. And luckily it has not hit the roof - yet. Not even on a hot summers day. But I suspect that may change when I put it inside the cupboard...

-No power on/off by remote. Again, not a biggie, but I need to look into it. Especially if my girlfriend is to use it. Or if I succeed in my plan to hide all the equipment behind a wall or in a separate cupboard, that makes the power button inaccessible.

I've not used the box as much as I wanted this far, but the times I have, it has been pure bliss. It boots quickly, it looks great, the xmbc navigation is great - and it always downloads correct information about the movies/shows that I watch. Gone are the days of creating .nfo files with IMDB ids in them...just make sure you have the folder structure ready and you should be safe.

 I've encountered one single movie that didn't play well, it kept showing articfacts. I suspect it may be because of the H.264 level but haven't had time to confirm it.

All in all I am happy with the result of project, and I'd get the same hardware again. There's only the faint sound of the harddisk when the box is running, and of course during playback, it's not going to be heard by anyone. Temperature, when it's still sitting on top of my media bench, is comfortable. Performance is great, even when playing full-HD material - save for the one movie I mentioned earlier (actually performance is still good there, but there are artifacts in the picture).

Now to make some pop-corn...