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] Z-star camera problem

2011-11-11 Thread vignesh rajendran
Hi

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

I attached Dmesg with this mail

Regards
Vignesh Rajendran



On Fri, Nov 11, 2011 at 7:57 AM, Alexey Fisher
bug-tr...@fisher-privat.netwrote:

 Hi,

 it looks like you use not hi-speed (usb2.0) controller.
 If it work in full speed then you can get only ~10 Mbit/sec.
 with 320x240 it should be low frame rate or try 160x120.

 please send dmesg from you arm system.

 Enable debug for uvcvideo module:

 sudo echo 0xfff  /sys/module/uvcvideo/**parameters/trace

 reproduce the problem
 attach dmesg to email

 dmesg  dmesg

 PS: Please do not use HTML formatet mails.

 Am 11.11.2011 07:34, schrieb vignesh rajendran:



 On Fri, Nov 11, 2011 at 6:25 AM, vignesh rajendran
 vickylinu...@gmail.com mailto:vickylinu...@gmail.com** wrote:



On Fri, Nov 11, 2011 at 5:19 AM, vignesh rajendran
vickylinu...@gmail.com mailto:vickylinu...@gmail.com** wrote:



On Thu, Nov 10, 2011 at 11:59 AM, Alexey Fisher
bug-tr...@fisher-privat.net
mailto:bug-track@fisher-**privat.netbug-tr...@fisher-privat.net
 wrote:

Hi Vignesh,

can you please attach output of:
lsusb -vd 0ac8:3430  lsusb_dump


Hi

  Sorry.I changed the id.Z-star camera id is 0ac8:c335.And the
lsusb log attached with this mail.The log with ubuntu 10.04 and
it was working fine in ubuntu when tested with mplayer.But in
arm , it is not working.

Regards
Vignesh Rajendran


And this is the log with arm-board.


 Sorry again.I changed the log.This is the correct log.



Am 10.11.2011 12:02, schrieb vignesh rajendran:

Hi all

  I am in embedded linux and facing a problem with
Z-star electronics
camera having the id 0acda:3430.

  When testing with mplayer ,  I am getting following
 error,

# mplayer tv:// -tv
driver=v4l2:width=320:height=_**_220:device=/dev/video0:**
 noaudio

-flip -vo fbdev2 -fs 30
MPlayer UNKNOWN-4.6.1 (C) 2000-2010 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: v4l2
  name: Video 4 Linux 2 input
  author: Martin Olschewski olschew...@zpr.uni-koeln.de

 mailto:olschew...@zpr.uni-**koeln.deolschew...@zpr.uni-koeln.de
 

 mailto:olschew...@zpr.uni-__**koeln.deolschew...@zpr.uni-__koeln.de


 mailto:olschew...@zpr.uni-**koeln.deolschew...@zpr.uni-koeln.de
 

  comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD
ioctl,
VIDIOC_G_PARM was used instead.
Selected device: NAMUGA 1.3M Webcam
  Capabilities:  video capture  streaming
  supported norms:
  inputs: 0 = Camera 1;
  Current input: 0
  Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter,
setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: select timeout
==**
 __**==__==

Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf
scale...
Opening video filter: [scale]
[fbdev2] Can't put VSCREENINFO: Invalid argument
[fbdev2] Can't put VSCREENINFO: Invalid argument
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
[fbdev2] Can't put VSCREENINFO: Invalid argument
[fbdev2] Can't put VSCREENINFO: Invalid argument
[swscaler @ 0x21f77d0] BICUBIC scaler, from yuyv422 to
rgb555le using C
VO: [fbdev2] 320x240 = 320x240 BGR 15-bit  [fs]
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==**
 __**==__==

Audio: no sound
Starting playback...
v4l2: select timeout
V:   0.0   1/  1 ??% ??% ??,?% 0 0 $50
v4l2: select timeout
V:   0.0   2/  2 ??% ??% ??,?% 

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

2011-11-11 Thread Alexey Fisher

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.
___
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel


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

2011-11-10 Thread vignesh rajendran
Hi all

 I am in embedded linux and facing a problem with Z-star electronics camera
having the id  0acda:3430.

 When testing with mplayer ,  I am getting following error,

# mplayer tv:// -tv
driver=v4l2:width=320:height=220:device=/dev/video0:noaudio
-flip -vo fbdev2 -fs 30
MPlayer UNKNOWN-4.6.1 (C) 2000-2010 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski olschew...@zpr.uni-koeln.de
 comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM
was used instead.
Selected device: NAMUGA 1.3M Webcam
 Capabilities:  video capture  streaming
 supported norms:
 inputs: 0 = Camera 1;
 Current input: 0
 Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: select timeout
==
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
[fbdev2] Can't put VSCREENINFO: Invalid argument
[fbdev2] Can't put VSCREENINFO: Invalid argument
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
[fbdev2] Can't put VSCREENINFO: Invalid argument
[fbdev2] Can't put VSCREENINFO: Invalid argument
[swscaler @ 0x21f77d0] BICUBIC scaler, from yuyv422 to rgb555le using C
VO: [fbdev2] 320x240 = 320x240 BGR 15-bit  [fs]
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==
Audio: no sound
Starting playback...
v4l2: select timeout
V:   0.0   1/  1 ??% ??% ??,?% 0 0 $50
v4l2: select timeout
V:   0.0   2/  2 ??% ??% ??,?% 0 0 $50
v4l2: select timeout
V:   0.0   3/  3 ??% ??% ??,?% 0 0 $50
v4l2: select timeout


MPlayer interrupted by signal 2 in module: video_read_frame
V:   0.0   4/  4 ??% ??% ??,?% 0 0 $50
v4l2: select timeout
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 1 frames dropped.

Exiting... (Quit)

I am getting v4l2: select timeout repeatedly.I am using 3.0 kernel.

And my another camera Namuga(0ac8:c335) is working fine

Please help me out of this.



-- 
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] Z-star camera problem

2011-11-10 Thread Alexey Fisher

Hi Vignesh,

can you please attach output of:
lsusb -vd 0acda:3430  lsusb_dump


Am 10.11.2011 12:02, schrieb vignesh rajendran:

Hi all

  I am in embedded linux and facing a problem with Z-star electronics
camera having the id 0acda:3430.

  When testing with mplayer ,  I am getting following error,

# mplayer tv:// -tv
driver=v4l2:width=320:height=220:device=/dev/video0:noaudio
-flip -vo fbdev2 -fs 30
MPlayer UNKNOWN-4.6.1 (C) 2000-2010 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: v4l2
  name: Video 4 Linux 2 input
  author: Martin Olschewski olschew...@zpr.uni-koeln.de
mailto:olschew...@zpr.uni-koeln.de
  comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl,
VIDIOC_G_PARM was used instead.
Selected device: NAMUGA 1.3M Webcam
  Capabilities:  video capture  streaming
  supported norms:
  inputs: 0 = Camera 1;
  Current input: 0
  Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: select timeout
==
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
[fbdev2] Can't put VSCREENINFO: Invalid argument
[fbdev2] Can't put VSCREENINFO: Invalid argument
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
[fbdev2] Can't put VSCREENINFO: Invalid argument
[fbdev2] Can't put VSCREENINFO: Invalid argument
[swscaler @ 0x21f77d0] BICUBIC scaler, from yuyv422 to rgb555le using C
VO: [fbdev2] 320x240 = 320x240 BGR 15-bit  [fs]
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==
Audio: no sound
Starting playback...
v4l2: select timeout
V:   0.0   1/  1 ??% ??% ??,?% 0 0 $50
v4l2: select timeout
V:   0.0   2/  2 ??% ??% ??,?% 0 0 $50
v4l2: select timeout
V:   0.0   3/  3 ??% ??% ??,?% 0 0 $50
v4l2: select timeout


MPlayer interrupted by signal 2 in module: video_read_frame
V:   0.0   4/  4 ??% ??% ??,?% 0 0 $50
v4l2: select timeout
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 1 frames dropped.

Exiting... (Quit)

I am getting v4l2: select timeout repeatedly.I am using 3.0 kernel.

And my another camera Namuga(0ac8:c335) is working fine

Please help me out of this.



--
Regards

Vignesh Rajendran



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


___
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-10 Thread Alexey Fisher

Hi,

it looks like you use not hi-speed (usb2.0) controller.
If it work in full speed then you can get only ~10 Mbit/sec.
with 320x240 it should be low frame rate or try 160x120.

please send dmesg from you arm system.

Enable debug for uvcvideo module:

sudo echo 0xfff  /sys/module/uvcvideo/parameters/trace

reproduce the problem
attach dmesg to email

dmesg  dmesg

PS: Please do not use HTML formatet mails.

Am 11.11.2011 07:34, schrieb vignesh rajendran:



On Fri, Nov 11, 2011 at 6:25 AM, vignesh rajendran
vickylinu...@gmail.com mailto:vickylinu...@gmail.com wrote:



On Fri, Nov 11, 2011 at 5:19 AM, vignesh rajendran
vickylinu...@gmail.com mailto:vickylinu...@gmail.com wrote:



On Thu, Nov 10, 2011 at 11:59 AM, Alexey Fisher
bug-tr...@fisher-privat.net
mailto:bug-tr...@fisher-privat.net wrote:

Hi Vignesh,

can you please attach output of:
lsusb -vd 0ac8:3430  lsusb_dump


Hi

  Sorry.I changed the id.Z-star camera id is 0ac8:c335.And the
lsusb log attached with this mail.The log with ubuntu 10.04 and
it was working fine in ubuntu when tested with mplayer.But in
arm , it is not working.

Regards
Vignesh Rajendran


And this is the log with arm-board.


Sorry again.I changed the log.This is the correct log.



Am 10.11.2011 12:02, schrieb vignesh rajendran:

Hi all

  I am in embedded linux and facing a problem with
Z-star electronics
camera having the id 0acda:3430.

  When testing with mplayer ,  I am getting following error,

# mplayer tv:// -tv
driver=v4l2:width=320:height=__220:device=/dev/video0:noaudio
-flip -vo fbdev2 -fs 30
MPlayer UNKNOWN-4.6.1 (C) 2000-2010 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: v4l2
  name: Video 4 Linux 2 input
  author: Martin Olschewski olschew...@zpr.uni-koeln.de
mailto:olschew...@zpr.uni-koeln.de
mailto:olschew...@zpr.uni-__koeln.de
mailto:olschew...@zpr.uni-koeln.de

  comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD
ioctl,
VIDIOC_G_PARM was used instead.
Selected device: NAMUGA 1.3M Webcam
  Capabilities:  video capture  streaming
  supported norms:
  inputs: 0 = Camera 1;
  Current input: 0
  Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter,
setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: select timeout

==__==__==
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf
scale...
Opening video filter: [scale]
[fbdev2] Can't put VSCREENINFO: Invalid argument
[fbdev2] Can't put VSCREENINFO: Invalid argument
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
[fbdev2] Can't put VSCREENINFO: Invalid argument
[fbdev2] Can't put VSCREENINFO: Invalid argument
[swscaler @ 0x21f77d0] BICUBIC scaler, from yuyv422 to
rgb555le using C
VO: [fbdev2] 320x240 = 320x240 BGR 15-bit  [fs]
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)

==__==__==
Audio: no sound
Starting playback...
v4l2: select timeout
V:   0.0   1/  1 ??% ??% ??,?% 0 0 $50
v4l2: select timeout
V:   0.0   2/  2 ??% ??% ??,?% 0 0 $50
v4l2: select timeout
V:   0.0   3/  3 ??% ??% ??,?% 0 0 $50
v4l2: select timeout


MPlayer interrupted by signal 2 in module: video_read_frame
V:   0.0   4/  4 ??% ??% ??,?% 0 0 $50
v4l2: select timeout
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 

[Linux-uvc-devel] z-star camera problem

2011-11-06 Thread vignesh rajendran
Hi

   I am using 3.0 kernel in embedded linux for armv5tel platform. I am
facing problem with  ID 0ac8:c335 Z-Star Microelectronics Corp.When testing
with mplayer, It repeats v4l2:Select timeout continuously and getting
green display.I googled this problem and i couldnt find any valid solutions.

 Any ideas.?


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


[Linux-uvc-devel] Z-star Camera Problem

2011-11-06 Thread vignesh rajendran
Hi all

 I am in embedded linux and facing a problem with Z-star electronics camera
having the id  0acda:3430.

 When testing with mplayer ,  I am getting following error,

# mplayer tv:// -tv
driver=v4l2:width=320:height=220:device=/dev/video0:noaudio
-flip -vo fbdev2 -fs 30
MPlayer UNKNOWN-4.6.1 (C) 2000-2010 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski olschew...@zpr.uni-koeln.de
 comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM
was used instead.
Selected device: NAMUGA 1.3M Webcam
 Capabilities:  video capture  streaming
 supported norms:
 inputs: 0 = Camera 1;
 Current input: 0
 Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: select timeout
==
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
[fbdev2] Can't put VSCREENINFO: Invalid argument
[fbdev2] Can't put VSCREENINFO: Invalid argument
Opening video filter: [flip]
Movie-Aspect is undefined - no prescaling applied.
[fbdev2] Can't put VSCREENINFO: Invalid argument
[fbdev2] Can't put VSCREENINFO: Invalid argument
[swscaler @ 0x21f77d0] BICUBIC scaler, from yuyv422 to rgb555le using C
VO: [fbdev2] 320x240 = 320x240 BGR 15-bit  [fs]
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==
Audio: no sound
Starting playback...
v4l2: select timeout
V:   0.0   1/  1 ??% ??% ??,?% 0 0 $50
v4l2: select timeout
V:   0.0   2/  2 ??% ??% ??,?% 0 0 $50
v4l2: select timeout
V:   0.0   3/  3 ??% ??% ??,?% 0 0 $50
v4l2: select timeout


MPlayer interrupted by signal 2 in module: video_read_frame
V:   0.0   4/  4 ??% ??% ??,?% 0 0 $50
v4l2: select timeout
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 1 frames dropped.

Exiting... (Quit)

I am getting v4l2: select timeout repeatedly.I am using 3.0 kernel.

And my another camera Namuga(0ac8:c335) is working fine

Please help me out of this.

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