1 (edytowany przez isadjuk 2011-12-28 23:03:10)

Temat: [SOLVED] Vodafone K3805-Z na TL-MR3420

>> ROZWIĄZANIE  - Vodafone K3805-Z (ZTE) na chipsecie Icera <<

Witam !!

Jak uruchomić modem usb: Vodafone K3805-Z na routerze: TL-MR3420 ??
Modem miga jasnoniebieskim kolorem po uruchomieniu ale nie jest wykrywany port usb do łączenia

LOG Z TERMINALA (portu szeregowego) PO PODŁĄCZENIU MODEMU

root@Gargoyle:/$ usb 1-1: new high speed USB device using ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb 1-1: USB disconnect, address 2
usb 1-1: new high speed USB device using ar71xx-ehci and address 3
usb 1-1: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
scsi 1:0:0:0: CD-ROM      USB SCSI CD-ROM  0001 PQ: 0 xj%: 0
scsi 1:0:0:1: Direct-Access     Vodafone Storage      SI: 0
sd 1:0:0:1: [sda] Attached SCSI removable disk
root@Gargoyle:/$

root@Gargoyle:~$ dmesg

Linux version 2.6.32.27 (cezary@eko.one.pl) (gcc version 4.3.3 (GCC) ) #5 Thu Dec 15 17:22:07 CET 2011
prom: fw_arg0=00000008, fw_arg1=a1f87fb0, fw_arg2=a1f88470, fw_arg3=00000004
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR7241 rev 1, CPU:400.000 MHz, AHB:200.000 MHz, DDR:400.000 MHz
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 802b4a20, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8128 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 board=TL-MR3420
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29452k/32768k available (2023k kernel code, 3316k reserved, 366k data, 136k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:56
Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-MR3420
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
PCI: fixup device 0000:00:00.0
pci 0000:00:00.0: reg 10 64bit mmio: [0x000000-0x00ffff]
pci 0000:00:00.0: supports D1
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci 0000:00:00.0: PME# disabled
PCI: mapping irq 48 to pin1@0000:00:00.0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: s25sl032a (4096 Kbytes)
spi0.0: searching for MyLoader partition table at offset 0x10000
spi0.0: searching for MyLoader partition table at offset 0x20000
spi0.0: searching for MyLoader partition table at offset 0x30000
spi0.0: searching for MyLoader partition table at offset 0x40000
spi0.0: no MyLoader partition table found
Searching for RedBoot partition table in spi0.0 at offset 0x3e0000
Searching for RedBoot partition table in spi0.0 at offset 0x3f0000
No RedBoot partition table detected in spi0.0
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000140000 : "kernel"
0x000000140000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=390000, len=60000 
0x000000390000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "art"
0x000000020000-0x0000003f0000 : "firmware"
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xba000000, irq 5
eth0: Found an AR7240 built-in switch
eth1: Atheros AG71xx at 0xb9000000, irq 4
eth1: using fixed link parameters
Atheros AR71xx hardware watchdog driver version 0.1.0
ar71xx-wdt: timeout=15 secs (max=21)
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 136k freed
Please be patient, while OpenWrt loads ...
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Button Hotplug driver version 0.3.1
Registered led device: tl-mr3420:green:system
Registered led device: tl-mr3420:green:qss
Registered led device: tl-mr3420:green:3g
eth0: link up (1000Mbps/Full duplex)
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
eth0: link down
eth0: link up (1000Mbps/Full duplex)
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering forwarding state
Compat-wireless backport release: compat-wireless-2011-11-08-1-g4ab9b62
Backport based on wireless-testing.git master-2011-11-15
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
PCI: Setting latency timer of device 0000:00:00.0 to 64
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Registered led device: ath9k-phy0
ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xb0000000, irq=48
cfg80211: Calling CRDA for country: US
cfg80211: Regulatory domain changed to country: US
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
PPP generic driver version 2.4.2
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (462 buckets, 1848 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
xt_time: kernel timezone is -0000
    Hooked IMQ after mangle on PREROUTING
    Hooked IMQ after nat on POSTROUTING
IMQ driver loaded successfully.
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for Sierra USB modem
usbcore: registered new interface driver sierra
sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
device wlan0 left promiscuous mode
br-lan: port 2(wlan0) entering disabled state
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
ar71xx-wdt: enabling watchdog timer
usb 1-1: new high speed USB device using ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usb 1-1: USB disconnect, address 2
usb 1-1: new high speed USB device using ar71xx-ehci and address 3
usb 1-1: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi 1:0:0:0: CD-ROM            Vodafone USB SCSI CD-ROM  0001 PQ: 0 ANSI: 0
scsi 1:0:0:1: Direct-Access     Vodafone Storage          0001 PQ: 0 ANSI: 0
usb-storage: device scan complete
sd 1:0:0:1: [sda] Attached SCSI removable disk

cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.32.27 ehci_hcd
S:  Product=Atheros AR91xx built-in EHCI controller
S:  SerialNumber=ar71xx-ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=19d2 ProdID=1003 Rev= 0.01
S:  Manufacturer=Vodafone
S:  Product=K3805-z
S:  SerialNumber= ...numerek_seryjny...
C:* #Ifs=10 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=08 Prot=00 Driver=(none)
I:  If#= 0 Alt= 1 #EPs= 0 Cls=02(comm.) Sub=08 Prot=00 Driver=(none)
I:* If#= 1 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=(none)

E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=(none)
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=2ms

I:* If#= 4 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 5 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=(none)
E:  Ad=85(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:* If#= 6 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
I:  If#= 6 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 7 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 8 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=0b Prot=00 Driver=(none)
I:* If#= 9 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
I:  If#= 9 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms

2

Odp: [SOLVED] Vodafone K3805-Z na TL-MR3420

Sterowników nie masz. Czasami nie jest to hso?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: [SOLVED] Vodafone K3805-Z na TL-MR3420

HSO ... nie
Okazało się, że dokładnie to jest: Vodafone K3805-Z (ZTE) na chipecie Icery, który rzekomo coś ma inne komendy AT
Zainstalowałem paczkę ACM i pokazały się dwa porty ACM0 i 1 ale nie łączy się z netem (ERROR)
Pokombinuje w weekend z tym połączeniem ...

Jak wstawia się własne kody AT do openwrt ? Trzeba tworzyć coś na wzór twojej paczki do hso ?

4

Odp: [SOLVED] Vodafone K3805-Z na TL-MR3420

Zależy co chcesz. Jeżeli podczas startu to masz to opisane w poradniku "router 3g". jeżeli przed połączeniem to pomieszaj w skrytach chat'a.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: [SOLVED] Vodafone K3805-Z na TL-MR3420

Powiedz mi jeszcze jak ustawić opóźnienie między wykryciem modemu a połączeniem.
Teraz mam tak:
- uruchomienie openwrt || modem szybko mryga na czerwono, nierozpoznany jeszcze
- wykrycie modemu z usb_modeswitch || modem powolo mryga na czerwono, rozpoznany, wyszukuje sieć
- modem zainicjował się, znalazł sieć, mryga na jasno niebiesko - nie łączy się ... :-/
- łączy się po ok.3 minutach po przez skrypt 3gtester, lub wcześniej "ręcznie" przez: ifup wan

Powinien się połączyć generalnie wg. mnie po zainicjowaniu a nie tak jak jest obecnie.

6

Odp: [SOLVED] Vodafone K3805-Z na TL-MR3420

W network jest opcja do odczekania czasu przed połaczeniem, na wiki.openwrt.org zobacz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7 (edytowany przez isadjuk 2011-12-28 23:05:38)

Odp: [SOLVED] Vodafone K3805-Z na TL-MR3420

ROZWIĄZANIE  - Vodafone K3805-Z (ZTE) na chipsecie Icera

Wymagana instalacja sterownika ACM CDC

# opkg install kmod-usb-acm

Interfejsy

/dev/ttyACM0 - tryb HSDPA
/dev/ttyACM1

Praca w trybie HSDPA na przykładzie sieci AERO2

config 'interface' 'wan'
        option 'auto' '1'
        option 'proto' '3g'
        option 'device' '/dev/ttyACM0'
        option 'service' 'umts'
        option 'mobile_isp' 'Poland - Aero2'
        option 'apn' 'darmowy'
        option 'username' ''
        option 'password' ''
        option 'pincode' '0000'

Modem łączy się po uruchomieniu dopiero po pierwszym wywołaniu skryptu 3gtester czyli po 3 minutach, poźniej łączy/wznawia połączenie bezproblemowo.
Warto dodać do /etc/rc.local na koniec:

...
sleep 60
ifup wan

exit 0
Przemyślenia

1) Modem jest na chipsecie Icera, to też ma jeszcze jakieś swoje specyficzne komendy AT. Po połączeniu po ~2-3 minutach  potrafi się zdarzyć, że przez kilkanaście sekund zacznie mrygać na czerwono - mimo to połączenie jest ciągłe i nie zostaje zerwane. Po tych kilkunastu sekundach pali się na niebiesko/turkusowo. Istnieją pakiety specjalnie pisane do ulepszenia obsługi tego chipsetu np: w bibliotekach wader-core.

2) Jest to wg. mnie dobry i solidny sprzęt mimo pewnych problemów z instalacją, o których tylko napomknę - to forum o openwrt tongue
- Windows: sterowniki instalowane ręcznie + TOP_NETINFO
- Ubuntu Linux 10.04: automatycznie + fix na udev : sudo ifconfig usb0 -arp

3) Odnośnie AERO2 - jest to modem, który jest klasy k10 i obsługuje zarówno stare jak i nowe karty AERO2 SIM. Nie wymaga grzebania w firmware, co wg mnie jest na mały plus.

8

Odp: [SOLVED] Vodafone K3805-Z na TL-MR3420

Dzieki isadjuk za rozwiazanie!!!

A czy udało Ci sie może lub komukolwiek na tym forum uruchomić extroota na tym modemie? Niestety ale podczas przelanczania modemu karta microSD jest na chwile odłanczana. No i oczywiście standardowe komendy dla ZTE do wylaczenia zerocd nie działają na tym modemie

AT+ZCDRUN=8/9 daje ERORR


Pozdrawiam

9

Odp: [SOLVED] Vodafone K3805-Z na TL-MR3420

W związku z problemami z obecnym operatorem internetu przez ponad 1 tydzień używam tego modemu i routera :-/
Zbiorę wszystkie uwagi w całość i wkrótce zaktualizuję informacje dot. tego modemu.

Odnośnie twoich zapytań:
- Extroot nie działa hmm
- Modem ZTE na chipsecie Icera . . . niestety komendy ZTE nie działają hmm

10

Odp: [SOLVED] Vodafone K3805-Z na TL-MR3420

Witam,chciałem zapytać,czy w ten sposób ruszy również modem vodafon K3806 (huwei)