From: Kevin R. K. <ke...@kr...> - 2014-04-19 02:46:18
|
Alright, I pushed a branch that might solve this. I can't exactly repeat it, so I can't be sure if it does what you need. But it looks like it might, and it doesn't crash on my machine, so there is that. Let me know: https://github.com/hollie/misterhouse/pull/401 On Tue, Apr 8, 2014 at 10:02 AM, Kevin Robert Keegan <ke...@kr...>wrote: > I think all of these things are correct. > > The problem is that I don't see anything in MisterHouse that suggests it > was designed to handle reconnecting a serial port. I also don't see > anything in Device::SerialPort for testing if a serial port is still alive. > > > On Tue, Apr 8, 2014 at 7:22 AM, Jeff Siddall <ne...@si...> wrote: > >> On 03/18/2014 06:43 PM, Kevin Robert Keegan wrote: >> > On Tue, Mar 18, 2014 at 2:01 PM, Jeff Siddall <ne...@si... >> > <mailto:ne...@si...>> wrote: >> > >> > The reconnect issue is not entirely gone as a power outage will >> > disconnect the PLM (which is not on the UPS) but not my misterhouse >> > machine (which is on a UPS). This will still result in an unusable >> PLM >> > after the power is restored :( >> > >> > >> > Hmm, well I would hope that this would be rare enough that a scripted >> > restart of MH would be sufficient for you. >> >> One more update: I disconnected the PLM briefly from power (leaving the >> USB port connected) to diagnose another issue and MH did not reconnect >> after I plugged it back in. Seems like there must be a timing related >> issue with the power going off. >> >> Jeff >> >> >> ------------------------------------------------------------------------------ >> Put Bad Developers to Shame >> Dominate Development with Jenkins Continuous Integration >> Continuously Automate Build, Test & Deployment >> Start a new project now. Try Jenkins in the cloud. >> http://p.sf.net/sfu/13600_Cloudbees >> ________________________________________________________ >> To unsubscribe from this list, go to: >> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >> >> > |