Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are all ImagingSource cameras supported? #5

Closed
cmarmo opened this issue Apr 3, 2014 · 6 comments
Closed

Are all ImagingSource cameras supported? #5

cmarmo opened this issue Apr 3, 2014 · 6 comments
Assignees

Comments

@cmarmo
Copy link

cmarmo commented Apr 3, 2014

I'm trying to install a DMK31AU03.AS under Fedora20 (kernel 3.13.6 64bit).
When I plugged it in the device is detected (the following lines are from dmesg):

[ 4.243080] usb 1-5.4.4: new high-speed USB device number 5 using ehci-pci
[ 4.329954] usb 1-5.4.4: New USB device found, idVendor=199e, idProduct=8101
[ 4.329960] usb 1-5.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.329963] usb 1-5.4.4: Product: DMx 31AU03.AS
[ 4.329966] usb 1-5.4.4: Manufacturer: The Imaging Source Europe GmbH
[ 4.329969] usb 1-5.4.4: SerialNumber: 31310375

I have successfully compiled and in installed code from tiscamera/src/ and followed instructions from the wiki (https://github.com/TheImagingSource/tiscamera/wiki/Getting-Started-with-USB-Cameras)
But the command
$ sudo ./euvccam-fw -p
failed with the error message
Device not found.
(/dev/video0 doesn't exist).

Are all USB2 ImagingSource cameras supported or we need a specific firmware for DMK31?

Thanks for your help (and for your code!)

@TIS-Edgar
Copy link
Member

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.

@TIS-Edgar TIS-Edgar self-assigned this Apr 3, 2014
@cmarmo
Copy link
Author

cmarmo commented Apr 3, 2014

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

@TIS-Edgar
Copy link
Member

Is the uvc driver loaded?

lsmod | grep uvcvideo

If it is not try a
sudo modprobe uvcvideo

@cmarmo
Copy link
Author

cmarmo commented Apr 3, 2014

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...

@TIS-Edgar
Copy link
Member

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.

@cmarmo
Copy link
Author

cmarmo commented Apr 3, 2014

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!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants