[PULL] http://linuxtv.org/hg/~jfrancois/v4l-dvb/
Hi Mauro, I added a bug fix which should go into linux 2.6.33. Please pull from http://linuxtv.org/hg/~jfrancois/v4l-dvb for the following 9 changesets: 01/09: gspca - main: Optimize code. http://linuxtv.org/hg/~jfrancois/v4l-dvb?cmd=changeset;node=ceb47e732054 02/09: gspca - main: Add the cam flag 'no_urb_create'. http://linuxtv.org/hg/~jfrancois/v4l-dvb?cmd=changeset;node=dbae53a683de 03/09: gspca - zc3xx: Add one more chipset ID of tas5130K. http://linuxtv.org/hg/~jfrancois/v4l-dvb?cmd=changeset;node=fee82c844a59 04/09: gspca - sn9c20x: Fix test of unsigned. http://linuxtv.org/hg/~jfrancois/v4l-dvb?cmd=changeset;node=e0ec15eaeab6 05/09: gspca - sn9c20x: Cleanup code. http://linuxtv.org/hg/~jfrancois/v4l-dvb?cmd=changeset;node=d654a6c81fa1 06/09: gspca - zc3xx: Bad detection of sensor HV7131R(c). http://linuxtv.org/hg/~jfrancois/v4l-dvb?cmd=changeset;node=332fe9cc577c 07/09: gspca - benq: New subdriver for camera 04a5:3035. http://linuxtv.org/hg/~jfrancois/v4l-dvb?cmd=changeset;node=fbbb6717feb5 08/09: gspca - sonixj: Add sensor adcm1700 and webcam 0c45:614a. http://linuxtv.org/hg/~jfrancois/v4l-dvb?cmd=changeset;node=ffe9eaea7ab6 09/09: gspca - vc032x: Fix a possible crash with the vc0321 bridge. http://linuxtv.org/hg/~jfrancois/v4l-dvb?cmd=changeset;node=e77df7995fad b/linux/drivers/media/video/gspca/benq.c | 330 ++ linux/Documentation/video4linux/gspca.txt |2 linux/drivers/media/video/gspca/Kconfig |9 linux/drivers/media/video/gspca/Makefile |2 linux/drivers/media/video/gspca/gspca.c | 38 +-- linux/drivers/media/video/gspca/gspca.h | 12 - linux/drivers/media/video/gspca/sn9c20x.c | 33 +-- linux/drivers/media/video/gspca/sonixj.c | 190 + linux/drivers/media/video/gspca/vc032x.c |4 linux/drivers/media/video/gspca/zc3xx.c | 18 + 10 files changed, 558 insertions(+), 80 deletions(-) Thanks. -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
passing stack variables to usb_control_msg()
I saw a patch earlier from Johan Hovold which said you shouldn't pass stack variables to usb_control_msg() so I used smatch to do an audit. Here are the results for 2.6.33-rc1 + Johan's patch. regards, dan carpenter drivers/media/dvb/dvb-usb/a800.c +82 a800_rc_query(3) error: doing dma on the stack (key) drivers/media/dvb/dvb-usb/au6610.c +51 au6610_usb_msg(20) error: doing dma on the stack (usb_buf) drivers/media/dvb/dvb-usb/ce6230.c +76 ce6230_rw_udev(42) error: doing dma on the stack (buf) drivers/media/dvb/dvb-usb/dib0700_core.c +35 dib0700_get_version(4) error: doing dma on the stack (b) drivers/media/dvb/dvb-usb/dib0700_core.c +35 dib0700_get_version(4) error: doing dma on the stack (b) drivers/media/dvb/dvb-usb/dib0700_core.c +212 dib0700_i2c_xfer_new(76) error: doing dma on the stack (buf) drivers/media/dvb/dvb-usb/dib0700_core.c +302 dib0700_identify_state(4) error: doing dma on the stack (b) drivers/media/dvb/dvb-usb/dib0700_core.c +302 dib0700_identify_state(4) error: doing dma on the stack (b) drivers/media/dvb/dvb-usb/dib0700_core.c +407 dib0700_download_firmware(46) error: doing dma on the stack (b) drivers/media/dvb/dvb-usb/dw2102.c +111 dw210x_op_rw(12) error: doing dma on the stack (u8buf) drivers/media/dvb/dvb-usb/ec168.c +86 ec168_rw_udev(52) error: doing dma on the stack (buf) drivers/media/dvb/dvb-usb/friio.c +248 friio_initialize(31) error: doing dma on the stack (wbuf) drivers/media/dvb/dvb-usb/friio.c +266 friio_initialize(49) error: doing dma on the stack (wbuf) drivers/media/dvb/dvb-usb/opera1.c +66 opera1_xilinx_rw(14) error: doing dma on the stack (u8buf) drivers/media/dvb/dvb-usb/vp7045.c +50 vp7045_usb_op(22) error: doing dma on the stack (outbuf) drivers/media/dvb/dvb-usb/vp7045.c +61 vp7045_usb_op(33) error: doing dma on the stack (inbuf) drivers/media/video/se401.c +157 se401_get_feature(7) error: doing dma on the stack (cp) drivers/media/video/usbvideo/ibmcam.c +1173 ibmcam_veio(14) error: doing dma on the stack (cp) drivers/media/video/usbvideo/ultracam.c +148 ultracam_veio(15) error: doing dma on the stack (cp) drivers/media/video/usbvision/usbvision-core.c +1542 usbvision_read_reg(8) error: doing dma on the stack (buffer) drivers/media/video/usbvision/usbvision-core.c +1783 usbvision_set_video_format(20) error: doing dma on the stack (value) drivers/media/video/usbvision/usbvision-core.c +1848 usbvision_set_output(46) error: doing dma on the stack (value) drivers/media/video/usbvision/usbvision-core.c +2021 usbvision_set_compress_params(22) error: doing dma on the stack (value) drivers/media/video/usbvision/usbvision-core.c +2053 usbvision_set_compress_params(54) error: doing dma on the stack (value) drivers/media/video/usbvision/usbvision-core.c +2157 usbvision_set_input(80) error: doing dma on the stack (value) drivers/media/video/usbvision/usbvision-core.c +2234 usbvision_set_dram_settings(44) error: doing dma on the stack (value) drivers/media/video/usbvision/usbvision-i2c.c +372 usbvision_i2c_write_max4(17) error: doing dma on the stack (value) drivers/net/usb/hso.c +2863 hso_get_config_data(7) error: doing dma on the stack (config_data) drivers/staging/comedi/drivers/usbdux.c +738 usbduxsub_start(7) error: doing dma on the stack (local_transfer_buffer) drivers/staging/comedi/drivers/usbdux.c +771 usbduxsub_stop(8) error: doing dma on the stack (local_transfer_buffer) drivers/staging/comedi/drivers/usbduxfast.c +455 usbduxfastsub_start(7) error: doing dma on the stack (local_transfer_buffer) drivers/staging/comedi/drivers/usbduxfast.c +477 usbduxfastsub_stop(7) error: doing dma on the stack (local_transfer_buffer) drivers/staging/udlfb/udlfb.c +61 dlfb_edid(8) error: doing dma on the stack (rbuf) drivers/staging/udlfb/udlfb.c +768 dlfb_probe(39) error: doing dma on the stack (rbuf) drivers/usb/host/hwa-hc.c +308 __hwahc_op_bwa_set(22) error: doing dma on the stack (mas_le) drivers/usb/serial/cypress_m8.c +395 cypress_serial_control(55) error: doing dma on the stack (feature_buffer) drivers/usb/serial/cypress_m8.c +435 cypress_serial_control(95) error: doing dma on the stack (feature_buffer) drivers/usb/serial/kl5kusb105.c +219 klsi_105_get_line_state(8) error: doing dma on the stack (status_buf) drivers/watchdog/pcwd_usb.c +250 usb_pcwd_send_command(23) error: doing dma on the stack (buf) -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[cron job] v4l-dvb daily build 2.6.22 and up: ERRORS, 2.6.16-2.6.21: ERRORS
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Sat Dec 26 19:00:07 CET 2009 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 13848:75c97b2d1a2a gcc version: gcc (GCC) 4.3.1 hardware:x86_64 host os: 2.6.26 linux-2.6.30-armv5: OK linux-2.6.31-armv5: OK linux-2.6.32-armv5: OK linux-2.6.32-armv5-davinci: OK linux-2.6.30-armv5-ixp: OK linux-2.6.31-armv5-ixp: OK linux-2.6.32-armv5-ixp: OK linux-2.6.30-armv5-omap2: OK linux-2.6.31-armv5-omap2: OK linux-2.6.32-armv5-omap2: OK linux-2.6.22.19-i686: ERRORS linux-2.6.23.12-i686: ERRORS linux-2.6.24.7-i686: ERRORS linux-2.6.25.11-i686: ERRORS linux-2.6.26-i686: WARNINGS linux-2.6.27-i686: ERRORS linux-2.6.28-i686: ERRORS linux-2.6.29.1-i686: ERRORS linux-2.6.30-i686: ERRORS linux-2.6.31-i686: ERRORS linux-2.6.32-i686: ERRORS linux-2.6.30-m32r: OK linux-2.6.31-m32r: OK linux-2.6.32-m32r: OK linux-2.6.30-mips: WARNINGS linux-2.6.31-mips: OK linux-2.6.32-mips: OK linux-2.6.30-powerpc64: WARNINGS linux-2.6.31-powerpc64: OK linux-2.6.32-powerpc64: WARNINGS linux-2.6.22.19-x86_64: ERRORS linux-2.6.23.12-x86_64: ERRORS linux-2.6.24.7-x86_64: ERRORS linux-2.6.25.11-x86_64: ERRORS linux-2.6.26-x86_64: WARNINGS linux-2.6.27-x86_64: OK linux-2.6.28-x86_64: OK linux-2.6.29.1-x86_64: WARNINGS linux-2.6.30-x86_64: OK linux-2.6.31-x86_64: WARNINGS linux-2.6.32-x86_64: WARNINGS spec: OK sparse (linux-2.6.32): ERRORS linux-2.6.16.61-i686: ERRORS linux-2.6.17.14-i686: ERRORS linux-2.6.18.8-i686: ERRORS linux-2.6.19.5-i686: ERRORS linux-2.6.20.21-i686: ERRORS linux-2.6.21.7-i686: ERRORS linux-2.6.16.61-x86_64: ERRORS linux-2.6.17.14-x86_64: ERRORS linux-2.6.18.8-x86_64: ERRORS linux-2.6.19.5-x86_64: ERRORS linux-2.6.20.21-x86_64: ERRORS linux-2.6.21.7-x86_64: ERRORS Detailed results are available here: http://www.xs4all.nl/~hverkuil/logs/Saturday.log Full logs are available here: http://www.xs4all.nl/~hverkuil/logs/Saturday.tar.bz2 The V4L-DVB specification from this daily build is here: http://www.xs4all.nl/~hverkuil/spec/media.html -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: uvcvideo Logitech patch
Hi Mitar, On Tuesday 15 December 2009 22:15:19 Ondrej Zary wrote: On Tuesday 15 December 2009 20:03:36 Mitar wrote: Hi! I have Logitech QuickCam Pro 9000 webcam and I had the same problems described here: http://patchwork.kernel.org/patch/52261/ I have applied the patch and it did not help. But it helped when I increased UVC_CTRL_CONTROL_TIMEOUT to 1000 and UVC_CTRL_STREAMING_TIMEOUT 5000. So 300 and 3000 values were not enough. I do not know if it was really necessary to increase UVC_CTRL_CONTROL_TIMEOUT or if it would be enough something between 3000 and 5000 for UVC_CTRL_STREAMING_TIMEOUT as I did not have more time to test it. So maybe 5000 would be a good default for UVC_CTRL_STREAMING_TIMEOUT? Could be, but I'd like to know if increasing the control streaming timeout is required as well. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Error using PWC on a PS3
Hi, I've tried to attach my Logitech, Inc. QuickCam Pro 4000 to a PS3 running Fedora 12. I get this error in dmesg pwc: Failed to set video mode q...@10 fps; return code = -110 Everything works well on a standard x86 laptop running Fedora 11. Anybody has an idea why a different architecture could affect pwc? I don't know, problems with little/big endian? -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Error using PWC on a PS3
On 26/12/09 21:12, Andrea wrote: Hi, I've tried to attach my Logitech, Inc. QuickCam Pro 4000 to a PS3 running Fedora 12. I get this error in dmesg pwc: Failed to set video mode q...@10 fps; return code = -110 Everything works well on a standard x86 laptop running Fedora 11. Anybody has an idea why a different architecture could affect pwc? I don't know, problems with little/big endian? This is what I see in dmesg Dec 26 21:14:52 localhost kernel: Linux video capture interface: v2.00 Dec 26 21:14:52 localhost kernel: pwc: Philips webcam module version 10.0.13 loaded. Dec 26 21:14:52 localhost kernel: pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 PCVC830/840. Dec 26 21:14:52 localhost kernel: pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30, Dec 26 21:14:52 localhost kernel: pwc: the Creative WebCam 5 Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100. Dec 26 21:14:52 localhost kernel: pwc: Logitech QuickCam 4000 Pro USB webcam detected. Dec 26 21:14:52 localhost kernel: pwc: Registered as /dev/video0. Dec 26 21:14:53 localhost kernel: input: PWC snapshot button as /devices/ps3_system/sb_05/usb1/1-2/1-2.1/input/input4 Dec 26 21:14:53 localhost kernel: usbcore: registered new interface driver Philips webcam Dec 26 21:14:54 localhost kernel: pwc: Failed to set video mode q...@10 fps; return code = -110 Dec 26 21:14:55 localhost kernel: pwc: Failed to set video mode q...@10 fps; return code = -110 Dec 26 21:14:57 localhost kernel: pwc: Failed to set video mode q...@10 fps; return code = -110 Dec 26 21:14:58 localhost kernel: pwc: Failed to set video mode q...@10 fps; return code = -110 -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Afatech USB ID 1b80:e39a
Hi everyone, Would it be possible to add support for KWorld USB Stick II, KW-D-395UR? It's USB ID is 1b80:e39a? On the chip it's written: AF9015A-N1 0817 HL2R2 There is a support for KWorld USB Stick II in current version of v4l-dvb. However, it seems that supported device(s) (VS-DVB-T 395U) are not the same as KW-D-395UR. Their IDs are e395, e396 and e39b. I've tried just adding e39a, but no luck. There are currently Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x1b80 Afatech idProduct 0xe39a bcdDevice 2.00 iManufacturer 1 Afatech iProduct 2 DVB-T 2 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 46 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 4 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x85 EP 5 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x (Bus Powered)