GermanyUSACanadaUKFranceEspanaItaliaNederlandsIndiaJapanChina
Logo 中国

挂号 | 登录 

Huawei E173 (Surfstick, USB 2.0)

EDGE, GSM, HSDPA, HSUPA, 华为 (Huawei), Surfstick, UMTS / GSM / HSDPA, USB

Huawei E173 (Surfstick, USB 2.0)
Linux兼容: 只有Linux兼容的额定此页面上,而不是产品的总体质量。如果您使用本产品使用Linux,请率和分享您的经验,在此页(底部)的注释区域支持其他的Linux用户。
3 投票, 平均: 4.3 出最多 53 投票, 平均: 4.3 出最多 53 投票, 平均: 4.3 出最多 53 投票, 平均: 4.3 出最多 53 投票, 平均: 4.3 出最多 5
  ( 4.3 3 等级)


价格走势
Huawei E173 
-
Minimum: ¥ 0.00 
Maximum: ¥ 0.00  
更新: 14/08/2015 13:54

回顾Linux的兼容性

The Huawei E173 is a USB surfstick, that supports mobile internet connections per GSM, GPRS, EDGE, UMTS, HSDPA, and HSUPA.

Depending on the model version and the modus of the surfstick (i.e. USB storage device mode or surfstick modue) several USB IDs have already been identified:

Bus 001 Device 003: ID 12d1:1d35 Huawei Technologies Co., Ltd.
Bus 002 Device 004: ID 12d1:1c05 Huawei Technologies Co., Ltd.
Bus 002 Device 011: ID 12d1:1c0b Huawei Technologies Co., Ltd.
Bus 002 Device 002: ID 12d1:1446 Huawei Technologies Co., Ltd.

The E173 is fully and automatically supported under Ubuntu 12.04. On can configure the internet connection in the menu “New Mobile Broadband Connection”.

In other distributionen several configuration steps might be necessary to switch the stick into surf modusand to establish the internet connection.

If the switching of the USB sticks into surf mode by usb_modeswitch is not configured correctly, the stick will only be initialized as a USB storage device. In this case the following log messages can be seen:

usb 1-3: new high speed USB device using ehci_hcd and address 3
scsi4 : usb-storage 1-3:1.0
scsi5 : usb-storage 1-3:1.1
scsi 4:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
scsi 5:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
sr0: scsi-1 drive
sr 4:0:0:0: Attached scsi generic sg1 type 5
sd 5:0:0:0: Attached scsi generic sg2 type 0
sd 5:0:0:0: [sdb] Attached SCSI removable disk
usb 1-3: USB disconnect, address 3
usb 1-3: new high speed USB device using ehci_hcd and address 4
scsi6 : usb-storage 1-3:1.0
scsi7 : usb-storage 1-3:1.1
scsi 7:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
scsi 6:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
sr0: scsi-1 drive
sr 6:0:0:0: Attached scsi generic sg1 type 5
sd 7:0:0:0: Attached scsi generic sg2 type 0
sd 7:0:0:0: [sdb] Attached SCSI removable disk

The switching of the stick into sorf mode is carried out by the program usb-modeswitch, which has to be installed on the Linux distribution:

apt-get install usb-modeswitch usb-modeswitch-data

The switching of the sticks is performed automatically (if the distribution is configured in this way), or has to be done with the following command

usb_modeswitch -Hc "/etc/usb_modeswitch.d/12d1:1c0b"

If configured correctly, the switching into surf modue is shown by the following kernel messages:

usb 2-1: usbfs: process 6076 (usb_modeswitch) did not claim interface 0 before use
usb 2-1: USB disconnect, address 13
usb 2-1: new high speed USB device using ehci_hcd and address 14
usb 2-1: New USB device found, idVendor=12d1, idProduct=1c05
usb 2-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
usb 2-1: Product: HUAWEI Mobile
usb 2-1: Manufacturer: HUAWEI
usb 2-1: configuration #1 chosen from 1 choice

The connection to the internet is carried out by the interfaces ttyUSB0, ttyUSB1, and ttyUSB2. These simulate a classical modem device. The devices are created by the programm usbserial, which has to be configured for the E173, e.g. by the following entry in the file /etc/modules

usbserial vendor=0x12d1 product=0x1c05

A configuration file has to be created in the folder /etc/usb_modeswitch.d to achieve an automatic switching of the stick, e.g.

########################################################
# Huawei E173s

DefaultVendor= 0x12d1
DefaultProduct= 0x1c0b

TargetVendor= 0x12d1
TargetProduct= 0x1c05

CheckSuccess=20

MessageEndpoint= 0x0f
MessageContent= "55534243123456780000000000000011062000000100000000000000000000"

Furthermore, a udev rule has to be defined, which is executed automatically if the stick is plugged in. This udev rule will execute modeswitch with the necessary command option and is configured by /lib/udev/rules.d/40-usb_modeswitch.rules:

#Huawei E173s
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c0b", RUN+="usb_modeswitch '%b/%k'"

类似Linux的硬件

scroll left scroll right

 评论

请使用注释部分提出更正的文章,以及相关的摘录 lspci -nnv, lsusb -v, lshw, dmesg ... 此外,使用一节的经验与此硬件组件或搜索该硬件的其他业主配置帮助交流。
 

电子邮件地址不会被公开。

率的Linux兼容性


使用下面的 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


允许的文件类型: txt, jpg, png, gif, 最大文件大小 : 2MB.