Skip to content

Instantly share code, notes, and snippets.

@peterwallhead
Created May 28, 2022 09:20
Show Gist options
  • Save peterwallhead/c3dc08c1097eec161520da7c6e06077d to your computer and use it in GitHub Desktop.
Save peterwallhead/c3dc08c1097eec161520da7c6e06077d to your computer and use it in GitHub Desktop.

This Hikvision webcam was a pain to get running on Linux Ubuntu.

After plugging it in all my photo taking apps refused to load or crashed very quickly after opening.

I used this to help solve the issue.

After plugging in the webcam, run the following in Terminal

sudo rmmod uvcvideo
sudo modprobe uvcvideo quirks=0x100 trace=1

You may need to run these 2 commands a few times to make them stick, and likely every time before you want to use the webcam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment