OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

4 Pages V  « < 2 3 4  
Reply to this topicStart new topic
> Hsdpa Modem ?, Huawei E220 HSDPA USB Modem
speculatrix
post Mar 18 2008, 02:35 PM
Post #46





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



QUOTE(speculatrix @ Mar 18 2008, 01:06 PM) *
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!
Go to the top of the page
 
+Quote Post
timonoko
post Oct 24 2008, 12:47 AM
Post #47





Group: Members
Posts: 13
Joined: 15-October 07
Member No.: 20,828



QUOTE(jpmatrix @ Mar 13 2007, 03:33 AM) *
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.


Go to the top of the page
 
+Quote Post
timonoko
post Oct 24 2008, 01:40 AM
Post #48





Group: Members
Posts: 13
Joined: 15-October 07
Member No.: 20,828



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



Go to the top of the page
 
+Quote Post
speculatrix
post Oct 24 2008, 05:30 AM
Post #49





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



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!
Go to the top of the page
 
+Quote Post
timonoko
post Nov 4 2008, 12:55 AM
Post #50





Group: Members
Posts: 13
Joined: 15-October 07
Member No.: 20,828



Complete Opie-sh script.
Copy it to /home/QtPalmtop/bin/3G-sh and then you can do start/stop from one Desktop icon.
CODE
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 "$*"
Go to the top of the page
 
+Quote Post
craigtyson
post Dec 15 2008, 01:21 PM
Post #51





Group: Members
Posts: 464
Joined: 15-June 04
Member No.: 3,698



QUOTE(timonoko @ Oct 24 2008, 09:40 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


Do you have the modified scripts to hand and could post them up here?
Go to the top of the page
 
+Quote Post
craigtyson
post Dec 15 2008, 01:28 PM
Post #52





Group: Members
Posts: 464
Joined: 15-June 04
Member No.: 3,698



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)
Go to the top of the page
 
+Quote Post
speculatrix
post Dec 15 2008, 02:34 PM
Post #53





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



QUOTE(craigtyson @ Dec 15 2008, 09:28 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)


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!
Go to the top of the page
 
+Quote Post
timonoko
post Dec 17 2008, 09:12 AM
Post #54





Group: Members
Posts: 13
Joined: 15-October 07
Member No.: 20,828



Collected all scripts and stuff here:
http://koti.welho.com/tnoko/zaurus/index.html
Go to the top of the page
 
+Quote Post

4 Pages V  « < 2 3 4
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 2nd October 2014 - 02:28 AM