Sunday, September 25, 2011

Getting Tata Photon+ to work on Ubuntu



So, finally got this working!!!

What I have:
  • Machine: Acer Aspire 4736
  • Operating System: ubuntu 10.10 Maverick Meerkat
  • Device: Tata Indicom Photon+ VME101 HSIA USB Modem (Manufactured by Olive vendorid:productid = 201e:2009)
And I wanted to get it to run on Linux, so here's the sequence of steps I followed.
  1. Do not plug in the modem.
  2. Open "Terminal" from "Applications>Accessories".
  3. Type the command cd /etc/usb_modeswitch.d and press enter.
  4. Type sudo gedit and press enter.
  5. Enter your ubuntu password when asked and press enter.
  6. When the text editor opens up, copy paste the following into it.
    #######################################################
    # Haier CE 100

    DefaultVendor= 0x201e

    DefaultProduct= 0x2009

    TargetClass= 0xff


    MessageContent="5553424312345678000000000000061e000000000000000000000000000000"

    MessageContent2="5553424312345679000000000000061b000000020000000000000000000000"

    NeedResponse=1


    CheckSuccess=10
  7. Save the file as "201e:2009" (Yes that's the filename - a pair of 4 digit hexadecimal numbers seperated by colon).
  8. Close the text editor.
  9. In the terminal window, type the command sudo gedit /lib/udev/rules.d/40-usb_modeswitch.rules and press enter.
  10. Enter your ubuntu password when/if asked.
  11. Text editor will open the file "40-usb_modeswitch.rules".
  12. Browse to the end of the file till you reach the last line which says LABEL="modeswitch_rules_end"
  13. Insert a few lines by pressing enter before this last line.
  14. Insert a new entry (just like the other entries in the file above) by copying and pasting the following:
    # Tata Indicom Photon+ VME101 Olive Mobile Broadband Modem
    ATTRS{idVendor}=="201e", ATTRS{idProduct}=="2009", RUN+="usb_modeswitch '%b/%k'"
  15. Save the file.
  16. Close the text editor.
  17. Restart your computer.
  18. Plug in your modem.
  19. Wait for 15 seconds.
  20. Right click the network icon next to the clock and select "Edit Connections".
  21. Navigate to the "Mobile Broadband" tab.
  22. Click "Add Connection". Your Modem will be listed there as "Qualcomm CDMA Technologies MSM".
  23. Press "Forward".
  24. Select country as "India".
  25. Select provider as "Tata Indicom (Photon+)" and press forward.
  26. Click "Apply".
  27. In the yet open "Network Connections" window, select "Tata Indicom (Photon+)" and click the "Edit" button.
  28. In the "Username" field, type "internet".
  29. In the "Password" field, type "internet".
  30. Click "Apply".
  31. Close the "Network Connections" window.
  32. Left click the network icon next to the clock and from the menu that appears, select "Tata Indicom (Photon+)".
  33. Wait for your computer to connect to the internet and then start browsing away to glory. To disconnect, repeat step 32.
  34. Next time, you will just have to plug in your modem, wait for a few seconds for the "Tata Indicom (Photon+)" show up when you left click the network icon next to the clock and then click on it to connect again.
References:
Notes:
  • The Tata Photon+ modem has a ZeroCD feature which allows the device to act as a CDROM drive containing its own drivers and application installation files. This CDROM mode is the default mode when the device is plugged in to your USB. To use the device as a modem, we need to force it to switch modem -  a task which is achieved on Microsoft Windows by the drivers which are installed from the virtual CDROM drive. On Ubuntu, editing the "40-usb_modeswitch.rules" in steps 9 thru 15 above helps automate the task of the forcing the Tata Photon+ USB device to switch from mass storage mode (acting as a CDROM drive) to modem mode. If "40-usb_modeswitch.rules" is not edited, one would have to execute the command sudo usb_modeswitch -c /etc/usb_modeswitch.d/201e\:2009 everytime the Tata Photon+ device is plugged in.
  • Step 17 - restarting your computer: may not be necessary, but it doesn't hurt anyway.
  • Step 19 - It takes a few seconds for the modem to boot up and for the computer to force it to change modes and be recognised by the Network Manager as a modem.
  • Tata Photon+ distributed many different versions of it USB Modem devices. The above post is only applicable for the ones marked "V-ME101"

    2 comments:

    bledoredum said...

    if this works youdhave helped a guy trying to get it for a month , thanks

    Anurag Chugh said...

    @bledoredum you may use sakis3g now www.sakis3g.org

    or better still, the newer versions of ubuntu will do the above things for you automatically!

    Post a Comment