atefsaeed2010 / datacard

Automatically exported from code.google.com/p/datacard
Other
0 stars 1 forks source link

imei discovery fail for e1752c #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
this modem has 4 ports and imei discovery fails:

-- [datacard0] Trying port discovery for IMEI '353220040XXXXXX' IMSI ''
    -- [datacard0] Trying port discovery for IMEI '353220040XXXXXX' IMSI ''
    -- [datacard0] Trying port discovery for IMEI '353220040XXXXXX' IMSI ''

Original issue reported on code.google.com by pag...@gmail.com on 13 Jan 2011 at 4:32

GoogleCodeExporter commented 9 years ago

Original comment by pag...@gmail.com on 13 Jan 2011 at 4:32

GoogleCodeExporter commented 9 years ago
show me debug log around and with
[datacard discovery] >
and 
[datacard discovery] <
lines

Original comment by bg_...@mail.ru on 13 Jan 2011 at 9:47

GoogleCodeExporter commented 9 years ago
    -- [datacard0] Trying port discovery for IMEI '353220040XXXXXX' IMSI ''
[Jan 13 22:51:56] DEBUG[4859]: pdiscovery.c:86 pdiscovery_lookup_ids: [datacard 
discovery] found idVendor 12d1 idProduct 140c
    -- [datacard0] Trying port discovery for IMEI '353220040XXXXXX' IMSI ''
[Jan 13 22:52:11] DEBUG[4859]: pdiscovery.c:86 pdiscovery_lookup_ids: [datacard 
discovery] found idVendor 12d1 idProduct 140c

I think 12d1:140c is not supported by discovery ;(

Original comment by pag...@gmail.com on 13 Jan 2011 at 9:52

GoogleCodeExporter commented 9 years ago
give me InterfaceNumber to port semantic map 

find all ports and read bInterfaceNumber file beside ttyUSBxx directory
find /sys -type d -name ttyUSB*

and also required semantic  of ttyUSB (data, audio, modem) 

Original comment by bg_...@mail.ru on 13 Jan 2011 at 9:57

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.2/3-5.1.2
:1.0/ttyUSB12
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.2/3-5.1.2
:1.0/ttyUSB12/tty/ttyUSB12
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.2/3-5.1.2
:1.1/ttyUSB13
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.2/3-5.1.2
:1.1/ttyUSB13/tty/ttyUSB13
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.2/3-5.1.2
:1.2/ttyUSB14
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.2/3-5.1.2
:1.2/ttyUSB14/tty/ttyUSB14
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.3/3-5.1.3
:1.0/ttyUSB15
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.3/3-5.1.3
:1.0/ttyUSB15/tty/ttyUSB15
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.3/3-5.1.3
:1.1/ttyUSB16
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.3/3-5.1.3
:1.1/ttyUSB16/tty/ttyUSB16
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.3/3-5.1.3
:1.2/ttyUSB17
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.3/3-5.1.3
:1.2/ttyUSB17/tty/ttyUSB17
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.4/3-5.1.4
:1.0/ttyUSB18
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.4/3-5.1.4
:1.0/ttyUSB18/tty/ttyUSB18
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.4/3-5.1.4
:1.1/ttyUSB19
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.4/3-5.1.4
:1.1/ttyUSB19/tty/ttyUSB19
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.4/3-5.1.4
:1.2/ttyUSB20
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.1/3-5.1.4/3-5.1.4
:1.2/ttyUSB20/tty/ttyUSB20
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.3/3-5.3:1.0/ttyUS
B0
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.3/3-5.3:1.0/ttyUS
B0/tty/ttyUSB0
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.3/3-5.3:1.1/ttyUS
B1
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.3/3-5.3:1.1/ttyUS
B1/tty/ttyUSB1
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.3/3-5.3:1.2/ttyUS
B2
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.3/3-5.3:1.2/ttyUS
B2/tty/ttyUSB2
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.5/3-5.5:1.0/ttyUS
B3
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.5/3-5.5:1.0/ttyUS
B3/tty/ttyUSB3
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.5/3-5.5:1.1/ttyUS
B4
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.5/3-5.5:1.1/ttyUS
B4/tty/ttyUSB4
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.5/3-5.5:1.2/ttyUS
B5
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.5/3-5.5:1.2/ttyUS
B5/tty/ttyUSB5
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.6/3-5.6:1.0/ttyUS
B6
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.6/3-5.6:1.0/ttyUS
B6/tty/ttyUSB6
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.6/3-5.6:1.1/ttyUS
B7
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.6/3-5.6:1.1/ttyUS
B7/tty/ttyUSB7
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.6/3-5.6:1.2/ttyUS
B8
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.6/3-5.6:1.2/ttyUS
B8/tty/ttyUSB8
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.7/3-5.7:1.0/ttyUS
B9
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.7/3-5.7:1.0/ttyUS
B9/tty/ttyUSB9
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.7/3-5.7:1.1/ttyUS
B10
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.7/3-5.7:1.1/ttyUS
B10/tty/ttyUSB10
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.7/3-5.7:1.2/ttyUS
B11
/sys/devices/pci0000:00/0000:00:1e.0/0000:05:09.2/usb3/3-5/3-5.7/3-5.7:1.2/ttyUS
B11/tty/ttyUSB11

Original comment by florin.m...@gmail.com on 13 Jan 2011 at 10:58

GoogleCodeExporter commented 9 years ago
[Jan 13 22:59:27] VERBOSE[3182] chan_datacard.c:     -- [datacard6] Trying port 
discovery for IMEI '' IMSI '234103943xxxxxx'
[Jan 13 22:59:27] DEBUG[3182] pdiscovery.c: [datacard discovery] found idVendor 
1a40 idProduct 0201

Original comment by florin.m...@gmail.com on 13 Jan 2011 at 11:04

GoogleCodeExporter commented 9 years ago
the correct should be 
audio=/dev/ttyUSB13              ; tty port for audio connection;        no 
default value
data=/dev/ttyUSB14               ; tty port for AT commands;             no 
default value

Original comment by florin.m...@gmail.com on 13 Jan 2011 at 11:05

GoogleCodeExporter commented 9 years ago
try revision r168 for usb hub

Original comment by pag...@gmail.com on 13 Jan 2011 at 11:19

GoogleCodeExporter commented 9 years ago
sorry forgot to add:
this is a E180 which works fine voice and sms and ussd.
Bus 003 Device 013: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 003 Device 012: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 003 Device 011: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 003 Device 007: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 003 Device 006: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 003 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 003 Device 004: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

Original comment by florin.m...@gmail.com on 13 Jan 2011 at 11:49

GoogleCodeExporter commented 9 years ago
yep fixed. Thanks a lot!

Original comment by florin.m...@gmail.com on 13 Jan 2011 at 11:56

GoogleCodeExporter commented 9 years ago

Original comment by bg_...@mail.ru on 14 Jan 2011 at 7:06