TATA Photon Plus and Xubuntu

That was a tough one! At least for me. I took more than an hour on this shit.

Firstly, none of the manuals/websites deal with the issues in a comprehensive manner. I too won’t. I will but, try to highlight the issues I faced and the way I solved them.

My modem is the old one Olive VME blah blah…

1. I assume you don’t have an alternate net connection. If you have go to step 2. Download wvdial and the last 4 dependencies from: http://packages.ubuntu.com/maverick/comm/wvdial. For other ubuntu versions the links are there on the almost top right hand side the page. Generally, you wouldn’t need other dependencies, if you do you will have to download them too. But for the first try, no need.

2. Download usb-modeswitch and usb-modeswitch-data from http://packages.ubuntu.com/maverick/comm/usb-modeswitch. This is used to change your driver from usb-storage to usbserial for your device. You can also do it manually by rmmod usb-storage and modprobe usbserial vendor=0x201 product=0x2009. But why not automate things, yeah!

2. Install all by: ‘sudo dpkg -i *.deb *.man’, in your download folder. If you have a net connection use aptitude: sudo aptitude install wvdial usb-modeswitch.

3. Now before you can do anything, plug in your device. Wait till its led goes blue. Do a ‘lsusb’. You will find a device name in front of one of the usb devices. For me it was 201e:2009. The first part ‘201e’ is the vendor name while the ‘2009’ is the product id.

4. Now you will have to find this in /etc/usb_modeswitch.d directory. If the file exists, yuhuu! or else create it. And then put the following in it:
################################################## #####
# Haier CE 100

# from 201e:2009
DefaultVendor= 0x201e
DefaultProduct= 0x2009

TargetClass= 0xff





The MessageContent should not be an issue – any one of the 3 would work.

5. Now, to automatically load the driver for your device (201e:2009 in my case), edit /lib/udev/rules.d/40-usb_modeswitch.rules, and append the following at the end:


# Qualcomm, Incorporated (TATA Photon +)
ATTRS{idVendor}==”201e”, ATTRS{idProduct}==”2009″, RUN+=”usb_modeswitch ‘%b/%k'”

6. Now reboot. And if everythings correct, after plugging in the device, a dmesg will show you:


[ 1824.980062] usb 3-2: new full speed USB device using ohci_hcd and address 3
[ 1825.216299] option 3-2:1.0: GSM modem (1-port) converter detected
[ 1825.216588] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 1825.223243] option 3-2:1.1: GSM modem (1-port) converter detected
[ 1825.224738] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 1825.229527] option 3-2:1.2: GSM modem (1-port) converter detected
[ 1825.230280] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB2

If you are getting anything else, something has gone wrong. You can either post a comment about your issue or search on the net.
7. Now comes wvdial. Well its not necessary. If you are using network-manager – you can right click->edit connections-> mobile broadband -> add/edit tata photon -> fill in user,password both as ‘internet’ -> check connect automatically and done.
8. If you want to use wvdial, edit the /etc/wvdial.conf and put:


[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = USB Modem
ISDN = 0
Phone = #777
New PPPD = yes
Modem = /dev/ttyUSB0
Username = internet
Password = internet

9. wvdialconf should give you the output as expected and foretold by the user manual. Then a sudo wvdial will connect you. sudo is required to start the ppp daemon. Do not forget it. You might be required to do it 2-3 times initially.
10. I have changed from wicd to network-manager for this purpose and am very happy. Now my net connects automatically at plugin, very unlike windows, wherein I have to either run a batchfile with rasdial command, if the drivers are loaded, or use the photon dialer.
Well, this documentation is very crude and as I am writing it after a week of fixing my connection, so it might not be up to te mark. Also it is meant for my device only. For others, you might have to change the vendor/product ids and device names (ttyUSB0)… But all in all the total process is:
1. Switch the mode to identify your usb modem as a modem and not a storage device. This is the only major issue.
2. Connect.
3. Njoi!




4 thoughts on “TATA Photon Plus and Xubuntu

  1. hello!
    the maverick source is not available anymore, so downloading the program from the same site, but another source. which dependencies should i download – doubt that they are listed in the same order in this source (saucy)


    • I am not using Ubuntu now a days. But you can find wvdial and get it along with all its dependencies.
      But frankly, the best way is to use an alternate net connection to install the softwares. Internet is not so rare these days 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s