$  Copyright(c) 1996 Sun Microsystems, Inc.
$  All rights reserved.

$  #ident  "@(#)ecpptest.msg  1.19  00/05/22  SMI"


$ --------------------------------------------------
$ VERBOSE
$ --------------------------------------------------

1 "Msg received: Type %d %s."
2 "Options: %s"
3 "Starting Passive External Loopback test."
4 "Finished Passive External Loopback test."
5 "Starting TFIFO Loopback Test."
6 "Finished TFIFO Loopback Test."
7 "Starting Printer Test."
8 "Finished Printer Test (check for printed data pattern after transmit delay)."


$ --------------------------------------------------
$ INFO
$ --------------------------------------------------

2000  %s specific arguments:\n\
	dev=<device name>	(default=/dev/ecpp0)\n\
	ext_loop=Enable|Disable	(external loopback test - requires\n\
				passive loopback plug)\n\
	printer=Enable|Disable	(printer test - requires printer)\n\
	data=ascii,postscript	(printer data type)\n\
	delay=<number>		(number of seconds to delay after printing)\n\
	dloop=Enable|Disable	(internal loopback testing during printer\n\
				delay)\n\n
 
2001  "ECPPIOC_GETPARMS: write_timeout=%d, mode=0x%x"
2002  "%s: write(%d, 0x%x...0x%x, %d)"
2003  "ECPPIOC_SETPORT: port=0x%x"
2004  "ECPPIOC_GETPORT: port=0x%x, %s"
2005  "%s: ioctl %s, data = 0x%x"
2006  "%s= must be followed by a valid text string."\n
2007  "%s must be followed by a number."\n
2010 Port mode = ECPP_CENTRONICS \
(non-IEEE 1284 compliant device mode - Centronics only)
2011 Port Mode = ECPP_COMPAT_MODE(IEEE 1284 compliant \
device in Centronics mode)
2012 Port Mode = ECPP_BYTE_MODE
2013 Port Mode = ECPP_NIBBLE_MODE(IEEE 1284 compliant device in nibble mode)
2014 Port Mode = ECPP_ECP_MODE(IEEE 1284 compliant device in ECP mode)
2015 Port Mode = ECPP_FAILURE_MODE(failure while attempting to detect \
device mode)
2016 Port Mode = ECPP_DIAG_MODE(ecpp port in diagnostics mode)
2017 Port Mode = ECPP_INIT_MODE(printer mode detection in progress)
2018 Port Mode = UNKNOWN MODE(0x%x)
2020 Idle: <%s: IEEE 1284 parallel port, %s>
2021 Busy: <%s: Could not open, error = %s>
2022 Error: <%s: Could not open, error = %s>
2025 , Connector status = loopback connector or device attached, \
Pin Status = 0x%x(%s)
2026 , Connector status = device attached, Pin status = 0x%x(%s)
2027 , Connector status = device not attached or offline, \
Pin status = 0x%x(%s)
2028 , Connector status = unknown, Pin status = 0x%x(%s)



$ --------------------------------------------------
$ DEBUG
$ --------------------------------------------------

3000  "ECPPIOC_GETPARMS write_timeout=%d, mode=0x%x\n"
3001  "ECPPIOC_SETPORT: port=0x%x\n"
3002  "ECPPIOC_GETPORT: port=0x%x, %s\n"
3003  "%s: write(%d, 0x%x...0x%x, %d)\n"
3004  "%s: ioctl %s, data = 0x%x\n"
3005  "cmp_data: sbuf[%d]=0x%x,"


$ --------------------------------------------------
$ FATAL
$ --------------------------------------------------

