LINUX.ORG.RU
решено ФорумAdmin

DD-Wrt, gnokii, Huawei not found device


0

1

Имеем роутер ASUS rt-66ac, хуавейчик разлоченый, сандсковую флэшку на 16 Г. Из всего этого барахла намерен поднть АТС.

Флэшка имеет 4 раздела: гиг для OPT, свап (который не работает), ещё гиг для бэкапа OPT и всё остальное место как ещё один раздел. На всех партициях - ext3 (своп не считаем).

На роутер уговорил встать прошивку с ftp dd-wrt.com. Разлоченый хуавейчик (видится под убунтой как /dev/ttyUSB№, где № :=0, 1, или 2) через minicom принял команду работать в режиме «только модем»

На роутер поставил для начала gnokii и решил потестить, но обломался - прошивка не видит роутер как /dev/ttyUSB*. dmesg сказал вот что:

usb 1-1.1: new high-speed USB device number 5 using ehci-pci
usb-storage 1-1.1:1.0: USB Mass Storage device detected
usb-storage 1-1.1:1.1: USB Mass Storage device detected
usb-storage 1-1.1:1.2: USB Mass Storage device detected
А потом вообще добавил " FPU emulator disabled, make sure your toolchainwas compiled with software floating point support (soft-float)". Как узнать на каком девайсе модем?

★★

Ответ на: комментарий от blind_oracle

usb-modeswitch - есть подвижки, но не всё сахарно...

root@DD-WRT:/tmp/mnt# lsusb
Bus 001 Device 002: ID 058f:6254
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0001
Bus 001 Device 004: ID 12d1:1001
Bus 001 Device 003: ID 0781:5571

Device 004 - явно мой хуавей. Далее коннектим:

root@DD-WRT:/tmp/mnt# usb_modeswitch -v 0x12d1 -p 0x1001 -M FF --verbose

Taking all parameters from the command line


 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.2.4 (C) Josua Dietze 2012
 * Based on libusb0 (0.1.12 and above)

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x1001
TargetVendor=   not set
TargetProduct=  not set
TargetClass=    not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint=  not set
MessageContent="FF"
NeedResponse=0
ResponseEndpoint= not set

InquireDevice enabled (default)
Success check disabled
System integration mode disabled


Looking for default devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 12d1:1001
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 0781:5571
  searching devices, found USB ID 058f:6254
  searching devices, found USB ID 1d6b:0002
 Found device in default mode, class or configuration (1)
Accessing device 004 on bus 001 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
Using interface number 0
Using endpoints 0x01 (out) and 0x82 (in)
Not a storage device, skipping SCSI inquiry

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Looking for active driver ...
 No driver found. Either detached before or never attached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Resetting response endpoint 0x82
Resetting message endpoint 0x01
-> Run lsusb to note any changes. Bye.
>No driver found. Отлично. Шде можно дровчик раздобыть и вообще можно-ли?

zzdnx ★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.