Daniel,
Thanks for your reply. I made the changes like you noted but I don’t think I’m getting the results I expected. Here is what I’ve done and what the log file says.
serial:
log: true
port: /dev/ttyUSB0
timeout: 15
detection: 10
I get this message 3 times & the screen says no printer connection
2015-09-23 17:09:37,992 - SERIAL - DEBUG - Connecting to: /dev/ttyUSB0
2015-09-23 17:09:37,996 - SERIAL - DEBUG - Unexpected error while connecting to serial port: /dev/ttyUSB0 AttributeError: ‘‘int’ object has no attribute ‘keys’’ @ comm.py:_openSerial:996
2015-09-23 17:09:37,996 - SERIAL - DEBUG - Changing monitoring state from ‘Opening serial port’ to ‘Error: Failed to open serial port, permissions correct?’
2015-09-23 17:09:39,042 - SERIAL - DEBUG - Changing monitoring state from ‘Offline’ to ‘Opening serial port’
if I take out the timeout line and leave detection
serial:
log: true
port: /dev/ttyUSB0
detection: 10
I get this in my log:
2015-09-23 17:13:43,379 - SERIAL - DEBUG - Changing monitoring state from ‘Offline’ to ‘Opening serial port’
2015-09-23 17:13:43,382 - SERIAL - DEBUG - Connecting to: /dev/ttyUSB0
2015-09-23 17:13:43,398 - SERIAL - DEBUG - Connected to: Serial<id=0x172b5b0, open=True>(port=’/dev/ttyUSB0’, baudrate=250000, bytesize=8, parity=‘N’, stopbits=1, timeout=2.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
2015-09-23 17:13:43,401 - SERIAL - DEBUG - Changing monitoring state from ‘Opening serial port’ to ‘Connecting’
2015-09-23 17:13:44,352 - SERIAL - DEBUG - Recv:
2015-09-23 17:13:46,356 - SERIAL - DEBUG - Send: M105
2015-09-23 17:13:48,360 - SERIAL - DEBUG - Send: M105
2015-09-23 17:13:50,363 - SERIAL - DEBUG - Send: M105
2015-09-23 17:13:52,367 - SERIAL - DEBUG - Send: M105
2015-09-23 17:13:54,371 - SERIAL - DEBUG - Send: M105
2015-09-23 17:13:54,949 - SERIAL - DEBUG - Recv: start
2015-09-23 17:13:54,952 - SERIAL - DEBUG - Recv: echo:Marlin 1.0.0
2015-09-23 17:13:54,954 - SERIAL - DEBUG - Changing monitoring state from ‘Connecting’ to ‘Closed’
2015-09-23 17:13:54,955 - SERIAL - DEBUG - Connection closed, closing down monitor
serial:
log: true
port: /dev/ttyUSB0
timeout: 10
I get this:
2015-09-23 17:30:49,218 - SERIAL - DEBUG - Changing monitoring state from ‘Offline’ to ‘Opening serial port’
2015-09-23 17:30:49,234 - SERIAL - DEBUG - Connecting to: /dev/ttyUSB0
2015-09-23 17:30:49,240 - SERIAL - DEBUG - Unexpected error while connecting to serial port: /dev/ttyUSB0 AttributeError: ‘‘int’ object has no attribute ‘keys’’ @ comm.py:_openSerial:996
2015-09-23 17:30:49,241 - SERIAL - DEBUG - Changing monitoring state from ‘Opening serial port’ to ‘Error: Failed to open serial port, permissions correct?’
So at the end of this I still don’t see how I can increase the “timeout=2.0” value as shown in the second log above. I appreciate all of your help on this.
Coy