Coder Social home page Coder Social logo

Comments (6)

TIS-Edgar avatar TIS-Edgar commented on May 27, 2024

Hi,

The camera you have should already have a uvc compliant firmware.
You should be able to add the camera with a command like:
echo "199e 8101" | sudo tee /sys/bus/usb/drivers/uvcvideo/new_id

This will tell the uvc driver that it is responsible for the device and should be all you need
to get /dev/video0.

I will write a udev rule so that this step will take automatically.
I will also modify the instructions to include that information. Sorry for the confusion.

Please let me know if this fixes the problem.

from tiscamera.

cmarmo avatar cmarmo commented on May 27, 2024

Hi,
thanks for your answer!
It looks like I haven't the uvcvideo directory in /sys/bus/usb/drivers/ ...
Maybe I skipped some installation?

from tiscamera.

TIS-Edgar avatar TIS-Edgar commented on May 27, 2024

Is the uvc driver loaded?

lsmod | grep uvcvideo

If it is not try a
sudo modprobe uvcvideo

from tiscamera.

cmarmo avatar cmarmo commented on May 27, 2024

uvc driver is loaded now... :)
/sys/bus/usb/drivers/uvcvideo/new_id contains 199e 8101
The command ./euvccam-fw -p still answer Device not found.

Let me understand how to enable uvc driver at boot and I will try a reboot...

from tiscamera.

TIS-Edgar avatar TIS-Edgar commented on May 27, 2024

If in doubt always reconnect your camera.

I just pushed a file that should automatically add your camera to uvc.

You can find it here:
https://github.com/TheImagingSource/tiscamera/tree/master/data/udev

Simply copy that file to /etc/udev/rules.d/
After that a
udevadm control --reload-rules
should reload all rules so that you can reattach your camera at any time.
If that does not do it a reboot will always cause a new rule evaluation.

A firmware update is not necessary for your camera model.
As long as /dev/video0 appears and you are able to interact with your camera
through tools like guvcview or v4l2-ctl everything is fine.

from tiscamera.

cmarmo avatar cmarmo commented on May 27, 2024

After copying your file I have rebooted the machine (the camera was unplugged), then plugged in the camera.
The command ./euvccam-fw -p still answer Device not found.
But guvcview can capture (before it couldn't).

It works! Thanks a lot!!

from tiscamera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.