Mam bardzo zbliżony problem.
Na USB Blueconnecta mam napisane
E173s-1 (więc powyższy opis powinien pasować kropka w kropkę).
No ale chyba jednak coś robię nie tak.
lsusb
patryk007@patryk007:~/Desktop$ lsusb |grep Huawei
Bus 001 Device 018: ID 12d1:1c05 Huawei Technologies Co., Ltd.
/dev/tty*:
patryk007@patryk007:/dev$ ls tty*
tty tty11 tty15 tty19 tty22 tty26 tty3 tty33 tty37 tty40 tty44 tty48 tty51 tty55 tty59 tty62 tty9 ttyS3
tty0 tty12 tty16 tty2 tty23 tty27 tty30 tty34 tty38 tty41 tty45 tty49 tty52 tty56 tty6 tty63 ttyS0
tty1 tty13 tty17 tty20 tty24 tty28 tty31 tty35 tty39 tty42 tty46 tty5 tty53 tty57 tty60 tty7 ttyS1
tty10 tty14 tty18 tty21 tty25 tty29 tty32 tty36 tty4 tty43 tty47 tty50 tty54 tty58 tty61 tty8 ttyS2
Po pewnych próbach podjętych przeze mnie powstał w pewnym momencie, automagicznie, plik
/lib/udev/rules.d/40-usb_modeswitch.rules, którego zawartość jest następująca (wklejam fragment):
# Part of usb-modeswitch-data, version 20110714
#
# This file is intended for USB_ModeSwitch version >= 1.1.2
# but will not break anything if used with versions >= 1.0.3
#
ACTION!="add", GOTO="modeswitch_rules_end"
# This adds a symlink "gsmmodem[n]" to the lowest ttyUSB port with interrupt
# transfer; checked against a list of known modems, or else no action
KERNEL=="ttyUSB*", ATTRS{bNumConfigurations}=="*", PROGRAM="usb_modeswitch --symlink-name %p %s{idVendor} %s{idProduct} %E{PRODUCT}", SYMLINK="%c"
SUBSYSTEM!="usb", GOTO="modeswitch_rules_end"
# This adds the device ID to the "option" driver after a warm boot
# in cases when the device is yet unknown to the driver; checked
# against a list of known modems, or else no action
ATTR{bInterfaceClass}=="ff", ATTR{bInterfaceNumber}=="00", ATTRS{bNumConfigurations}=="*", RUN+="usb_modeswitch --driver-bind %p %s{idVendor} %s{idProduct} %E{PRODUCT}"
# Most known install partitions are on interface 0, one on 5, one on 9
ATTRS{bInterfaceNumber}!="0[059]", GOTO="modeswitch_rules_end"
# only storage class devices are handled; negative
# filtering here would exclude some quirky devices
ATTRS{bDeviceClass}=="08", GOTO="modeswitch_rules_begin"
ATTRS{bInterfaceClass}=="0[38]", GOTO="modeswitch_rules_begin"
GOTO="modeswitch_rules_end"
LABEL="modeswitch_rules_begin"
( . . . )
# Huawei R201
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1523", RUN+="usb_modeswitch '%b/%k'"
# Huawei E1553
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1553", RUN+="usb_modeswitch '%b/%k'"
# Huawei E173
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1557", RUN+="usb_modeswitch '%b/%k'"
# Huawei E173s
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c0b", RUN+="usb_modeswitch '%b/%k'"
# Huawei ET8282
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1da1", RUN+="usb_modeswitch '%b/%k'"
# Huawei BM358 WiMAX
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="380b", RUN+="usb_modeswitch '%b/%k'"
( . . . )
LABEL="modeswitch_rules_end"
Dodałem również plik
/etc/usb_modeswitch.d/12d1:1c0b
patryk007@patryk007:/etc/usb_modeswitch.d$ cat 12d1\:1c0b
########################################################
# Huawei E173s
DefaultVendor= 0x12d1
DefaultProduct= 0x1c0b
TargetVendor= 0x12d1
TargetProduct= 0x1c05
CheckSuccess=20
MessageEndpoint= 0x0f
MessageContent= "55534243123456780000000000000011062000000100000000000000000000"
gnome-ppp mówi, że nie widzi żadnych USB.
~~~~
Posiłkowałem się również tym linkiem -
viewtopic.php?t=138774.
~~~~
Zwróćcie uwagę, że
lsusb wyświetla mi
12d1:1c05 a nie
12d1:1c0b.
Chociaż nie wiem czy to nie normalne..