Closed kikelkik closed 2 years ago
Finally, after compiling the sur40 kernel driver on my own (and therefore installing all needed dependencies - see modinfo
) I got reacTIVision to consider the SUR40 with the hack:
sudo ln -s /dev/v4l-touch0 /dev/video0
The reason why otherwise the device is not detected might be here: https://github.com/mkalten/reacTIVision/blob/master/ext/portvideo/linux/V4Linux2Camera.cpp#L262 I expected the SUR40 camera to be registered as "/dev/video0" in addition to /dev/v4l-touch0 but nevertheless I think it would be easier not to change the kernel module at this point but maybe make V4Linux2Camera.cpp handle it?
@kikelkik thanks for the update - with which version of reacTIVision is it working now?
It works with both, the released 1.5.1 and latest master 1.6
Hi, I try for a few days to setup reacTIVision with a SUR40 with a fresh installed Ubuntu 20.04 (Kernel: 5.13.0-41-generic ). But reacTIVision does not find any camera. I figured out that /dev/video0 did not exist but /dev/v4l-touch0 , so I created /dev/video0 as a symlink so that it could be found as a camera by v4l2-ctl (see below). Touch is working out of the box.
Output reacTIVision 1.5.1 (latest amd64 .deb release from http://reactivision.sourceforge.net/):
Output reacTIVision 1.6 (compiled from latest commit on master):
v4l2-ctl info:
The sur40 kernel module is loaded but I'm worried about "Samsung SUR40: device removed":
Might the SUR40 support does not work anymore for a newer kernel?