Tôi đang sử dụng Ubuntu 14.04 x64 (Lenovo G510, intel i5) nhưng phô mai không hoạt động, cũng không phải skype.
Điều đầu tiên tôi làm là
sudo apt-get install build-essential linux-headers-`uname -r`
Sau đó tôi đã cố gắng cài đặt phô mai sudo apt-get install cheese
nhưng tôi nghĩ nó đã ở đó vì đây là đầu ra.
Reading package lists... Done
Building dependency tree
Reading state information... Done
cheese is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 322 not upgraded.
eric@eric:~$ sudo lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
eric@eric:~$ sudo modprobe uvcvideo
không có gì ~ không có đầu ra
giống với sudo rmmod uvcvideo
eric@eric:~$ dmesg | grep uvcvideo
[91469.832413] usbcore: registered new interface driver uvcvideo
[91839.384427] usbcore: deregistering interface driver uvcvideo
[92126.932716] usbcore: registered new interface driver uvcvideo
[92166.125643] usbcore: deregistering interface driver uvcvideo
Và tôi nhận được điều này khi tôi chạy phô mai:
eric@eric:~$ cheese
** Message: cheese-application.vala:291: Error during camera setup: No device found
(cheese:31540): cheese-CRITICAL **: cheese_camera_device_get_device_node: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed
(cheese:31540): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed
(cheese:31540): GLib-GIO-CRITICAL **: g_settings_schema_key_type_check: assertion 'value != NULL' failed
(cheese:31540): GLib-CRITICAL **: g_variant_get_type_string: assertion 'value != NULL' failed
(cheese:31540): GLib-GIO-CRITICAL **: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given
** (cheese:31540): CRITICAL **: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed
BIÊN TẬP:
eric@eric:~$ lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
|__ Port 8: Dev 2, If 0, Class=Vendor Specific Class, Driver=rts5139, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
useradd -G video username
và kiểm tra lại nếu nó hoạt động ...
lsusb -t
?