usb – Ubuntu 19.10 / 20.04 webcam crashing

This is a follow up of this question: Merlin U740 USB 2.0 camera not working

Basically I have Merlin U740 USB 2.0 camera. I managed to make it work on Ubuntu 18.04 and it was working well until I upgraded to 19.10. A subsequent upgrade to 20.04 didn’t make any difference and now the camera doesn’t work.

It’s recognised by the system and starts in Zoom, Slack and Cheese only to fail a few seconds later, causing Zoom to freeze / become unresponsive for a moment (up to 30s, other apps seem to handle it better). I tried all the USB ports available on my PC and it made no difference.

I ran the usual commands and here are the results:

lsmod | grep video

uvcvideo               98304  0
videobuf2_vmalloc      20480  1 uvcvideo
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_common       49152  2 videobuf2_v4l2,uvcvideo
videodev              225280  3 videobuf2_v4l2,uvcvideo,videobuf2_common
mc                     53248  5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
lsusb

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 010: ID 1410:1410 Novatel Wireless Merlin U740 (non-Vodafone)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1ea7:0064 SHARKOON Technologies GmbH 2.4G Mouse
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg -H

(May26 08:07) usb 3-4: USB disconnect, device number 2
(  +0.001971) uvcvideo: Failed to resubmit video URB (-19).
(  +0.003994) uvcvideo: Failed to resubmit video URB (-19).
(  +0.004001) uvcvideo: Failed to resubmit video URB (-19).
(  +0.003998) uvcvideo: Failed to resubmit video URB (-19).
(  +0.004001) uvcvideo: Failed to resubmit video URB (-19).
(  +0.334387) usb 3-4: new high-speed USB device number 9 using xhci_hcd
(  +0.113622) usb 3-4: New USB device found, idVendor=1410, idProduct=1410, bcdDevice= 0.00
(  +0.000003) usb 3-4: New USB device strings: Mfr=2, Product=1, SerialNumber=0
(  +0.000001) usb 3-4: Product: USB 2.0 Camera
(  +0.000001) usb 3-4: Manufacturer: Sonix Technology Co., Ltd.
(  +0.010509) uvcvideo: Found UVC 1.00 device USB 2.0 Camera (1410:1410)
(  +0.025696) uvcvideo 3-4:1.0: Entity type for entity Extension 4 was not initialized!
(  +0.000002) uvcvideo 3-4:1.0: Entity type for entity Processing 3 was not initialized!
(  +0.000001) uvcvideo 3-4:1.0: Entity type for entity Camera 1 was not initialized!
(  +0.000059) input: USB 2.0 Camera: SD webcam 5160 as /devices/pci0000:00/0000:00:08.1/0000:09:00.3/usb3/3-4/3-4:1.0/input/input31
(  +0.013231) usb 3-4: 3:1: cannot get freq at ep 0x84
(  +0.022373) usb 3-4: USB disconnect, device number 9
(  +0.342659) usb 3-4: new high-speed USB device number 10 using xhci_hcd
(  +0.118345) usb 3-4: New USB device found, idVendor=1410, idProduct=1410, bcdDevice= 0.00
(  +0.000002) usb 3-4: New USB device strings: Mfr=2, Product=1, SerialNumber=0
(  +0.000001) usb 3-4: Product: USB 2.0 Camera
(  +0.000002) usb 3-4: Manufacturer: Sonix Technology Co., Ltd.
(  +0.009629) uvcvideo: Found UVC 1.00 device USB 2.0 Camera (1410:1410)
(  +0.025813) uvcvideo 3-4:1.0: Entity type for entity Extension 4 was not initialized!
(  +0.000002) uvcvideo 3-4:1.0: Entity type for entity Processing 3 was not initialized!
(  +0.000001) uvcvideo 3-4:1.0: Entity type for entity Camera 1 was not initialized!
(  +0.000058) input: USB 2.0 Camera: SD webcam 5160 as /devices/pci0000:00/0000:00:08.1/0000:09:00.3/usb3/3-4/3-4:1.0/input/input32
(  +0.013238) usb 3-4: 3:1: cannot get freq at ep 0x84
(  +0.203878) usb 3-4: 3:1: cannot get freq at ep 0x84
(  +0.012130) usb 3-4: 3:1: cannot get freq at ep 0x84

The camera doesn’t seem damaged in any way, but maybe there’s something wrong with the hardware itself?

Cannot upgrade ubuntu from 19.10 to 20.04

I cannot upgrade ubuntu 19.10 to 20.04 LTS.When I try to upgrade via the terminal,this is the output:

    salil@salil-latitude-e6430:~$ sudo do-release-upgrade
(sudo) password for salil: 
Checking for a new Ubuntu release
Get:1 Upgrade tool signature (1,554 B)                                         
Get:2 Upgrade tool (1,342 kB)                                                  
Fetched 1,343 kB in 0s (0 B/s)                                                 
authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg' 
extracting 'focal.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Hit http://in.archive.ubuntu.com/ubuntu eoan InRelease                         
Hit http://in.archive.ubuntu.com/ubuntu eoan-updates InRelease                 
Hit http://in.archive.ubuntu.com/ubuntu eoan-backports InRelease               
Hit http://security.ubuntu.com/ubuntu eoan-security InRelease                  
Fetched 0 B in 0s (0 B/s)                                                      
Reading package lists... Done    
Building dependency tree          
Reading state information... Done

