FS#21959 - [kernel26] 2.6.36-1-3 regression: gspca (ov534 driver) doesn't work (worked in 2.6.35-8-3)

Attached to Project: Arch Linux
Opened by Gašper Ažman (atomicity) - Thursday, 02 December 2010, 10:23 GMT
Last edited by Ionut Biru (wonder) - Sunday, 19 June 2011, 18:13 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I'm using the playstation eye camera on archlinux for a project. On kernel 2.6.35-8-3, everything works beautifully. I am mostly talking here about image capture. When I upgraded to the new kernel (2.5.36-1-3), the camera capture stopped working. When I downgraded again, the camera works as intended.

The only changes in my sistem were the kernel, nvidia driver and ndiswrapper, since those two depend on the kernel version.

What works:
/dev/video1 node gets created
ioctl works on the node,
v4l2-ctl was able to list the video modes and everything. Setting the video mode also worked.

What does not work:
cat /dev/video1 fails with the error: input/output error (my guess is fopen() fails).

I will be happy to provide any additional info and will do any steps required to debug this, including reinstalling / recompiling the kernel and applying patches if necessary.

Other (possibly) useful debug stuff:
atom@kamichan /var/cache/pacman/pkg $ v4l2-compliance -d /dev/video1
Driver Info:
Driver name : ov534
Card type : USB Camera-B4.04.27.1
Bus info : usb-0000:00:1a.7-4.2
Driver version: 133376
Capabilities : 0x05000001
Video Capture
Read/Write
Streaming

Compliance test for device /dev/video1:

Required ioctls:
test VIDIOC_QUERYCAP: OK
Allow for multiple opens:
test second video open: OK
test VIDIOC_QUERYCAP: OK
test VIDIOC_S_PRIORITY: FAIL (-1)

Debug ioctls:
test VIDIOC_DBG_G_CHIP_IDENT: Not Supported
test VIDIOC_DBG_G/S_REGISTER: OK
test VIDIOC_LOG_STATUS: Not Supported
Total: 7 Succeeded: 6 Failed: 1

### (this happens on both kernels, the output is identical) ###

atom@kamichan /var/cache/pacman/pkg $ v4l2-ctl --device=1 --all
Driver Info:
Driver name : ov534
Card type : USB Camera-B4.04.27.1
Bus info : usb-0000:00:1a.7-4.2
Driver version: 133376
Capabilities : 0x05000001
Video Capture
Read/Write
Streaming
Format Video Capture:
Width/Height : 640/480
Pixel Format : 'YUYV'
Field : None
Bytes per Line: 1280
Size Image : 614400
Colorspace : SRGB
Video input : 0 (ov534: ok)
Audio input : 0 (Microphone)
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 30.000 (30/1)
Read buffers : 2

This task depends upon

Closed by  Ionut Biru (wonder)
Sunday, 19 June 2011, 18:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  works in newer kernel
Comment by JM (fijam) - Tuesday, 03 May 2011, 12:10 GMT
Does the bug persist in current kernel versions? Did you search for upstream bugs?
Comment by Jelle van der Waa (jelly) - Saturday, 18 June 2011, 08:38 GMT
is this still a bug?
Comment by Gašper Ažman (atomicity) - Saturday, 18 June 2011, 16:17 GMT
No, it was fixed in the .38 kernel. I should have said, sorry.

Gašper

Loading...