Author Message

<  Device Information  ~  [solved]shenzhenstrongrising21f5:2008chinatelcomqualcom usb

PostPosted: Sat Dec 10, 2011 8:32 am
Posts: 24Joined: Sat Dec 10, 2011 7:40 am
subject: shenzhen strong rising usb modem (=qualcomm in windows)
installed all package
3G_pupdial-12_patch_to_P4
modem_fix_pack_to_431-6
modem_ti_qc_ipwi_updates-6
option-patched-01April09-k2
pup_event_backend_modprobe_fix_to_p43x-4
usb-modeswitch-1


not installed but have
would i install this for version compliance ?
usb_modeswitch-0.9.5.pet

Hardware info
machine details-
intel motherboard processor pentium 4 memory 512 mb used 147mb puppy linux 0.43 audio adapter 82891db-ich4 intel x11 vendor x.org kernel linux 2.6.30.5(i686)compiled #1 smp gnu clibrary version 2.6.1 stable default c compiler unknown desktop environment unknown (window manager jwm) kernel moduls - lp, snd_pcm_oss,snd_seq_dummy,snd_seq_oss,..,slamr.......usbcore ehci_hcd,uhci_hcd,squashfs,usb_storage ,usbhid

here is qualcomm based modem in usb device product id 0x1000
usb devices -uhci host controller -strong rising co. manufacturer -qualcomm, incorporated port#1 speed 12.00 Mb/s max current 100mA usb version 1.10 revision 0.00 product id 0x1000 bus 4 level 1

here is storage cdrom stronrising co
storage -ata maxtor 2f040l0, tsstcorp cd/dvdw sh-s182d,cd rom strongrising co vendor produt strongrising co revision 2.31 scsi controller scsi3

/proc/bus/usb/device
T: Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=21f5 ProdID=1000 Rev= 0.00
S: Manufacturer=Qualcomm, Incorporated
S: Product=StrongRising.CO
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms


dmesg-
usb 4-2:usb disconnect,address 2
:new full speed usb device using uhci_hcd and address 3
:configuration #1 chosen from 1 choice
scsi4: scsi emulation for usb mass storage devices
usb-storage:device found at 3
usb-storage:waiting for device to settle before scanning
scsi4:0:0:0: cd-rom strongrising.co 2.31 pq: 0 ansi:2
sr1: scsi-1 drive
sr 4:0:0:0 Attached scsi cd-rom sr1
usb-storage:device scan complete
sr1:Hmm,seems the drive doesn't support multisession cd's
usb 4-2:reset full speed usb device using uhci_hcd and address 3
usbserial:`'invalid for parameter`vendor'

what i am going to edit usb_modeswitch.conf but dont understand well.
Here are log files of usbview from microsoft and usbsnoop sniff usb in same name .
I have device reference txt file which could be wrong so please correct .
three usbsnoop.log are created by usbsniff 2.0 tool in 15 minutes and i copied them name them 1,2,3 and in usbsnoop dir now.


I have puppy 4.3.1.sfs but no kernel source no make no gcc.
my request is for following package.
1) udev pet package
2)lsusb pet
3)0zerocdoff pet

About strong rising modem -it has 2 ic chips inside .one near usb socket port is samsung and in center is qualcomm msm6500
samsung chip 816 ,k5D5657ACB-D090, AQB958FA
qualcomm chip MsM 6500 , cp 90-v3195-8 ,H21098.1 ,p16643.00,43TZDH-0003,D643 A
In windows it installs modem driver in first found, i can see drivers inside and copy to d: drive,later on I cant see internal files but they are qualcomm i already copied. later each time chinatelcom connection interface will come it has 3 options 1) china TELCOM HIGH SPEED WIFI 2)china TELCOM EVDO 3)china TELCOM CDMA. in my account option call #777 user name :account name ,password :password In windows if i change dns server in tcp ip ,speed in network setting it set to dfault setting each time it runs,connects diffrerent ips in china with tcp and udp, it has its own nameserver connection with 211.141.90.68 seen from comodo firewall, network miner, dnsspeeder, tcp view.in process list seen from procexplorer c+wdetect.exe which detects at xp startup, c+wlink.exe which dials links connects does every frontend.
oem info
http://pastebin.com/JeHpH7G6
modemuser.inf in windows
http://pastebin.com/Ct0V8ALa
modem.inf in windows.
http://pastebin.com/Z7XuxfRS[url][/url]
homepage
http://cwclient.vnet.cn/
www.ct10000.com


