Linux-Media Archive on lore.kernel.org
 help / color / Atom feed
* Re: Bug#929262: libv4l-dev: pac207 cam(s) give frame decode errors
       [not found] <155834073601.757.12828508994068038463.reportbug@scrollert>
@ 2019-05-20 11:38 ` Gregor Jasny
  2019-05-20 11:55   ` Hans Verkuil
  0 siblings, 1 reply; 3+ messages in thread
From: Gregor Jasny @ 2019-05-20 11:38 UTC (permalink / raw)
  To: folkert, 929262, Linux Media Mailing List, Hans Verkuil

Hello,

On 20.05.19 10:25, folkert@vanheusden.com wrote:
> Trying to get a pac207 camera to work with constatus.
> 
> 2019-05-20 10:22:34.864900  INFO constatus [1-1] source v4l2 thread started
> libv4l2: error got 4 consecutive frame decode errors, last error: v4l-convert: error unknown pac207 row header: 0x0000
> 2019-05-20 10:22:35.597949 ERROR cs:src_v4l2 [1-1] VIDIOC_DQBUF failed: Input/output error
> ioctl(VIDIOC_QBUF) failed
> errno: 22 (Invalid argument)
> 
> To verify that it is not a constatus-problem I also tried a raspberry-pi camera via its video4linux-interface and that works fine.

According to the Linux Kernel Maintainers file the device driver is 
maintained by Hans, which I CC'ed on this bug report:

GSPCA PAC207 SONIXB SUBDRIVER
M:	Hans Verkuil <hverkuil@xs4all.nl>
L:	linux-media@vger.kernel.org
T:	git git://linuxtv.org/media_tree.git
S:	Odd Fixes
F:	drivers/media/usb/gspca/pac207.c

Did your camera ever work on another Kernel, CPU architecture, or 
v4l-utils version? Do you have anything suspicious in dmesg output?

Thanks,
Gregor

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug#929262: libv4l-dev: pac207 cam(s) give frame decode errors
  2019-05-20 11:38 ` Bug#929262: libv4l-dev: pac207 cam(s) give frame decode errors Gregor Jasny
@ 2019-05-20 11:55   ` Hans Verkuil
  2019-05-20 19:23     ` folkert
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Verkuil @ 2019-05-20 11:55 UTC (permalink / raw)
  To: Gregor Jasny, folkert, 929262, Linux Media Mailing List

On 5/20/19 1:38 PM, Gregor Jasny wrote:
> Hello,
> 
> On 20.05.19 10:25, folkert@vanheusden.com wrote:
>> Trying to get a pac207 camera to work with constatus.
>>
>> 2019-05-20 10:22:34.864900  INFO constatus [1-1] source v4l2 thread started
>> libv4l2: error got 4 consecutive frame decode errors, last error: v4l-convert: error unknown pac207 row header: 0x0000
>> 2019-05-20 10:22:35.597949 ERROR cs:src_v4l2 [1-1] VIDIOC_DQBUF failed: Input/output error
>> ioctl(VIDIOC_QBUF) failed
>> errno: 22 (Invalid argument)
>>
>> To verify that it is not a constatus-problem I also tried a raspberry-pi camera via its video4linux-interface and that works fine.
> 
> According to the Linux Kernel Maintainers file the device driver is 
> maintained by Hans, which I CC'ed on this bug report:
> 
> GSPCA PAC207 SONIXB SUBDRIVER
> M:	Hans Verkuil <hverkuil@xs4all.nl>
> L:	linux-media@vger.kernel.org
> T:	git git://linuxtv.org/media_tree.git
> S:	Odd Fixes
> F:	drivers/media/usb/gspca/pac207.c
> 
> Did your camera ever work on another Kernel, CPU architecture, or 
> v4l-utils version? Do you have anything suspicious in dmesg output?

I strongly recommend that you buy a new webcam. This is ancient hardware.
Even the cheapest UVC webcams you can buy today will have far better
quality than a pac207. If you really, really need this to work, then I
need the full dmesg output and you also need to check if you can reproduce
this issue with the v4l2-ctl command:

v4l2-ctl -d /dev/videoX --stream-mmap

(it keeps capturing frames until you press ctrl-X)

I should have one of these webcams, but won't be able to test until next
week.

Regards,

	Hans

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug#929262: libv4l-dev: pac207 cam(s) give frame decode errors
  2019-05-20 11:55   ` Hans Verkuil
@ 2019-05-20 19:23     ` folkert
  0 siblings, 0 replies; 3+ messages in thread
From: folkert @ 2019-05-20 19:23 UTC (permalink / raw)
  To: Hans Verkuil; +Cc: Gregor Jasny, 929262, Linux Media Mailing List

Hi,

> I strongly recommend that you buy a new webcam. This is ancient hardware.
> Even the cheapest UVC webcams you can buy today will have far better
> quality than a pac207. If you really, really need this to work, then I
> need the full dmesg output and you also need to check if you can reproduce
> this issue with the v4l2-ctl command:
> 
> v4l2-ctl -d /dev/videoX --stream-mmap
> (it keeps capturing frames until you press ctrl-X)

v4l2-ctl:
- raspberry pi 2 and 3b+: fail
- laptop: ok for at least a few minutes


> I should have one of these webcams, but won't be able to test until next
> week.

Thanks but it looks to be a raspberry pi problem.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <155834073601.757.12828508994068038463.reportbug@scrollert>
2019-05-20 11:38 ` Bug#929262: libv4l-dev: pac207 cam(s) give frame decode errors Gregor Jasny
2019-05-20 11:55   ` Hans Verkuil
2019-05-20 19:23     ` folkert

Linux-Media Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-media/0 linux-media/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-media linux-media/ https://lore.kernel.org/linux-media \
		linux-media@vger.kernel.org linux-media@archiver.kernel.org
	public-inbox-index linux-media


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-media


AGPL code for this site: git clone https://public-inbox.org/ public-inbox