Log in

View Full Version : Using a Red-E Smartphone as a USB Modem


Robert Levy
09-05-2003, 08:20 PM
Microsoft Smartphone 2002 has the ability to work as an IR or USB modem. Which means you can access the internet on your Laptop or PC using the phone as a modem. The IR modem connectivity is easy and doesn’t require you to install any special drivers on your laptop. Just align the IR ports and create a new Dial up Connection on your laptop using IR, and you are soon cruising the information highway on the go. But IR port is not the best way to access the internet, because the IR ports have to be aligned perfectly for it to work seamlessly! <br /><br /><img src="http://www.smartphonethoughts.com/images/FoundNewDevice-Red-E.JPG" alt="User submitted image" title="User submitted image"/> <br /><br />This is where USB modem comes in. Hook up the Phone to the Laptop via USB cable. And create a Dial-up Connection, but not so fast, you will need USB Modem driver to be installed on your laptop before the laptop can talk to the phone. Unlike the IR Port, USB Modem driver is not available with Windows install. What makes it tough is that USB modem drivers are model specific. So the SPV 100 (HTC Tanager) driver will not work for a phone based on different platform, like Everlink Red-E (SC1100 – the Microsoft Developer Kit phone) or the Mitac Mio. If you try to install Red-E USB modem using available HTC Modem driver, Windows Hardware Installation Wizard will fail to identify it.<br /><br />This article describes the steps required to make minor modifications to the HTC USB driver so that it works for Red-E phones (and can be used for other phone platforms, like for Mitac Mio also).<!><br /><br />Before I get started, I would like to thank Arne Hess for writing an excellent article on his PPCW.net site: “<a href="http://www.ppcw.net/index.php?itemid=1369&amp;catid=4">HOW TO: Setting Up a GPRS Connection for Win XP and USB using Smartphone 2002.</a>” The article describes the steps required to install the driver on the laptop and also to configure the phone and laptop for USB Modem based internet access.<br /><br />I will be directing you to Arne’s article/site for the steps that are common across Smartphones. And this article will be focused on Driver customization only.<br /><br />So let’s get started. Download the HTC driver from PPCW.net and store it at any location on your Laptop. Rename the downloaded filename from USBMDM-5.INF to REDEUSBM.INF (the name doesn’t matter, as long as you don’t change the .INF extension) Open the REDEUSBM.INF in a text editor. Notepad.exe should have worked here, but this ASCII encoded file for some reason doesn’t open up properly in Notepad. Use the following editors to open the file: Visual Studio, eVC, eVB, the DOS Edit command or any known ASCII text editor. Follow the instructions in this article and on PPCW.net siteGeneral Note: <br />Lines marked in <span style="color:red">RED</span> color are existing lines in the INF file. And they should not be touched.<br />Lines marked in <span style="color:green">GREEN</span> color are new lines in the INF file, added by us to support Red-E phone. Once you open the file in a text editor. You will see the following lines at the top of the file.<br />; Windows Powered Smartphone Modem Link (USB Modem) Setup Template File<br />; Copyright (c) 1993-2002 Microsoft Corporation<br />; Manufacturer: Microsoft; <br />; =================================================<br />;<br />[Version]<br />LayoutFile=layout.inf<br />Signature=$CHICAGO$<br />Class=Modem<br />Provider=%MS1%<br />CLASSGUID={4D36E96D-E325-11CE-BFC1-08002BE10318}<br />DriverVer=10/29/1999,5.00.2167.1<br /><br /> Scroll down till you see the following lines.<br />[Manufacturer]<br />%HTC%=HTC<br /><br /> INSERT a new line after the above lines and type in the following text.<br /><span style="color:green">%REDE%=REDE</span><br /><br /> The manufacturer section will now look something like this.<br />[Manufacturer]<br />%HTC%=HTC<br /><span style="color:green">%REDE%=REDE</span><br /><br /> We just declared a new Manufacturer entry. Now we define it in the file. Scroll down till you see the following line.<br />[HTC]<br />%USB\VID_0BB4&amp;PID_00CF.DeviceDesc% = Modem1, USB\VID_0BB4&amp;PID_00CF<br /><br /> COPY the two lines and PASTE it below the lines.<br /><br /> Now modify the newly copy-pasted lines, so that it looks like the following.<br />[REDE]<br />%REDEUSBMODEM% = Modem1, USB\VID_1219&amp;PID_1A02<br /><br /> Add another line to the [REDE] section. Red-E has two series of Smartphones, using two different Device IDs.<br /><span style="color:green">%REDEUSBMODEM% = Modem1, USB\VID_045E&amp;PID_0079</span><br /><br /> And now your file will contain the following lines.<br />[HTC]<br />%USB\VID_0BB4&amp;PID_00CF.DeviceDesc% = Modem1, USB\VID_0BB4&amp;PID_00CF<br /><br />[REDE]<br />%REDEUSBMODEM% = Modem1, USB\VID_1219&amp;PID_1A02<br />%REDEUSBMODEM% = Modem1, USB\VID_045E&amp;PID_0079<br /><br /> NOTE: The string VID_0BB4&amp;PID_00CF has been replaced by VID_1219&amp;PID_1A02 and VID_045E&amp;PID_0079 in the RED-E section. This is the string known as Device ID, and is unique for each hardware model series. Surprisingly RED-E has two Device IDs for its Smartphones VID_045E&amp;PID_0079 and VID_1219&amp;PID_1A02.<br /><br /> Now scroll down the file and locate the section with the heading [Strings]. It looks like the following:<br />[Strings]<br />MS1 = "Microsoft"<br />USBFilterString ="USB Modem Driver"<br />USR = "Microsoft"<br />HTC = "HTC"<br />USB\VID_0BB4&amp;PID_00CF.DeviceDesc = "HTC USB Modem"<br /><br /> Add two new lines to this section, so that it looks like the following:<br />[Strings]<br />MS1 = "Microsoft"<br />USBFilterString ="USB Modem Driver"<br />USR = "Microsoft"<br />HTC = "HTC"<br /><span style="color:green">REDE = "Red-E"</span><br /><span style="color:red">USB\VID_0BB4&amp;PID_00CF.DeviceDesc = "HTC USB Modem"</span><br /><span style="color:green">REDEUSBMODEM = "Red-E USB Modem"</span><br /><br /> Save the file. Exit the editor<br /><br /> That’s it! We are now ready to install the driver.<br /><br /> It's time to go back to PPCW.net How-To article, and configure the phone and laptop using this driver (instead of the HTC driver). <br /><br /> <b>BEFORE</b> you connect the phone to the PC for the first time, <b>DISABLE </b>ActiveSync on the PC. Remember to follow the instructions in the PPCW.net How-To article.<br /><br /> <b>BEFORE</b> you connect the phone to the PC for the first time, on your phone:<br />Programs Menu -> Accessories -> Modem Link -> Select USB.<br />And then Click on Menu->Activate.<br /><br /> Just remember when the article instructs you to download the driver and install, use this driver instead.<br /><br /> When you install using this new driver. Windows will identify the device as “Red-E USB Modem” instead of “HTC USB Modem” as shown in Arne’s How-To article. Other than that there is no difference.<br /><br />This customized driver has been tested on Windows XP, but should be compatible with Windows 9X and Windows 2000 also.<br /> <br />Following are the screen shots that you will see during Driver Installation. Some of them are a little different from the ones on PPCW.net. The difference is only in the name of the device. As mentioned earlier, Windows will identify the device as “Red-E USB Modem” instead of “HTC USB Modem.”<br /><br />NOTE: Please refer to Arne’s How-To article for the details, the screen shots are for reference only.<br /><br /><b>The first time the Smartphone is connected to your laptop via USB.</b><br /><img src="http://www.smartphonethoughts.com/images/NewDevice.JPG" alt="User submitted image" title="User submitted image"/> <br /><br /><b>The Windows Found New Hardware Wizard.</b><br />Select Install from a list or specific location.<br /><img src="http://www.smartphonethoughts.com/images/FoundNewDeviceWizard1.JPG" alt="User submitted image" title="User submitted image"/> <br /><br /><b>Specify the path to the newly created Red-E USB driver.</b><br /><img src="http://www.smartphonethoughts.com/images/FoundNewDeviceWizard2.JPG" alt="User submitted image" title="User submitted image"/><br /><br /><img src="http://www.smartphonethoughts.com/images/FoundNewDeviceWizard3.JPG" alt="User submitted image" title="User submitted image"/> <br /><br /><img src="http://www.smartphonethoughts.com/images/FoundNewDeviceWizard4.JPG" alt="User submitted image" title="User submitted image"/> <br /><br /><img src="http://www.smartphonethoughts.com/images/FoundNewDeviceWizard6.JPG" alt="User submitted image" title="User submitted image"/> <br /><br /><b>This is snapshot of Windows Device Manager with Red-E USB Driver.</b><br /><img src="http://www.smartphonethoughts.com/images/WindowsDeviceManager.JPG" alt="User submitted image" title="User submitted image"/> <br /><br /><b>Control Panel > Phone and Modem Options with Red-E USB Modem</b><br /><img src="http://www.smartphonethoughts.com/images/PhoneAndModemOptions.JPG" alt="User submitted image" title="User submitted image"/>

