×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

The Imaging Source DBK 21AU04.AS on Raspberry Pi?

3 months 1 week ago
crw4096
Expert Boarder
Expert Boarder
Posts: 84
More
Topic Author
The Imaging Source DBK 21AU04.AS on Raspberry Pi? #40025
Hi all,

Trying to get this TIS camera to work on my Raspberry Pi. What's the trick?

In a test with just this camera, I invoke
indiserver  -v indi_v4l2_ccd
Then in Ekos, attempting to connect produces this error:
2019-06-09T13:55:14: [ERROR] Error: unable to open device. Cannot identify /dev/video0: 2, No such file or directory
This seems like an OS level error, and sure enough, there's no /dev/video0.
Output from lsusb:
Bus 001 Device 004: ID 199e:8101 The Imaging Source Europe GmbH DFx 21BU04 Camera
Is there some additional support required for this camera in the Linux kernel that's missing?
uname -s -r -m -p -o -v
Linux 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux
Sorry for asking here, but there doesn't seem to be any clear documentation on v4l2

Thanks for your help,

Charles Wright

Ubuntu 18.04 and Raspbian Jessie; INDI 1.7.4
Mounts: CEM-60 chiefly; iEQ45
Cameras: Atik 383L+, QHY5-II-M
Focuser: Moonlite

Please Log in or Create an account to join the conversation.

3 months 1 week ago
pch
Expert Boarder
Expert Boarder
Posts: 159
Karma: 2
More
The Imaging Source DBK 21AU04.AS on Raspberry Pi? #40039
Charles,
This camera use the uvcvideo driver but it is not recognized automatically.

The solution is to add a udev rule :
sudo vi /etc/udev/rules.d/80-dbk21-camera.rules

in the file add:
ATTRS{idVendor}=="199e", ATTRS{idProduct}=="8101",  RUN+="/sbin/modprobe -b uvcvideo"

ACTION=="add", SUBSYSTEM=="drivers", ENV{DEVPATH}=="/bus/usb/drivers/uvcvideo", \
  RUN+="/bin/sh -c 'echo 199e 8101 > /sys/bus/usb/drivers/uvcvideo/new_id'"

The following user(s) said Thank You knro

Please Log in or Create an account to join the conversation.

3 months 1 week ago
crw4096
Expert Boarder
Expert Boarder
Posts: 84
More
Topic Author
The Imaging Source DBK 21AU04.AS on Raspberry Pi? #40044
Thanks so much! Works like a charm.

Not sure who the maintainer of Imaging Source CCD page is, but I would recommend that this information be added there.

Charles

Ubuntu 18.04 and Raspbian Jessie; INDI 1.7.4
Mounts: CEM-60 chiefly; iEQ45
Cameras: Atik 383L+, QHY5-II-M
Focuser: Moonlite

Please Log in or Create an account to join the conversation.

3 months 1 week ago
knro
Administrator
Administrator
Posts: 7170
Karma: 51
The Imaging Source DBK 21AU04.AS on Raspberry Pi? #40047

pch wrote: Charles,
This camera use the uvcvideo driver but it is not recognized automatically.

The solution is to add a udev rule :
sudo vi /etc/udev/rules.d/80-dbk21-camera.rules

in the file add:
<code>
ATTRS{idVendor}=="199e", ATTRS{idProduct}=="8101", RUN+="/sbin/modprobe -b uvcvideo"

ACTION=="add", SUBSYSTEM=="drivers", ENV{DEVPATH}=="/bus/usb/drivers/uvcvideo", \
RUN+="/bin/sh -c 'echo 199e 8101 > /sys/bus/usb/drivers/uvcvideo/new_id'"
</code>


Can this modified so that it can work for all DMK cameras? i.e. just specify 199e and try to push whatever product id in the command?

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info

Please Log in or Create an account to join the conversation.

3 months 1 week ago
pch
Expert Boarder
Expert Boarder
Posts: 159
Karma: 2
More
The Imaging Source DBK 21AU04.AS on Raspberry Pi? #40050
TIS as a repo with udev for other camera, but it rely on a binary extension loader:
github.com/TheImagingSource/tiscamera/tree/master/data/udev

Not sure if this concern any camera used for astronomy.
They also have instruction for installation on Linux. Maybe the doc can link to this page:
github.com/TheImagingSource/tiscamera/wiki

Please Log in or Create an account to join the conversation.

Time to create page: 0.487 seconds