1) Из нового архива скопировал option.ko
Рес не перезагружал, попробывал стартануть, модем не нашел...
2)у обоих можем почему то одинаковые параметры во всем... 19d2:2000 до переключения в ручную...
а) если не переключать то скрипт переводит из 19d2:2000 -> 19d2:2003 после чего не может подцепить его...
б) если переключать то при подключении сразу автоматически переводит в 19d2:0016 и может подцепить его...
3) MF626 на USB2 сразу выдал Connect script failed
4) Соответсвенно MF627 MF626 без перевода в режим модем, не переключается скриптом... Вот пока так...
Добавлено 01 октября | 2012г. | 23:50:00 Перезагрузил рес... попробывал еще раз сдвиг есть появился в usbserial modem но чего то фурычить не хочет... попробую ручками переключить результат отпишусь... а вот лог проведенной работы...
<5>0x000018800000-0x00001ff00000 : "E2 Userfs"
<6>STMMAC driver:
<6> platform registration...
<6> done!
<6> PMT module supported
<6> DWMAC1000 - user ID: 0x10, Synopsys ID: 0x33
<6> Enhanced descriptor structure
<4> no valid MAC address;please, use ifconfig or nwhwconfig!
<6> eth0 - (dev. name: stmmaceth - id: -1, IRQ #133
<6> IO base addr: 0xfd110000)
<6>STMMAC MII Bus: probed
<6>eth0: PHY ID 00000000 at 0 IRQ 0 (0:00) active
<6>eth0: PHY ID 0007c0f1 at 1 IRQ 0 (0:01) active
<6>PPP generic driver version 2.4.2
<6>PPP Deflate Compression module registered
<6>PPP BSD Compression module registered
<6>PPP MPPE Compression module registered
<6>NET: Registered protocol family 24
<6>PPPoL2TP kernel driver, V1.0
<6>SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encaps
ulation enabled).
<6>CSLIP: code copyright 1989 Regents of the University of California.
<6>SLIP linefill/keepalive option.
<6>pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
<6>usbcore: registered new interface driver pegasus
<6>usbcore: registered new interface driver asix
<6>usbcore: registered new interface driver cdc_ether
<6>usbcore: registered new interface driver net1080
<6>usbcore: registered new interface driver zaurus
<6>usbcore: registered new interface driver zd1201
<6>nwhw_config: (eth0) setting mac address: 24:00:0B:00:75:61
<6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
<6>stm-ehci stm-ehci.0: st-ehci
<6>stm-ehci stm-ehci.0: new USB bus registered, assigned bus number 1
<6>stm-ehci stm-ehci.0: irq 169, io mem 0xfe1ffe00
<6>stm-ehci stm-ehci.0: USB 0.0 started, EHCI 1.00
<6>usb usb1: configuration #1 chosen from 1 choice
<4>[usb_probe_interface]drive name=hub
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 1 port detected
<6>stm-ohci stm-ohci.0: stm-ohci
<6>stm-ohci stm-ohci.0: new USB bus registered, assigned bus number 2
<6>stm-ohci stm-ohci.0: irq 168, io mem 0xfe1ffc00
<6>usb usb2: configuration #1 chosen from 1 choice
<4>[usb_probe_interface]drive name=hub
<6>hub 2-0:1.0: USB hub found
<6>hub 2-0:1.0: 1 port detected
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new interface driver usb-storage
<6>USB Mass Storage support registered.
<6>usbcore: registered new interface driver usbserial
<6>USB Serial support registered for generic
<6>usbcore: registered new interface driver usbserial_generic
<6>usbserial: USB Serial Driver core
<6>mice: PS/2 mouse device common for all mice
<6>i2c /dev entries driver
<6>Registered led device: HB red
<4>leds-gpio: probe of leds-gpio failed with error -16
<6>sh_tmu: TMU0 kept as earlytimer
<6>sh_tmu: TMU1 kept as earlytimer
<6>usbcore: registered new interface driver usbhid
<6>usbhid: v2.6:USB HID core driver
<4>STMicroelectronics - Coprocessors st231 Init
<4>st-coprocessor-0: No RAM reserved
<4>st231.0 Coprocessor -------------------------------------------
<4> not configured!
<4>---------------------------------------------------------------
<4>st-coprocessor-1: No RAM reserved
<4>st231.1 Coprocessor -------------------------------------------
<4> not configured!
<4>---------------------------------------------------------------
<6>stm-rng hardware driver 1.0 configured
<5>heartbeat: version 0.1.1 loaded
<6>TCP cubic registered
<6>NET: Registered protocol family 17
<6>lib80211: common routines for IEEE802.11 drivers
<7>lib80211_crypt: registered algorithm 'NULL'
<4>drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
<6>stmmac: Rx Checksum Offload Engine supported
<6> TX Checksum insertion supported
<4>IP-Config: Complete:
<4> device=eth0, addr=192.168.0.69, mask=255.255.255.0, gw=192.168.0.1,
<4> host=lh, domain=, nis-domain=(none),
<4> bootserver=192.168.0.119, rootserver=192.168.0.119, rootpath=
<5>RAMDISK: gzip image found at block 0
<4>VFS: Mounted root (ext2 filesystem) on device 1:0.
<4>Freeing unused kernel memory: 136k freed
<6>yaffs: dev is 32505860 name is "mtdblock4"
<6>yaffs: passed flags ""
<4>yaffs: Attempting MTD mount on 31.4, "mtdblock4"
<4>yaffs: restored from checkpoint
<4>yaffs_read_super: isCheckpointed 1
<6>PHY: 0:01 - Link is Up - 100/Full
<4>stos_core: module license 'ST Microelectronics' taints kernel.
<4>Disabling lock debugging due to kernel taint
<1>Load module stos_core [?] by insmod (pid 688)
<1>Load module stsys_ioctl [252] by insmod (pid 690)
<6>LXLOAD(video1) : LX loaded => Base=0x40000000 - Last=0x40152c24 - Size=
1387556
<6>LXLOAD(audio1) : LX loaded => Base=0x40400000 - Last=0x405d0934 - Size=
1902900
<4>ICS init 1 debug_flags 0x40 debug_chan 0x5 connect 0 watchdog 0 bpa2_part 'bi
gphysarea'
<4>ICS: Using BPA2 partition 'bigphysarea'
<4>Calling ICS_cpu_init(0, 0x7, 0x0)
<7>insmod:ics_cpu_init:349 cpuNum 0 cpuMask 0x7 flags 0x0
<7>insmod:ics_cpu_init:387 cpu 0 ('st40') cpuMask 0x7 ics_state 88b0d000
<7>insmod:ics_cpu_init:544 Memory usage : allocated 0 OS used 0 (+0) avail 0
<4>ICS Adding region[0] 0x41122000 0xfa0000
<4>ICS Adding region[1] 0x40000000 0x10000000
<4>EMBX init debug_flags 0x0 debug_chan 0x5
<4>MME module init=1 debug_flags=0x0 pool_size=524288
<7>insmod:mme_init:338 Succeeded on cpu 0 mme_state 88d4bc60
<7>insmod:mme_init:342 Memory usage : OS used 0 (+0) avail 0
<1>Load module stevt_core [?] by insmod (pid 753)
<1>Load module stcommon_core [?] by insmod (pid 753)
<1>Load module sttbx_core [?] by insmod (pid 753)
<1>Load module stclock_core [250] by insmod (pid 753)
<1>Load module stclkrv_core [?] by insmod (pid 753)
<1>Load module stpower_core [249] by insmod (pid 753)
<1>Load module stfdma_core [248] by insmod (pid 753)
<4>IRQ 140/STFDMA_InterruptHandler: IRQF_DISABLED is not guaranteed on shared IR
Qs
<4>IRQ 141/STFDMA_InterruptHandler: IRQF_DISABLED is not guaranteed on shared IR
Qs
<1>Load module stmerge_core [?] by insmod (pid 753)
<1>Load module stavmem_core [?] by insmod (pid 753)
<1>Load module stbuffer_core [?] by insmod (pid 753)
<1>Load module stinject_core [?] by insmod (pid 753)
<1>Load module stpio_core [?] by insmod (pid 753)
<1>Load module stdenc_core [?] by insmod (pid 753)
<1>Load module stlayer_core [?] by insmod (pid 753)
<1>Load module stvout_core [?] by insmod (pid 753)
<1>Load module stvtg_core [?] by insmod (pid 753)
<1>Load module stvid_core [?] by insmod (pid 753)
<1>Load module stvin_core [?] by insmod (pid 753)
<1>Load module stos_core [?] by insmod (pid 753)
<1>Load module stvmix_core [?] by insmod (pid 753)
<1>Load module stgxobj_core [?] by insmod (pid 753)
<1>Load module staudlx_core [246] by insmod (pid 753)
<1>Load module stcc_core [?] by insmod (pid 753)
<1>Load module stttx_core [?] by insmod (pid 753)
<1>Load module stvbi_core [?] by insmod (pid 753)
<1>Load module stblit_core [?] by insmod (pid 753)
<1>Load module stsmart_core [243] by insmod (pid 753)
<1>Load module stnet_core [?] by insmod (pid 753)
<1>Load module stpti4_core [?] by insmod (pid 753)
<6>Tuxera NTFS driver 3012.2.25 [Flags: R/W DEBUG MODULE].
<1>Load module stfrontend_core [242] by insmod (pid 753)
<1>Load module ywca_module [190] by insmod (pid 753)
<7>DVB: register adapter0/demux0 @ minor: 4 (0x04)
<7>DVB: register adapter0/dvr0 @ minor: 5 (0x05)
<7>DVB: register adapter0/demux1 @ minor: 20 (0x14)
<7>DVB: register adapter0/dvr1 @ minor: 21 (0x15)
<7>DVB: register adapter0/demux2 @ minor: 36 (0x24)
<7>DVB: register adapter0/dvr2 @ minor: 37 (0x25)
<7>DVB: register adapter0/demux3 @ minor: 52 (0x34)
<7>DVB: register adapter0/dvr3 @ minor: 53 (0x35)
<7>DVB: register adapter0/ca0 @ minor: 6 (0x06)
<7>DVB: register adapter0/ca1 @ minor: 22 (0x16)
<7>DVB: register adapter0/ca2 @ minor: 38 (0x26)
<7>DVB: register adapter0/ca3 @ minor: 54 (0x36)
<7>DVB: register adapter0/swap0 @ minor: 15 (0x0f)
<1>Load module smart_module [169] by insmod (pid 753)
<1>Load module stevt_ioctl [241] by insmod (pid 753)
<1>Load module stcommon_ioctl [240] by insmod (pid 753)
<1>Load module sttbx_ioctl [239] by insmod (pid 753)
<1>Load module stclkrv_ioctl [238] by insmod (pid 753)
<1>Load module stpower_ioctl [237] by insmod (pid 753)
<1>Load module stfdma_ioctl [236] by insmod (pid 753)
<1>Load module stmerge_ioctl [234] by insmod (pid 753)
<1>Load module stavmem_ioctl [233] by insmod (pid 753)
<1>Load module stbuffer_ioctl [232] by insmod (pid 753)
<1>Load module stinject_ioctl [231] by insmod (pid 753)
<1>Load module stspi_ioctl [229] by insmod (pid 753)
<1>Load module stpio_ioctl [228] by insmod (pid 753)
<1>Load module stdenc_ioctl [226] by insmod (pid 753)
<1>Load module stlayer_ioctl [225] by insmod (pid 753)
<1>Load module stvout_ioctl [224] by insmod (pid 753)
<1>Load module stvtg_ioctl [223] by insmod (pid 753)
<1>Load module stvid_ioctl [222] by insmod (pid 753)
<1>Load module stvin_ioctl [221] by insmod (pid 753)
<1>Load module stvmix_ioctl [220] by insmod (pid 753)
<1>Load module stgxobj_ioctl [219] by insmod (pid 753)
<1>Load module stcc_ioctl [217] by insmod (pid 753)
<1>Load module stttx_ioctl [216] by insmod (pid 753)
<1>Load module stvbi_ioctl [215] by insmod (pid 753)
<1>Load module stblit_ioctl [214] by insmod (pid 753)
<1>Load module stsys_ioctl [209] by insmod (pid 753)
<1>Load module stnet_ioctl [208] by insmod (pid 753)
<1>Load module stpti4_ioctl [206] by insmod (pid 753)
<1>Load module stfrontend_ioctl [205] by insmod (pid 753)
<6>usbcore: registered new interface driver rt73
<4>rtusb init rt5370 --->
<6>usbcore: registered new interface driver rt5370
<4>rtusb init --->
<6>usbcore: registered new interface driver rt2870
<4>
<4> _____ ____ _ ____
<4>|__ / _| _ \ / \ / ___|
<4> / / | | | | | |/ _ \ \___ \
<4> / /| |_| | |_| / ___ \ ___) |
<4>/____\__, |____/_/ \_\____/
<4> |___/
<5>Open1211 - version Sun Jun 20 06:30:21 CST 2010
<6>usbcore: registered new interface driver zd1211b
<4>
<4> _____ ____ _ ____
<4>|__ / _| _ \ / \ / ___|
<4> / / | | | | | |/ _ \ \___ \
<4> / /| |_| | |_| / ___ \ ___) |
<4>/____\__, |____/_/ \_\____/
<4> |___/
<5>Open1211 - version Sun Jun 20 06:30:21 CST 2010
<6>usbcore: registered new interface driver zd1211
<6>usbcore: registered new interface driver r871x_usb_drv
<4>rtw driver version=v2.0.1324.20110126
<6>usbcore: registered new interface driver rtw_usb_drv
<6>USB Serial support registered for GSM modem (1-port)
<6>usbcore: registered new interface driver option
<6>option: v0.7.2-linkymod:USB Driver for GSM modems
<6>USB Serial support registered for pl2303
<6>usbcore: registered new interface driver pl2303
<6>pl2303: Prolific PL2303 USB to serial adaptor driver
<6>USB Serial support registered for Sierra USB modem
<6>usbcore: registered new interface driver sierra
<6>sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
<4>IRQ 156/BLITTER: IRQF_DISABLED is not guaranteed on shared IRQs
<6>input: ywvinput as /devices/virtual/input/input0
<6>input: droidinput as /devices/virtual/input/input1
<4>IRQ 156/STGFB_Blitter: IRQF_DISABLED is not guaranteed on shared IRQs
<4>*********get viewport handle: 0xc17b4d14, 0xc17b4d14
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>*********get viewport handle: 0x0, 0x0
<4>*********get viewport handle: 0xc17b4d14, 0xc17b4d14
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>smart_ioctl------------------------->set handle
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<4>save exit: isCheckpointed 1
<6>usb 1-1: new high speed USB device using stm-ehci and address 2
<6>usb 1-1: configuration #1 chosen from 1 choice
<4>[usb_probe_interface]drive name=usb-storage
<6>scsi0 : SCSI emulation for USB Mass Storage devices
<7>usb-storage: device found at 2
<7>usb-storage: waiting for device to settle before scanning
<4>[usb_probe_interface]drive name=usb-storage
<6>scsi1 : SCSI emulation for USB Mass Storage devices
<7>usb-storage: device found at 2
<7>usb-storage: waiting for device to settle before scanning
<5>scsi 0:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 0
<5>scsi 1:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 0
<7>usb-storage: device scan complete
<7>usb-storage: device scan complete
<5>sd 1:0:0:0: [sda] Attached SCSI removable disk
<4>usb 1-1: usbfs: process 1339 (usb_modeswitch) did not claim interface 0 befor
e use
<6>usb 1-1: USB disconnect, address 2
<6>usb 1-1: new high speed USB device using stm-ehci and address 3
<6>usb 1-1: configuration #1 chosen from 1 choice
<4>[usb_probe_interface]drive name=usbserial_generic
<4>[usb_probe_interface]drive name=option
<6>option 1-1:1.0: GSM modem (1-port) converter detected
<6>usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
<4>[usb_probe_interface]drive name=usbserial_generic
<4>[usb_probe_interface]drive name=usbserial_generic
<4>[usb_probe_interface]drive name=option
<6>option 1-1:1.2: GSM modem (1-port) converter detected
<6>usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
<4>[usb_probe_interface]drive name=usbserial_generic
<4>[usb_probe_interface]drive name=option
<6>option 1-1:1.3: GSM modem (1-port) converter detected
<6>usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
<4>[usb_probe_interface]drive name=usb-storage
<6>scsi2 : SCSI emulation for USB Mass Storage devices
<7>usb-storage: device found at 3
<7>usb-storage: waiting for device to settle before scanning
<5>scsi 2:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 0
<7>usb-storage: device scan complete
[root@stlinux]#cat /proc/tty/driver/usbserial
usbserinfo:1.0 driver:2.0
0: module:option name:"GSM modem (1-port)" vendor:12d1 product:144e num_ports:1
port:1 path:usb-stm-ehci.0-1
1: module:option name:"GSM modem (1-port)" vendor:12d1 product:144e num_ports:1
port:1 path:usb-stm-ehci.0-1
2: module:option name:"GSM modem (1-port)" vendor:12d1 product:144e num_ports:1
port:1 path:usb-stm-ehci.0-1
Добавлено 01 октября | 2012г. | 23:57:30 виндовая консоль обрезала начало...
[root@stlinux]#/root/spark/Ad/Patch/sbin/busybox lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0001
Bus 001 Device 006: ID 12d1:1449
[root@stlinux]#/etc/ppp/modemdial start
PPPD is offline. Trying to start ...
Trying to switch: Huawei switch to Modem mode
Trying find port after switching to modem mode:[ OK ]
Can't find usb modem
[root@stlinux]#
Добавлено 02 октября | 2012г. | 00:39:11 Спасибо за помощь... еще одна маленькая просьба доделать скрипт...
Я полностью просмотрел твои изменения... скрипт теперь переводит модем сам, драйвер подгружает... но почему то не понимает что он висит на ttyUSB0...
решил ручками попробывать запустить /etc/ppp/pppd call 3g
и о чудо всё заробило...
[root@stlinux]#/etc/ppp/pppd call 3g
Connect script failed
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
local IP address xx.xx.xx.xx
remote IP address xx.xx.xx.xx
primary DNS address xx.xx.xx.xx
secondary DNS address xx.xx.xx.xx
[root@stlinux]#