Last edited by bijendra on Fri Mar 30, 2012 9:49 am, edited 12 times in total.

Offline Profile YIM
PostPosted: Sat Dec 10, 2011 8:34 am
Posts: 24Joined: Sat Dec 10, 2011 7:40 am
lsusb -v
Bus 004 Device 003:ID 21f5:1000
Device Descriptor:
blength 18
bDescriptor Type 1
bcdUSB 1.10
bDeviceClass 0(Defined at Interface level)
bDevice subclass 0
bMaxpacketsize0 64
idvendor 0x21f5
idproduct 0x1000
bcddevice 0.00
iManufacturer 1 qualcomm,incorporated
iproduct 2stronrising.co
iserial 0
bnumconfigurations1

configuration descriptor:
blength 9 bdescriptortype 2 wtotallength 32 bnuminterfaces 1 bconfigurationvalue 1 iconfiguration 0 bmattributes 0xe9 self powerd remote wakeup maxpower 100mA
interface descriptor:
blength 9 bdescriptor type 4 binterfacenumber 0 baltermatesetting 0 bnumendpoints 2 binterfaceclass 8 mass storage binterfacesubclass 6 scsi binterfaceprotocol 80 bulk (zip) iinterface 0
endpoit descriptor:
blength 7 bdescriptortype 5 bendpointaddress 0x85 ep 5 in bmattribues 2 transfer type bulk synch type none usage type data wmaxpacketsize 0x0040 1x64 bytes binterval
endpoint descriptor:
blength 7 bdescriptortype 5 bendpointaddress 0x05 ep 5 out bmattributes 2 transfer type bulk synch type none usage type data wmaxpacketsize 0x0040 1x64 bytes binterval 0
device status: 0x0000 (bus powerd)


Last edited by bijendra on Sun Dec 11, 2011 9:11 am, edited 1 time in total.

Offline Profile YIM
PostPosted: Sat Dec 10, 2011 11:26 am
Site AdminPosts: 4905Joined: Sat Nov 03, 2007 12:30 am
I can't make very much sense of your posting. It would have been better to start with fewer printouts, usually I'm asking back for additional information. Also, this forum is not suited for long log files. Use "pastebin.com" or similar sites for that.

For a start, don't use /etc/usb_modeswitch.conf for device configurations !! It's a global config file.
Did you read any of the information on the main doc page or in the README files of the source packages?
You don't need a compiler for that.

Regarding your device: the "lsusb" ouput you posted shows that the device is in modem mode. So it has been mode-switched. I suppose the "option" module is present in Murga Linux, so you can try to use it with the following lines (as root or with "sudo"):
Code:
# modprobe -v option
# echo "<your-vendor-ID> <your-product-ID>" > /sys/bus/usb-serial/drivers/option1/new_id


Offline Profile
PostPosted: Sun Dec 11, 2011 4:51 pm
Posts: 24Joined: Sat Dec 10, 2011 7:40 am
With usb_modeswitch0.9.5
Code:
   #usb_modeswitch -W
DefaultVendor=  0x21f5
DefaultProduct= 0x2008
TargetVendor=   0x21f5
TargetProduct=  0x2008 ,0x2009, 0x2010
huaweimode=0
MessageEndpoint=0x05
MessageContent="5553424308b0a7822400000080000612000000240000000000000000000000"
#correct this with 555342430850e782c000000080000671010000000000000000000000000000


