New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 665479 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 665498
Owner:
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

EC-3PO: Change INFO level init messages to be more accurate.

Project Member Reported by dchan@chromium.org, Nov 15 2016

Issue description

full servod ouptput attached.  There are 4 consoles outputed, which is the real EC console ?

$ grep 'EC.*Console' /tmp/orco.txt
2016-11-15 08:43:22,179 - EC3PO.Console - INFO - /dev/pts/33 - EC Console is being served on /dev/pts/33.
2016-11-15 08:43:22,356 - EC3PO.Console - INFO - /dev/pts/39 - EC Console is being served on /dev/pts/39.
2016-11-15 08:43:22,363 - EC3PO.Console - INFO - /dev/pts/40 - EC Console is being served on /dev/pts/40.
2016-11-15 08:43:22,367 - EC3PO.Console - INFO - /dev/pts/41 - EC Console is being served on /dev/pts/41.


Looks like the last one is the DUT EC console. What are the other 3 ?

 
`dut-control ec_uart_pty` should give you the EC console.

The others may be the servo v4 console and servo micro console. I could remove that print or maybe even try to enhance it such that it will actually reflect what the console is. I had originally added it as a quick way to see what the console was.

Comment 2 by dchan@chromium.org, Nov 15 2016

Thanks, would be nice to use the dut-control name. I will use dut-control from now on

 $ dut-control | grep pty
2016-11-15 09:21:21,449 - Servod - ERROR - Getting jtag_buf_on_flex_en: 'Suart' object has no attribute 'wr_rd'
2016-11-15 09:21:24,851 - Servod - ERROR - Getting spi2_buf_on_flex_en: 'Suart' object has no attribute 'wr_rd'
2016-11-15 09:21:24,974 - Servod - ERROR - Getting spi1_buf_on_flex_en: 'Suart' object has no attribute 'wr_rd'
atmega_pty:/dev/pts/32
cpu_uart_pty:/dev/pts/36
dut_pty:/dev/pts/31
ec_uart_pty:/dev/pts/41
raw_ec_uart_pty:/dev/pts/38
raw_servo_console_pty:/dev/pts/35
raw_servo_v4_console_pty:/dev/pts/24
raw_usbpd_uart_pty:/dev/pts/34
servo_console_pty:/dev/pts/39
servo_v4_console_pty:/dev/pts/33
uart1_pty:/dev/pts/38
uart2_pty:/dev/pts/36
uart3_pty:/dev/pts/34
usbpd_uart_pty:/dev/pts/40


What is the different between servo_console_pty vs servo_v4_console when I am using servov4.  Looks like I can connect to both and have different help output.

servo_console_pty is servo micro's console.
Owner: aaboagye@chromium.org
Status: Assigned (was: Untriaged)
Labels: -Type-Bug Type-Feature
Labels: OS-Chrome
Summary: EC-3PO: Change INFO level init messages to be more accurate. (was: servo v4: too many EC Console from servod)
Mergedinto: 665498
Status: Duplicate (was: Assigned)

Sign in to add a comment