Kris Kumar
09-05-2003, 08:39 PM
Thanks Robert,

For converting the How To Doc from Word to BBCode....that must have painful.

And also for testing and posting the article.

Kris

Jason Dunn
09-05-2003, 09:30 PM
Absolute sweetness! :D Way to go guys for getting this put together!

goofy166
09-06-2003, 03:51 AM
Does anyone know the APN Name for T-Mobile? I can't find it.

David McNamee
09-06-2003, 04:33 AM
Does anyone know the APN Name for T-Mobile? I can't find it.

I've been told either:
internet2.voicestream.com
or
internet3.voicestream.com

depending on the plan. That was a few months back, so I'm not certain if it's current.

goofy166
09-06-2003, 06:13 PM
The APN name for T-Mobile is internet2.voicestream.com. internet3.voicestream.com is for a private rather than public network.

I have a Sprint account and phone and I set it up as a modem and did a bandwidth test to compare it to T-Mobile. Here are the resutls:

Sprint Network: 180 KB :P

T-Moible Network: 38KB :twisted:

The Spring network was almost 5 times faster :!:

I used bandwidthplace.com/speedtest for my testing.

I would be interested in what other people get doing this test.

Mitch

PS When trying to install your phone as a modem be sure and have the USB modem enabled on the phone BEFORE you plug it in, otherwise the computer won't recognise it as a modem, it will think its a smartphone and try to sync it.

Also PASTE Arne's values into the dialogs, to avoid typos.

Wuss912
09-06-2003, 08:47 PM
nicely done..
um... btw why not just post a copy of the inf file to the site so we dont have to manually mod it?
8)

Robert Levy
09-07-2003, 04:35 AM
nicely done..
um... btw why not just post a copy of the inf file to the site so we dont have to manually mod it?
8)

The file has a copyright notice in it so we decided to just play it safe ;)

Jerome!
10-10-2003, 02:51 PM
I'm looking for a WLAN (802.11b) adapter for my SC1100... Has anyone ideas about the mini USB port which it contains, and what the possibility's are with it??

Greetz
Jerome