Restoring original system state

Aborting
Reading package lists... Done    
Building dependency tree          
Reading state information... Done
salil@salil-latitude-e6430:~$ 

Is there a solution to this problem?

SD card – Import corrupt photos into Shotwell in MSI Modern 14 (Ubuntu 19.10, 20.04)

So here goes the problem: while using SanDisk micro SD (64gb exFat formatted), every import in Shotwell is fine. But, when I switch to the 32gb SanDisk SD card, all the photos I try to import are corrupted (parts of the photos are changed, gray / green areas, etc.).
What I tried to do is see if other computers would do the same, and it turns out that only MSI does it with SD card: HP Pavilion on Ubuntu 20.04 works great, MacBook Pro 2014 reads all the photos from SD card well, HP ProBook on Windows 10 Pro reads it well too.
I tried to format it several times, with different settings: MSI still doesn't do a clear import. Even after I tried to upgrade to 20.04 (which is another story due to iwlwifi issue), the issue is the same.
If someone had the same problem, what was the way to fix it?

How to run a service at startup in Linux Ubuntu 19.10 for one user only and stop when you log out

I have installed a new service on my Ubuntu personal laptop and want this:

The wtcd service runs and starts only when a specific user logs in and stops when they log out.

All users are mine and the second user is made to work remotely during corona virus.

How can I do this?

I have googled but found only how to run it but nobody wanted to stop that before. This service checks all computers if my other user is logged in and I don't want this.

Thanks in advance

19.10 – How to animate when changing virtual desktops again?

I have updated kubuntu 19.04 to 19.10.

During 19.04 the animation desktop with a cube when changing the effect worked fine. The time to change the animation was set to 2000 ms.

But after updating to 19.10, it doesn't work at all. The change is completed immediately each time.

I checked & # 39; KDE & # 39; system settings.

& # 39; KDE System Settings & # 39;> & # 39; Virtual Desktops & # 39;> & # 39; Options & # 39;> & # 39; Animate desktop switching with a cube & # 39;
The check box is marked and & # 39; Desktop Cube Animation & # 39; is selected.

I installed the compiz package but it doesn't start on the Plazma desktop.

What should I do to animate when changing virtual desktops?

Getting this error when I wake up after being on Ubuntu 19.10

Ubuntu 19.10 crashes after I get up from my laptop. I don't know why this is happening. I am new to Ubuntu and this is my first experience. These lines of code go on and on until I manually turn off my laptop with the power button.

install virtualbox 6.1 on 19.10 with secure boot

I installed virtualbox 6.1 on a ubuntu 19.10 mint with secure boo enabled. Even the kernel driver was installed with the MOK utility, asking me for a unique password. However, I was unable to enroll the drivers on reboot. After that, the drivers obviously were not loaded.

I tried to reinstall the virtual box
apt remove --purge virtualbox-6.1 and so apt install virtualbox-6.1 (and other variants) but the MOK driver signature never reappeared. too vboxsetup you are not signing the drivers and request to do it manually (this has already been answered).

How can I re-enroll the driver signature for virtualbox with the new virtualbox / ubuntu solution (which already worked)?

Which nVidia driver for RTX 2080 in Ubuntu 19.10 to solve system freeze and pixel issues?

I have been working to fix Ubuntu freezing problem. Suddenly the system freezes and I had to restart it. I have followed a solution posted on here. Accordingly, I selected the Nvidia driver package as follows.

enter the image description here

The real option was the 3rd. I selected the first one and since then the system has never been frozen until now. But I am seeing some pixels on the screen that are out of place. And this happens quite often, but there was no freezing at all.

The following is the image of the pixels out of order on the home page.

enter the image description here

Could someone help me fix the pixel problem? Should I install any other display drivers?

display – Dual monitor error in Ubuntu 19.10 live USB

I am currently having a weird problem with a live USB Ubuntu 19.10. I currently have a dual monitor setup, my secondary monitor is to the left of the main one. By default, Ubuntu places the secondary monitor on the right, so I moved it to the left. However, when I do this, everything that is displayed on my main monitor is displayed on the left, but the clickable areas are still on the main one.

I would like to know if there is a way to fix this, and if this problem persists in a real full Ubuntu install.

repository – update from 19.04 to 19.10

when i upgraded from 19.04 to 19.10 my laptop now loads slowly and now shows an error that it has some network problem and updates manually and the following remarks ———– W: GPG error : http: // security .ubuntu.com / ubuntu eoan-security InRelease: The following signatures could not be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32 NO_PUBKEY 871920D1991BC93C, E: The repository & # 39; http: // security .ubuntu.com / ubuntu eoan-security InRelease & # 39; is not signed., W: The update from said repository cannot be done safely and is therefore disabled by default., W: see the apt-secure (8) man page for repository creation and user configuration details., W: GPG error: http://archive.ubuntu.com/ubuntu eoan InRelease: The following signatures could not be verified because the public key is not