hi,dan!thank for your reply!

I have found what's wrong with my evdo card!
Because i use /dev/ttyUSB1 (modem port),evdo card's engineer say there is 
something wrong with it for H/W,they are looking for the bug!

I use other one(China,TDSCDMA,datang company produce),it is ok when reconnect !






在2009-09-23?08:26:11,"Dan?Williams"?<[email protected]>?写道:
>On?Sun,?2009-09-20?at?23:41?+0800,?tommy.hong?wrote:
>>?hi,dan!i?have?tested?nm0.7.1?in?my?ARM11?board,use?usbserial?driver,it
>>?can?
>>?probe?3g?modem?and?can?connect?3G?network?successfully!
>>?But?it?connect?successfully?the?first?time?,init?modem?timeout?the
>>?next?time?,unless?reinsert?3g?wirless?card?and?intilialize?!
>>?I?have?found?that?it?caused?by?havn't?ATH?before?reconnect!
>
>Could?be?the?case,?yeah.??So?to?fix?that,?we?want?to?pass?the?reason
>code?to?nm_device_deactivate_quickly()?from?nm_device_deactivate()?and
>let?the?subclasses?handle?it?appropriately.??We?do?this?so?that?we?can
>distinguish?between?a?manual?disconnection,?and?an?unplug.??On?unplug,
>we?can't?try?to?talk?to?the?modem?because?it's?not?there?anymore.??We
>can?use?the?reason?code?to?detect?that,?it?will?be
>NM_DEVICE_STATE_REASON_REMOVED?when?the?device?was?unplugged.
>
>If?it's?not?NM_DEVICE_STATE_REASON_REMOVED,?then?we?can?flash?the?device
>to?bring?it?into?command?mode,?and?issue?the?ATH,?then?continue.
>
>Any?chance?you?could?try?to?create?that?patch???Let?me?know?if?you?have
>any?questions.
>
>Dan
>
>>?
>>?
>>?
>>?
>>?
>>?在2009-09-20?22:36:32,"Dan?Williams"?<[email protected]>?写道:
>>?>On?Thu,?2009-09-10?at?17:32?+0800,?tommy?tommy?wrote:
>>?>>?hi,Dear?Dan!
>>?>>?
>>?>>?Now?i?met?a?problem?with?usb?evdo?card!
>>?>>?
>>?>>?When?i?insmod?usbserial?with?vendor?id?and?product?id,pppd?connect?OK
>>?>>?with?ttyUSB1?and?can?access?internet?with?ppp0!
>>?>>?
>>?>>?But?I?want?to?use?Networkmanager?with?ppp,because?ppp0?isn't?a
>>?>>?standard?platform?device?,it?is?kernel?virtual?net
>>?>>?(/sys/device/virtual/net/ppp0),causes?HAL?can't?know?it?is?a?real
>>?>>?network,Networkmanager?depend?on?HAL!
>>?>>?
>>?>>?Serveral?days?ago?i?have?fix?marvell8686?driver?kernel?hotplug
>>?>>?bug,does?usbserial?driver?miss?similiar?issue??
>>?>
>>?>NM?0.7.1?and?later?probe?modems?dynamically?to?figure?out?their
>>?>capabilities.??But?it?doesn't?probe?devices?driven?by?'usbserial'?since
>>?>they?are?not?generally?supposed?to?be?3G?modems.
>>?>
>>?>Your?3G?modem?USB?ids?should?be?added?to?'option'?(for?Option,?ZTE,
>>?>Huawei,?Novatel,?etc?devices)?or?'sierra'?(for?Sierra?devices),?because
>>?>those?drivers?enable?the?high-speed?communication?that?3G?devices?are
>>?>used?for.
>>?>
>>?>usbserial?is?not?built?for?high-speed?communication?and?thus?your
>>?>transfer?rates?will?be?quite?limited.??If?you?add?your?modems?IDs?to?a
>>?>known?mobile?broadband?driver?(like?'option')?it?should?get?picked?up?by
>>?>NM.
>>?>
>>?>Dan
>>?>
>>?>
>>?>>?Thanks?all!
>>?>>?
>>?>>?Platform?:ARM11
>>?>>?Linux?kernel?version:2.6.24.2
>>?>>?
>>?>>?to...@china
>>?>
>>?
>>?
>>?
>>?______________________________________________________________________
>>?"中国制造",讲述中国60年往事
>
_______________________________________________
NetworkManager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to