Hello,
I’m the publisher of lumirai-lightbox (https://snapcraft.io/lumirai-lightbox) and would like to request auto-connection of raw-usb, hardware-observe and network-manager, and installation and auto-connection of snap-refresh-observe.
The snap runs on unattended kiosks installed by clinic IT, with no desktop session and usually no keyboard, so there is nobody at the device to run snap connect after install. That is why I’m asking for auto-connection rather than manual connection. Our devices currently wait on the startup console screen with the IP address until provisioned using an ssh which is not as polished an experience. While the device would still need provisioning to know room assignment etc, we would like to present our own UI (that displays the IP) before that step.
name: lumirai-lightbox
description: Single-purpose kiosk application for medical exam rooms. It runs
full screen on Ubuntu Frame on Ubuntu Core (base core24, strict confinement,
amd64) and displays a patient's imaging studies. The display stays locked
behind a screensaver until a clinician taps their NFC ID badge on a USB card
reader.
snapcraft: not publicly available; I can paste any part of it in this thread
upstream: PRIVATE
upstream-relation: The publisher is the upstream. Lumirai develops the
application and publishes the snap.
plugs:
raw-usb:
request-type: auto-connection
reasoning: The snap bundles its own pcscd (built from pcsc-lite) and the
CCID driver, which open the USB NFC reader (ACS ACR1552U) used for the
badge tap. Ubuntu Core has no host pcscd, so there is nothing for the
pcscd interface to connect to, and the snap has to ship the daemon
itself. The plug is declared only on the pcscd app, not on the Electron
application. I'm not aware of a narrower interface that gives a CCID
driver access to a USB reader; if there is one, I'm happy to switch.
hardware-observe:
request-type: auto-connection
reasoning: Used by the same bundled pcscd to watch udev for the reader
being plugged in, unplugged or replaced, so a reader swap works without
a reboot. Declared only on the pcscd app.
network-manager:
request-type: auto-connection
reasoning: The application has a Settings → Network page, behind a staff
passcode, that lists Wi-Fi networks and joins one using nmcli. On a
kiosk with no shell access for clinic staff, this is the only way to get
the device onto the clinic's network or move it to a different one. The
snap only plugs the interface; on Ubuntu Core the slot is provided by
the network-manager snap.
snap-refresh-observe:
request-type: installation and auto-connection
reasoning: Each time the application starts, it reports what it is running
on to the clinic's own Lumirai server, so that support can see what a
kiosk image contains without shell access to the device. For that it
reads the list of installed snaps once per start, with GET /v2/snaps on
/run/snapd-snap.socket, and sends each snap's name, version, revision
and channel. The use is read-only. The snap does not watch refreshes,
hold them or change anything in snapd. Without the plug it can only see
its own version and revision. As far as I know the only other route to
the list is snapd-control, which is far more than this needs; if there
is a narrower interface for reading the list of installed snaps, I'm
happy to use that instead. This is for future support and troubleshooting.
Other details
raw-usb,hardware-observeandnetwork-managerare declared in the published revision. They are connected by hand today and the snap works with them connected.snap-refresh-observeis not in the published revision, because we thought an upload that declares it without a grant would be held for review. Once granted, it will be declared on the application’s two apps (lumirai-lightboxanddaemon), not onpcscd.- The remaining plugs (
wayland,x11,opengl,browser-support,network,network-bind,audio-playback, andgpu-2404from the gpu extension) need nothing special. - The software is proprietary and needs a Lumirai subscription to be useful. I can provide any detail about the snap’s contents or behaviour that helps the review.
Thank you, Joseph Maratt, MD Lumirai, www.lumir.ai