Klaus Schmidinger wrote:
Anssi Hannula wrote:
Here is a new patch to test (debug=2). I slightly changed the kfir_read function and also put a BUG() in kfir_close so that the kernel dumps a backtrace in a log when the device closes, so that we can see what closes it.
Looks like we're finally getting somewhere here!
After loading the driver successfully I did
cat /dev/video > x.x
and it actually wrote TS data into that file.
Now that's progress :)
After a while I did Ctrl+C to cancel the 'cat', but that completely froze the entire system :-(
Try this one.
This one actually appears to work - no more freeze when closing the device :-)
I've done the 'cat /dev/video > x.x' twice, and everything worked as expected (log attached).
Now my next step will be to test it together with my 'sky' plugin and an actual VDR instance. I hope to be able to do so tomorrow.
Thanks for all your support!
Klaus
kfir-26.log.gz
Description: GNU Zip compressed data