Showing posts with label modem. Show all posts
Showing posts with label modem. Show all posts

Tuesday, January 18, 2011

Starting work at CSIRO - after a long holiday

It was been a great December and January. We have seen a lot of Tasmania, gone for a few great walks - 5 hour Freycinet loop and few hours up Mt. Wellington. I have made some progress on editing a chapter and lots of progress on making a connection sharing point for multiple USB modems on my BeagleBoard (not that the USB-Ethernet hub can sustain the juice multiple modems draw).

The key ingredient turned out to be the udev rule to automatically insert the modem driver (good old usbserial) when the device was detected on the usb bus:
ACTION=="add", SUBSYSTEM=="usb", MODALIAS=="v05c6p0015*", RUN+="/sbin/modprobe usbserial vendor=0x05c6 product=0x0015"

Beyond this the nm-connection-editor tool (from the NetworkManager coterie) was used to add a Vodafone connection with the relevant APN. Now whenever the modem is plugged in ModemManager kicks in and a ppp connection is established without any more fuss.

First day at the new office in Csiro , ip phone and cove in the alcove
First couple of days at CSIRO have also gone swimmingly with a lot of help from my peers (Gary mostly). I spent sometime reading manuals and doing design decisions with GeoAPI. Got indoctrinated into the CSIRO way and spent sometime staring at stack traces from SAP. Otherwise I am really enjoying the shiny new Mac with lotsa RAM, time to kick around some shaders in WorldWind.

Wednesday, September 29, 2010

Testing a new modem with BeagleBoard - DIGI Net Mobil

I broke my old Prolink Modem by walking around while it was plugged in and twisting the USB plug. I got a newer 7.2MB capable modem from Deal Extreme. Plugged into the beagleboard it shows up as a CD as expected and I ejected it to get the ttyUSBx devices. Unfortunately on the first try none of them wanted to respond to AT commands, it only started working after I installed the driver on windows and connected it up. A throughput test shows that it is working slightly better than the 3.6Mb/s Prolink promises.

Usual diagonistics on Linux shows:
lsusb - 05c6:0015 Qualcomm, Inc.

ATQ command works and dialing proceeds then I get stuck in an Unsolicited Message Block ("+ZUSIMR:2") using the ModemManager/NetworkManager Combo.
#beagleboard making friends with new 3G modem, first outing
ATI gives: 
Manufacturer: BMC INCORPORATED
Model: HD360
Revision: W1MV1.0.0B20100128 W1MV1.0.0B20100128 1  [Sep 4 2008 12:00:00]
IMEI:
+GCAP: +CGSM,+DS,+ES



Not much but at least a start for digging.

Wednesday, June 23, 2010

Introducing the Dog to the world - Prolink PHS101 modem on BeagleBoard

I seem to have sprouted an impromptu holiday to Fiji. So tonight ended up a rush in completing my papers for IGARSS 2010 in Hawaii. Time has passed so very fast. Some of my colleagues who started their PhD at the same time as me have written 1/3 of their thesis already. I in my turn have been distracted by life and side projects, but overall the extra curricular activities have made my PhD life much much more interesting.

While copy pasting content from my original draft into the conference template I decided to have another look at the tricky dual-device USB based 3G modems. The Prolink PHS101 is plugged into the BeagleBoard and appears as a pesky CD device on /dev/sr0, you can use mount -t iso9660 /dev/sr0 to access this device. The newer kernels fortunately and unfazed by this, using eject /dev/sr0 gets rid of the CD device and loads up the usbserial driver with the right vendor options to make it appear as 3 serial devices on USB. I did not have to use usb_modeswitch, though I managed to native-compile and install it on the beagle.

Only 1 of these 3 is a functional internet device. In Australia the wvdial.conf to make use of it looks something like:

Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
ISDN = 0
Phone = *99#
Modem = /dev/ttyUSB0
username = username
Password = password
Dial Command = ATDT
Baud =460800
Init4 = AT+CGDCONT=1,"IP","vfinternet.au"


Then I hit another brick wall, there is apparently an issue with wvdial which prevents it from working on arm based platforms. Modem-Manager and NetworkManager can be tasked into filling the hole left by wvdial. A bit of snooping with AT commands and ModemManager shows up the Qualcomm heritage of the chipset.

root@beagleboard:~# microcom /dev/ttyUSB0
ATI
Manufacturer: QUALCOMM INCORPORATED
Model: C-180
Revision: 120016_062_001         1  [Feb 09 2010 23:45:26]
IMEI: 358093021714293
+GCAP: +CGSM,+DS,+ES
OK


 Wonder how soon I will be able to connect up using this.

PS: After finishing off my IGARSS papers I finally managed to get it going with  a melange of dbus,nm,mm and pppd. So this modem officially works on the BeagleBoard, hurray!!