попытка номер 2, поправьте если что не так делаю
установил последнюю версию usb_modeswitch
в конфиге нет мне нужной модели 160G, пробую на другом, ставлю:
[more]
# Huawei E220 (aka "Vodafone EasyBox II", aka "T-Mobile wnw Box Micro")
# Huawei E230
# Huawei E270
# Huawei E870
# and probably most other Huawei devices (just adapt product ID)
#
# Two options: 1. removal of "usb-storage" 2. the special control
# message found by Miroslav Bobovsky
#
# Contributor: Hans Kurent, Denis Sutter, Vincent Teoh
DefaultVendor= 0x12d1;
DefaultProduct= 0x1003
# choose one of these:
;DetachStorageOnly=1
HuaweiMode=1
[/more]
можем на данный момент отключен, что бы следить за исменениями
lsusb выдает
[more]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 005: ID 1a40:0101 TERMINUS TECHNOLOGY INC.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 15d9:0a41
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 1241:1503 Belkin Keyboard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[/more]
dmesg
usb 4-3: USB disconnect, address 4
option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
option 4-3:1.0: device disconnected
option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
option 4-3:1.1: device disconnected
tail -f /var/log/messages
[more]
Oct 2 14:37:11 localhost bpalogin[3283]: Listening on port 5050
Oct 2 14:37:11 localhost bpalogin[3283]: Cant connect to auth server - Network is unreachable
Oct 2 14:37:11 localhost bpalogin[3283]: Sleeping for 60 seconds
Oct 2 14:37:20 localhost pulseaudio[6706]: ratelimit.c: 16 events suppressed
Oct 2 14:38:01 localhost CROND[13988]: (root) CMD ( /usr/share/msec/promisc_check.sh)
Oct 2 14:38:11 localhost bpalogin[3283]: Auth host = sm-server:5050
Oct 2 14:38:11 localhost bpalogin[3283]: Listening on port 5050
Oct 2 14:38:11 localhost bpalogin[3283]: Cant connect to auth server - Network is unreachable
Oct 2 14:38:11 localhost bpalogin[3283]: Sleeping for 60 seconds
Oct 2 14:38:14 localhost klogd: b43-phy0 ERROR: PHY transmission error
[/more]
включаю модем
tail -f /var/log/messages
[more]
Oct 2 14:39:29 localhost pulseaudio[6706]: ratelimit.c: 8 events suppressed
Oct 2 14:39:29 localhost klogd: usb 4-3: new high speed USB device using ehci_hcd and address 6
Oct 2 14:39:30 localhost klogd: usb 4-3: New USB device found, idVendor=12d1, idProduct=1003
Oct 2 14:39:30 localhost klogd: usb 4-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
Oct 2 14:39:30 localhost klogd: usb 4-3: Product: HUAWEI Mobile
Oct 2 14:39:30 localhost klogd: usb 4-3: Manufacturer: HUAWEI Technology
Oct 2 14:39:30 localhost klogd: usb 4-3: configuration #1 chosen from 1 choice
Oct 2 14:39:30 localhost klogd: usb-storage: probe of 4-3:1.0 failed with error -5
Oct 2 14:39:30 localhost klogd: option 4-3:1.0: GSM modem (1-port) converter detected
Oct 2 14:39:30 localhost klogd: usb 4-3: GSM modem (1-port) converter now attached to ttyUSB0
Oct 2 14:39:30 localhost klogd: usb-storage: probe of 4-3:1.1 failed with error -5
Oct 2 14:39:30 localhost klogd: option 4-3:1.1: GSM modem (1-port) converter detected
Oct 2 14:39:30 localhost klogd: usb 4-3: GSM modem (1-port) converter now attached to ttyUSB1
Oct 2 14:39:30 localhost klogd: usb-storage: probe of 4-3:1.2 failed with error -1
Oct 2 14:39:30 localhost klogd: usb-storage: probe of 4-3:1.3 failed with error -1
[/more]
dmesg
[more]
usb 4-3: new high speed USB device using ehci_hcd and address 6
usb 4-3: New USB device found, idVendor=12d1, idProduct=1003
usb 4-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
usb 4-3: Product: HUAWEI Mobile
usb 4-3: Manufacturer: HUAWEI Technology
usb 4-3: configuration #1 chosen from 1 choice
usb-storage: probe of 4-3:1.0 failed with error -5
option 4-3:1.0: GSM modem (1-port) converter detected
usb 4-3: GSM modem (1-port) converter now attached to ttyUSB0
usb-storage: probe of 4-3:1.1 failed with error -5
option 4-3:1.1: GSM modem (1-port) converter detected
usb 4-3: GSM modem (1-port) converter now attached to ttyUSB1
usb-storage: probe of 4-3:1.2 failed with error -1
usb-storage: probe of 4-3:1.3 failed with error -1[/more]
lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 006: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Bus 004 Device 005: ID 1a40:0101 TERMINUS TECHNOLOGY INC.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 15d9:0a41
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 1241:1503 Belkin Keyboard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Запускаю usb_modeswitch
[more]Looking for default devices ...
Found default devices (1)
Accessing device 006 on bus 004 ...
Using endpoints 0x01 (out) and 0x82 (in)
Not a storage device, skipping SCSI inquiry
Device description data (identification)
-------------------------
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Sending Huawei control message ...
OK, Huawei control message sent
-> Run lsusb to note any changes. Bye.
[/more]
lsusb показывает без изменений
dmesg
[more]usb 4-3: new high speed USB device using ehci_hcd and address 6
usb 4-3: New USB device found, idVendor=12d1, idProduct=1003
usb 4-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
usb 4-3: Product: HUAWEI Mobile
usb 4-3: Manufacturer: HUAWEI Technology
usb 4-3: configuration #1 chosen from 1 choice
usb-storage: probe of 4-3:1.0 failed with error -5
option 4-3:1.0: GSM modem (1-port) converter detected
usb 4-3: GSM modem (1-port) converter now attached to ttyUSB0
usb-storage: probe of 4-3:1.1 failed with error -5
option 4-3:1.1: GSM modem (1-port) converter detected
usb 4-3: GSM modem (1-port) converter now attached to ttyUSB1
usb-storage: probe of 4-3:1.2 failed with error -1
usb-storage: probe of 4-3:1.3 failed with error -1
[/more]
И что дальше не понятно делать, буду пробовать писать им на форум, хотя т.к. с анг туго, могу не договориться
Может еще есть идейки?