the USB port is Huawei's product whose model is EC122 written in the user's guide. I installed the usb_serial as module and I followed the guide in Gentoo wiki where I made some small changes in Defaultproduct where I put 0x140c, you will see the information in the following part. The Gentoo wiki guide could be found here:
http://wiki.gentoo.org/wiki/USB_ModeSwitch
and
http://wiki.gentoo.org/wiki/Huawei_E367
However neither works. I also found a discussion in this forum for Huawei E180v where it seems the same equipment as mine. But it doesn't work either. I still cound't find /dev/ttyUSB*. Here is link of the discussion: http://www.draisberghof.de/usb_modeswit ... php?p=3307
Here you could find the information of card and error feedback
After detecting by the system, I got:
Code: Select all
[ 1571.697084] usb 6-1: new full-speed USB device number 6 using uhci_hcd
[ 1571.845103] usb 6-1: New USB device found, idVendor=12d1, idProduct=1505
[ 1571.845112] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[ 1571.845117] usb 6-1: Product: HUAWEI Mobile
[ 1571.845122] usb 6-1: Manufacturer: HUAÿWEI TECHNOLOGIES
[ 1571.845126] usb 6-1: SerialNumber: ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
[ 1571.848302] usb-storage 6-1:1.0: USB Mass Storage device detected
[ 1571.848535] scsi19 : usb-storage 6-1:1.0
[ 1572.704239] usb 6-1: USB disconnect, device number 6
[ 1576.108294] usb 6-1: new full-speed USB device number 7 using uhci_hcd
[ 1576.257389] usb 6-1: New USB device found, idVendor=12d1, idProduct=140c
[ 1576.257398] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[ 1576.257403] usb 6-1: Product: HUAWEI Mobile
[ 1576.257407] usb 6-1: Manufacturer: HUAÿWEI TECHNOLOGIES
[ 1576.257412] usb 6-1: SerialNumber: ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
[ 1576.262346] usb-storage 6-1:1.0: USB Mass Storage device detected
[ 1576.264366] usb-storage 6-1:1.1: USB Mass Storage device detected
[ 1576.266345] usb-storage 6-1:1.2: USB Mass Storage device detected
[ 1576.268337] usb-storage 6-1:1.3: USB Mass Storage device detected
[ 1576.268670] usb-storage 6-1:1.4: USB Mass Storage device detected
[ 1576.269429] scsi24 : usb-storage 6-1:1.4
[ 1577.277344] scsi 24:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 0
[ 1577.297286] sr1: scsi-1 drive
[ 1577.297483] sr 24:0:0:0: Attached scsi CD-ROM sr1
[ 1577.298559] sr 24:0:0:0: Attached scsi generic sg2 type 5
[ 1577.308324] scsi 24:0:0:1: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
[ 1577.308600] sd 24:0:0:1: Attached scsi generic sg3 type 0
[ 1577.461285] sd 24:0:0:1: [sdb] Attached SCSI removable disk
[ 1578.554095] usbcore: deregistering interface driver usbserial
[ 1578.607478] usbserial: unknown parameter 'vendor' ignored
[ 1578.607484] usbserial: unknown parameter 'product' ignored
Code: Select all
Bus 006 Device 003: ID 12d1:140c Huawei Technologies Co., Ltd. E180v
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x12d1 Huawei Technologies Co., Ltd.
idProduct 0x140c E180v
bcdDevice 0.00
iManufacturer 1 HUAÿWEI TECHNOLOGIES
iProduct 2 HUAWEI Mobile
iSerial 4 ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 138
bNumInterfaces 5
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 3 Data Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 128
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 3 Data Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 8
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 3 Data Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 3 Data Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0002
(Bus Powered)
Remote Wakeup Enabled
after running usb_modeswitch -Wc /etc/usb_modeswitch.conf with this
Code: Select all
# Huawei E180v
DefaultVendor= 0x12d1
DefaultProduct=0x140c
TargetVendor=0x12d1
TargetProductList="1001,1406,140b,140c,1412,141b,1432,1433,1436,14ac,1506,1511"
TargetClass=0xff
HuaweiMode=1
Code: Select all
Read config file: /etc/usb_modeswitch.conf
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.2.0 (C) Josua Dietze 2014
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x140c
TargetVendor= 0x12d1
TargetClass= 0xff
TargetProductList="1001,1406,140b,140c,1412,141b,1432,1433,1436,14ac,1506,1511"
HuaweiMode=1
NeedResponse=0
Look for target devices ...
found USB ID 0fca:8012
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 08ff:2550
found USB ID 1d6b:0001
found USB ID 12d1:140c
vendor ID matched
product ID matched
target class ff matches
count device
found USB ID 1d6b:0001
found USB ID 04f2:b128
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 0930:0508
found USB ID 1d6b:0001
found USB ID 1d6b:0001
Found devices in target mode or class (1)
Look for default devices ...
found USB ID 0fca:8012
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 08ff:2550
found USB ID 1d6b:0001
found USB ID 12d1:140c
vendor ID matched
product ID matched
target class ff matches
device not counted, target class reached
found USB ID 1d6b:0001
found USB ID 04f2:b128
found USB ID 1d6b:0002
found USB ID 1d6b:0001
found USB ID 0930:0508
found USB ID 1d6b:0001
found USB ID 1d6b:0001
No devices in default mode found. Nothing to do. Bye!
Thanks in advance.