input session testing

28 views
Skip to first unread message

Geevarghese V K

unread,
Dec 29, 2020, 3:34:30 AM12/29/20
to session-framework-dev
Dear team,

Im trying to bringup the input session. I was following the readme document.
But session was not launched properly.

Below is the observation.

without fx serve:
[00170.228174][30068][30070][session_manager] INFO: Launching session: fuchsia-pkg://fuchsia.com/input_session#meta/input_session.cm
[00170.230082][20532][20534][pkg-resolver] WARNING: error resolving fuchsia-pkg://fuchsia.com/input_session/0 as fuchsia-pkg://fuchsia.com/input_session/0: the repository manager does not have a repository config for: fuchsia-pkg://fuchsia.com


with fx serve:
[00264.123621][20532][20534][pkg-resolver] INFO: resolved fuchsia-pkg://fuchsia.com/session_control/0 as fuchsia-pkg://devhost/session_control/0 to 518c43628b356a115bfafbab2dd10a9003853ee34f9c6c604feb4b7bd608a234 with TUF
[00264.136246][30068][30070][session_manager] INFO: Launching session: fuchsia-pkg://fuchsia.com/input_session#meta/input_session.cm
[00264.180922][20532][20534][pkg-resolver] INFO: Fetching blobs for fuchsia-pkg://devhost/input_session/0: {
    f50cdd69b7c958e6fb53e07eeaa5d866c94cd9b79b202fca6c1e1f6dd3d28cd6,
}
[00265.225398][9964][9966][klog] INFO: pkgsvr: cached input_session/0 (090e01dcc0989135eb6b149b1d0c9fdbf05fbb78911d7e6070567ae929642fc1)
[00265.237986][20532][20534][pkg-resolver] INFO: resolved fuchsia-pkg://fuchsia.com/input_session/0 as fuchsia-pkg://devhost/input_session/0 to 090e01dcc0989135eb6b149b1d0c9fdbf05fbb78911d7e6070567ae929642fc1 with TUF
[00265.287417][25613][29610][component_manager_sfw.cmx] ERROR: Failed to route directory `dev-class-input-report` with target component `/session:session:5`: A `use from parent` declaration was found at `/session:session:5` for `dev-class-input-report`, but no matching `offer` declaration was found in the parent 


Yegor Pomortsev

unread,
Jan 5, 2021, 3:13:01 PM1/5/21
to Geevarghese V K, session-framework-dev
Hi Geevarghese,

This is a bug - mismatched directory names in the input_session and session_manager manifests are causing the routing to fail. Thanks for catching it!


Cheers,
Yegor

--
All posts must follow the Fuchsia Code of Conduct https://fuchsia.dev/fuchsia-src/CODE_OF_CONDUCT or may be removed.
---
To unsubscribe from this group and stop receiving emails from it, send an email to session-framewor...@fuchsia.dev.

Geevarghese V K

unread,
Jan 11, 2021, 1:18:44 PM1/11/21
to session-framework-dev, Yegor Pomortsev, session-framework-dev, Geevarghese V K
Now the error is resolved. But i do have few queries.

1) When i launched input_session, the workstation_session which was launched during bootup got killed or something happened. If i run "ps" command, I can find only session manager and input_session process.
2) Can i test the functionality through emulator? I ran the emulator and started input_session, but i cannot find any logs for mouse click events on ermine shell.

Gabe Schine

unread,
Jan 14, 2021, 6:27:48 PM1/14/21
to Geevarghese V K, Vickie Cheng, session-framework-dev, Yegor Pomortsev
 
1) When i launched input_session, the workstation_session which was launched during bootup got killed or something happened. If i run "ps" command, I can find only session manager and input_session process.

That is expected: only one session runs at a time.
 
2) Can i test the functionality through emulator? I ran the emulator and started input_session, but i cannot find any logs for mouse click events on ermine shell.

The emulator should work fine, although I recall some input features for the emulator still being worked on. I've added Vickie, who will know what is still in progress.


--
Gabe Schine
Software Engineer / Manager

Vickie Cheng

unread,
Jan 14, 2021, 8:08:32 PM1/14/21
to Gabe Schine, Geevarghese V K, session-framework-dev, Yegor Pomortsev
I'm able to see the mouse logs for input_session. 

A few notes: 
  • I ran `fx shell session_control launch fuchsia-pkg://fuchsia.com/input_session#meta/input_session.cm` to launch the input_session after booting into workstation
  • The logs show up in `fx log` and not in the output when running the emulator
  • I had to click into the emulator
Let me know if you're still running into issues!
Reply all
Reply to author
Forward
0 new messages