#StackBounty: #windows-10 #webcam Getting an audio notification when webcam is turned on

Bounty: 50

I have a Windows 10 Home laptop and, for privacy reasons, I would want to hear when my webcam is activated. I know that there is a led light which is turned on when the webcam activates + I have enabled the OSD message, but I would want an audible notification instead (as both the led and the OSD are silent).

Is there any way of achieving this? I would be open to even scripting something in VBScript, but I don’t know how to get hooked into the webcam activation event.


Get this bounty!!!

#StackBounty: #debian #streaming #webcam #v4l2 #mjpeg MJPEG stream from webcam not working

Bounty: 50

I have 5 HD Webcams (Creative Live Cam Sync 1080p) and want to stream the pictures with https://github.com/jacksonliam/mjpg-streamer on Debian Buster 4.19.0-11-amd64.

All of them support MJPG, as you can see in the picture.

Supported Formtats

The problem is that I can only start 3 mjpg-streamer due to a bandwidth limitation.

kernel.log says:

usb 3-2: Not enough bandwidth for new device state.
usb 3-2: Not enough bandwidth for altsetting 7

I’m starting the webcams with the command

/usr/local/bin/mjpg_streamer -i "/usr/local/lib/mjpg-streamer/input_uvc.so -d /dev/video0 -n -f 5 -r 1920x1080" -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8085 -w /usr/local/share/mjpg-streamer/www"

mjpeg-streamer output

usbtop output:

 Device ID 2 :                 141.73 kb/s     15259.90 kb/s

This means that one webcam is using 15Mb/s or roughly 2MB/s.
I am using USB 3.0, which supports 5Gbit/s.

I don’t really understand where the problem is or what is going wrong.
It seems that mjpeg-streamer is using the raw image data instead of the mjpeg stream.


Get this bounty!!!

#StackBounty: #18.04 #webcam webcam no longer detected after updating Ubuntu 18.04 LTS

Bounty: 100

For a while, my microphone wasn’t working, but my webcam was. Now I have the reverse problem. Evidently, trying solutions which worked for other users isn’t going to cut it, since I have already managed to make my Dell Precision M6800 worse by trying random solutions suggested on various threads (it no longer reliably wakes up from suspend, but reboots instead sometimes). Ubuntu 16.04 LTS was rock stable on my machine, but I have had numerous problems with 18.04 LTS since it was first released. My machine finally started working smoothly after about six months of updates and was stable for some time before things started to go wrong again about six months ago. Anyway, I am frustrated and could really use some more professional help to get things working again (if it is not some hardware failure, which I rather doubt). Since I am not that handy with Ubuntu, I would appreciate some context/explanation for whatever commands are suggested so that I may fare better with troubleshooting in the future. To my understanding, it should be a good start to provide the output of ls -ltrh /dev/video*:

ls: cannot access '/dev/video*': No such file or directory

the output of getfacl /dev/video:

getfacl: /dev/video: No such file or directory

the output of ls -ltrh /dev/video*:

ls: cannot access '/dev/video*': No such file or directory

the output of lsusb:

Bus 002 Device 004: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

the output of v4l2-ctl --list-devices:

Failed to open /dev/video0: No such file or directory

and, finally, the output of lspci:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d4)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d4)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d4)
00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d4)
00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d4)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM87 Express LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Saturn XT [FirePro M6100] (rev ff)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tobago HDMI Audio [Radeon R7 360 / R9 360 OEM] (rev ff)
03:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb)
11:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)

I have no idea what most of these commands are about in any detail, but I tried to look through all applicable threads for relevant diagnostic commands. Please let me know if I omitted anything potentially important.

EDIT: My microphone is detected by Ubuntu but actually isn’t working either.


Get this bounty!!!

#StackBounty: #drivers #18.04 #hp #webcam #camera HP Truevision HD built-in webcam not working in ubuntu 18.04

Bounty: 500

I have a HP Notebook-15-ac603tu and after shifting to ubuntu from windows, the camera stopped working.

I have run the following commands with output:

  • lsusb :
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 042: ID 0bda:57d6 Realtek Semiconductor Corp. 
Bus 001 Device 003: ID 0bda:b006 Realtek Semiconductor Corp. 
Bus 001 Device 002: ID 25a7:fa23  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  • v4l2-ctl –list-devices :
HP Truevision HD: HP Truevision (usb-0000:00:14.0-5):
    /dev/video0
  • ls -ltr /dev/video* :
crw-rw----+ 1 root video 81, 0 Mar 22 11:59 /dev/video0
  • cheese :
(cheese:6397): Gtk-WARNING **: 12:11:18.227: Theme parsing error: cheese.css:7:35: The style property GtkScrollbar:min-slider-length is deprecated and shouldn't be used anymore. It will be removed in a future version

** (cheese:6397): CRITICAL **: 12:11:18.789: cheese_preferences_dialog_on_source_change: assertion '_tmp2_ > ((guint) 0)' failed

