Yut
V2EX  ›  Linux

Linux 下使用非原生支持的 IR 摄像头模块

By Yut at 2021 年 1 月 1 日 · 3514 次点击

github.com/EmixamPP/linux-enable-ir-emitter
我的小新 pro13 吃上了,好香。sudo 不用输密码的感觉也太棒了
以后只要硬件支持 Windows hello 就支持 howdy,它干脆改名叫 Linux Hei!好了

5 条回复  •  2021-04-18 20:17:02 +08:00
sbilly
   1
sbilly  
   2021 年 1 月 3 日
生物认证那个么?有什么限制吗
Yut
   2
Yut  
OP
   2021 年 1 月 4 日 via Android
@sbilly 没有,因为走的就是 Pam 嘛,理论上要你输密码的地方就能用这个替代,当然安全性肯定不如密码的
techtony
   3
techtony  
   2021 年 4 月 18 日
同款笔记本。。把抓包的参数填进去,编译完运行 enable-ir-emitter,报错了 The device does not support the given control or the specified extension unit could not be found 。。。设备是 /dev/video2,unit=0x08,selector=0x14,size=10 。data 是十组。。不知道问题在哪
techtony
   4
techtony  
   2021 年 4 月 18 日
原来是要开启红外发射的指令。。unit=0x0a,selector=0x6,size=9 。data 是{0x01, 0x03, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},开了看 ffplay,红灯会闪烁,黑白画面也同步闪烁。红灯亮的时候,红外摄像头就能看到人
Yut
   5
Yut  
OP
   2021 年 4 月 18 日 via Android
@gaozhaotong 对那 IR 有两种,一种闪一种不闪理论上闪的效果好点
Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
© 2026 V2EX · 26ms · 3.9.8.5