Comment 35 for bug 22070

Revision history for this message
Daniel van Gerpen (dvg) wrote :

Hi,

I followed the same steps, got a /dev/video0, but both camorama and cheese eventually become stuck without ever showing a frame.

Nov 22 14:28:10 newton kernel: [ 551.074454] usb 7-2.6: USB disconnect, address 9
Nov 22 14:28:10 newton kernel: [ 551.100205] usbvideo: USB camera disconnected.
Nov 22 14:28:12 newton kernel: [ 553.064158] usb 7-2.6: new full speed USB device using ehci_hcd and address 10
Nov 22 14:28:12 newton kernel: [ 553.158024] usb 7-2.6: configuration #1 chosen from 1 choice
Nov 22 14:28:12 newton kernel: [ 553.166601] videodev: "QCM USB Camera" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/
Nov 22 14:28:12 newton kernel: [ 553.166607] usbvideo: QCM on /dev/video0: canvas=320x240 videosize=320x240
Nov 22 14:28:12 newton kernel: [ 553.166647] input: QCM button as /devices/pci0000:00/0000:00:1d.7/usb7/7-2/7-2.6/input/input11
Nov 22 14:28:13 newton pulseaudio[7548]: alsa-util.c: Device hw:1 doesn't support 44100 Hz, changed to 22050 Hz.
Nov 22 14:28:13 newton pulseaudio[7548]: alsa-util.c: Device hw:1 doesn't support 2 channels, changed to 1.

from "strace camorama":

open("/dev/video0", O_RDWR) = 15
ioctl(15, EXT2_IOC_GETVERSION or VIDIOCGCAP, 0x7fff47670820) = 0
ioctl(15, SONYPI_IOCSBLUE or VIDIOCGWIN, 0x7fff47670870) = 0
ioctl(15, VIDIOCSWIN, 0x7fff47670870) = 0
ioctl(15, SONYPI_IOCSBLUE or VIDIOCGWIN, 0x7fff47670870) = 0
ioctl(15, VIDIOCGPICT, 0x7fff4767085c) = 0
mmap(NULL, 233472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1e3f472000
ioctl(15, VIDIOCGMBUF, 0x7fff47670898) = 0
mmap(NULL, 460800, PROT_READ|PROT_WRITE, MAP_SHARED, 15, 0) = 0x7f1e33f71000
ioctl(15, VIDIOCMCAPTURE, 0x7fff47670920) = 0

[...]

ioctl(15, SONYPI_IOCGBATFLAGS or VIDIOCSPICT, 0x7fff4767085c) = 0
ioctl(15, SONYPI_IOCGBATFLAGS or VIDIOCSPICT, 0x7fff4767085c) = 0
ioctl(15, SONYPI_IOCGBATFLAGS or VIDIOCSPICT, 0x7fff4767085c) = 0
ioctl(15, SONYPI_IOCGBATFLAGS or VIDIOCSPICT, 0x7fff4767085c) = 0
ioctl(15, SONYPI_IOCGBATFLAGS or VIDIOCSPICT, 0x7fff4767085c) = 0

[...]

ioctl(15, VIDIOCSYNC <unfinished ...>

PS: Whats the proper way to just build the patched quickcam module without having to install a complete kernel?