Internal laptop camera disconnecting every 30 seconds

Bug #1955714 reported by João Pimentel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-hwe-5.4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Since some months ago, the web internal camera of the laptop simply disconnects after 25-30 seconds and then reconnects again. In some video software the camera reconnects and I have to bear with a blink every 30 seconds and in other platforms such as in zoom the video simply freezes.

## Features

- A Toshiba Satellite laptop
- Ubuntu 18.04 LTS

## Some CLI outputs

```
$ v4l2-ctl --list-devices
TOSHIBA Web Camera - HD: TOSHIB (usb-0000:00:1a.0-1.3):
 /dev/video0
 /dev/video2
```

```
$ v4l2-ctl --device=/dev/video0 --all
Driver Info (not using libv4l2):
 Driver name : uvcvideo
 Card type : TOSHIBA Web Camera - HD: TOSHIB
 Bus info : usb-0000:00:1a.0-1.3
 Driver version: 5.4.151
 Capabilities : 0x84A00001
  Video Capture
  Metadata Capture
  Streaming
  Extended Pix Format
  Device Capabilities
 Device Caps : 0x04200001
  Video Capture
  Streaming
  Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
 Width/Height : 1280/720
 Pixel Format : 'MJPG'
 Field : None
 Bytes per Line : 0
 Size Image : 1843200
 Colorspace : sRGB
 Transfer Function : Default (maps to sRGB)
 YCbCr/HSV Encoding: Default (maps to ITU-R 601)
 Quantization : Default (maps to Full Range)
 Flags :
Crop Capability Video Capture:
 Bounds : Left 0, Top 0, Width 1280, Height 720
 Default : Left 0, Top 0, Width 1280, Height 720
 Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 1280, Height 720
Selection: crop_bounds, Left 0, Top 0, Width 1280, Height 720
Streaming Parameters Video Capture:
 Capabilities : timeperframe
 Frames per second: 30.000 (30/1)
 Read buffers : 0
                     brightness 0x00980900 (int) : min=0 max=100 step=1 default=50 value=50
                       contrast 0x00980901 (int) : min=0 max=100 step=1 default=32 value=32
                     saturation 0x00980902 (int) : min=0 max=100 step=1 default=32 value=32
                            hue 0x00980903 (int) : min=-4 max=4 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1
                          gamma 0x00980910 (int) : min=1 max=16 step=1 default=8 value=8
           power_line_frequency 0x00980918 (menu) : min=0 max=2 default=1 value=1
      white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=5000 value=5000 flags=inactive
                      sharpness 0x0098091b (int) : min=0 max=20 step=1 default=4 value=4
         backlight_compensation 0x0098091c (int) : min=0 max=1 step=1 default=0 value=0
                  exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3
         exposure_auto_priority 0x009a0903 (bool) : default=0 value=1

```

```
$ v4l2-ctl --device=/dev/video2 --all
Driver Info (not using libv4l2):
 Driver name : uvcvideo
 Card type : TOSHIBA Web Camera - HD: TOSHIB
 Bus info : usb-0000:00:1a.0-1.3
 Driver version: 5.4.151
 Capabilities : 0x84A00001
  Video Capture
  Metadata Capture
  Streaming
  Extended Pix Format
  Device Capabilities
 Device Caps : 0x04A00000
  Metadata Capture
  Streaming
  Extended Pix Format
Priority: 2

```

```
$ dmesg | grep -i "Camera" -A 20
[ 2.144572] usb 1-1.3: Product: TOSHIBA Web Camera - HD
[ 2.144573] usb 1-1.3: Manufacturer: Namuga
[ 2.336203] fbcon: Taking over console
[ 2.336274] Console: switching to colour frame buffer device 240x67
[ 3.070644] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[ 3.230458] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 3.247081] systemd[1]: Detected architecture x86-64.
[ 3.264270] systemd[1]: Set hostname to <toshiba>.
[ 3.350188] systemd[1]: /etc/systemd/system/rc-local.service:11: Support for option SysVStartPriority= has been removed and it is ignored
[ 3.371968] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 3.372008] systemd[1]: Reached target User and Group Name Lookups.
[ 3.372172] systemd[1]: Created slice System Slice.
[ 3.372248] systemd[1]: Listening on Journal Socket (/dev/log).
[ 3.372344] systemd[1]: Listening on Journal Audit Socket.
[ 3.372392] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 3.386649] lp: driver loaded but no devices found
[ 3.390059] ppdev: user-space parallel port driver
[ 3.390683] EXT4-fs (sdb2): re-mounted. Opts: errors=remount-ro
[ 3.406404] RPC: Registered named UNIX socket transport module.
[ 3.406406] RPC: Registered udp transport module.
[ 3.406406] RPC: Registered tcp transport module.
--
[ 3.815828] uvcvideo: Found UVC 1.00 device TOSHIBA Web Camera - HD (04f2:b448)
[ 3.829265] iwlwifi 0000:08:00.0: base HW address: 34:de:1a:7f:93:1a
[ 3.843214] input: TOSHIBA Web Camera - HD: TOSHIB as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input17
[ 3.845184] usbcore: registered new interface driver uvcvideo
[ 3.845185] USB Video Class driver (1.1.1)
[ 3.867855] checking generic (b0000000 7e9000) vs hw (b0000000 10000000)
[ 3.867857] fb0: switching to inteldrmfb from EFI VGA
[ 3.868143] Console: switching to colour dummy device 80x25
[ 3.868199] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 3.871986] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 3.871988] [drm] Driver supports precise vblank timestamp query.
[ 3.873258] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 3.896028] [drm] Initialized i915 1.6.0 20190822 for 0000:00:02.0 on minor 0
[ 3.901421] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[ 3.903459] ACPI: Video Device [PEGP] (multi-head: yes rom: no post: no)
[ 3.903471] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GFX0.DD02._BCL], AE_NOT_FOUND (20190816/psargs-330)
[ 3.903483] No Local Variables are initialized for Method [_BCL]
[ 3.903484] No Arguments are initialized for method [_BCL]
[ 3.903487] ACPI Error: Aborting method \_SB.PCI0.PEG0.PEGP.DD02._BCL due to previous error (AE_NOT_FOUND) (20190816/psparse-531)
[ 3.903812] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:47/LNXVIDEO:00/input/input18
[ 3.907729] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 3.908884] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input19
[ 3.909206] intel_rapl_common: Found RAPL domain package
--
[ 7818.092871] usb 1-1.3: Product: TOSHIBA Web Camera - HD
[ 7818.092872] usb 1-1.3: Manufacturer: Namuga
[ 7818.168001] uvcvideo: Found UVC 1.00 device TOSHIBA Web Camera - HD (04f2:b448)
[ 7818.189399] input: TOSHIBA Web Camera - HD: TOSHIB as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input27
[ 7819.483478] usb 1-1.3: USB disconnect, device number 5
[ 7819.484223] uvcvideo: Failed to resubmit video URB (-19).
[ 7819.488228] uvcvideo: Failed to resubmit video URB (-19).
[ 7819.492102] uvcvideo: Failed to resubmit video URB (-19).
[ 7819.496102] uvcvideo: Failed to resubmit video URB (-19).
[ 7819.500237] uvcvideo: Failed to resubmit video URB (-19).
[ 7819.774308] usb 1-1.3: new high-speed USB device number 6 using ehci-pci
[ 7819.866317] usb 1-1.3: device descriptor read/64, error -71
[ 7820.140750] usb 1-1.3: New USB device found, idVendor=04f2, idProduct=b448, bcdDevice=49.02
[ 7820.140752] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7820.140753] usb 1-1.3: Product: TOSHIBA Web Camera - HD
[ 7820.140754] usb 1-1.3: Manufacturer: Namuga
[ 7820.215886] uvcvideo: Found UVC 1.00 device TOSHIBA Web Camera - HD (04f2:b448)
[ 7820.237043] input: TOSHIBA Web Camera - HD: TOSHIB as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input28
[ 7831.515492] usb 1-1.3: USB disconnect, device number 6
[ 7831.517125] uvcvideo: Failed to resubmit video URB (-19).
[ 7831.521116] uvcvideo: Failed to resubmit video URB (-19).
[ 7831.525260] uvcvideo: Failed to resubmit video URB (-19).
[ 7831.529127] uvcvideo: Failed to resubmit video URB (-19).
[ 7831.533240] uvcvideo: Failed to resubmit video URB (-19).
[ 7831.814101] usb 1-1.3: new high-speed USB device number 7 using ehci-pci
[ 7832.234886] usb 1-1.3: New USB device found, idVendor=04f2, idProduct=b448, bcdDevice=49.02
[ 7832.234889] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7832.234890] usb 1-1.3: Product: TOSHIBA Web Camera - HD
[ 7832.234891] usb 1-1.3: Manufacturer: Namuga
[ 7833.544898] uvcvideo: Found UVC 1.00 device TOSHIBA Web Camera - HD (04f2:b448)
[ 7833.566045] input: TOSHIBA Web Camera - HD: TOSHIB as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input29
[ 7875.291551] usb 1-1.3: USB disconnect, device number 7
[ 7875.294308] uvcvideo: Failed to resubmit video URB (-19).
[ 7875.298300] uvcvideo: Failed to resubmit video URB (-19).
[ 7875.302312] uvcvideo: Failed to resubmit video URB (-19).
[ 7875.306302] uvcvideo: Failed to resubmit video URB (-19).
[ 7875.310309] uvcvideo: Failed to resubmit video URB (-19).
[ 7875.581297] usb 1-1.3: new high-speed USB device number 8 using ehci-pci
[ 7875.673277] usb 1-1.3: device descriptor read/64, error -71

etc.
etc.

[12334.049490] usb 1-1.3: USB disconnect, device number 66
[12334.049982] uvcvideo: Failed to resubmit video URB (-19).
[12334.053985] uvcvideo: Failed to resubmit video URB (-19).
[12334.057983] uvcvideo: Failed to resubmit video URB (-19).
[12334.061983] uvcvideo: Failed to resubmit video URB (-19).
[12334.065985] uvcvideo: Failed to resubmit video URB (-19).
[12334.326779] usb 1-1.3: new high-speed USB device number 67 using ehci-pci
[12334.912498] usb 1-1.3: New USB device found, idVendor=04f2, idProduct=b448, bcdDevice=49.02
[12334.912501] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[12334.912503] usb 1-1.3: Product: TOSHIBA Web Camera - HD
[12334.912504] usb 1-1.3: Manufacturer: Namuga
[12336.222636] uvcvideo: Found UVC 1.00 device TOSHIBA Web Camera - HD (04f2:b448)
[12336.244008] input: TOSHIBA Web Camera - HD: TOSHIB as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input86
[12336.336125] uvcvideo: Failed to set UVC probe control : -71 (exp. 26).
[12336.353495] usb 1-1.3: USB disconnect, device number 67
[12336.618732] usb 1-1.3: new high-speed USB device number 68 using ehci-pci
[12336.784996] usb 1-1.3: New USB device found, idVendor=04f2, idProduct=b448, bcdDevice=49.02
[12336.784999] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[12336.785001] usb 1-1.3: Product: TOSHIBA Web Camera - HD
[12336.785002] usb 1-1.3: Manufacturer: Namuga
[12336.860143] uvcvideo: Found UVC 1.00 device TOSHIBA Web Camera - HD (04f2:b448)
[12336.881363] input: TOSHIBA Web Camera - HD: TOSHIB as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input87

```

## Problem

Check the problem in loco:
https://i.ibb.co/y5Jt6T3/camera-connects-disconnects.gif

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-5.4.0-91-generic 5.4.0-91.102~18.04.1
ProcVersionSignature: Ubuntu 5.4.0-91.102~18.04.1-generic 5.4.151
Uname: Linux 5.4.0-91-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.27
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Dec 24 15:14:39 2021
InstallationDate: Installed on 2020-03-23 (640 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
SourcePackage: linux-signed-hwe-5.4
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
João Pimentel (joao-pimentel-ferreira) wrote :
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.