Active Topics

 


Reply
Thread Tools
Posts: 20 | Thanked: 1 time | Joined on Dec 2007 @ Portugal
#1
Hi,

I have OS2008 and USB Host Mode configured and working.
I plugged in my ZTE HSDPA MF622 3G modem (trough a powered USB HUB) and this is an output of dmesg:

[ 5431.226562] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0004
[ 5431.226562] hub 1-1:1.0: port 2, status 0100, change 0001, 12 Mb/s
[ 5431.382812] hub 1-1:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
[ 5436.578125] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0004
[ 5436.585937] hub 1-1:1.0: port 2, status 0101, change 0001, 12 Mb/s
[ 5436.742187] hub 1-1:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
[ 5436.828125] usb 1-1.2: new full speed USB device using musb_hdrc and address 14
[ 5436.937500] usb 1-1.2: default language 0x0409
[ 5436.937500] usb 1-1.2: new device strings: Mfr=1, Product=2, SerialNumber=0
[ 5436.937500] usb 1-1.2: Product: USB ZTE Storage
[ 5436.937500] usb 1-1.2: Manufacturer: Qualcomm, Incorporated
[ 5436.937500] usb 1-1.2: device v19d2 p2000 is not supported
[ 5436.937500] usb 1-1.2: uevent
[ 5436.937500] usb 1-1.2: usb_probe_device
[ 5436.937500] usb 1-1.2: configuration #1 chosen from 1 choice
[ 5436.937500] usb 1-1.2: adding 1-1.2:1.0 (config #1, interface 0)
[ 5436.937500] usb 1-1.2:1.0: uevent
[ 5436.937500] usb-storage 1-1.2:1.0: usb_probe_interface
[ 5436.937500] usb-storage 1-1.2:1.0: usb_probe_interface - got id
[ 5436.976562] scsi2 : SCSI emulation for USB Mass Storage devices
[ 5436.984375] drivers/usb/core/inode.c: creating file '014'
[ 5436.992187] usb-storage: device found at 14
[ 5436.992187] usb-storage: waiting for device to settle before scanning
[ 5447.492187] musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 2003
[ 5448.554687] usb 1-1.2: reset full speed USB device using musb_hdrc and address 14
[ 5448.570312] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0004
[ 5448.664062] usbdev1.14_ep84: ep_device_release called for usbdev1.14_ep84
[ 5448.664062] usbdev1.14_ep05: ep_device_release called for usbdev1.14_ep05
[ 5448.664062] scsi 2:0:0:0: CD-ROM ZTE Corp USB Storage 2.31 PQ: 0 ANSI: 2
[ 5448.695312] usb-storage: device scan complete
[ 5466.671875] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0004
[ 5466.671875] hub 1-1:1.0: port 2, status 0100, change 0001, 12 Mb/s
[ 5466.671875] usb 1-1.2: USB disconnect, address 14
[ 5466.671875] usb 1-1.2: unregistering device
[ 5466.671875] usb 1-1.2: usb_disable_device nuking all URBs
[ 5466.671875] usb 1-1.2: unregistering interface 1-1.2:1.0
[ 5466.671875] usbdev1.14_ep84: ep_device_release called for usbdev1.14_ep84
[ 5466.671875] usbdev1.14_ep05: ep_device_release called for usbdev1.14_ep05
[ 5466.679687] usb 1-1.2:1.0: uevent
[ 5466.679687] usbdev1.14_ep00: ep_device_release called for usbdev1.14_ep00
[ 5466.679687] usb 1-1.2: uevent
[ 5466.875000] hub 1-1:1.0: debounce: port 2: total 125ms stable 100ms status 0x100
[ 5471.773437] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0004
[ 5471.773437] hub 1-1:1.0: port 2, status 0101, change 0001, 12 Mb/s
[ 5471.929687] hub 1-1:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
[ 5472.015625] usb 1-1.2: new full speed USB device using musb_hdrc and address 15
[ 5472.125000] usb 1-1.2: default language 0x0409
[ 5472.125000] usb 1-1.2: new device strings: Mfr=1, Product=2, SerialNumber=0
[ 5472.125000] usb 1-1.2: Product: ZTE CDMA Technologies MSM
[ 5472.125000] usb 1-1.2: Manufacturer: Qualcomm, Incorporated
[ 5472.125000] usb 1-1.2: device v19d2 p0001 is not supported
[ 5472.125000] usb 1-1.2: uevent
[ 5472.125000] usb 1-1.2: usb_probe_device
[ 5472.125000] usb 1-1.2: configuration #1 chosen from 1 choice
[ 5472.125000] usb 1-1.2: adding 1-1.2:1.0 (config #1, interface 0)
[ 5472.125000] usb 1-1.2:1.0: uevent
[ 5472.125000] usbtest 1-1.2:1.0: usb_probe_interface
[ 5472.125000] usbtest 1-1.2:1.0: usb_probe_interface - got id
[ 5472.125000] usb 1-1.2: adding 1-1.2:1.1 (config #1, interface 1)
[ 5472.125000] usb 1-1.2:1.1: uevent
[ 5472.125000] usbtest 1-1.2:1.1: usb_probe_interface
[ 5472.125000] usbtest 1-1.2:1.1: usb_probe_interface - got id
[ 5472.125000] usb 1-1.2: adding 1-1.2:1.2 (config #1, interface 2)
[ 5472.125000] usb 1-1.2:1.2: uevent
[ 5472.125000] usbtest 1-1.2:1.2: usb_probe_interface
[ 5472.125000] usbtest 1-1.2:1.2: usb_probe_interface - got id
[ 5472.125000] drivers/usb/core/inode.c: creating file '015'
[ 5472.125000] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0004
[ 5474.125000] usb 1-1.2: usb auto-suspend


Is there any chance to put this modem working to access internet?
 
rafaelwv's Avatar
Posts: 13 | Thanked: 7 times | Joined on Dec 2007 @ San Cayetano, Spain
#2
Originally Posted by eluis View Post
Is there any chance to put this modem working to access internet?
If someone ports the UMTSMON project to maemo... who knows. I would appreciate it! so i could use my huawei E220 usb modem with my N800

Regards,

Rafael
 
Posts: 91 | Thanked: 4 times | Joined on Dec 2007
#3
That would be really awesome.
 
Posts: 151 | Thanked: 25 times | Joined on Sep 2006 @ Mexico City, Mexico
#4
First:

I know nothing about the ZTE MF622 USB 3G Modem. I am evaluating the purchase of one of this modems and, as a Linux only user (inlcuding my internet tablets), I am validating if the device works with Linux, specially with the NIT N810.

Once said that. I found this link that states that removing the usb_storage module then, the device should switch itself to a modem mode and hence work correctly as a modem.

This is based on the fact that the ZTE is not an storage device.

Could some of you verify if this is also valid on the Internet Tablet (OS2008) when a ZTE MF622 is attached to its USB port. ?

I hope we can make the 3g Modem work as it will give even more life and usefulness to the NIT.

Comments are welcome.

Kind regards.





Originally Posted by eluis View Post
Hi,

I have OS2008 and USB Host Mode configured and working.
I plugged in my ZTE HSDPA MF622 3G modem (trough a powered USB HUB) and this is an output of dmesg:

[ 5431.226562] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0004
[ 5431.226562] hub 1-1:1.0: port 2, status 0100, change 0001, 12 Mb/s
[ 5431.382812] hub 1-1:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
[ 5436.578125] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0004
[ 5436.585937] hub 1-1:1.0: port 2, status 0101, change 0001, 12 Mb/s
[ 5436.742187] hub 1-1:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
[ 5436.828125] usb 1-1.2: new full speed USB device using musb_hdrc and address 14
[ 5436.937500] usb 1-1.2: default language 0x0409
[ 5436.937500] usb 1-1.2: new device strings: Mfr=1, Product=2, SerialNumber=0
[ 5436.937500] usb 1-1.2: Product: USB ZTE Storage
[ 5436.937500] usb 1-1.2: Manufacturer: Qualcomm, Incorporated
[ 5436.937500] usb 1-1.2: device v19d2 p2000 is not supported
[ 5436.937500] usb 1-1.2: uevent
[ 5436.937500] usb 1-1.2: usb_probe_device
[ 5436.937500] usb 1-1.2: configuration #1 chosen from 1 choice
[ 5436.937500] usb 1-1.2: adding 1-1.2:1.0 (config #1, interface 0)
[ 5436.937500] usb 1-1.2:1.0: uevent
[ 5436.937500] usb-storage 1-1.2:1.0: usb_probe_interface
[ 5436.937500] usb-storage 1-1.2:1.0: usb_probe_interface - got id
[ 5436.976562] scsi2 : SCSI emulation for USB Mass Storage devices
[ 5436.984375] drivers/usb/core/inode.c: creating file '014'
[ 5436.992187] usb-storage: device found at 14
[ 5436.992187] usb-storage: waiting for device to settle before scanning
[ 5447.492187] musb_h_tx_flush_fifo 124: Could not flush host TX fifo: csr: 2003
[ 5448.554687] usb 1-1.2: reset full speed USB device using musb_hdrc and address 14
[ 5448.570312] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0004
[ 5448.664062] usbdev1.14_ep84: ep_device_release called for usbdev1.14_ep84
[ 5448.664062] usbdev1.14_ep05: ep_device_release called for usbdev1.14_ep05
[ 5448.664062] scsi 2:0:0:0: CD-ROM ZTE Corp USB Storage 2.31 PQ: 0 ANSI: 2
[ 5448.695312] usb-storage: device scan complete
[ 5466.671875] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0004
[ 5466.671875] hub 1-1:1.0: port 2, status 0100, change 0001, 12 Mb/s
[ 5466.671875] usb 1-1.2: USB disconnect, address 14
[ 5466.671875] usb 1-1.2: unregistering device
[ 5466.671875] usb 1-1.2: usb_disable_device nuking all URBs
[ 5466.671875] usb 1-1.2: unregistering interface 1-1.2:1.0
[ 5466.671875] usbdev1.14_ep84: ep_device_release called for usbdev1.14_ep84
[ 5466.671875] usbdev1.14_ep05: ep_device_release called for usbdev1.14_ep05
[ 5466.679687] usb 1-1.2:1.0: uevent
[ 5466.679687] usbdev1.14_ep00: ep_device_release called for usbdev1.14_ep00
[ 5466.679687] usb 1-1.2: uevent
[ 5466.875000] hub 1-1:1.0: debounce: port 2: total 125ms stable 100ms status 0x100
[ 5471.773437] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0004
[ 5471.773437] hub 1-1:1.0: port 2, status 0101, change 0001, 12 Mb/s
[ 5471.929687] hub 1-1:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
[ 5472.015625] usb 1-1.2: new full speed USB device using musb_hdrc and address 15
[ 5472.125000] usb 1-1.2: default language 0x0409
[ 5472.125000] usb 1-1.2: new device strings: Mfr=1, Product=2, SerialNumber=0
[ 5472.125000] usb 1-1.2: Product: ZTE CDMA Technologies MSM
[ 5472.125000] usb 1-1.2: Manufacturer: Qualcomm, Incorporated
[ 5472.125000] usb 1-1.2: device v19d2 p0001 is not supported
[ 5472.125000] usb 1-1.2: uevent
[ 5472.125000] usb 1-1.2: usb_probe_device
[ 5472.125000] usb 1-1.2: configuration #1 chosen from 1 choice
[ 5472.125000] usb 1-1.2: adding 1-1.2:1.0 (config #1, interface 0)
[ 5472.125000] usb 1-1.2:1.0: uevent
[ 5472.125000] usbtest 1-1.2:1.0: usb_probe_interface
[ 5472.125000] usbtest 1-1.2:1.0: usb_probe_interface - got id
[ 5472.125000] usb 1-1.2: adding 1-1.2:1.1 (config #1, interface 1)
[ 5472.125000] usb 1-1.2:1.1: uevent
[ 5472.125000] usbtest 1-1.2:1.1: usb_probe_interface
[ 5472.125000] usbtest 1-1.2:1.1: usb_probe_interface - got id
[ 5472.125000] usb 1-1.2: adding 1-1.2:1.2 (config #1, interface 2)
[ 5472.125000] usb 1-1.2:1.2: uevent
[ 5472.125000] usbtest 1-1.2:1.2: usb_probe_interface
[ 5472.125000] usbtest 1-1.2:1.2: usb_probe_interface - got id
[ 5472.125000] drivers/usb/core/inode.c: creating file '015'
[ 5472.125000] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0004
[ 5474.125000] usb 1-1.2: usb auto-suspend


Is there any chance to put this modem working to access internet?
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#5
Originally Posted by rafaelwv View Post
If someone ports the UMTSMON project to maemo... who knows. I would appreciate it! so i could use my huawei E220 usb modem with my N800

Regards,

Rafael
Here's a quick build. No idea if it works. It runs but I don't have a modem to try it on. Also in the kernel our N800 uses, the author says autodetection is broken.

http://www.mediafire.com/?ni2hwjtdspb
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#6
And for you ZTE owners, I haven't forgotten about you.

Here is a port of usb_modeswitch.
http://www.mediafire.com/?dhzegdkasns
The deb was hastily made, install with dpkg --force-all

And libusb:
http://www.mediafire.com/?lj4awrlcthm

Go to http://www.draisberghof.de/usb_modeswitch/ to set it up. You will need the usbserial module which can be found here:
http://www.internettablettalk.com/fo...ad.php?t=14877

ID's are here. http://blog.ufsoft.org/2007/11/30/zt...em-under-linux

EDIT: Here's a page in Spanish with ZTE info and usb_modeswitch:
http://oasis.dit.upm.es/~jantonio/personal/mf620/

remember to use insmod rather than modprobe and insmod the usbserial module from above, wherever you placed it.

Another page with a different method:
http://hillj.co.uk/2008/01/31/how-to...-linux-ubuntu/

Last edited by qwerty12; 2008-04-20 at 17:20.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#7
I just saw that the Spanish tut needs comgt. Here is a binary I built. I can't compile wvdial.
Attached Files
File Type: zip comgt.tar.gz.zip (40.9 KB, 518 views)
 
Posts: 1 | Thanked: 1 time | Joined on Jul 2008
#8
Hi people, I just logged in to share how I managed to make this damn thing work. It's not the best solution out there (yet), but I have to share it before I lose momentum and interest.

My modem is ZTE MF622 HSDPA Mobile Modem from THREE Mobile UK network. I have Debian Linux. Should work with Ubuntu and other derivatives without too much trouble.

I followed the instructions posted by zaurus6k on eeepc forum: http://forum.eeeuser.com/viewtopic.p...100536#p100536

Originally Posted by zaurus6k
It is quite easy. No need to replace the kernel image. Just need to rebuild a single kernel module named usbserial with an option. I think Asus should have done that with the default installation.

Here is the step-by-step for what I did to make u727 working:

0) open a terminal window. Either connect to internet via wire lan or copy files from anther computer using a USB sticker.
1) Follow wiki at http://wiki.eeeuser.com/howto:rebuildthekernel "Rebuilding the kernel on eeePC" part.

You can also try to download ASUS official release of linux on eee pc at
http://dlsvr03.asus.com/pub/ASUS/Eee...nel_071127.rar

2) make usbserial kernel module with following cmd at the root where the linux kernel source code is located:
make CONFIG_USB_SERIAL_GENERIC=y M=drivers/usb/serial

3)
cd /lib/modules/2.6.21.4-eeepc/kernel/drivers/usb/serial
sudo mv usbserial.ko usbserial.ko.keep ( keep the old one)
sudo cp <to linux source>/drivers/usb/serial/usbserial.ko .

4)
sudo modprobe –r usbserial
sudo modprobe usbserial vendor=0x1410 product=0x4100 ( U727 modem )
sudo eject /dev/sr0 ( the CD-ROM driver first being mounted when inserting U727 )
sudo dmesg|grep –i ttyUSB (not necessary but makes sure the driver loaded correctly, you should see ttyUSB0 for example)

5) sudo ifup ppp0
assume ppp0 has been setup properly following the instructions at http://samat.org/weblog/20070128-spr...ntu-linux.html

Then you are connected to internet.


Following link talks about using airprime instead of usbserial to get higher speed. I'll try it later.

http://samat.org/weblog/20070127-hig...inux-6-10.html
So: check for usbserial module in your kernel (/boot/config-yourkernel or by zgrep /boot/initrd-yourkernel), go to step 4) if you have it

The difference is, in step 4) you give different parameters:

