Skip to content

Using with howdy: sometimes fails with exit code 1 #283

@MK73DS

Description

@MK73DS

Documentation

Output of linux-enable-ir-emitter --config

# /home/[ME]/.config/linux-enable-ir-emitter.toml

[["/dev/video2".savelist]]
unit = 14
selector = 6
control = [1, 3, 2, 0, 0, 0, 0, 0, 0]

Output of linux-enable-ir-emitter --log

[...]
12:44:54 [DEBUG] (15) linux_enable_ir_emitter::video::ir::enabler: IR enabler waiting for response...
12:44:54 [INFO] Applying control: unit=14 selector=3 cur=[16, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0] max=[16, 0, 0, 0, 0, 0, 0, 232, 3, 0, 0] min=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] res=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] def=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] writable=true.
12:44:54 [DEBUG] (15) linux_enable_ir_emitter::video::ir::enabler: IR enabler waiting for response...
12:44:54 [INFO] Applying control: unit=14 selector=3 cur=[16, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0] max=[16, 0, 0, 0, 0, 0, 0, 232, 3, 0, 0] min=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] res=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] def=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] writable=true.
12:44:54 [DEBUG] (15) linux_enable_ir_emitter::video::ir::enabler: IR enabler waiting for response...
12:44:54 [INFO] Applying control: unit=14 selector=3 cur=[16, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0] max=[16, 0, 0, 0, 0, 0, 0, 232, 3, 0, 0] min=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] res=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] def=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] writable=true.
12:44:54 [DEBUG] (15) linux_enable_ir_emitter::video::ir::enabler: IR enabler waiting for response...
12:44:55 [INFO] Resetting control to initial value.
12:44:55 [INFO] Applying control: unit=14 selector=3 cur=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] max=[16, 0, 0, 0, 0, 0, 0, 232, 3, 0, 0] min=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] res=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] def=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] writable=true.
12:44:55 [INFO] Applying control: unit=14 selector=6 cur=[1, 3, 2, 0, 0, 0, 0, 0, 0] max=[1, 3, 3, 0, 0, 0, 0, 0, 0] min=[0, 0, 0, 0, 0, 0, 0, 0, 0] res=[0, 0, 0, 0, 0, 0, 0, 0, 0] def=[1, 3, 1, 0, 0, 0, 0, 0, 0] writable=true.
12:44:55 [DEBUG] (15) linux_enable_ir_emitter::video::ir::enabler: IR enabler waiting for response...
12:44:58 [INFO] The control enables the IR emitter.
12:44:58 [DEBUG] (15) linux_enable_ir_emitter::configure::app::ir_enabler: Exiting configurator task exited.
12:44:58 [INFO] Loading configuration from /home/[ME]/.config/linux-enable-ir-emitter.toml.
12:44:58 [DEBUG] (15) linux_enable_ir_emitter::configuration: Configuration located at: /home/[ME]/.config/linux-enable-ir-emitter.toml
12:44:58 [DEBUG] (15) linux_enable_ir_emitter::configuration: Saving configuration at /home/[ME]/.config/linux-enable-ir-emitter.toml:
[["/dev/video2".savelist]]
unit = 14
selector = 6
control = [1, 3, 2, 0, 0, 0, 0, 0, 0]

12:44:58 [DEBUG] (19) linux_enable_ir_emitter::configure::app::ir_enabler: Exiting video stream task.

Output of linux-enable-ir-emitter --grey-devices

/dev/video2
   unit=10 selector=10 cur=[0, 8, 0, 187, 187, 187, 187, 187] max=[255, 255, 255, 255, 255, 255, 255, 255] min=[0, 0, 0, 0, 0, 0, 0, 0] res=[1, 0, 0, 0, 0, 0, 0, 0] def=[0, 0, 0, 0, 0, 0, 0, 0] writable=false
   unit=13 selector=14 cur=[0, 0] max=[2, 100] min=[0, 0] res=[1, 10] def=[0, 0] writable=true
   unit=13 selector=15 cur=[0] max=[1] min=[0] res=[1] def=[0] writable=false
   unit=13 selector=16 cur=[0] max=[1] min=[0] res=[1] def=[0] writable=true
   unit=14 selector=2 cur=[1, 0, 0, 0, 0, 0, 0, 16, 39, 0, 0, 0, 0, 0, 0] max=[7, 0, 0, 0, 0, 0, 0, 200, 20, 5, 0, 0, 0, 0, 0] min=[0, 0, 0, 0, 0, 0, 0, 16, 39, 0, 0, 0, 0, 0, 0] res=[0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0] def=[1, 0, 0, 0, 0, 0, 0, 16, 39, 0, 0, 0, 0, 0, 0] writable=true
   unit=14 selector=3 cur=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] max=[16, 0, 0, 0, 0, 0, 0, 232, 3, 0, 0] min=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] res=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] def=[16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] writable=true
   unit=14 selector=6 cur=[1, 3, 1, 0, 0, 0, 0, 0, 0] max=[1, 3, 3, 0, 0, 0, 0, 0, 0] min=[0, 0, 0, 0, 0, 0, 0, 0, 0] res=[0, 0, 0, 0, 0, 0, 0, 0, 0] def=[1, 3, 1, 0, 0, 0, 0, 0, 0] writable=true
   unit=14 selector=9 cur=[1, 0, 0, 0] max=[1, 0, 0, 0] min=[0, 0, 0, 0] res=[1, 0, 0, 0] def=[0, 0, 0, 0] writable=true

Computer (or camera) model

Lenovo IdeaPad 5 Pro 16ARH7

Linux distribution

Arch Linux + Plasma 6.6

Installation method

Distro package

Additional information

I use howdy with linux-enable-ir-emitter, and following the Readme (I'm using the 7.0.0 beta) I set the correct line in /etc/pam.d/system-auth before the one with howdy. This works fine for plasma-login-manager and when authenticating in a terminal (eg. with sudo). However, there is an error every time there is a GUI password prompt, for example when running run0 (sorry for the French text in the screenshot, the main errors are in English).

Image

Also, and this is probably unrelated to this issue, I wonder why /usr/bin/linux-enable-ir-emitter run needs to be executed each time there is an authentification with howdy. In versions 6.x, this ran once using a systemd service (at boot, after resume, etc.) and it still works fine for the rest of the session. Is there a reason to not do that for 7.x beta? This would fix this issue at least for my usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions