当前位置: 代码迷 >> 综合 >> Green on T440P integrated webcam(by Joshua)
  详细解决方案

Green on T440P integrated webcam(by Joshua)

热度:97   发布时间:2023-12-13 09:08:21.0

版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明 (作者:张华 发表于:2018-02-01)

我发现我的t440p的集成摄像头成绿色像,

root@t440p:~# lsusb -d 04f2:b39a -vvv
root@t440p:~# lsusb -d 04f2:b39a
Bus 003 Device 006: ID 04f2:b39a Chicony Electronics Co., Ltdroot@t440p:~# v4l2-ctl -V -d /dev/video0
Format Video Capture:Width/Height      : 1280/720Pixel Format      : 'MJPG'Field             : NoneBytes per Line    : 0Size Image        : 1843200Colorspace        : sRGBTransfer Function : DefaultYCbCr Encoding    : DefaultQuantization      : DefaultFlags             : 

最后从这个网页找到了答案 - https://help.ubuntu.com/community/Webcam/Troubleshooting

安装guvcview工具,将其中的"White Balance Temperature, Auto"打勾即可。
这里写图片描述

蓝牙键盘

蓝牙键盘配对后过一会超时后要重连,但经常重连不上。采用下列方法trust蓝牙之下情况好多了。

sudo apt-get install bluez bluez-tools$ bluetoothctl
[NEW] Controller 00:15:00:CB:B0:FF t440p #2 [default]
[NEW] Device 90:7F:61:00:23:C3 ThinkPad Compact Bluetooth Keyboard with TrackPoint
[NEW] Controller 00:1A:7D:DA:71:13 t440p #1# First, turn bluetooth power on (if your device is off)
[bluetooth]# power on
Changing power on succeeded# Then, make sure your agent is registered:
[bluetooth]# agent on
Agent registered
[bluetooth]# default-agent 
Default agent request successful# Now you can scan for devices from the console
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:15:00:CB:B0:FF Discovering: yes
...
[NEW] Device 90:7F:61:00:23:C3 ThinkPad Compact Bluetooth Keyboard with TrackPoint
...# You can manually pair from here as well
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# pair 90:7F:61:00:23:C3[bluetooth]# trust 90:7F:61:00:23:C3
[CHG] Device 90:7F:61:00:23:C3 Trusted: yes
Changing 90:7F:61:00:23:C3 trust succeeded[bluetooth]# connect 90:7F:61:00:23:C3
[bluetooth]# quit

disable ingreated camera

#find integrated camera first, eg: it's /sys/bus/usb/devices/3-12/product
for device in $(ls /sys/bus/usb/devices/*/product); do echo $device; cat $device; done
#disable it
echo '3-12' |sudo tee /sys/bus/usb/drivers/usb/unbind
#enable it
echo '3-12' |sudo tee /sys/bus/usb/drivers/usb/bind
  相关解决方案