diff options
author | Mike Isely <isely@pobox.com> | 2006-02-22 23:47:36 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2006-02-22 23:47:36 -0600 |
commit | eb9221b1b87ce87b3d22458d78fa0b6d2dd848c7 (patch) | |
tree | ea2d53e41507af16937f01115cefeb43dd95da07 /v4l_experimental/pvrusb2/pvrusb2-sysfs.c | |
parent | e3ac0002e5f30d492444f7d6e221c634c07b8d83 (diff) | |
download | mediapointer-dvb-s2-eb9221b1b87ce87b3d22458d78fa0b6d2dd848c7.tar.gz mediapointer-dvb-s2-eb9221b1b87ce87b3d22458d78fa0b6d2dd848c7.tar.bz2 |
Implement LOG_STATUS in pvrusb2
From: Mike Isely <isely@pobox.com>
Implement VIDIOC_LOG_STATUS ioctl() to the application. Implement
generation of VIDIOC_LOG_STATUS to the modules. Implement trigger of
VIDIOC_LOG_STATUS from sysfs when user cats a few key files, to help
with debugging.
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'v4l_experimental/pvrusb2/pvrusb2-sysfs.c')
-rw-r--r-- | v4l_experimental/pvrusb2/pvrusb2-sysfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/v4l_experimental/pvrusb2/pvrusb2-sysfs.c b/v4l_experimental/pvrusb2/pvrusb2-sysfs.c index 17c50d31c..f665e79f9 100644 --- a/v4l_experimental/pvrusb2/pvrusb2-sysfs.c +++ b/v4l_experimental/pvrusb2/pvrusb2-sysfs.c @@ -766,6 +766,7 @@ static ssize_t debuginfo_show(struct class_device *class_dev,char *buf) struct pvr2_sysfs *sfp; sfp = (struct pvr2_sysfs *)class_dev->class_data; if (!sfp) return -EINVAL; + pvr2_hdw_trigger_module_log(sfp->channel.hdw); return pvr2_debugifc_print_info(sfp->channel.hdw,buf,PAGE_SIZE); } |