Showing posts with label technology. Show all posts
Showing posts with label technology. Show all posts

Wednesday, July 29, 2015

Upgrading HP EliteBook 8560w to Windows 10

I decided to jump in headfirst and upgrade my personal laptop to Windows 10 on release day.  The upgrade process was really straight forward and I didn't encounter any problems.  After about 90 minutes of downloading and updating, the system rebooted for the 2nd or 3rd time.  I saw the Windows logon screen flash for a second, then it went blank.

The system appeared to be functioning; it was making sound, the numlock light went on and off, etc. but there was nothing visible on the display.  I tried restarting several times and each time saw the same quick flash of the Windows login screen followed by a blank screen.

My first thought was that there was an issue with the video card driver (AMD FirePro M5950), so I attached an external monitor.  If the video driver was a problem then the external display probably wouldn't work either.  I was pleasantly surprised when the video popped up on the external display.

After fruitless searches of the internet and several rounds of upgrading and downgrading video drivers did not resolve the issue, I was preparing to roll back to Windows 7.  I decided to check the BIOS to confirm the computer's specs so I could report the problem as part of the downgrade process.

Once in the BIOS, I noticed that the laptop's ambient light sensor was enabled.  If working properly, this should help adjust the backlight level based on the lighting in the room.  However it occurred to me that if it wasn't working correctly, it could potentially shut the display's backlight off.  Figuring there was no harm, I disabled the sensor and rebooted one last time.

Bingo!  Windows logon screen showed and it didn't go blank.

After a couple hours of using the newly upgraded machine, the display still seems to be working nicely.  The ambient light sensor worked under Windows 7 immediately before the upgrade, so I suspect there is not yet full driver support for this particular device in Windows 10.

I figured I'd post this here in hopes it helps someone else who is encountering similar issues.

Sunday, October 07, 2012

Bricked TRENDnet TEW-651BR


Despite carefully following the directions for performing a firmware update on my TRENDnet TEW-651BR, I recently found myself with a non-responsive (aka "bricked") router.  It wasn't handing out IP addresses and when I manually configured my computer to use an IP in the TEW-651BR's default 192.168.10.* range I was still unable to get any response.

Feeling defeated, I submitted a support ticket to TRENDnet and then setup an old computer to temporarily serve as a wireless router while I waited for a response from support.  TRENDnet tech support replied in about a day, but unfortunately they were unable to offer any assistance beyond a lengthy (scripted) response which could be summarized as, "reset the router and try the firmware update again". 

Searching the interwebs failed to turn up a solution, so I figured I'd wing it.  Although most of my experience is with desktop application development, I do have some development experience on embedded systems as well.  And I know from my brief time in that realm that some devices (including routers from other manufacturers) can be recovered using a TFTP upload of the firmware even if they're otherwise non-functioning.

So with nothing to lose, I decided to give it a whirl.  I setup my computer to tftp the firmware to the router's default IP (192.168.10.1):

tftp -i 192.168.10.1 firmware.bin

I plugged the router in and as soon as I saw the lights start, I hit enter.  Instead of emitting an error, tftp showed a progress bar and a few moments later the router rebooted itself.  Keeping my fingers crossed, I reconfigured my computer to use DHCP and attempted to connect to the router's management web page.  After what felt like an eternity, the browser refreshed with the familiar TRENDnet logon screen and I was back in business.

It has been just over two months now and I'm happy to report my TRENDnet TEW-651BR is still working nicely.

Update (June 2013)

My original post included instructions based on TFTP under Linux.  If you don't have access to a Linux machine, TFTP is available on Windows and MacOS too.  Unfortunately the command syntax is slightly different on each platform.  I'll try to outline the steps below for using TFTP on each of these platforms.

Windows

I believe a TFTP client was installed by default under WinXP if TCP/IP was installed.  Under Windows Vista and Win7, the TFTP client is not installed by default and some extra steps are required to install it.  I suspect a similar process must be followed in Win8.

First navigate to the Control Panel-> Programs->Turn Windows Features on or off



Scroll through the list and find the 'TFTP client'.  It'll be unchecked as in the screen shot below.  Check the box next to TFTP client and click "OK".  It may take a couple minutes while windows installs this component.


Once installed, you should be able to run TFTP from a command prompt.  The Windows version of TFTP requires slightly different syntax (highlighted in red below).

tftp -i 192.168.10.1 PUT firmware.bin

There are also many, free graphical TFTP clients available for Windows.  A quick search should turn up one or more of these tools.  Just make sure you transfer the firmware in binary mode!

MacOS

The TFTP client provided with MacOS only runs in an interactive mode.  This makes it harder to hit the small window in which the TFTP server is listening.  Consider using an alternative TFTP client like MacPorts tftp-hpa port instead of the built-in TFTP client.

To upload the firmware you'll need to first launch TFTP from the directory which contains firmware.bin

tftp -i 192.168.10.1

Then from the tftp> prompt you'll need to issue the following commands:

tftp> verbose
tftp> put firmware.bin
tftp> quit

The 'verbose' command simply tells TFTP to provide more information about what it's doing.  This can be issued as soon as TFTP is started.  The 'put' command should be issued at the point when the lights start on the router.

Like Windows, there are third party TFTP clients available for the Mac. Users in other forums have experienced some difficulty using the built-in TFTP client so you might consider using a third party client instead.

Other Tips

The window of time that the router's TFTP server is listening is very short, maybe as little as 1-2 seconds from the time the router is powered on.  If you miss this window, TFTP will just sit trying to connect and eventually time out.

When TFTP connects and the file is uploaded you should see status something like:

Transfer successful: 8388608 bytes in 2 second(s), 4194304 bytes/s

If you don't see any status from TFTP after about 30 seconds and the router doesn't reboot itself within a minute or two, then you've likely missed the window and will  need to try again.

For additional info on how to recover a bricked router, I'd recommend looking at DD-WRT's excellent Recover From a Bad Flash wiki page.  There are tips for multiple makes & models of routers and much of what is written there can be used with stock firmware just as readily as DD-WRT.  (Note:  At the time of writing, DD-WRT is not compatible with the TEW-651BR, so don't even try!)

Wednesday, June 29, 2011

GR8 Conf

This week I attended GR8 Conf in Bloomington, MN.  It's been several years since I've this type of technology conference so I was excited to see what this conference had to offer.  GR8 Conf was local, reasonably priced and had quite a few sessions which were related to desktop technologies - sounds perfect!.

GR8 Conf ended up being money well spent.  I attended sessions on Groovy, Grails, Gradle & Griffon.  Even though I did a little coding with Groovy & Grails when I was in school, the sessions were great refreshers and I managed to pick up a couple new tips.  Both Griffon and Gradle were completely new for me, so I got a crash course in these technologies from a couple great speakers who clearly knew their stuff.

This is definitely a conference I'm planning to attend again in the future.

Tuesday, July 27, 2010

Pidgin 2.7 (and newer) with spell-check

Several years back I posted instructions on how to enable spell-check in Pidgin (then known as GAIM). Apparently it was hard to find these instructions elsewhere as Google ranked my original post in the top 10 results for searches on "pidgin spell check" and "gaim spell check".

For the benefit of those folks who still find there way here via Google, below are updated instructions for enabling spell-check in Pidgin 2.7 and newer.  Thanks to nascent for pointing out this change.

Shamelessly copied from the Pidgin FAQ
Versions 2.7.0 and newer use the dictionaries available from the openoffice download site. You need to download the appropriate language zip file(s) (files are in the form of two-character language code followed by a two-character country code - United States English is en_US.zip). Once you have downloaded the dictionary zip file, you need to extract it to \spellcheck\share\enchant\myspell\ (create the directories if they don't exist already). If Pidgin is running, it needs to be restarted for new dictionaries to be used. 

Monday, June 25, 2007

GAIM (a.k.a. Pidgin) with spell-check

(July 27, 2010):  These instructions apply to Pidgin versions 2.6.6 and older.  Instructions for Pidgin 2.7 and newer can be found here.

After running GAIM (a.k.a. Pidgin) for over a year, I decided I needed to get the spell checker working. Remarkably, there is very little documentation on how to do this. Even worse, search results from google, live and ask aren't very helpful either. Maybe getting spell-check setup is painfully obvious to others, but it wasn't to me!
  • Download GAIMPortable (PidginPortable) from portableapps.com
  • Download the ASpell win32 installer from aspell.net
  • Download the appropriate precompiled dictionary from aspell.net
  • Install GaimPortable (PidginPortable)
  • Install ASpell. (It will default to c:\program files\aspell)
  • Install the precompiled ASpell dictionary.
  • Copy c:\program files\aspell to App\aspell
  • Start GAIM and keep your fingers crossed!

Wednesday, October 26, 2005

Free eBooks

Microsoft has published a collection of ~1500 free eBooks. Unfortunately it seems there are no MS eBook readers for OS X or Linux, but the Windows based reader can be downloaded for free.

Friday, October 07, 2005

The Java Posse

The Java Posse is a podcast that picks up where the JavaCast left off. If you're looking for a podcast that talks about all things Java, check it out.