I've been using gphoto2 and ffmpeg on linux to use my 6D MkII as a webcam. I did test it with my old old rebel XSI and it did work as well
here is the command
sudo modprobe v4l2loopback exclusive_caps=1 max_buffers=2
gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -an -threads 0 -r 24 -f v4l2 /dev/video2
I did wrap in a shell script to test if the module is already loaded.