boltgolt / howdy

🛡️ Windows Hello™ style facial authentication for Linux
MIT License
5.8k stars 299 forks source link

IR emitters on HP Spectre x360 #513

Closed 03l54rd1n3 closed 3 years ago

03l54rd1n3 commented 3 years ago

On my HP Spectre x360 the IR emitters don't turn on when using Howdy on Manjaro KDE. The video feed when testing howdy is grayscale (so I guess it's in IR mode?) and it does indeed draw a red circle around my face. The only thing not coming on are the two red lights next to the camera lens.

There is only one camera I could use:

~ > lsusb            
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 002: ID 064e:3401 Suyin Corp. HP TrueVision FHD RGB-IR
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I searched the available options and also tried all of them through with v4l2-ctl. None has an effect on the IR emitters:

~ > v4l2-ctl -l -d /dev/video0
brightness 0x00980900 (int)    : min=0 max=255 step=1 default=128 value=100
contrast 0x00980901 (int)    : min=0 max=255 step=1 default=32 value=32
saturation 0x00980902 (int)    : min=0 max=100 step=1 default=64 value=64
hue 0x00980903 (int)    : min=-180 max=180 step=1 default=0 value=0
white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
gamma 0x00980910 (int)    : min=90 max=150 step=1 default=120 value=120
gain 0x00980913 (int)    : min=1 max=7 step=1 default=1 value=1
power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=2 value=2
white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4000 value=4000 flags=inactive
sharpness 0x0098091b (int)    : min=0 max=7 step=1 default=2 value=2
backlight_compensation 0x0098091c (int)    : min=0 max=1 step=1 default=0 value=1
exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
exposure_absolute 0x009a0902 (int)    : min=10 max=626 step=1 default=156 value=156 flags=inactive
exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1

According to some posts I found that the IR camera should be at /dev/video2. I only have 0 & 1 which seems to be the root cause of my problem IMO. Any help would be appreciated to find the cause of my problem. Thank you :)


I've searched for similar issues already, and my issue has not been reported yet.

Linux distribution (if applicable): Manjaro KDE

Howdy version (sudo howdy version): 2.6.1

boltgolt commented 3 years ago

It's quite common to only have a video0 and video1, my system has the same. As for emitters #261 might help you

03l54rd1n3 commented 3 years ago

So I need to debug and dump my usb communication? Gonna be honest here, that's tough, and for me probably a show stopper.

boltgolt commented 3 years ago

I know that's difficult, and for almost all users it's too technical. There's simply no easy fix for this

EmixamPP commented 3 years ago

Hello, go have a look on my repo : https://github.com/EmixamPP/linux-enable-ir-emitter. I think you will find your answer, there everything is explained. I remain available if you need help :smiley:

03l54rd1n3 commented 3 years ago

Thank you so much! I will try that but it could actually be that I don't have time for this in the next few weeks. Ich will update here and in your config.txt when I get it (and a darn Windows VM) running.

I will close this issue.