From: Brian R. <br...@pr...> - 2014-04-19 18:48:15
|
Thanks Kevin, I will give it a try when I get a free minute this weekend. FYI: the usbreset example from here http://askubuntu.com/questions/645/how-do-you-reset-a-usb-device-from-the-command-line allows me to reproduce this condition at will. On 4/18/2014 7:46 PM, Kevin Robert Keegan wrote: > 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... <mailto: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... > <mailto: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...> > > <mailto: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 > > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > > > ________________________________________________________ > To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users > |