
부팅 가능한 USB 스틱을 사용하여 전체 노트북을 포맷했습니다.(노트북이 느려지면 이렇게 합니다). 그 전에는 웹캠이 완벽하게 작동했는데 포맷 후에는 작동이 멈췄기 때문에 하드웨어 문제는 아닌 것으로 생각하고 싶습니다.이 문제를 디버깅하는 방법에 대한 단서가 없습니다. 어떤 도움이라도 큰 의미가 있을 것입니다!
치즈를 열 때 빈 화면이 나타나고 모든 버튼이 어떻게 비활성화되는지 확인하세요. 내 웹캠 옆에 손전등이 켜져 있습니다.
출력ls /dev/video*
/dev/video0 /dev/video1
출력lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
출력lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0cf3:e009 Qualcomm Atheros Communications
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 1bcf:0b09 Sunplus Innovation Technology Inc. SPCA2085 PC Camera
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
실행 중 출력 gucview
. 이번에도 웹캠 옆에 손전등이 켜져 있습니다.
V4L2_CORE: Unable to find parent usb device.GUVCVIEW: version 2.0.6
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable
출력cat /etc/modprobe.d/blacklist.conf
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.
# evbug is a debug tool that should be loaded explicitly
blacklist evbug
# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd
# replaced by e100
blacklist eepro100
# replaced by tulip
blacklist de4x5
# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394
# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m
# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2
# replaced by p54pci
blacklist prism54
# replaced by b43 and ssb.
blacklist bcm43xx
# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps
# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi
# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp
# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr
# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac
답변1
많은 장치 액세스 문제는 그룹 멤버십 변경을 통해 해결될 수 있습니다.
하다ls -l /dev/video*
특히, ls -l
그룹 권한(두 번째 " rwx
" 삼중항)이 " rw
"(예: " -rw-rw----
")인 것으로 표시되는 경우 장치를 소유한 그룹에 자신을 추가하면 rw
액세스 권한이 부여됩니다.
방법은 다음과 같습니다.
device="/dev/video0"
sudo adduser $USER $(stat -c "%G" $device)
rw
이를 통해 장치를 사용할 수 있는 그룹의 구성원이 될 수 있습니다 .하지만 한 단계가 더 남았습니다.
모든 프로세스를 새 그룹의 구성원으로 만들려면 로그아웃하고 로그인하세요. 그룹 멤버십은 시간에 따라 설정됩니다 login
.
답변2
GRUB에서 Quiet Splash 후에 nomodeset를 추가하면 지금은 문제가 해결됩니다(회고적 답변).
파일을 저장하고 update-grub을 사용하여 변경 사항을 영구적으로 적용하십시오.
또한 부팅 시 필요한 드라이버가 로드되지 않을 수 있으므로 보안 부팅을 끄십시오.
여기에는보안 부팅을 비활성화하는 데 도움이 되는 링크
답변3
우분투-20.04에서 치즈와 동일한 문제에 직면했습니다. 카메라 깜박임이 켜져 있고 치즈에 완전한 검은 화면이 있습니다. 아래에서 시도했습니다: 가상 머신 설정 -> USB 컨트롤러 -> USB 3.1/1.1 연결에서 USB 호환성 변경. 둘 다 나를 위해 일했습니다. 처음에는 기본적으로 USB 2.0으로 설정되어 있었습니다.