настройка ключа huawei e303e на встроенной плате arm9

1381
geek

Я пытался подключить 3G модем на плате arm9. модем бота не обнаружен. вот мой lsusb:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 004: ID 12d1:14fe Huawei Technologies Co., Ltd. 

и мой dmesg дает что-то вроде dis:

scsi 5:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 sr0: scsi-1 drive scsi 6:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2 sr 5:0:0:0: Attached scsi CD-ROM sr0 sr 5:0:0:0: Attached scsi generic sg0 type 5 sd 6:0:0:0: Attached scsi generic sg1 type 0 sd 6:0:0:0: [sda] Attached SCSI removable disk scsi 5:0:0:0: rejecting I/O to dead device 

я установил usb_modeswitch для руки. когда я запускаю команду usb modeswitch: usb_modeswitch -c /etc/usb_modeswitch.conf -v 0x12d1 -p 0x14fe -W

Warning: TargetProductList overrides TargetProduct! * usb_modeswitch: handle USB devices with multiple modes * Version 1.1.4 (C) Josua Dietze 2010 * Based on libusb0 (0.1.12 and above)  ! PLEASE REPORT NEW CONFIGURATIONS !  DefaultVendor= 0x12d1 DefaultProduct= 0x14fe TargetVendor= 0x12d1 TargetProduct= not set TargetClass= not set TargetProductList="14fe,1506"  DetachStorageOnly=0 HuaweiMode=1 SierraMode=0 SonyMode=0 GCTMode=0 MessageEndpoint= not set MessageContent="" NeedResponse=0 ResponseEndpoint= not set Interface=0x00  InquireDevice enabled (default) Success check disabled System integration mode disabled   Looking for target devices ... searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 12d1:14fe found matching vendor ID found matching product ID from list Found devices in target mode or class (1) Looking for default devices ... searching devices, found USB ID 1d6b:0002 searching devices, found USB ID 1d6b:0001 searching devices, found USB ID 12d1:14fe found matching vendor ID found matching product ID adding device Found devices in default mode or class (1) Accessing device 004 on bus 002 ... Using endpoints 0x01 (out) and 0x81 (in) Using endpoints 0x01 (out) and 0x81 (in) Inquiring device details; driver will be detached ... Looking for active driver ... OK, driver found ("dummy") OK, driver "dummy" detached  SCSI inquiry data (for identification) ------------------------- Vendor String: HUAWEI  Model String: Mass Storage  Revision String: 2.31 -------------------------  USB description data (for identification) ------------------------- Manufacturer: HUAWEI Product: HUAWEI Mobile Serial No.: not provided ------------------------- Sending Huawei control message ... OK, Huawei control message sent -> Run lsusb to note any changes. Bye.  root@arago:/etc/udev/rules.d# scsi 5:0:0:0: rejecting I/O to dead device 

Итак, снова я запускаю команду lsusb:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 004: ID 12d1:14fe Huawei Technologies Co., Ltd.  

USB обнаруживает в качестве запоминающего устройства. и это не обнаружение как модем.

usb_modeswitch.conf

DisableSwitching=0  # Enable logging (results in a extensive report file in /var/log, named # "usb_modeswitch_<interface-name>"   EnableLogging=1  DefaultVendor = 0x12d1  DefaultProduct = 0x1506 MessageEndPoint = "0x01" iMessageContent = "55534243000000000000000000000011060000000000000000 0000000000 TargetVendor = 0x12d1  TargetProductList="14fe,1506"  HuaweiMode = 1  

мне нужно написать какие-либо правила для usb_modeswitch? в моем / lib / udev нет файлов правил, а в /etc/udev/rules.d есть несколько файлов.

почему мой 3g ключ обнаруживается как массовое хранилище, а не как модем? что еще мне нужно сделать? пожалуйста, помогите мне как можно скорее.

1

1 ответ на вопрос

0
geek

сначала вставьте usb_wan.ko, option.ko, async.ko. в /lib/udev/rules.d напишите 40-usb_modeswitch.rules, затем запустите modewitch. и для настройки wvdial мне помог этот сайт http://www.sisalik.ee/janek/wp/arhiiv/223

Похожие вопросы