From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, SPF_PASS, WEIRD_PORT autolearn=no version=3.2.5 To: hardware@lists.altlinux.org Content-Disposition: inline From: =?utf-8?b?0KXQuNGF0LjQvSDQoNGD0YHQu9Cw0L0=?= X-Face: (&xiJ3u@NuLg`*; 3Ws|g; b?`RC2/c@sH%M-Y!x5o3P]`(\R; A[i]6h^=hs}Q^p; zT/ylve$udM$8g.HiV"ls(zei4D[!--P<=?utf-8?q?ef=5CiJ4=0A=09=3Da2wRCAO?=qzO"(:gRVa/3IJS Date: Mon, 15 Jul 2013 17:02:10 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <201307151702.13171@ruslandh> Subject: [Hardware] =?utf-8?b?TW9kZW0gNEcg0L7RgiBNZWdhZm9u?= X-BeenThere: hardware@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: hardware@lists.altlinux.org, hihin@rambler.ru List-Id: ALT Linux hardware support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 13:08:09 -0000 Archived-At: List-Archive: List-Post: Никто не пытался использовать Modem 4G от Megafon M150-1 ? lsusb выдаёт: Bus 007 Device 023: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard lsusb -v Bus 007 Device 023: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x12d1 Huawei Technologies Co., Ltd. idProduct 0x1506 E398 LTE/UMTS/GSM Modem/Networkcard bcdDevice 1.02 iManufacturer 2 HUAWEI Technology iProduct 1 HUAWEI Mobile iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 173 bNumInterfaces 4 bConfigurationValue 1 iConfiguration 3 Huawei Configuration bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 18 iInterface 0 ** UNRECOGNIZED: 05 24 00 10 01 ** UNRECOGNIZED: 04 24 02 02 ** UNRECOGNIZED: 05 24 01 00 00 ** UNRECOGNIZED: 06 24 06 00 00 00 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 22 iInterface 0 ** UNRECOGNIZED: 05 24 00 10 01 ** UNRECOGNIZED: 06 24 1a 00 01 1f ** UNRECOGNIZED: 0d 24 0f 04 0f 00 00 00 ea 05 03 00 01 ** UNRECOGNIZED: 05 24 06 01 01 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 5 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 1 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 22 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 5 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 3 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x04 EP 4 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x85 EP 5 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0000 (Bus Powered) dmesg | tail -n20 [14492.608084] usb 7-3: new high-speed USB device number 23 using ehci-pci [14492.742815] option 7-3:1.0: GSM modem (1-port) converter detected [14492.742913] usb 7-3: GSM modem (1-port) converter now attached to ttyUSB0 [14492.744620] usb 7-3: MAC-Address: 0c:5b:8f:27:9a:64 [14492.744824] cdc_ncm 7-3:1.1 wwan0: register 'cdc_ncm' at usb-0000:00:1d.7-3, Mobile Broadband Network Device, 0c:5b:8f:27:9a:64 [14492.744950] scsi32 : usb-storage 7-3:1.2 [14492.745280] scsi33 : usb-storage 7-3:1.3 [14493.744789] scsi 32:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 [14493.744979] scsi 33:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2 [14493.746014] sd 33:0:0:0: [sdc] 15572992 512-byte logical blocks: (7.97 GB/7.42 GiB) [14493.746386] sr1: scsi-1 drive [14493.746552] sr 32:0:0:0: Attached scsi CD-ROM sr1 [14493.746760] sd 33:0:0:0: [sdc] Write Protect is off [14493.746765] sd 33:0:0:0: [sdc] Mode Sense: 0f 00 00 00 [14493.747513] sd 33:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [14493.753285] sdc: sdc1 [14493.756647] sd 33:0:0:0: [sdc] Attached SCSI removable disk ip l показывает новый интерфейс : 12: wwan0: mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000 link/ether 0c:5b:8f:27:9a:64 brd ff:ff:ff:ff:ff На этом собственно всё и заканчивается NetworkManager не предлагает создать новое мобильное соединение. acc видит новый интерфейс с отключённым проводом. wvdial отваливается с ошибкой: $ wvdial --> WvDial: Internet dialer version 1.61 --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: ATQ0 V1 E1 S0=0 ATQ0 V1 E1 S0=0 OK --> Sending: AT+CGDCONT=1,"IP","internet" AT+CGDCONT=1,"IP","internet" OK --> Modem initialized. wvdial: utils/wvtask.cc:405: static void WvTaskMan::_stackmaster(): Assertion `magic_number == -0x123678' failed. Аварийный останов Судя по Google, для её лечения нужен новый (lib)wvstreams -- *** А ещё говорят так (fortune): The majority of husbands remind me of an orangutang trying to play the violin. -- Honor'e DeBalzac ________________________________________________________________________ С уважением Хихин Руслан -- *** А ещё говорят так (fortune): Reply hazy, ask again later. ________________________________________________________________________ С уважением Хихин Руслан