Привет! Второй день бьюсь с Huawei E160G от Билайн. Первое, что сделал - разлочил при переустановке прошивки от Мегафон.
Далее как в описании: lsusb - получение аппаратного идентификатора - вписал его в pgi.conf, создал файлы : huawei, huawei.chat, прописал в huawei
[PGI ~]$ lsusbBus 002 Device 001: ID 0000:0000Bus 001 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA ModemBus 001 Device 001: ID 0000:0000[PGI ~]$ ls -ls /dev/tty* 0 crw-rw-rw- 1 root root 5, 0 Nov 12 2031 /dev/tty 0 crw-rw---- 1 root root 204, 40 Nov 12 2031 /dev/ttyAS0 0 crw-rw---- 1 root root 204, 41 Nov 12 2031 /dev/ttyAS1 0 crw-rw---- 1 root root 188, 0 Apr 23 10:06 /dev/ttyUSB0 0 crw-rw---- 1 root root 188, 1 Apr 23 10:06 /dev/ttyUSB1[PGI ~]$вот на команду dmesg:ST40-ehci ST40-ehci.2: irq 169, io mem 0xb91ffe00ST40-ehci ST40-ehci.2: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004usb usb1: configuration #1 chosen from 1 choicehub 1-0:1.0: USB hub foundhub 1-0:1.0: 1 port detected2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (ST40)ST40_start_host_controlST40-ohci ST40-ohci.1: STB7100 OHCIST40-ohci ST40-ohci.1: new USB bus registered, assigned bus number 2ST40-ohci ST40-ohci.1: irq 168, io mem 0xb91ffc00usb usb2: configuration #1 chosen from 1 choicehub 2-0:1.0: USB hub foundhub 2-0:1.0: 1 port detectedInitializing USB Mass Storage driver...usb 1-1: new high speed USB device using ST40-ehci and address 2usb 1-1: configuration #1 chosen from 1 choicescsi1 : SCSI emulation for USB Mass Storage devicesusbcore: registered new driver usb-storageUSB Mass Storage support registered.usb-storage: device found at 2usb-storage: waiting for device to settle before scanningusbcore: registered new driver usbhiddrivers/usb/input/hid-core.c: v2.6:USB HID core driverusbcore: registered new driver asixusbcore: registered new driver net1080usbcore: registered new driver plusbi2c /dev entries driveri2c_st40_pio: ST40 PIO based I2C Driveri2c_st40_pio: allocated pin (2,0) for scl (0x847a7c0c)i2c_st40_pio: allocated pin (2,1) for sda (0x847a7c1c)i2c_st40_pio: allocated pin (3,0) for scl (0x847a7c8c)i2c_st40_pio: allocated pin (3,2) for sda (0x847a7cac)i2c_st40_pio: allocated pin (4,0) for scl (0x847a7d0c)i2c_st40_pio: allocated pin (4,1) for sda (0x847a7d1c)i2c_st40_pio bus 0: SCL=PIO2[0], SDA=PIO2[1]i2c_st40_pio bus 1: SCL=PIO3[0], SDA=PIO3[2]i2c_st40_pio bus 2: SCL=PIO4[0], SDA=PIO4[1]STMicroelectronics - Coprocessors st231 Initst-coprocessor-0: No RAM reservedst231-0 Coprocessor ------------------------------------------- not configured!---------------------------------------------------------------st-coprocessor-1: No RAM reservedst231-1 Coprocessor ------------------------------------------- not configured!---------------------------------------------------------------ip_conntrack version 2.4 (648 buckets, 5184 max) - 224 bytes per conntrackip_conntrack_pptp version 3.1 loadedip_nat_pptp version 3.0 loadedip_tables: © 2000-2006 Netfilter Core Teamipt_recent v0.3.1: Stephen Frost <
[email protected]>. http://snowman.net/projects/ipt_recent/TCP bic registeredNET: Registered protocol family 1NET: Registered protocol family 17ieee80211: 802.11 data/management/control stack, git-1.1.7ieee80211: Copyright © 2004-2005 Intel Corporation <
[email protected]>ieee80211_crypt: registered algorithm 'NULL'ieee80211_crypt: registered algorithm 'WEP'stmmac_open: MAC address 00:13:18:02:eb:d3VFS: Mounted root (squashfs filesystem) readonly.Freeing unused kernel memory: 96k freedWarning: unable to open an initial console.Empty flash at 0x0000fffc ends at 0x00010000CLEANMARKER node found at 0x00010000, not first node in block (0x00000000)Empty flash at 0x0002fffc ends at 0x00030000CLEANMARKER node found at 0x00030000, not first node in block (0x00020000)Empty flash at 0x0004fffc ends at 0x00050000CLEANMARKER node found at 0x00050000, not first node in block (0x00040000)Empty flash at 0x0006fffc ends at 0x00070000CLEANMARKER node found at 0x00070000, not first node in block (0x00060000)Empty flash at 0x0008fffc ends at 0x00090000CLEANMARKER node found at 0x00090000, not first node in block (0x00080000)Empty flash at 0x000afffc ends at 0x000b0000CLEANMARKER node found at 0x000b0000, not first node in block (0x000a0000)Empty flash at 0x000cfffc ends at 0x000d0000CLEANMARKER node found at 0x000d0000, not first node in block (0x000c0000)Empty flash at 0x000eff9c ends at 0x000f0000CLEANMARKER node found at 0x000f0000, not first node in block (0x000e0000)CLEANMARKER node found at 0x00110000, not first node in block (0x00100000)Empty flash at 0x0012fffc ends at 0x00130000CLEANMARKER node found at 0x00130000, not first node in block (0x00120000)Empty flash at 0x0014fffc ends at 0x00150000CLEANMARKER node found at 0x00150000, not first node in block (0x00140000)Empty flash at 0x0016fffc ends at 0x00170000CLEANMARKER node found at 0x00170000, not first node in block (0x00160000)Empty flash at 0x0018fffc ends at 0x00190000CLEANMARKER node found at 0x00190000, not first node in block (0x00180000)Empty flash at 0x001afffc ends at 0x001b0000CLEANMARKER node found at 0x001b0000, not first node in block (0x001a0000)CLEANMARKER node found at 0x001d0000, not first node in block (0x001c0000)Empty flash at 0x001efffc ends at 0x001f0000CLEANMARKER node found at 0x001f0000, not first node in block (0x001e0000)Empty flash at 0x0020fffc ends at 0x00210000CLEANMARKER node found at 0x00210000, not first node in block (0x00200000)Empty flash at 0x0022fffc ends at 0x00230000CLEANMARKER node found at 0x00230000, not first node in block (0x00220000)CLEANMARKER node found at 0x00250000, not first node in block (0x00240000)Empty flash at 0x0026fffc ends at 0x00270000CLEANMARKER node found at 0x00270000, not first node in block (0x00260000)Empty flash at 0x0028fffc ends at 0x00290000CLEANMARKER node found at 0x00290000, not first node in block (0x00280000)Empty flash at 0x002afffc ends at 0x002b0000CLEANMARKER node found at 0x002b0000, not first node in block (0x002a0000)CLEANMARKER node found at 0x002d0000, not first node in block (0x002c0000)CLEANMARKER node found at 0x002f0000, not first node in block (0x002e0000)Empty flash at 0x0030fffc ends at 0x00310000CLEANMARKER node found at 0x00310000, not first node in block (0x00300000)Empty flash at 0x0032fffc ends at 0x00330000CLEANMARKER node found at 0x00330000, not first node in block (0x00320000) Vendor: HUAWEI Model: Mass Storage Rev: 2.31 Type: CD-ROM ANSI SCSI revision: 02usb-storage: device scan completeusb 1-1: USB disconnect, address 2input: Relook IR Keyboard as /class/input/input0ciio: module license 'unspecified' taints kernel.ciio device driver.ciio client i2c is attachedstos_core: no version magic, tainting kernel.stos_core_init_module(): Initializing STOS Modulestcommon_core: no version magic, tainting kernel.stcommon_core_init_module(): Initializing STCOMMON ModuleSetting all Group priorities donePTI Clock: Cut 3.0 detected -> applying 27000000Hz oscillator config ...Preproc Clock: Cut 3.0 detected -> setting Preproc clock.mod_lxload_init: Initializing LXLOAD kernel Module, StartAddress: 0x04200000LXLOADER virtual io kernel address of phys 0xa4200000 = 0xa4200000lxload_open: major=254 minor=0setting up Audio LX in NON-DEBUG modelxload_release: major=254 minor=0Starting Audio LX by disabling resetLX loaded: Base: 0xa4200000 Last: 0xa42cab04 Size:830212mod_lxload_exit: Exiting LXLOAD kernel Modulestmmac_open: MAC address 00:13:18:02:eb:d3mod_lxload_init: Initializing LXLOAD kernel Module, StartAddress: 0x04000000LXLOADER virtual io kernel address of phys 0xa4000000 = 0xa4000000lxload_open: major=254 minor=0setting up LX in NON-DEBUG modelxload_release: major=254 minor=0Starting video LX by disabling resetLX loaded: Base: 0xa4000000 Last: 0xa4093d9c Size:605596mod_lxload_exit: Exiting LXLOAD kernel Modulestapi: no version magic, tainting kernel.stblit_ioctl_init_module: Initializing STBLIT IOCTL ModuleLoad module stclkrv_core by modprobe (pid 502)stvmix_ioctl_init_module: Initializing STVMIX IOCTL ModuleLoad module stavmem_ioctl [248] by modprobe (pid 502)stpio_core_init_module(): Initializing STPIO Modulestvout_ioctl_init_module: Initializing STVOUT IOCTL ModuleLoad module stfdma_ioctl [243] by modprobe (pid 502)Load module fdma [242] by modprobe (pid 502)stvtg_ioctl_init_module: Initializing STVTG IOCTL ModuleLoad module stpti4_core by modprobe (pid 502)Load module staudlx_core [237] by modprobe (pid 502)sthdmi_ioctl_init_module: Initializing STHDMI IOCTL Moduleutils_ioctl_init_module: Initializing UTILS IOCTL ModulePHY: 0:01 - Link is Up - 100/Fullusb 1-1: new high speed USB device using ST40-ehci and address 3usb 1-1: configuration #1 chosen from 1 choicescsi2 : SCSI emulation for USB Mass Storage devicesusb-storage: device found at 3usb-storage: waiting for device to settle before scanningscsi3 : SCSI emulation for USB Mass Storage devicesusb-storage: device found at 3usb-storage: waiting for device to settle before scanning Vendor: HUAWEI Model: Mass Storage Rev: 2.31 Type: CD-ROM ANSI SCSI revision: 02usb-storage: device scan complete Vendor: HUAWEI Model: MMC Storage Rev: 2.31 Type: Direct-Access ANSI SCSI revision: 02sd 3:0:0:0: Attached scsi removable disk sdausb-storage: device scan completeACCESS 00000002Open Read/Writestevt: Setting New buffer Size 102400ACCESS 00000002Open Read/WriteACCESS 00000002Open Read/WriteUTILS: ioctl command 0 [0x00007e00]ACCESS 00000002Open Read/WriteACCESS 00000002Open Read/WriteACCESS 00000002Open Read/WriteACCESS 00000002Open Read/WriteACCESS 00000002Open Read/WriteACCESS 00000002Open Read/WriteACCESS 00000002Open Read/Writeusbserial: no version magic, tainting kernel.usbcore: registered new driver usbserialdrivers/usb/serial/usb-serial.c: USB Serial support registered for generichub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...usb 1-1: USB disconnect, address 3usb 1-1: new high speed USB device using ST40-ehci and address 4usb 1-1: device descriptor read/64, error -71usb 1-1: device descriptor read/64, error -71usb 1-1: new high speed USB device using ST40-ehci and address 5usb 1-1: device descriptor read/all, error -71usb 1-1: new high speed USB device using ST40-ehci and address 6usb 1-1: string descriptor 0 read error: -71usb 1-1: string descriptor 0 read error: -71usb 1-1: configuration #1 chosen from 1 choiceusb 1-1: can't set config #1, error -71hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...usb 1-1: USB disconnect, address 6usb 1-1: new high speed USB device using ST40-ehci and address 7usb 1-1: configuration #1 chosen from 1 choicescsi4 : SCSI emulation for USB Mass Storage devicesusb-storage: device found at 7usb-storage: waiting for device to settle before scanningscsi5 : SCSI emulation for USB Mass Storage devicesusb-storage: device found at 7usb-storage: waiting for device to settle before scanningusbserial_generic 1-1:1.0: generic converter detectedusb 1-1: generic converter now attached to ttyUSB0usbserial_generic 1-1:1.1: generic converter detectedusb 1-1: generic converter now attached to ttyUSB1usbcore: registered new driver usbserial_genericdrivers/usb/serial/usb-serial.c: USB Serial Driver corehub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...usb 1-1: USB disconnect, address 7generic ttyUSB0: generic converter now disconnected from ttyUSB0usbserial_generic 1-1:1.0: device disconnectedgeneric ttyUSB1: generic converter now disconnected from ttyUSB1usbserial_generic 1-1:1.1: device disconnectedusb 1-1: new high speed USB device using ST40-ehci and address 8usb 1-1: device descriptor read/all, error -71usb 1-1: new high speed USB device using ST40-ehci and address 9Fixing up unaligned userspace access in "sbox" pid=856 pc=0x004724bc ins=0x6141Fixing up unaligned userspace access in "sbox" pid=856 pc=0x004724cc ins=0x2411Fixing up unaligned userspace access in "sbox" pid=856 pc=0x004724bc ins=0x6141Fixing up unaligned userspace access in "sbox" pid=856 pc=0x004724cc ins=0x2411Fixing up unaligned userspace access in "sbox" pid=856 pc=0x004724bc ins=0x6141Fixing up unaligned userspace access in "sbox" pid=856 pc=0x004724cc ins=0x2411Fixing up unaligned userspace access in "sbox" pid=856 pc=0x004724bc ins=0x6141Fixing up unaligned userspace access in "sbox" pid=856 pc=0x004724cc ins=0x2411Fixing up unaligned userspace access in "sbox" pid=856 pc=0x297add4e ins=0x6101Fixing up unaligned userspace access in "sbox" pid=856 pc=0x297add5a ins=0x2011usb 1-1: device descriptor read/all, error -71usb 1-1: new high speed USB device using ST40-ehci and address 10usb 1-1: configuration #1 chosen from 1 choiceusbserial_generic 1-1:1.0: generic converter detectedusb 1-1: generic converter now attached to ttyUSB0usbserial_generic 1-1:1.1: generic converter detectedusb 1-1: generic converter now attached to ttyUSB1scsi6 : SCSI emulation for USB Mass Storage devicesusb-storage: device found at 10usb-storage: waiting for device to settle before scanningscsi7 : SCSI emulation for USB Mass Storage devicesusb-storage: device found at 10usb-storage: waiting for device to settle before scanninghub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...usb 1-1: USB disconnect, address 10generic ttyUSB0: generic converter now disconnected from ttyUSB0usbserial_generic 1-1:1.0: device disconnectedgeneric ttyUSB1: generic converter now disconnected from ttyUSB1usbserial_generic 1-1:1.1: device disconnectedusb 1-1: new high speed USB device using ST40-ehci and address 11usb 1-1: configuration #1 chosen from 1 choiceusbserial_generic 1-1:1.0: generic converter detectedusb 1-1: generic converter now attached to ttyUSB0usbserial_generic 1-1:1.1: generic converter detectedusb 1-1: generic converter now attached to ttyUSB1scsi8 : SCSI emulation for USB Mass Storage devicesusb-storage: device found at 11usb-storage: waiting for device to settle before scanningscsi9 : SCSI emulation for USB Mass Storage devicesusb-storage: device found at 11usb-storage: waiting for device to settle before scanning Vendor: HUAWEI Model: Mass Storage Rev: 2.31 Type: CD-ROM ANSI SCSI revision: 02usb-storage: device scan complete Vendor: HUAWEI Model: MMC Storage Rev: 2.31 Type: Direct-Access ANSI SCSI revision: 02sd 9:0:0:0: Attached scsi removable disk sdausb-storage: device scan completeREAP:+I-STC=2256988385 PTS=2257055319, Drift=66934 Th=1890, NumberToDo=38Decoder Error: 1REAP:+B-STC=2265272099 PTS=2265331719, Drift=59620 Th=1890, NumberToDo=34PCMPLAYER(PCMPLAYER0) => Pause (ms)=247PCMPLAYER(PCMPLAYER0) => Pause (ms)=85PCMPLAYER(PCMPLAYER0) => Pause (ms)=50[PGI ~]$а вот на команду:
[PGI ~]$ pppd call huawei &
[PGI ~]$ Script /sbin/chat -v -f /var/etc/ppp/chats/huawei.chat finished (pid 1079), status = 0x3
Connect script failedКуда копать?Как работать с кнопкой "Код"? Выделял, нажимал - не получается!