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.
-- Anssi Hannula
kfir-cvs-2.6-exp-hack-rev8.diff.bz2
Description: Binary data
