LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-02-2022, 03:23 PM   #1
David99z1
LQ Newbie
 
Registered: Mar 2022
Posts: 4

Rep: Reputation: 0
webcam stops working


Hello,

My webcam stops working after working a brief moment . Before I start cheese

ls -l /dev/video0
crw-rw----+ 1 root video 81, 0 Mar 2 11:04 dev/video0

and after it runs around 20 seconds or so

ls -l /dev/video0
ls: cannot access '/dev/video0': No such file or directory.

But, '/dev/video0' reappears maybe 10 or so minutes after closing cheese.

Below is some system info

$ uname -r
5.13.0-30-generic

sudo inxi -bxx

System: Host: windose-G551JW Kernel: 5.13.0-30-generic x86_64 bits: 64 compiler: N/A Desktop: Gnome 3.36.9
wm: gnome-shell dm: GDM3 Distro: Ubuntu 20.04.4 LTS (Focal Fossa)
Machine: Type: Laptop System: ASUSTeK product: G551JW v: 1.0 serial: F2N0CJ02879806G
Mobo: ASUSTeK model: G551JW v: 1.0 serial: BSN12345678901234567 UEFI: American Megatrends v: G551JW.202


sudo dmesg | grep -i webcam

[ 7106.204716] usb 1-7: Product: USB2.0 UVC HD Webcam
[ 7106.211519] usb 1-7: Found UVC 1.00 device USB2.0 UVC HD Webcam (13d3:5188)
[ 7106.223985] input: USB2.0 UVC HD Webcam: USB2.0 UV as


Anyone have any ideas?

Thanks!
 
Old 03-02-2022, 07:02 PM   #2
David99z1
LQ Newbie
 
Registered: Mar 2022
Posts: 4

Original Poster
Rep: Reputation: 0
Also, I have tried rebooting many times along with running apt-get update a number of times as well.
 
Old 03-02-2022, 09:27 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,777
Blog Entries: 28

Rep: Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318
Is this built-in or external and how old is it?

If you can borrow a working webcam from someone, strictly for testing purposes, testing with it might help get closer to whether this is a hardware or a software problem.
 
Old 03-02-2022, 11:37 PM   #4
David99z1
LQ Newbie
 
Registered: Mar 2022
Posts: 4

Original Poster
Rep: Reputation: 0
It's a build-in webcam and it used to work but I don't know when it stopped working. It might have been broken when I recently installed Microsoft Teams which uses both the webcam and mic and I decided to uninstall it because Chrome seemed to work fine with no install needed for ms teams. So that uninstall could have broken the webcam but then again I haven't used to for about a year so I don't know for sure.

And I didn't mention it but it seems my microphone is also broken but I figured I would tackle one thing at a time.


I purchased this laptop used about 2 years ago and the mic and webcam were working as of about a year ago or so. I'm thinking it's not hardware but rather the ms teams uninstall but I don't how to confirm that. I had a spare webcam at one time so I'll test it if I can find it assuming I can find a linux driver for it.
 
Old 03-03-2022, 01:37 PM   #5
David99z1
LQ Newbie
 
Registered: Mar 2022
Posts: 4

Original Poster
Rep: Reputation: 0
More infor:

When I run dmesg -w

​​​​​I can see my webcam disconnect.


Note the messages before the disconnect are right after dev/video0 is back just before restarting cheese and the disconnect is cheese running briefly.

[159836.113851] usb 1-7: new high-speed USB device number 12 using xhci_hcd
[159836.362239] usb 1-7: New USB device found, idVendor=13d3, idProduct=5188, bcdDevice= 8.14
[159836.362245] usb 1-7: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[159836.362248] usb 1-7: Product: USB2.0 UVC HD Webcam
[159836.362249] usb 1-7: Manufacturer: Azurewave
[159836.362251] usb 1-7: SerialNumber: NULL
[159836.370163] usb 1-7: Found UVC 1.00 device USB2.0 UVC HD Webcam (13d3:5188)
[159836.382226] input: USB2.0 UVC HD Webcam: USB2.0 UV as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/input/input35
[160105.805122] usb 1-7: USB disconnect, device number 12
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Webcam problem: It starts working when plugged in, but stops when it's enabled phodopus Slackware 5 08-27-2010 04:01 AM
internet runs-stops, runs-stops........ arnuld Debian 4 05-29-2007 02:02 PM
"USB device stops working after a time" 'fix' stops cdrom device mount/readability adamben Slackware 6 04-18-2007 02:18 PM
VNC Works then stops! Reboot fixes but then it stops again! Leethal Linux - Software 1 02-26-2004 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration