Search found 27 matches

by zhouqiqiu1982
11 Nov 2011, 12:02
Forum: Device Information
Topic: Huawei ET302 (vid=12d1 , pid=1d50)
Replies: 5
Views: 12183

Oops, my bad, got the wrong line; it seems that config 2 is the one. It seems to have a cdc_acm port at the first interfaces. No guarantee though.

The cdc_acm module should load automatically; it's not a very good sign if it doesn't. Maybe a newer kernel can help?



Hi, I found it use the ...
by zhouqiqiu1982
21 Sep 2011, 10:23
Forum: Device Information
Topic: Huawei ET302 (vid=12d1 , pid=1d50)
Replies: 5
Views: 12183

Configuration 3 is probably intended to be used with Huawei's proprietary driver.

Try configuration 1, it looks like it will work with cdc_acm.



OK, I try take configuration 1, as follow:
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 ...
by zhouqiqiu1982
21 Sep 2011, 04:42
Forum: Device Information
Topic: Huawei ET302 (vid=12d1 , pid=1d50)
Replies: 5
Views: 12183

Huawei ET302 (vid=12d1 , pid=1d50)

I have a 3G modem named ET302, when I plug in and use cmd:

#usb_modeswitch -I -d -v 12d1 -p 1d50 -W -u 3 &

I see the /proc/bus/usb/device:
# cat /proc/bus/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09 ...
by zhouqiqiu1982
17 Sep 2011, 08:44
Forum: Device Information
Topic: ZTE 19D2:0020
Replies: 1
Views: 7102

ZTE 19D2:0020

Today I buy a ZTE mu330, and I see the vid 19d2, pid 0020, but it can not work on my Fedora 10 pc.
I try the follow config:
DefaultVendor=0x19d2
DefaultProduct=0x0020

TargetVendor=0x19d2
TargetProduct=0x0020

MessageContent="5553424312345678000000000000061e000000000000000000000000000000 ...
by zhouqiqiu1982
12 Nov 2010, 10:45
Forum: Device Information
Topic: Mode switch succeed but AT return error!
Replies: 10
Views: 20202

How do you know that "AT+ZCDRUN=8" will do anything good ?

This is a specialized command to switch one familiy of 3G sticks permanently to modem mode. It would be pure luck if it would do the same on your device ....

I follow the chat programme, and print the response of the 3G modem, it ...
by zhouqiqiu1982
11 Nov 2010, 11:02
Forum: Device Information
Topic: Mode switch succeed but AT return error!
Replies: 10
Views: 20202

Believe me, my devices are unrelated to your's; one is the "Option iCon" (see config file "05c6:1000:sVe=Option") and the other is my cell phone which has an ID of "05c6:3197" and does not need any switching because it works as a modem in its normal state.

A good candidate for a first attempt is ...
by zhouqiqiu1982
08 Nov 2010, 09:18
Forum: Device Information
Topic: Unknow Device(vid=1edf,pid=6003)
Replies: 15
Views: 31581

Well, the automatic binding of "usb-storage" does obviously not work on your system, embedded or not. With a standard kernel, the device class 8 is discovered and the driver is loaded. You might check if you have the driver (module or built-in) with just calling "modprobe -v usb-storage".



I am ...
by zhouqiqiu1982
07 Nov 2010, 16:03
Forum: Device Information
Topic: Unknow Device(vid=1edf,pid=6003)
Replies: 15
Views: 31581

Usually, the first configuration is used, which is of course the storage device (class 08). The "usbstorage" driver should bind to it immediately. I don't know why your's does not. I assume you are on a special embedded system.

The people with the AirPlus MCD-800 reported success with the ...
by zhouqiqiu1982
06 Nov 2010, 17:11
Forum: Device Information
Topic: Unknow Device(vid=1edf,pid=6003)
Replies: 15
Views: 31581

What you found is likely a problem with finding the target class after switching configurations. I will try to fix that in the next release.
Thanks a lot!

But your problem is unrelated, I think. usb_modeswitch obviously seems to hang or exit after the "no driver found" line. This is the real ...
by zhouqiqiu1982
06 Nov 2010, 17:11
Forum: Device Information
Topic: Unknow Device(vid=1edf,pid=6003)
Replies: 15
Views: 31581

What you found is likely a problem with finding the target class after switching configurations. I will try to fix that in the next release.
Thanks a lot!

But your problem is unrelated, I think. usb_modeswitch obviously seems to hang or exit after the "no driver found" line. This is the real ...
by zhouqiqiu1982
05 Nov 2010, 12:33
Forum: Device Information
Topic: Unknow Device(vid=1edf,pid=6003)
Replies: 15
Views: 31581

The command line looks good.

Can you do a manual call (not from a script) with the parameter -W added?

Also, the "cdc_acm" driver should load automatically if you have run "depmod" correctly. You can also load it manually if that doesn't work. You should end up with ttyACM devices.



I have ...
by zhouqiqiu1982
05 Nov 2010, 10:40
Forum: Device Information
Topic: Unknow Device(vid=1edf,pid=6003)
Replies: 15
Views: 31581

The command line looks good.

Can you do a manual call (not from a script) with the parameter -W added?

Also, the "cdc_acm" driver should load automatically if you have run "depmod" correctly. You can also load it manually if that doesn't work. You should end up with ttyACM devices.



I try it ...
by zhouqiqiu1982
04 Nov 2010, 11:00
Forum: Device Information
Topic: Unknow Device(vid=1edf,pid=6003)
Replies: 15
Views: 31581

Ah, no, I meant a line in the file "/lib/udev/rules.d/40-usb_modeswitch.rules" for the automatic switching if you are using it.

And sorry, there is a copy-and-paste error in the config I posted! It should be ...
Configuration=2
...


OK, I try this method. In my system ,there is no file /lib/udev ...
by zhouqiqiu1982
04 Nov 2010, 09:29
Forum: Device Information
Topic: Unknow Device(vid=1edf,pid=6003)
Replies: 15
Views: 31581

You can use usb_modeswitch to select the configuration, too.

This would be the config file:

DefaultVendor= 0x1edf
DefaultProduct=0x6003

TargetClass=0x02

CheckSuccess=10

DetachStorageOnly=1
Configuration=3
You know how to add the udev rule, right ?

BTW, this is the same USB ID and the same ...
by zhouqiqiu1982
04 Nov 2010, 04:54
Forum: Device Information
Topic: Unknow Device(vid=1edf,pid=6003)
Replies: 15
Views: 31581

Unknow Device(vid=1edf,pid=6003)

Today, I get a 3G modem from Russia unsupported by our system. when I plug it into the PC with OS is Linux(2.6.30), cat the file /proc/bus/usb/devices, it shows:

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 2
P: Vendor=1edf ...