[Linux-uvc-devel] [PATCH] uvcvideo: correct error message for debugfs stats file

2011-11-17 Thread Alexey Fisher
Signed-off-by: Alexey Fisher bug-tr...@fisher-privat.net
---
 drivers/media/video/uvc/uvc_debugfs.c |3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/uvc/uvc_debugfs.c 
b/drivers/media/video/uvc/uvc_debugfs.c
index bdba016..1b0087b 100644
--- a/drivers/media/video/uvc/uvc_debugfs.c
+++ b/drivers/media/video/uvc/uvc_debugfs.c
@@ -97,8 +97,7 @@ int uvc_debugfs_init_stream(struct uvc_streaming *stream)
dent = debugfs_create_file(stats, 0600, stream-debugfs_dir,
   stream, uvc_debugfs_stats_fops);
if (IS_ERR_OR_NULL(dent)) {
-   uvc_printk(KERN_INFO, Unable to create debugfs %s 
directory.\n,
-  dir_name);
+   uvc_printk(KERN_INFO, Unable to create debugfs stats file.\n);
uvc_debugfs_cleanup_stream(stream);
return -ENODEV;
}
-- 
1.7.5.4

___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Z-star camera problem

2011-11-17 Thread vignesh rajendran
On Fri, Nov 11, 2011 at 10:53 AM, Alexey Fisher bug-tr...@fisher-privat.net
 wrote:

 Am 11.11.2011 10:32, schrieb vignesh rajendran:

  Hi

  Again the same.No changes.I am getting green display in my touchscreen.

 I attached Dmesg with this mail


 There is no debug info in this dmesg if you enable debug it loogs like
 this:
 [19585.878562] uvcvideo: Queuing buffer 0.
 [19585.879289] uvcvideo: uvc_v4l2_poll
 [19585.942567] uvcvideo: Frame complete (EOF found).
 [19585.942582] uvcvideo: uvc_v4l2_poll
 [19585.942592] uvcvideo: uvc_v4l2_ioctl(VIDIOC_DQBUF)
 [19585.942598] uvcvideo: Dequeuing buffer 1 (4, 614400 bytes).
 [19585.942602] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QBUF)
 [19585.942605] uvcvideo: Queuing buffer 1.
 [19585.944600] uvcvideo: uvc_v4l2_poll
 [19586.010537] uvcvideo: Frame complete (EOF found).
 [19586.010560] uvcvideo: uvc_v4l2_poll
 [19586.010568] uvcvideo: uvc_v4l2_ioctl(VIDIOC_DQBUF)
 [19586.010574] uvcvideo: Dequeuing buffer 2 (4, 614400 bytes).
 [19586.010578] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QBUF)
 [19586.010581] uvcvideo: Queuing buffer 2.


I enabled debug.But it not showing anything in dmesg.

-- 
Regards

Vignesh Rajendran
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] [PATCH] uvcvideo: correct error message for debugfs stats file

2011-11-17 Thread Laurent Pinchart
Hi Alexey,

Thanks for the patch.

As your original patch hasn't been pushed to upstream yet, I've combined it 
with this patch.

On Thursday 17 November 2011 09:16:11 Alexey Fisher wrote:
 Signed-off-by: Alexey Fisher bug-tr...@fisher-privat.net
 ---
  drivers/media/video/uvc/uvc_debugfs.c |3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)
 
 diff --git a/drivers/media/video/uvc/uvc_debugfs.c
 b/drivers/media/video/uvc/uvc_debugfs.c index bdba016..1b0087b 100644
 --- a/drivers/media/video/uvc/uvc_debugfs.c
 +++ b/drivers/media/video/uvc/uvc_debugfs.c
 @@ -97,8 +97,7 @@ int uvc_debugfs_init_stream(struct uvc_streaming *stream)
   dent = debugfs_create_file(stats, 0600, stream-debugfs_dir,
  stream, uvc_debugfs_stats_fops);
   if (IS_ERR_OR_NULL(dent)) {
 - uvc_printk(KERN_INFO, Unable to create debugfs %s 
 directory.\n,
 -dir_name);
 + uvc_printk(KERN_INFO, Unable to create debugfs stats file.\n);
   uvc_debugfs_cleanup_stream(stream);
   return -ENODEV;
   }

-- 
Regards,

Laurent Pinchart
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] [PATCH] uvcvideo: correct error message for debugfs stats file

2011-11-17 Thread Alexey Fisher

Am 17.11.2011 11:11, schrieb Laurent Pinchart:

Hi Alexey,

Thanks for the patch.

As your original patch hasn't been pushed to upstream yet, I've combined it
with this patch.


Great, thanks!
i'm currently about to add the uvc report file debugfs. Any wishes?
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


Re: [Linux-uvc-devel] Quirk for mjpeg bandwidth

2011-11-17 Thread Philip Gladstone

I have put the patches that I am using on:  http://pskreporter.info/uvc.pf

Unfortunately, these patches also include a change to convert from 
uvc_trace to pr_debug, so there are a lot more changes than necessary.


Philip

On 11/17/2011 11:03 AM, Sandro Hawke wrote:

Could I be a pain and ask for a link to the thread about the patch, or
to the patch itself please.

I would very much appreciate this, too.

 - Sandro





___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel



--
Philip Gladstone
Ham: N1DQ

___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel