Last week I installed again my cellphone's PC drivers and software on my repaved Vista Laptop. I wasn't too confident it would work, but it was worth trying. The drivers installed right away without issues and Vista recognized the phone as an USB modem right away and configured it on the virtual COM4 port.

The actual phone software - in this case the LG Mobile Agent - installed without issues as well, but didn't quite work. The problem was that after installation you need to go to the options to select the COM port the phone is configured as, but the combo box used to select it was just empty; no way to select it. For a few days I just left it at that as I had no time to mess around with it, and I had already tried the obvious, running it as administrator (elevated privileges) didn't work.

Last night I took a look at it again and finally figured what's going on. The problem appears to be that Vista recognizes modems as [virtual] COM ports with all the options that implies (not only my phone, but the built-in modem in my laptop as well). However, it apparently doesn't list them when you just try to list the COM ports in the machine. So, it appears that LG's software tries looking for COM ports, not actually look for modems, and so, never found any; since my machine doesn't have any real COM ports on it.

What gave me the clue was that fooling around I connected for the first time a USB GPS receiver I had laying around (one I had gotten with Streets and Trips 2006). Vista recognized it right away and downloaded the proper drivers for it. Once the drivers are installed, Vista simply recognizes the receiver as just one COM port (COM5 in this case), and what do you know, the LG software listed it in the configuration options!

So what I did was configure the LG software to use COM5 (the GPS receiver), saved the settings, and then proceeded to find where the program stored its settings. Since this was not an application built for Vista, the OS virtualized the file system for it and the configuration ended up being saved in one Config.ini file stored under "C:\Users\\AppData\Local\VirtualStore\Program Files\LG mobile\LG Mobile Agent\".

So I just opened the file in notepad, changed the Port option to point to COM4 (where my phone was configured), saved it, and opened LG Mobile Agent again and it worked! Granted, the LG software is fairly crappy and I rarely use it, but it was still satisfying to finally find what the issue was. Hopefully this might clue in other people to how to work around the problem with the software (and maybe with other software with similar issues).

Technorati tags: ,


Tomas Restrepo

Software developer located in Colombia.