Saturday, July 19, 2008

Fixing UMTSmon Sierra Wireless port detection

Yesterday I tried the first time to run UMTSmon on a HP Compaq 2710p TabletPC with a HP HS2300 HSDPA Broadband Wireless module (which is a Sierra Wireless). Unfortunately I couldn't unlock the SIM card with the correct PIN, while it worked under Windows and on a HP Compaq 2510p which has the same UMTS card.

With some hints/help from Seife I found out that the ttyUSB* ports for PPP and AT are twisted (compared to the 2510p). Since the cards in both machines have the same USB vendor and product id UMTSmon can't differ between both cases.

To solve this problem I added some code to UMTSmon to identify the PPP port from the output of the ATI command. The answer of the PPP port contains 'APP1\n'. This allows for Sierra Wireless cards with two ttyUSB ports to find always the correct port. You can find the patch on the UMTSmon mailing list or here.
Tech Tags: