All of lore.kernel.org
 help / color / mirror / Atom feed
* Timeout/Reliability issue with my plugin
@ 2016-03-12 15:03 Holger Freyther
  2016-03-12 15:52 ` Denis Kenzior
  0 siblings, 1 reply; 5+ messages in thread
From: Holger Freyther @ 2016-03-12 15:03 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1901 bytes --]

Hi,                                                                             
                                                                                
my plugin is opening the serial on _enable and on _disable it is issuing a      
AT+CFUN=0 and waits for the result before discarding the atchat.                
                                                                                
$ ./tests/enable-modem /wavecom_0                                               
...                                                                             
$ lsof | grep ttyUSB0 | wc -l                                                   
1                                                                               
                                                                                
$ ./tests/disable-modem /wavecom_0                                              
$ lsof | grep ttyUSB0 | wc -l                                                   
0                                                                               
                                                                                
So far so good. But if I run the above in a loop.. then I see dbus timeouts and 
when I execute lsof.. I see that ofonod has 1023 FDs open. So at some point in  
time either the state is messed up or the AT+CFUN doesn't respond.. but we open 
the same device more than once.                                                 
                                                                                
Is this known? Does ofono start timers? Does the GAtChat have a way to timeout  
commands and then disclose it? How do other modems handle such situation?       
                                                                                
kind regards                                                                    
  holger   


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-12 19:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-12 15:03 Timeout/Reliability issue with my plugin Holger Freyther
2016-03-12 15:52 ` Denis Kenzior
2016-03-12 17:10   ` Holger Freyther
2016-03-12 17:23     ` Denis Kenzior
2016-03-12 19:20       ` Holger Freyther

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.