>Для оборудования лучше сидеть на последних выпусках. Если не 7.2, то хотя
>бы 6.4
>И порт д.б. не ucom0, а cuaU0 поставил 7.2, обновился до CURRENT
gsmrouter# uname -a
FreeBSD gsmrouter.local 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Jun 18 13:14:53 EEST 2009 root@gsmrouter.local:/usr/obj/usr/src/sys/GENERIC i386
в ядре отключил umass и cd. Скачал и скомпилил usb_modeswitch. Расскоментировал строки для е220 в /etc/usb_modeswitch.conf.
gsmrouter# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
port 1 powered
port 2 powered
Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00
port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 powered
port 6 powered
port 7 powered
port 8 addr 2: high speed, self powered, config 1, HUAWEI Mobile(0x1003), HUAWEI Technology(0x12d1), rev 0.00
gsmrouter#
* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 1.0.2 (C) Josua Dietze 2009
* Works with libusb 0.1.12 and probably other versions
Reading config file: /etc/usb_modeswitch.conf
DefaultVendor= 0x12d1
DefaultProduct= 0x1003
TargetVendor= 0x12d1
TargetProduct= 0x1003
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=1
SierraMode=0
SonyMode=0
MessageEndpoint= not set
MessageContent= not set
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice enabled (default)
Success check disabled
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_devices: Found /dev/ugen0 on /dev/usb4
usb_control_msg: 128 6 512 0 0xbfbfebf4 8 1000
usb_control_msg: 128 6 512 0 0x2820c080 108 1000
Looking for target devices ...
Found devices in target mode or class (1)
Looking for default devices ...
Found default devices (1)
Accessing device 000 on bus 000 ...
Using endpoints 0x01 (out) and 0x82 (in)
Not a storage device, skipping SCSI inquiry
Device description data (identification)
-------------------------
usb_control_msg: 128 6 768 0 0xbfbfeb1d 255 1000
usb_control_msg: 128 6 770 1033 0xbfbfeb1d 255 1000
Manufacturer: HUAWEI Technology
usb_control_msg: 128 6 768 0 0xbfbfeb1d 255 1000
usb_control_msg: 128 6 769 1033 0xbfbfeb1d 255 1000
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Sending Huawei control message ...
usb_control_msg: 0 3 1 0 0x804ea00 0 1000
OK, Huawei control message sent
-> Run lsusb to note any changes. Bye.
И все, чуда не произошло... В какую сторону смотреть?