8000  "External loop test and printer test cannot be enabled at the same time." \
Probable_Cause(s): \
<Operator error.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8001 "%s: device does not exist or is otherwise inaccessible." \
Probable_Cause(s): \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8002  "Must be super user (root) to execute." \
Probable_Cause(s): \
<Operator error.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8003 "Failed to open %s (%s)." \
Probable_Cause(s): \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8004 "Failed ioctl %s, device = %s, error = %s." \
Probable_Cause(s): \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8005 "Device not in correct mode, device = %s, expected mode = 0x%x, observed mode = 0x%x." \
Probable_Cause(s): \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8006 "%s: status line miscompare, expected = 0x%x, observed = 0x%x, xor = 0x%x." \
Probable_Cause(s): \
<Faulty or missing external loopback connector.> \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8007 "ECPP_nACK wrong state, expected = 0x%x, observed = 0x%x, xor = 0x%x." \
Probable_Cause(s): \
<Faulty or missing external loopback connector.> \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8008 "%s: data miscompare, expected = 0x%x, observed = 0x%x, xor = 0x%x." \
Probable_Cause(s): \
<Faulty or missing external loopback connector.> \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8009 "Could not set correct port type, expected = 0x%x (%s), observed = 0x%x, device = %s." \
Probable_Cause(s): \
<System software problem.> \
<Faulty ecpp device or motherboard hardware.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8010 "%s: Failed to allocate %d bytes of memory, error = %s." \
Probable_Cause(s): \
<System resources temporarily not available, try again.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8011 "%s: write() failed, device = %s, error = %s." \
Probable_Cause(s): \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8012 "%s: write count is wrong, expected = %d, observed = %d." \
Probable_Cause(s): \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8013 "%s: data miscompare, expected = 0x%x, observed = 0x%x, xor = 0x%x, offset = %d." \
Probable_Cause(s): \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8014 "%s: device busy." \
Probable_Cause(s): \
<Another process is using the device.> \
<Someone is printing with the device.> \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Make sure no other process is using the device.> \
<Make sure no one is printing to the device.> \
<Examine system message files (/var/adm/messages) for other information.>

8015 "Bad state for device %s, expected mode = 0x%x, observed mode = 0x%x." \
Probable_Cause(s): \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8016  "ecpp device busy: device %s, expected mode = 0x%x, observed mode = 0x%x." \
Probable_Cause(s): \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8017  "Paper out: device %s, expected mode = 0x%x, observed mode = 0x%x." \
Probable_Cause(s): \
<Printer out of paper.> \
<Faulty printer.> \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Check printer.> \
<Examine system message files (/var/adm/messages) for other information.>"

8018  "Printer offline: device %s, expected mode = 0x%x, observed mode = 0x%x." \
Probable_Cause(s): \
<No printer connected or printer offline.> \
<Faulty printer or cable.> \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Check printer and cable.> \
<Examine system message files (/var/adm/messages) for other information.>

8019  "Printer error: device %s, expected mode = 0x%x, observed mode = 0x%x." \
Probable_Cause(s): \
<Faulty printer or cable.> \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Check printer and cable.> \
<Examine system message files (/var/adm/messages) for other information.>"

8020  "Printer unplugged: device %s, expected mode = 0x%x, observed mode = 0x%x." \
Probable_Cause(s): \
<Faulty printer or cable.> \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Check printer and cable.> \
<Examine system message files (/var/adm/messages) for other information.>"

8021  "Unrecognized printer error: device %s, expected mode = 0x%x, observed mode = 0x%x." \
Probable_Cause(s): \
<Faulty printer or cable.> \
<Faulty ecpp device or motherboard hardware.> \
<System software problem.> \
Recommended_Action(s): \
<Check printer and cable.> \
<Examine system message files (/var/adm/messages) for other information.>"

8022  "Must select data type to send to printer" \
Probable_Cause(s): \
<Operator error.>

8023  "mmap() failed on %s (%s)" \
Probable_Cause(s): \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

8024 "Failed to open %s (%s)" \
Probable_Cause(s): \
<File not installed in current directory.> \
<User does not have read privileges.> \
<System software problem.> 

8025 "fstat() failed on %s (%s)" \
Probable_Cause(s): \
<File not installed in current directory.> \
<User does not have read privileges.> \
<System software problem.> \
Recommended_Action(s): \
<Examine system message files (/var/adm/messages) for other information.>

$ ER_BAD_OPTIONS
8026 "Illegal options passed to ecpptest %s." \
Probable_Cause(s): \
<User error.> \
Recommended_Action(s): \
< Check usage by typing ecpptest -u>

$ Probe 

10001 "WARNING: ecpp device (%s) exists but could not be opened, error = %s.\n"
10002 "ERROR: External loop test and printer test cannot be enabled at the same time."
10003 "ERROR: Must select data to send to printer."
