Hi Greg,

The Kermit application closes once the mobile is turned off (using
AT+CFUN=0 command or any manually turn off the mobile) and it does not
allows to perform any further operation.

Our observation on this is after powering the mobile off disconnect
function is called and the file descriptor becomes invalid. 

But in case of windows OS we don't see this problem after switching off
the mobile using hyper terminal and we can still continue with the same
hyper terminal for further operations.  

How can we achieve this in Linux OS? 

I hope you understood this and please give suggestions on this as soon
as possible.


Regards,
Shalini G 






-----Original Message-----
From: Greg KH [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 08, 2005 6:55 AM
To: Shalini Rao (WT01 - Voice & Next Generation Networks)
Cc: linux-usb-devel@lists.sourceforge.net; Nitin Goel (WT01 - Voice &
Next Generation Networks); Sandhya Adabala (WT01 - Voice & Next
Generation Networks)
Subject: Re: usbserial power OFF/ON issue

On Wed, Dec 07, 2005 at 06:01:16PM +0530, [EMAIL PROTECTED] wrote:
> 
> Hi Greg,
> 
> 
> 
> I have some doubts on usbserial driver with respect to connect and
> disconnect functions.
> 
> 
> 
> I'm using Kermit application to communicate with the device, when I'm
> powering off the mobile, mobile is disconnecting and connecting it
back,
> hence the file descriptor on which Kermit is opened is getting closed
> and not allowed to do further operations.
> 
> 
> 
> Same scenario when I tried with windows OS using hyper terminal, after
> powering off the mobile, still the application exists and just after
few
> seconds we can continue working with the same terminal window.
> 
> 
> 
> How can we achieve this in Linux?  or is it possible ?
> 
> 
> 
> I hope you understand this.

I'm sorry, but I do not understand the problem.  The device is turned
off, right?  What happens to your program then?

And please do not post using html email, the linux-usb-devel mailing
list will reject such messages.

thansk,

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to