usb_set_debug:setting debugging level to 15 (on)
usb_os_find_busses:found 004
usb_os_find_busses:found 003
usb_os_find_busses:found 002
usb_os_find_busses:found 001
usb_os_find_busses: skipping non bus directory devices
usb_os_find_devices:found 002 on 004
usb_os_find_devices:found 001 on 004
error obtaining child information: inappropriat ioctl for device
usb_os_find_devices:found 001 on 003
usb_os_find_devices:found 001 on 002
usb_os_find_devices:found 001 on 001

looking for target devices
no target device found
looking for default devices
no default devices found
is it connected? bye

dmesg-
PPP generic driver version 2.4.2
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26: Usb abstract control model driver for usb modems and isdn adapters
usbcore: registered new interface driver usbserial
usb serial support registerd for generic
usbcore: registered new interface driver usbserial_generic
usbserial: usb serial driver core

lsmod -
usbserial
cdc_acm
Code:


Last edited by bijendra on Fri Jan 06, 2012 1:55 am, edited 2 times in total.

Offline Profile YIM
PostPosted: Mon Dec 12, 2011 9:26 am
Posts: 24Joined: Sat Dec 10, 2011 7:40 am
here another
message content="55 53 42 43 d0 1a be 82 24 00 00 00 80 00 06 12 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00"


Last edited by bijendra on Fri Mar 30, 2012 9:44 am, edited 3 times in total.

Offline Profile YIM
PostPosted: Mon Dec 12, 2011 9:28 am
Posts: 24Joined: Sat Dec 10, 2011 7:40 am
this is usbsnoob2.00 or usbsniff tool latest old version usbsniff1.08 flickers

USB\ROOT_HUB&VID8086&PID24C2&REV001 USBROOT HUB YES
USB\ROOT_HUB&VID8086&PID24C4&REV001 USBROOT HUB YES
USB\ROOT_HUB&VID8086&PID24C7&REV001 USBROOT HUB YES
USB\ROOT_HUB20&VID8086&PID24C2&REV001 USBROOT HUB YES

USB\VID_0951&PID_1624&REV_0110 USB MASS STORAGE DEVICE NO
USB\VID_1058&PID_1010&REV_0175 USB MASS STORAGE DEVICE NO

USB\VID_21F5&PID_1000&REV_0000 USB MASS STORAGE DEVICE NO
USB\VID_21F5&PID_10008&REV_0000 USB MASS STORAGE DEVICE NO
USB\VID_21F5&PID_1000&REV_0000 USB MASS STORAGE DEVICE NO

USB\VID_21F5&PID_2008&REV_0000 USB COMPOSITE DEVICE NO
USB\VID_21F5&PID_2008&REV_0000 USB COMPOSITE DEVICE NO
USB\VID_21F5&PID_2008&REV_0000 USB COMPOSITE DEVICE YES

USB\VID_21F5&PID_2008&REV_0000&MI_00 STRONGRISING USB MODEM YES
USB\VID_21F5&PID_2008&REV_0000&MI_00 STRONGRISING USB MODEM no
USB\VID_21F5&PID_2008&REV_0000&MI_00 STRONGRISING USB MODEM no

USB\VID_21F5&PID_2008&REV_0000&MI_01 STRONGRISING DM SERVICE PORT YES
USB\VID_21F5&PID_2008&REV_0000&MI_01 STRONGRISING DM SERVICE PORT NO
USB\VID_21F5&PID_2008&REV_0000&MI_01 STRONGRISING DM SERVICE PORT NO

USB\VID_21F5&PID_2008&REV_0000&MI_02 STRONGRISING VOICE DEVICE PORT YES
USB\VID_21F5&PID_2008&REV_0000&MI_02 STRONGRISING VOICE DEVICE PORT NO
USB\VID_21F5&PID_2008&REV_0000&MI_02 STRONGRISING VOICE DEVICE PORT NO

USB\VID_21F5&PID_2008&REV_0000&MI_03 STRONGRISING COMMAND CONTROL PORT YES
USB\VID_21F5&PID_2008&REV_0000&MI_03 STRONGRISING COMMAND CONTROL PORT NO
USB\VID_21F5&PID_2008&REV_0000&MI_03 STRONGRISING COMMAND CONTROL PORT NO

INSTALL filter on strong rising usb mode all three
yes installed
no installed
no installed
installed filter on usb composite device all three
yes,no,no all three installed

during sniffing plug unplug replug while china telcom interface pops out detect modem sniff data is at that event.


Last edited by bijendra on Tue Dec 20, 2011 10:14 am, edited 3 times in total.

Offline Profile YIM
PostPosted: Mon Dec 12, 2011 9:29 am
Posts: 24Joined: Sat Dec 10, 2011 7:40 am
AS per help arrive from rerwin @www.murga-linux.com this vendor id created /etc/usb/modeswitch.d/21f5:1000 text file

inastalled upgrade_pack_4.3.1.1-20110905.pet for puppy 4.3.1 with buit in usb_modeswith1.1.9
########################################################

Code:
# Air FlexiNet using Flash SX0301
DefaultVendor= 0x21f5
DefaultProduct= 0x1000
TargetVendor= 0x21f5
TargetProduct= 0x2008 ,0x2009, 0x2010
MessageEndpoint=0x05
MessageContent="5553424308b0a7822400000080000612000000240000000000000000000000"
#please corrected message content 555342430850e782c000000080000671010000000000000000000000000000

Place that text into a file in /etc/usb_modeswitch.d/ and name it:
21f5:1000


Also create a rules file to invoke usb_modeswitch, in /etc/udev/rules.d/, named:
40-usb_modeswitch-airflash-sx0301.rules
Code:
ACTION=="add|change", SUBSYSTEM=="usb", ATTRS{bInterfaceNumber}=="0[059]", ATTRS{bDeviceClass}=="08", GOTO="modeswitch_rules_begin"
ACTION=="add|change", SUBSYSTEM=="usb", ATTRS{bInterfaceNumber}=="0[059]", ATTRS{bInterfaceClass}=="0[38]", GOTO="modeswitch_rules_begin"

GOTO="modeswitch_rules_end"
LABEL="modeswitch_rules_begin"

# Air FlexiNet using Flash SX0301
ATTRS{idVendor}=="21f5", ATTRS{idProduct}=="1000", RUN+="usb_modeswitch '%b/%k'"

LABEL="modeswitch_rules_end"


Last edited by bijendra on Fri Jan 06, 2012 1:58 am, edited 3 times in total.

Offline Profile YIM
PostPosted: Mon Dec 12, 2011 9:41 am
Posts: 24Joined: Sat Dec 10, 2011 7:40 am
ls -l /dev/ttyUSB*

/dev/ttyusb0 ->usb/ttyusb0
/dev/ttyusb1 ->usb/ttyusb1


Last edited by bijendra on Sat Dec 17, 2011 9:49 am, edited 1 time in total.

Offline Profile YIM
PostPosted: Tue Dec 13, 2011 11:06 am
Posts: 24Joined: Sat Dec 10, 2011 7:40 am
usb_modeswitch version 1.1.9
usb_modeswitch -c /etc/u.conf
looking for target devices....
no devices in target mode or class found
looking for default devices...
found devices in default mode , class or configuration(1)
accessing the current device configuration...
ok, got current device configuration(1)
inquiring device details; driver will be detached....
looking for active driver ...
no driver found. either detached before or never attached

scsi inquiry data (for identification)
--------------------------------------
vendor string:cdrom
model string: strongrising co
revision string: 2.31

usb description data(for identification)
---------------------------------------
manufacturer: Qualcom,Incorporated
product:strongrising.co
serialno: not provided
_______________________________-
setting up communication with interface 0
using endpoint 0X05 for message sending....
trying to send message 1 to endpoint 0x05.........
ok. message successfully sent
resetting response endpoint 0x85
resetting message endpoint 0x05
checking for mode switch (max.20 times , once per second) ...
searching for target devices...
searching for target devices...
mode switch has failed .bye.


Offline Profile YIM
PostPosted: Tue Dec 13, 2011 2:29 pm
Site AdminPosts: 4905Joined: Sat Nov 03, 2007 12:30 am
Please don't sent personal messages with new log data. Post it in this forum topic.

I'm still not entirely sure what you are trying to achieve. I'll try to guess and wrap it up:

You have a new modem device with the USB ID 21f5:1000 and showing up as a storage device, with the Windows driver included on that storage. Now you are trying to switch the mode to "modem".

The "MessageContent" that you are using will not work. It's just a command to read the device description text.

When looking at your sniffing log, the commands sent just before "SURPRISE_REMOVAL" are the most suspicious.
i would try this one:
Code:
555342430850e782c000000080000671010000000000000000000000000000
A question:
How do you know that the target ID for the modem mode is "21f5:2008"? Did you find this in Windows?



Offline Profile
PostPosted: Wed Dec 14, 2011 2:06 am
Posts: 24Joined: Sat Dec 10, 2011 7:40 am
usb snoob 2.00 found above i post detailed
near pastebin post

USB\VID_21F5&PID_2008&REV_0000&MI_00 STRONGRISING USB MODEM YES
USB\VID_21F5&PID_2008&REV_0000&MI_00 STRONGRISING USB MODEM no
USB\VID_21F5&PID_2008&REV_0000&MI_00 STRONGRISING USB MODEM no


Offline Profile YIM
PostPosted: Wed Dec 14, 2011 7:25 am
Posts: 24Joined: Sat Dec 10, 2011 7:40 am
usb mode is successfully switched with above message content still endpoint uncorrelates . error endpoint(1) endpoint(2) harmless something like that.
sending usbview.log in paste bin http://pastebin.com/A7BJXErv from windows to check end point

this is latest lsusb -v switched 21f5:2008 from 21f5:1000

Code:
lsusb -v |grep "">file.txt
Bus 004 Device 005: ID 21f5:2008 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x21f5
  idProduct          0x2008
  bcdDevice            0.00
  iManufacturer           1 Qualcomm, Incorporated
  iProduct                2 StrongRising  Technologies MSM
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          108
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    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 StrongRising 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 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           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              3 StrongRising 
      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        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              3 StrongRising 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 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     0x05  EP 5 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 StrongRising 
      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
Device Status:     0x0000
  (Bus Powered)


this is in windows xp with usbview microsoft tool
found end points

http://pastebin.com/A7BJXErv


Last edited by bijendra on Wed Dec 14, 2011 1:03 pm, edited 2 times in total.

Offline Profile YIM
PostPosted: Wed Dec 14, 2011 7:27 am
Posts: 24Joined: Sat Dec 10, 2011 7:40 am

Offline Profile YIM
PostPosted: Wed Dec 14, 2011 7:47 am
Posts: 24Joined: Sat Dec 10, 2011 7:40 am
pmodemdiag
udevtrace-modemlog

http://pastebin.com/URNJTRun[/list]


Offline Profile YIM
PostPosted: Wed Dec 14, 2011 7:58 am
Posts: 24Joined: Sat Dec 10, 2011 7:40 am
pmodemdiag
udevtrace-modemlog

http://pastebin.com/URNJTRun


pmodemdiag-
ls-etc-init.txt
http://pastebin.com/ZQh83eeW

proc devicec.txt
http://pastebin.com/YbV4EzPK

gprsmm.txt and bootini.sys
http://pastebin.com/5gW8pi9V


Last edited by bijendra on Wed Dec 14, 2011 1:05 pm, edited 1 time in total.

Offline Profile YIM

Display posts from previous:  Sort by:

All times are UTC + 1 hour [ DST ]
Page 1 of 2
30 posts
Go to page 1, 2  Next
Users browsing this forum: No registered users and 4 guests
Search for:
Post new topic  Reply to topic
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum