HelloSwitcher icon indicating copy to clipboard operation
HelloSwitcher copied to clipboard

Enable built-in camera if it was disabled when USB camera was present, but enable if it's the only one left

Open notuxius opened this issue 1 year ago • 6 comments

Prerequisites: 2 cameras, off course)

Steps:

  1. Disable build-in camera.
  2. Disconnect USB camera.
  3. Lock screen.
  4. Press Hello Face sign-in on lock screen.

Actual: Message on the lock screen: Couldn't enable camera.

Expected: Despite built-in camera was disabled, it should be enabled if there are no other cameras present.

Version: 1.6.1

notuxius avatar Sep 14 '24 15:09 notuxius

I thought you commented the wrong issue) After i enable the built-in camera with the app options - there's no such an issue any more.

notuxius avatar Sep 14 '24 18:09 notuxius

What is the status of built-in camera after 1 and 2 but before 3? What happens if you click "Re-check USB camera" after 4?

emoacht avatar Sep 15 '24 08:09 emoacht

I'm disabling built-in camera with the app options and it's disabled before 2 and 3, and the USB one is enabled, after pressing recheck USB - the USB one is still enabled and works, but the built-in is disabled. After 4 i'm seeing messages on lock screen: "Getting ready" first and then "Couldn't turn on the camera".

notuxius avatar Sep 15 '24 09:09 notuxius

Your explanation is contradictory. After 2 (USB camera is disconnected), the USB camera cannot be enabled. What is the exact status of built-in camera after 2? And could you run this app from command line with "/operation"? It will create operation.log at "C:\ProgramData\HelloSwitcher" folder. Could you post it?

emoacht avatar Sep 15 '24 09:09 emoacht

Sorry, yeah, after 2 the built-in is still disabled - which is the purpose of this issue) Strange, but after system restart i can't right now reproduce the issue, Here are my operations files - 1 is with disabling/enabling the build-in (either HD or IR) camera and 2 is enabling/disabling HD and IR cameras as i have two devices in device manager, but they're a single camera device in my laptop. 1 - operation.log 2 - operation.log

notuxius avatar Sep 15 '24 09:09 notuxius

I see. If you can reproduce the issue. please post it.

emoacht avatar Sep 15 '24 10:09 emoacht