Klaus Schmidinger 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.Anssi Hannula wrote:Klaus Schmidinger wrote:
So it seemed to close the file automatically after first irq.
There indeed was a wrong return value in irq handler (in 2.4 it was void).
Corrected it, hopefully we get again further :)
Test this patch.
I'm afraid it still doesn't work. Log attached (with debug=2).
Attachment:
kfir-cvs-2.6-exp-hack-rev7.diff.bz2
Description: Binary data