Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
livebox:portable [2016/01/30 01:05]
brett
livebox:portable [2016/01/30 01:09]
brett [External hardware]
Line 93: Line 93:
 ====== External hardware ====== ====== External hardware ======
  
-To the external hardware to work on a non-livebox device you will need to adjust the /​etc/​xap.d/​xap-livebox.ini file+To get the external hardware to work on a non-livebox device you need to adjust the /​etc/​xap.d/​xap-livebox.ini file 
 <​code>​ <​code>​
 port=/​dev/​ttyO4 port=/​dev/​ttyO4
Line 101: Line 102:
 Why do you need this initserial=+++ configuration line? Why do you need this initserial=+++ configuration line?
  
-The external hardware goes into a loop and listen ​on the serial port consuming all the console text the livebox ​emitted ​and simply ​discards it until it see the +++ token. ​  I do this so that some spurious piece of livebox startup text won't trigger ​the external hardware to do something it should not.   This token on the livebox is normally ​emitted by the /​etc/​init.d/​controlpcb livebox startup script.   ​HOWEVER that script does not exist in the portable distribution ​as it makes no sense as the  ​HAH ​hardware is not attached to the console serial port.  So we use this initserial= argument as a workaround.+The external hardware goes into a loop and listens ​on the serial port consuming all the console text the livebox ​emits and discards it until it see the +++ token. ​  This is done to prevent ​some spurious piece of livebox startup text from triggering ​the external hardware to do something it should not.   This token on the livebox is emitted by the /​etc/​init.d/​controlpcb livebox startup script ​however this script does not exist in the portable distribution.  Even if it did its output would not be down the serial port where the external ​hardware is, it would be the console serial port. So we use this initserial= argument as a workaround.