From: David S. <whe...@gm...> - 2007-02-07 22:13:32
|
On 2/7/07, Ilyes Gouta <ily...@gm...> wrote: > Hi, > > The current SVN repo. on SourceForge is organized as following: > > + branches/ : Currently two experimental drivers are located here. One > for the M5602 USB bridge which is connected to the OV9650 sensor and > another one for the M5603C / MT9V011 sensor from Micron. > > + testprograms/ : This is a folder where you'll find a bunch of test > programs usually used to test if the webcam correctly answers the USB > commands sent to it. You'll find a program per USB bridge/sensor > combination. A successful test program would capture *one* frame and > dump it as a .bmp file. > > + trunk/ : This is the main driver, the latest and current development > version. All the efforts should be focused on this folder. > > + firmware/ : It contains a set of binaries that get uploaded to the > webcam at the driver's startup. This is mostly useful for the M5603C > bridge. The firmware files actually depend on hardware that comes with > the webcam (bridge and sensor). We even saw some different firmwares > for the same bridge/sensor pair. The best thing to do here is to use > the firmwares that come with the Windows drivers. > > The first step to do is to identify the sensor attached to your M5603C > bridge. You'll need your product ID and vendor ID too (you can get > these using lsusb). Once done, you'll have to identify the right > firmware file. If your sensor is a MT9V011 then you can experiment > with the two drivers, located in the trunk and in > branches/m5603c-mt9v011. Please notice that all the development > efforts will be applied to the trunk version. I'm pretty sure Martin and I have the same camera: usbid 041e:4038. I've been focusing my efforts on the m5603c-mt9v011 branch. Should I be trying trunk too? I think I got farther with the branch, though. I need to break out separate patches, I think, but I have changes for not OOPSing when firmware file is missing, and fixing format strings for 64-bit archs. I also tried to hack in v4l_compat_translate_ioctl(), but it didn't seem to help much. xawtv still doesn't quite work after these changes. I was running into a problem where rvfree was being called with the wrong size. I tried a major hack to work around this (saving the right size when allocated, and forcing it to that when rvfree is called). After I did this, xawtv runs successfully, but shows only a green frame. Ilyes: I think this freeing the wrong size problem showed up after your commit in r87, I can only assume having something to do with the "Made m5603c_sensor_initialize aware of the width and the height of the capture window." part. I'm attaching my big ugly patch for the branch, and dumping the kernel log output here, with some annotation: ./insmod ./m5603c.ko debug=255: Feb 7 13:56:24 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: usb_m5603c_init - WebCam driver startup Feb 7 13:56:24 [kernel] usbcore: registered new interface driver m5603c Feb 7 13:56:24 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: 0.1.0:Genius Slim 321C Webcam Driver plugged in camera: Feb 7 13:56:40 [kernel] usb 1-2: new high speed USB device using ehci_hcd and address 5 Feb 7 13:56:40 [kernel] usb 1-2: configuration #1 chosen from 1 choice Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: m5603c_probe - Genius Slim 321C WebCam connected Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: Genius Slim 321C WebCam found. Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [usb_m5603c_probe:901] cam ffff81003072a000 Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [usb_m5603c_probe:917] usb_m5603c_probe: Num altsettings: 4 Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [usb_m5603c_probe:946] usb_m5603c_probe: ISOC Endpoint: 0x81, wMaxPacketSize: 0xc00 Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [usb_m5603c_probe:935] usb_m5603c_probe: INTR Endpoint: 0x82, wMaxPacketSize: 0x10 Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [m5603c_initialize_camera:297] m5603c_initialize_camera Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [m5603c_initialize_camera:318] initialize_camera1: 0x86 Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [m5603c_initialize_camera:321] initialize_camera2: 0x86 Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [m5603c_initialize_camera:329] initialize_camera3: 0x20 Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [m5603c_initialize_camera:350] initialize_camera4: 0x86 Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [load_firmware:260] size of firmware file 00000dc5 Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [load_firmware:275] result 03e8 - Last output repeated 2 times - Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [load_firmware:275] result 020d Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [m5603c_initialize_camera:372] initialize_camera5: 0x40 Feb 7 13:56:40 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [m5603c_initialize_camera:667] m5603c_initialize_camera done! Feb 7 13:56:41 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [probe_mt9v011:860] probe mt9v011 sensor id 82 43 Feb 7 13:56:41 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [probe_mt9v011:863] detected mt9v011 sensor Feb 7 13:56:41 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: m5603c_probe - m5603c WebCam driver is now controlling video device 0 xawtv: Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_open:450] Device /dev/video0 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: m5603c open Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_open:458] cam->users 0 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_open:516] Video device /dev/video0 is open Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:703] VIDIOC_QUERYCAP Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_release:529] m5603c release Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_stop_transfer:383] Free isochronous buffers and urb's Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_stop_transfer:398] Isochronous buffers and urb's freed Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_release:535] cam ffff81003072a000 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_release:536] nbuffers 0 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_release_buffers:131] buffers 0 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_release_buffers:148] buffers released Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_release:542] Video device /dev/video0 closed Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_open:450] Device /dev/video0 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: m5603c open Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_open:458] cam->users 0 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_open:516] Video device /dev/video0 is open Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:1027] Unhandled IOCTL 0x80585600 ! Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_release:529] m5603c release Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_stop_transfer:383] Free isochronous buffers and urb's Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_stop_transfer:398] Isochronous buffers and urb's freed Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_release:535] cam ffff81003072a000 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_release:536] nbuffers 0 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_release_buffers:131] buffers 0 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_release_buffers:148] buffers released Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_release:542] Video device /dev/video0 closed Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_open:450] Device /dev/video0 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: m5603c open Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_open:458] cam->users 0 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_open:516] Video device /dev/video0 is open Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:703] VIDIOC_QUERYCAP Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:765] VIDIOC_ENUMINPUT Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:768] VIDIOC_ENUMINPUT 0 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:765] VIDIOC_ENUMINPUT Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:768] VIDIOC_ENUMINPUT 1 Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:1027] Unhandled IOCTL 0xc0485619 ! Feb 7 13:57:12 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:930] VIDIOC_G_PARM 1 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:1027] Unhandled IOCTL 0x80085617 ! Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:780] GET INPUT Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:970] get_ctrl 0 0 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [read_sensor_register:65] read register 2dba result 01 value 00 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [read_sensor_register:65] read register 80ba result 01 value b8 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:970] get_ctrl 0 56 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [read_sensor_register:65] read register 2cba result 01 value 00 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [read_sensor_register:65] read register 80ba result 01 value b8 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:970] get_ctrl 0 56 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [read_sensor_register:65] read register 09ba result 01 value 00 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [read_sensor_register:65] read register 80ba result 01 value 7d Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:970] get_ctrl 0 0 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [read_sensor_register:65] read register 35ba result 01 value 00 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [read_sensor_register:65] read register 80ba result 01 value b8 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:970] get_ctrl 0 56 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [read_sensor_register:65] read register 35ba result 01 value 00 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [read_sensor_register:65] read register 80ba result 01 value b8 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:970] get_ctrl 0 56 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_release_buffers:131] buffers 0 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_release_buffers:148] buffers released Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_request_buffers:92] count: 2 (nbuffers), sizeimage: 0x28800 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [rvmalloc:48] rvmalloc mem: 0xffffc200109c8000 size 0x36000 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [rvmalloc:48] rvmalloc mem: 0xffffc200109ff000 size 0x52000 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:821] VIDIOC_REQBUFS cam->io 1 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_mmap:554] mmap call - Last output repeated twice - Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_start_transfer:300] Initialize isochronous buffers and urb's, ISOC IN: 0x81 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_start_transfer:301] Number of urb's 10, wPacketSize: 3072, Number of Packets 20 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:910] Stream on Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c.c: [write_sensor_register:86] write register 09ba result 02 value 00 00 Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:785] SET INPUT Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:1027] Unhandled IOCTL 0x40085618 ! Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 15226 bytes. Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110118 bytes. Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110506 bytes. Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110102 bytes. Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110490 bytes. Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:13 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110090 bytes. Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110474 bytes. Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110074 bytes. Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110462 bytes. Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110058 bytes. Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110446 bytes. Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110046 bytes. Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110430 bytes. Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110030 bytes. Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110418 bytes. Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:14 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110014 bytes. Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110402 bytes. Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110002 bytes. Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110386 bytes. Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 109986 bytes. Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110374 bytes. Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 109970 bytes. Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110358 bytes. Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 109958 bytes. Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110342 bytes. Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:15 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 109942 bytes. Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110330 bytes. Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 109926 bytes. Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110314 bytes. Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110590 bytes. Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110298 bytes. Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 2 times - Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110194 bytes. Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110578 bytes. Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110286 bytes. Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 2 times - Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110182 bytes. Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110570 bytes. Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110270 bytes. Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 2 times - Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110174 bytes. Feb 7 13:57:16 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110558 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110254 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 2 times - Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110162 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110546 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110238 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 2 times - Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110150 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110538 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110226 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 2 times - Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110138 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110526 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110210 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 2 times - Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110126 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110510 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110110 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110494 bytes. Feb 7 13:57:17 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110094 bytes. Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110482 bytes. Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110082 bytes. Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110466 bytes. Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110066 bytes. Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110450 bytes. Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110050 bytes. Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110438 bytes. Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [isoc_urb_complete:225] Frame complete! 110206 bytes. - Last output repeated 3 times - Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:923] Stream off Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:800] VIDIOC_REQBUFS failed. Previous buffers are still mapped. Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_do_ioctl:923] Stream off Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_release:529] m5603c release Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_stop_transfer:383] Free isochronous buffers and urb's Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_stop_transfer:398] Isochronous buffers and urb's freed Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_release:535] cam ffff81003072a000 Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_release:536] nbuffers 2 Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_release_buffers:131] buffers 2 Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [rvfree:68] rvfree mem: 0xffffc200109c8000 size 0x36000 Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_release_buffers:138] BUG!! freeing the wrong size buffer! Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_release_buffers:139] nbuffers: 2, sizeimage: 0x51000 Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_release_buffers:140] Attempting to correct... Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [rvfree:68] rvfree mem: 0xffffc200109ff000 size 0x52000 Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [m5603c_release_buffers:148] buffers released Feb 7 13:57:18 [kernel] /root/m560x/branches/m5603c-mt9v011/m5603c_v4l2.c: [v4l_m5603c_release:542] Video device /dev/video0 closed Also, here is the output of xawtv: whereami@thang ~ $ xawtv This is xawtv-3.95, running on Linux/x86_64 (2.6.19-gentoo-r3) WARNING: v4l-conf is compiled without DGA support. /dev/video0 [v4l2]: no overlay support v4l-conf had some trouble, trying to continue anyway ioctl: VIDIOC_ENUMSTD(index=0;id=0x0 [];name="";frameperiod.numerator=0;frameperiod.denominator=0;framelines=0): Unknown error 515 Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct ioctl: VIDIOC_G_STD(std=0x344f28249d [PAL_B,PAL_G,PAL_H,PAL_I,PAL_K,PAL_Nc,NTSC_M_JP,SECAM_H,SECAM_K1,ATSC_16_VSB,(null),(null),(null),(null),(null),(null),(null)]): Unknown error 515 ioctl: VIDIOC_S_STD(std=0x0 []): Unknown error 515 ioctl: VIDIOC_REQBUFS(count=1;type=VIDEO_CAPTURE;memory=MMAP): Invalid argument > > BR, > Ilyes Gouta. > > On 2/6/07, Martin Raspaud <mra...@fr...> wrote: > > Hi all, > > > > I have started to look at this project since I own a Creative live cam > > video pro (m5603c chip). > > > > I would very much like to help, but I am a bit confused on what is > > actually the part of the repository we have to work on. > > > > There are branches, testprograms, drivers and so on, so I guess some > > indications would be welcome. > > > > > > About my cam... I successfully compiled the sweex testprogram with David > > Sharp's patch. > > > > So I guess this entitles the creation of a m5603-livecampro directory in > > the testprograms, doesn't it ? > > > > > > Regards, > > > > Martin > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier. > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > M560x-driver-devel mailing list > > M56...@li... > > https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > M560x-driver-devel mailing list > M56...@li... > https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel > -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? |