]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add some HP IR cameras
authorAnton Golubev <golubevan@altlinux.org>
Wed, 3 Jul 2024 07:42:24 +0000 (10:42 +0300)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 3 Jul 2024 11:51:52 +0000 (13:51 +0200)
Two very similar devices, with two functions - a regular camera and IR.
The peculiarity of their infrared camera is that it uses a color image
format (YUYV), although it is essentially black and white.

The IR camera interface differs from the regular camera interface by name:

"HP Wide Vision FHD Camera: HP W" for the regular camera and
"HP Wide Vision FHD Camera: HP I" for an infrared camera

Therefore, glob *I is used to separate the IR camera

hwdb.d/70-cameras.hwdb

index 3a84792a185b300544c546eebfc2e0bb5b96e7da..0fd0baffc8ee6456b90eca7c52f5a3fd53017d2c 100644 (file)
 camera:usb:v*p*:name:*IR Camera*:
  ID_INFRARED_CAMERA=1
 
+###########################################################
+# Hewlett-Packard
+###########################################################
+
+# Chicony Electronics Co., Ltd HP Wide Vision FHD Camera (IR function)
+camera:usb:v04f2pb634:name:*I:
+# Realtek Semiconductor Corp. HP Wide Vision FHD Camera (IR function)
+camera:usb:v0bdap58e6:name:*I:
+ ID_INFRARED_CAMERA=1
+
 ###########################################################
 # Philips
 ###########################################################