(cheese:6397): cheese-CRITICAL **: 12:11:18.789: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed

(cheese:6397): GLib-CRITICAL **: 12:11:18.790: g_variant_new_string: assertion 'string != NULL' failed

(cheese:6397): GLib-CRITICAL **: 12:11:18.790: g_variant_ref_sink: assertion 'value != NULL' failed

(cheese:6397): GLib-GIO-CRITICAL **: 12:11:18.790: g_settings_schema_key_type_check: assertion 'value != NULL' failed

(cheese:6397): GLib-CRITICAL **: 12:11:18.790: g_variant_get_type_string: assertion 'value != NULL' failed

(cheese:6397): GLib-GIO-CRITICAL **: 12:11:18.790: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given

(cheese:6397): GLib-CRITICAL **: 12:11:18.791: g_variant_unref: assertion 'value != NULL' failed

** (cheese:6397): CRITICAL **: 12:11:18.791: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed

** (cheese:6397): CRITICAL **: 12:11:20.317: cheese_preferences_dialog_on_source_change: assertion '_tmp2_ > ((guint) 0)' failed

(cheese:6397): cheese-CRITICAL **: 12:11:20.318: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed

screenshot of cheese displaying black screen

I tried almost everything and I don’t know how to proceed further (basically am a noob user). Please help me out in working my webcam.


Get this bounty!!!

#StackBounty: #drivers #graphics #xorg #webcam Xorg repeatedly tried to add built-in webcam as keyboard

Bounty: 50

First time poster here. I’m having a problem with xorg and my laptop Dell Inspiron 15 7537 running Ubuntu 15.10. I’m not configuring the nvidia GT750M in my system so no nvidia stuff at all in my computer. I’m running the latest Intel graphic firmware as installed by Intel graphic installer app.

The first symptom is after using the computer for 2 or 3 days all the graphics animation start to lag very badly, including chrome and playing YouTube video. When i checked via ‘top‘ command, xorg idles with 30% cpu usage, and when browsing web with chrome, something as simple as scrolling the web page would make xorg jump to 100% cpu usage. I thought it was the built in intel driver that is causing this. So i tried updating it to the latest version but the issues remains.

Then i tried checking the xorg log located at /var/log/Xorg.0.log for some clue, and i found something weird, Xorg repeatedly tried to add an input device called “Integrated_Webcam_HD” as a keyboard

[359929.951] (II) config/udev: Adding input device     Integrated_Webcam_HD (/dev/input/event13)
[359929.951] (**) Integrated_Webcam_HD: Applying InputClass "evdev keyboard catchall"
[359929.951] (II) Using input driver 'evdev' for 'Integrated_Webcam_HD'
[359929.951] (**) Integrated_Webcam_HD: always reports core events
[359929.951] (**) evdev: Integrated_Webcam_HD: Device: "/dev/input/event13"
[359929.951] (--) evdev: Integrated_Webcam_HD: Vendor 0xc45 Product 0x6a00
[359929.951] (--) evdev: Integrated_Webcam_HD: Found keys
[359929.951] (II) evdev: Integrated_Webcam_HD: Configuring as keyboard
[359929.951] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input6735/event13"
[359929.951] (II) XINPUT: Adding extended input device "Integrated_Webcam_HD" (type: KEYBOARD, id 13)
[359929.951] (**) Option "xkb_rules" "evdev"
[359929.951] (**) Option "xkb_model" "pc105"
[359929.951] (**) Option "xkb_layout" "us"
[359929.951] (WW) Option "xkb_variant" requires a string value
[359929.951] (WW) Option "xkb_options" requires a string value
[359930.507] (II) config/udev: removing device Integrated_Webcam_HD
[359930.520] (II) evdev: Integrated_Webcam_HD: Close
[359930.520] (II) UnloadModule: "evdev"

my xorg.log file was completely filled with that log repeating itself over and over. I thought this was the cause, so i search the internet for way to disable the Webcam as i don’t use it. I found this guide here
https://superuser.com/questions/335687/disabling-an-dev-inputx-input-device-on-ubuntu-linux

and I did all the steps by adding a rule to ignore the webcam, restart my laptop and now the log looks like this:

[   969.406] (II) config/udev: Adding input device Integrated_Webcam_HD (/dev/input/event14)
[   969.406] (**) Integrated_Webcam_HD: Ignoring device from InputClass "disable broken device"
[   970.577] (II) config/udev: Adding input device Integrated_Webcam_HD (/dev/input/event14)
[   970.577] (**) Integrated_Webcam_HD: Ignoring device from InputClass "disable broken device"
[   971.729] (II) config/udev: Adding input device Integrated_Webcam_HD (/dev/input/event14)
[   971.729] (**) Integrated_Webcam_HD: Ignoring device from InputClass "disable broken device"
[   972.901] (II) config/udev: Adding input device Integrated_Webcam_HD (/dev/input/event14)

also repeating itself over and over again. I believe this will also cause some problems down in the line.
Do anybody have solution for this ?


Get this bounty!!!