4)
sudo modprobe –r usbserial
sudo eject /dev/sda ( the cd with "Default OS" drivers, I prefer to unmount it first )
sudo modprobe usbserial vendor=0x19d2 product=0x0001 (this is the infamous MF622 modem )
sudo dmesg|grep –i ttyUSB (not necessary but makes sure the driver loaded correctly, you should see ttyUSB0 for example)
NOTE: as in "Default OS", when you run a control program, you need to wait about 30-60 seconds after ejecting CD before modem becomes available.
NOTE2: modprobe -r usbserial and modprobe usbserial vendor=0x19d2 product=0x0001 are possibly unnecessary. This should achieved by adding correct kernel parameter or compiling usbserial as a module and adding line "usbserial vendor=0x19d2 product=0x0001" to /etc/modules. Please, correct me if I am wrong.

Then you go setting up your favorite dialling program. I use wvdial. This again is something found on the internet ( http://ubuntuforums.org/archive/index.php/t-665332.html )
Contents of /etc/wvdial.conf, change owner to root and read access to anyone

[Dialer Defaults]
Phone = *99#
Username = user
Password = pass
Stupid Mode = 1
Dial Command = ATDT

Modem = /dev/ttyUSB0
Baud = 460800
ISDN = 0
Modem Type = Analog Modem
Init2 = ATZ
Init3 = ATE0 V1 &D2 &C1 S0=0 +IFC=2,2

Now, invoke wvdial and you have internet connection, that's utterly unusable.

Disconnect. For some strange reason the THREE assigns 4.2.2.4/3 as DNS. They DON'T work. "Default OS" shows WINS servers being used, this may be the hint to correct name resolution, but I have no idea about that.

I'm using OpenDNS for now, but they are slooooow. I'll try to find something faster later. This solution comes from http://gentoo-wiki.com/HARDWARE_HUAW...EM#DNS_problem

Edit /etc/resolv.conf, put those lines close to the top.
#Open DNS server
nameserver 208.67.222.222
nameserver 208.67.220.220

This propably won't work permanently (as resolv.conf is modified with each new connection), but I don't know where Debian hides his counterparts of gentoo's /etc/conf.d/net and /usr/ppp/peers/.

Now, I didn't go as far as making an udev script to automate this procedure. Everything is done manually.
Maybe one day I will go further with this, but now I have another things to work out. Hey! I went through patching and adding custom DSDT to my initrd! Forget kernel recompilation.

I hope this helps some people out there.

Last edited by michalpelszyk; 2008-07-09 at 18:54.
 

The Following User Says Thank You to michalpelszyk For This Useful Post:
Posts: 88 | Thanked: 4 times | Joined on Jan 2008
#9
i did some looking around and dont find..

if you dont have hotspots, where does the modem get connection?

you sposed to use your phone?

from separate service?

if i dont know, then i dont need it?
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#10
It's an HSDPA modem. It connects to the nearest HSDPA base station. I don't know if it can fall back to GPRS or not, but I'd expect so.
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:23.