Author Topic: Hsdpa Modem ?  (Read 48139 times)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Hsdpa Modem ?
« Reply #45 on: March 18, 2008, 06:35:37 pm »
Quote from: speculatrix
I found a couple of websites about the huawei e172 and its brethren:

http://the.taoofmac.com/space/Huawei/E220

http://oozie.fm.interia.pl/pro/huawei-e220/

a colleague has tried the e172 in his ubuntu laptop and it recognised it as four devices - one USB cdrom, and three tty/serial devices  - ttyUSB{0,1,2}. he was able to mount the usb cdrom and see the windows install files, not sure he's got the modem side to work.

colleague couldn't make the E172 work with his ubuntu laptop with kernel 2.6.24.2. Meanwhile I am using Suse10.3 with my own 2.6.24.2 kernel (to get toshiba bluetooth acpi patches) and I put it in, got the usb mass storage which worked AND the ttyUSB* devices, use the ppp files above and it worked first time. My laptop at home is running stock suse 10.3 and it didn't, so I conclude that the later kernel is what fixed it.

so, next step, install angstrom on zaurus again and see if I can use a powered hub and make the thing work!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

timonoko

  • Newbie
  • *
  • Posts: 12
    • View Profile
Hsdpa Modem ?
« Reply #46 on: October 24, 2008, 04:47:44 am »
Quote from: jpmatrix
hello
i'm thinking about a umts/hsdpa modem for my zaurus.
as all CF modems are only gprs, i'm thinking about an USB HSDPA modem :
http://www.huawei.com/mobileweb/en/products/view.do?id=282
do you think this can work with the zaurus, i mean about power consumtion and modem drivers ?

Yes. Except you need more power. I have a camera battery (4 volts) is directly connected to the
5 volt USB-line. Does not consume much, but there are 300mA power burst that Zaurus cannot
produce.
[img]http://koti.welho.com/tnoko/jemma/HuaweiModem.JPG\" border=\"0\" class=\"linked-image\" /]

timonoko

  • Newbie
  • *
  • Posts: 12
    • View Profile
Hsdpa Modem ?
« Reply #47 on: October 24, 2008, 05:40:00 am »
I have not read all the posts in this thread, but it looks like none of you have managed to actually use
the Huawei in Zaurus?  

I have standard Sharp Rom and usually it recognizes the device only as storage.
Then I simply kill the usb-disk and create USB-ports myself:
 
rmmod usb-storage
    modprobe usbserial vendor=0x12d1 product=0x1003


Sometimes I have to connect USB-line twice and execute the script several times.
The device is connected properly when there are THREE new serial USB-ports in dmesg.

Thereafter the device is just a modem in /dev/ttyUSB0  

Me myself copied and modified these scripts:
http://ske.sourceforge.net/html/projects/h...huawei_tre.html

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Hsdpa Modem ?
« Reply #48 on: October 24, 2008, 09:30:04 am »
These devices are a weird composite USB thing, doing mass storage as well as serial ports; there's a tool called usbswitcher which tells it to change from one mode to the other.

I think the theory is that it means Huawei could ship the devices with the drivers and apps on it rather than having a separate CDROM. In practise, everyone needs the CDROM anyway to get started, unless you're using a very recent linux kernel which supports them!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

timonoko

  • Newbie
  • *
  • Posts: 12
    • View Profile
Hsdpa Modem ?
« Reply #49 on: November 04, 2008, 03:55:09 am »
Complete Opie-sh script.
Copy it to /home/QtPalmtop/bin/3G-sh and then you can do start/stop from one Desktop icon.
Code: [Select]
if ps -A | grep pppd;
   then
    opie-sh -m -M "Kill the Connection?" -1 "NO" -g
    if  [ $? -ne 1 ]; then sudo killall .pppd; fi
else
if lsusb | grep 1003;
  then
    sudo rmmod usb-storage
    sudo modprobe usbserial vendor=0x12d1 product=0x1003
    sleep 5
    if  dmesg | tail  | grep "attached to ttyUSB2";
    then
        sudo /usr/sbin/pppd call h3g
        sleep 5
        sudo cat /etc/ppp/connect-errors | tail -12 | opie-sh -f -g -t "Connected " -m
    else
        opie-sh -m -M "Replug the Modem! Wait for blinking blue light." -g
        . 3G-sh
    fi
  else
    opie-sh -m -M "Modem not Plugged." -g
 fi
My sudo is simply: su root -c "$*"
« Last Edit: November 04, 2008, 11:51:12 am by timonoko »

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
Hsdpa Modem ?
« Reply #50 on: December 15, 2008, 04:21:07 pm »
Quote from: timonoko
I have not read all the posts in this thread, but it looks like none of you have managed to actually use
the Huawei in Zaurus?  

I have standard Sharp Rom and usually it recognizes the device only as storage.
Then I simply kill the usb-disk and create USB-ports myself:
 
rmmod usb-storage
    modprobe usbserial vendor=0x12d1 product=0x1003


Sometimes I have to connect USB-line twice and execute the script several times.
The device is connected properly when there are THREE new serial USB-ports in dmesg.

Thereafter the device is just a modem in /dev/ttyUSB0  

Me myself copied and modified these scripts:
http://ske.sourceforge.net/html/projects/h...huawei_tre.html

Do you have the modified scripts to hand and could post them up here?
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
Hsdpa Modem ?
« Reply #51 on: December 15, 2008, 04:28:50 pm »
PS

Got me a mini powered hub and some LiON batteries which fit under it to power the E-220 up.  Will post some pics if I can get it all working.

Velcro is wonderful stuff............ ;0)
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Hsdpa Modem ?
« Reply #52 on: December 15, 2008, 05:34:38 pm »
Quote from: craigtyson
PS

Got me a mini powered hub and some LiON batteries which fit under it to power the E-220 up.  Will post some pics if I can get it all working.

Velcro is wonderful stuff............ ;0)

I just bought an external battery from Brando - 2400mAh - and am getting a tiny USB hub so that I can attach a 3G modem and a 2nd card reader at the same time!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

timonoko

  • Newbie
  • *
  • Posts: 12
    • View Profile
Hsdpa Modem ?
« Reply #53 on: December 17, 2008, 12:12:15 pm »
Collected all scripts and stuff here:
http://koti.welho.com/tnoko/zaurus/index.html