Re: [2.6.33.4 PATCH] V4L/uvcvideo: Add support for Suyin Corp. Lenovo Webcam
Hi Nils, On Thursday 24 June 2010 20:19:41 Nils Radtke wrote: On Wed 2010-06-23 @ 02-45-53PM +0200, Laurent Pinchart wrote: # On Wednesday 23 June 2010 11:23:16 Nils Radtke wrote: # From: Nils Radtke l...@think-future.de # # This patch adds support for the Suyin Corp. Lenovo Webcam. # lsusb: ID 064e:a102 Suyin Corp. Lenovo Webcam # # It is available as built-in webcam i.e. in ACER timeline 1810t # notebooks. # # The note in uvc_driver.c about Logitech cameras applies the same # to the Suyin web cam: it doesn't announce itself as UVC devices # but is compliant. # # Signed-off-by: Nils Radtke l...@think-future.de # # Thanks for the patch. Could you please send me the output of lsusb -v for your Bus 002 Device 002: ID 064e:a102 Suyin Corp. Lenovo Webcam [snip] Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass14 Video bInterfaceSubClass 1 Video Control bInterfaceProtocol 0 iInterface 5 Webcam This looks like a pretty standard UVC device. Are you sure your patch is needed ? -- 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
Hello to Linux Media mail list
It is my first post to linux-media, sorry for NULL msg. -- 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
Slovenia DVB-T scan
Hi! I noticed there isn't yet a tuning file for Slovenia so I'm giving you info on our receivers (scanned with w_scan): # Slovenia / Ljubljana # MULTIPLEX A #-- T 60200 8MHz 2/3 NONE QAM64 8k 1/4 NONE T 51400 8MHz 2/3 NONE QAM64 8k 1/8 NONE Regards, Aljaz -- 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
Question on newly build uvcvideo.ko
HI: I am using a ASUS netbook with a USB 2.0 web camera (04f2:b071 Chicony Electronics Co., Ltd 2.0M UVC WebCam / CNF7129) I installed Linux, and the default uvcvideo.ko works (I tried gstreamer-properties, which can find CNF7129 device and show correct video camera test). While I want to try the newest V4L2 build, So I follow http://www.linuxtv.org/wiki to: 1: get the src code v4l-dvb-9652f85e688a.tar.gz 2: make and make install on my netbook. 3: reboot system lsmod shows me uvcvideo module has been loaded, while gstreamer-properties can't find CNF7129 device, so I can't use this USB 2.0 web camera now. I also tried re-install original workable Linux, and make v4l again. Then copy the newly build uvcvideo.ko to /lib/modules/2.6.33.xx/kernel/drivers/media/video/uvc/ module still can be found from lsmod, while gstreamer-properties still can't find CNF7129 device. Does it mean I must do some code modification for 04f2:b071 device before I build v4l driver? Thanks! Samuel -Here is lsusb -v information of my webcam-- Bus 001 Device 004: ID 04f2:b071 Chicony Electronics Co., Ltd 2.0M UVC WebCam / CNF7129 Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize064 idVendor 0x04f2 Chicony Electronics Co., Ltd idProduct 0xb071 2.0M UVC WebCam / CNF7129 bcdDevice 15.44 iManufacturer 2 Chicony Electronics Co., Ltd. iProduct1 CNF7129 iSerial 3 SN0001 ... -- 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: Question on newly build uvcvideo.ko
Hi Samuel, On Friday 25 June 2010 11:25:13 Samuel Xu wrote: HI: I am using a ASUS netbook with a USB 2.0 web camera (04f2:b071 Chicony Electronics Co., Ltd 2.0M UVC WebCam / CNF7129) I installed Linux, and the default uvcvideo.ko works (I tried gstreamer-properties, which can find CNF7129 device and show correct video camera test). While I want to try the newest V4L2 build, So I follow http://www.linuxtv.org/wiki to: 1: get the src code v4l-dvb-9652f85e688a.tar.gz 2: make and make install on my netbook. 3: reboot system lsmod shows me uvcvideo module has been loaded, while gstreamer-properties can't find CNF7129 device, so I can't use this USB 2.0 web camera now. Can you look at the kernel log (dmesg) and report messages printed by the uvcvideo driver ? I also tried re-install original workable Linux, and make v4l again. Then copy the newly build uvcvideo.ko to /lib/modules/2.6.33.xx/kernel/drivers/media/video/uvc/ module still can be found from lsmod, while gstreamer-properties still can't find CNF7129 device. That's to be expected, as the new v4l-dvb build you installed replaced the core v4l modules (such as videodev.ko), and the new version isn't compatible with the uvcvideo driver that came with your kernel. Does it mean I must do some code modification for 04f2:b071 device before I build v4l driver? In theory, no. -- 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
Re: Question on newly build uvcvideo.ko
One correction: After make and make install, uvcvideo module can't auto loaded any more. I must manually insmod uvcvideo.ko to load it. Here is lsmod result, I never have chance to make uvcvideo module used bit to 1 :( [r...@user-desktop uvc]# lsmod Module Size Used by uvcvideo 46182 0 rt2860sta 406917 1 battery 7968 0 After 2 questions, there is dmesg from uvcvideo after my manually insmod, any idea? Another question is: If newest v4l code tree has been advanced much than src tree inside 2.6.33 kernel, which v4l src label is nearest from src tree inside 2.6.33 kernel? 3rdd question is: if I want to build v4l driver from src inside 2.6.33 kernel directly. How should I do? (I tried to make menuconfig and make modules from a clean kernel, while insmod the newly build uvcvideo.ko reports: insmod: error inserting './uvcvideo.ko': -1 Invalid module format [ 78.446109] uvcvideo: Found UVC 1.00 device CNF7129 (04f2:b071) [ 78.462540] [ cut here ] [ 78.462569] WARNING: at drivers/media/video/v4l2-dev.c:420 __video_register_device+0x44/0x3d7() [ 78.462581] Hardware name: 1000H [ 78.462588] Modules linked in: uvcvideo(+) rt2860sta(C) battery [ 78.462616] Pid: 690, comm: insmod Tainted: G C 2.6.33.3-11.1-netbook #1 [ 78.462626] Call Trace: [ 78.462647] [c1030944] warn_slowpath_common+0x66/0x7d [ 78.462665] [c12f89ad] ? __video_register_device+0x44/0x3d7 [ 78.462682] [c1030968] warn_slowpath_null+0xd/0x10 [ 78.462697] [c12f89ad] __video_register_device+0x44/0x3d7 [ 78.462714] [c12f8d56] video_register_device+0xa/0xc [ 78.462744] [f82e50fc] uvc_probe+0x9c0/0xb26 [uvcvideo] [ 78.462763] [c12c1e35] usb_probe_interface+0xe1/0x136 [ 78.462782] [c11fff7b] driver_probe_device+0x87/0x107 [ 78.462799] [c120003e] __driver_attach+0x43/0x5f [ 78.462815] [c11ff907] bus_for_each_dev+0x3e/0x69 [ 78.462831] [c11ffe46] driver_attach+0x14/0x16 [ 78.462846] [c11b] ? __driver_attach+0x0/0x5f [ 78.462862] [c11ff3aa] bus_add_driver+0x105/0x235 [ 78.462879] [c1200280] driver_register+0x7a/0xe1 [ 78.462894] [c12c1bf6] usb_register_driver+0x67/0x104 [ 78.462919] [f82c2000] ? uvc_init+0x0/0x71 [uvcvideo] [ 78.462942] [f82c2059] uvc_init+0x59/0x71 [uvcvideo] [ 78.462958] [c100113a] do_one_initcall+0x4d/0x132 [ 78.462977] [c105a1b6] sys_init_module+0xa7/0x1db [ 78.462992] [c10027d0] sysenter_do_call+0x12/0x26 [ 78.463051] ---[ end trace a67861dcf94e1e3a ]--- [ 78.463064] uvcvideo: Failed to register video device (-22). [ 78.463758] usbcore: registered new interface driver uvcvideo [ 78.463774] USB Video Class driver (v0.1.0) 2010/6/25 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Samuel, On Friday 25 June 2010 11:25:13 Samuel Xu wrote: HI: I am using a ASUS netbook with a USB 2.0 web camera (04f2:b071 Chicony Electronics Co., Ltd 2.0M UVC WebCam / CNF7129) I installed Linux, and the default uvcvideo.ko works (I tried gstreamer-properties, which can find CNF7129 device and show correct video camera test). While I want to try the newest V4L2 build, So I follow http://www.linuxtv.org/wiki to: 1: get the src code v4l-dvb-9652f85e688a.tar.gz 2: make and make install on my netbook. 3: reboot system lsmod shows me uvcvideo module has been loaded, while gstreamer-properties can't find CNF7129 device, so I can't use this USB 2.0 web camera now. Can you look at the kernel log (dmesg) and report messages printed by the uvcvideo driver ? I also tried re-install original workable Linux, and make v4l again. Then copy the newly build uvcvideo.ko to /lib/modules/2.6.33.xx/kernel/drivers/media/video/uvc/ module still can be found from lsmod, while gstreamer-properties still can't find CNF7129 device. That's to be expected, as the new v4l-dvb build you installed replaced the core v4l modules (such as videodev.ko), and the new version isn't compatible with the uvcvideo driver that came with your kernel. Does it mean I must do some code modification for 04f2:b071 device before I build v4l driver? In theory, no. -- 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
[PULL] Re: [patch] V4L/DVB: cx23885: reversed condition in dvb_register()
Dear Dan, Yes, you are right. Mauro, please pull fixed tree: http://udev.netup.ru/hg/v4l-dvb-aospan-ci_init-fix-new/ thanks ! On 05.06.2010 16:05, Dan Carpenter wrote: videobuf_dvb_register_bus() returns negative error codes on failure. This was introduced in e4425eab6b2: V4L/DVB: cx23885: Check register errors. Signed-off-by: Dan Carpentererro...@gmail.com --- I don't have the hardware to test this, but it looks reversed. diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c index 0a199d7..bf7c328 100644 --- a/drivers/media/video/cx23885/cx23885-dvb.c +++ b/drivers/media/video/cx23885/cx23885-dvb.c @@ -991,7 +991,7 @@ static int dvb_register(struct cx23885_tsport *port) ret = videobuf_dvb_register_bus(port-frontends, THIS_MODULE, port, dev-pci-dev, adapter_nr, 0, cx23885_dvb_fe_ioctl_override); - if (!ret) + if (ret 0) return ret; /* init CI MAC */ -- Abylai Ospanaos...@netup.ru NetUP Inc. -- 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: Slovenia DVB-T scan
2010/6/25 Aljaž Prusnik prus...@gmail.com: Hi! I noticed there isn't yet a tuning file for Slovenia so I'm giving you info on our receivers (scanned with w_scan): # Slovenia / Ljubljana # MULTIPLEX A #-- T 60200 8MHz 2/3 NONE QAM64 8k 1/4 NONE T 51400 8MHz 2/3 NONE QAM64 8k 1/8 NONE Added, thanks. Regards, Aljaz Christoph -- 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: CI-Module not working on Technisat Cablestar HD2
Thanks for the feedback already. Do you know which kernel version this driver is functional in out of the top of your head? I tried multiple kernels and had no luck getting it to work so far. On Thu, Jun 24, 2010 at 2:32 PM, Bjørn Mork bj...@mork.no wrote: Pascal Hahn derpa...@gmail.com writes: I can't see any of the expected mantis_ca_init but couldn't figure out in the code where that gets called. I don't think it is. It was at some point, but it seems to be removed. Most likely because it wasn't considered ready at the time this driver was merged(?) BTW, there is a potentional null dereference in mantis_irq_handler(), which will do ca = mantis-mantis_ca; .. if (stat MANTIS_INT_IRQ0) { dprintk(MANTIS_DEBUG, 0, %s, label[1]); mantis-gpif_status = rst_stat; wake_up(ca-hif_write_wq); schedule_work(ca-hif_evm_work); } This will blow up if (stat MANTIS_INT_IRQ0) is true, since mantis-mantis_ca never is allocated. But then I guess that the hardware should normally prevent (stat MANTIS_INT_IRQ0) from being true as long as the ca system isn't initiated, so this does not pose a problem in practice. Still doesn't look good. Bjørn -- 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 -- 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: CI-Module not working on Technisat Cablestar HD2
Pascal Hahn derpa...@gmail.com writes: Thanks for the feedback already. Do you know which kernel version this driver is functional in out of the top of your head? I tried multiple kernels and had no luck getting it to work so far. If you are talking about the mantis driver in Linus' mainline kernels, then it isn't updated at all since it was merged. No need to try different kernels. They are all the same with respect to this driver. But the mantis driver went through a lot of changes during the very active development before it was merged, and the CA code used to be enabled at some point. But I do not know if it worked. And there were most likely very good reasons to disable it... Google will know. Bjørn -- 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: Support for 0ccd:0072 in em28xx?
On 06/22/2010 12:28 PM, Luboš Doležel wrote: Hello, I have a Terratec Cinergy XS Hybrid card [0ccd:0072] that used to be supported by the em28xx-new driver. The project has since been discontinued and the source code is unmaintained and incompatible with current kernels. Happens anyone to be working on supporting my model in the in-kernel em28xx? It seems my card is based on xc5000, which the current code doesn't take in to account :-( I don't care about analog/FM that much, DVB-T is what matters the most. Please CC me in response! Thanks, best regards, -- Luboš Doležel -- 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 Hi Luboš, i have the same card and currently it's not supported, i have contacted Terratec and a sample stick was donated for driver development but from what i have understood it's not a priority for driver developers... maybe one day we could see a driver but if you need dvb-t on your pc quickly i think you should consider to buy a new fully supported stick (i know it's crazy)... maybe Devin has some news about the driver status and could answer our questions bye! -- 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: cKbdRemote: Invalid argument
Got remote back with new hg drivers. On 6/24/2010 8:04 PM, Timothy D. Lenz wrote: Not sure what caused this, but the remote was working and I did an apt-get update/upgrade and then it wasn't. Now the syslog is getting this repeating. Don't seem to have to use the remote for another entry to be added to the log. Jun 24 19:36:33 x64VDR vdr: [4903] ERROR: cKbdRemote: Invalid argument Using Debian Squeeze. remote is on a nexus-s and using ir_kbd_i2c -- 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 -- 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: [PATCH] Terratec Cinergy 250 PCI support
Am Freitag, den 25.06.2010, 01:43 +0200 schrieb hermann pitton: Hi, Jean-Michel, Am Freitag, den 25.06.2010, 00:42 +0200 schrieb Jean-Michel Grimaldi: Hi, I have a Terratec Cinergy 250 PCI video card, and a small modification in saa7134-cards.c is needed for it to work. I built the patch on 2.6.34 version (I sent the modification to the maintainer in early 2009 but got no feedback): -- saa7134-cards.old.c 2010-06-25 00:31:16.0 +0200 +++ saa7134-cards.new.c 2010-06-25 00:30:52.0 +0200 @@ -2833,7 +2833,7 @@ .tv = 1, },{ .name = name_svideo, /* NOT tested */ - .vmux = 8, + .vmux = 3, .amux = LINE1, }}, .radio = { Thanks for taking it into account in future kernels. hm, don't know who missed it. After Gerd, the main mover on saa7134 was Hartmut, also /me and some well known others cared. Official maintainer these days is Mauro. For latest DVB stuff, you also will meet Mike Krufky. I'm sorry, but your patch is still wrong. You do have only a Composite signal. S-Video, with separated chroma and luma, can only be on vmux 5-9. NACKED-by: hermann pitton hermann-pit...@arcor.de Jean-Michel, do you understand? You need to add the missing Composite inputs instead. One of them can be Composite over the S-Video-in connector. Have a look at other cards in saa7134-cards.c. Cheers, Hermann -- 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: Question on newly build uvcvideo.ko
Hi, Pinchart: Appreciate your possible comments on those dmesg info. Samuel 2010/6/25 Samuel Xu samuel.xu.t...@gmail.com: One correction: After make and make install, uvcvideo module can't auto loaded any more. I must manually insmod uvcvideo.ko to load it. Here is lsmod result, I never have chance to make uvcvideo module used bit to 1 :( [r...@user-desktop uvc]# lsmod Module Size Used by uvcvideo 46182 0 rt2860sta 406917 1 battery 7968 0 After 2 questions, there is dmesg from uvcvideo after my manually insmod, any idea? Another question is: If newest v4l code tree has been advanced much than src tree inside 2.6.33 kernel, which v4l src label is nearest from src tree inside 2.6.33 kernel? 3rdd question is: if I want to build v4l driver from src inside 2.6.33 kernel directly. How should I do? (I tried to make menuconfig and make modules from a clean kernel, while insmod the newly build uvcvideo.ko reports: insmod: error inserting './uvcvideo.ko': -1 Invalid module format [ 78.446109] uvcvideo: Found UVC 1.00 device CNF7129 (04f2:b071) [ 78.462540] [ cut here ] [ 78.462569] WARNING: at drivers/media/video/v4l2-dev.c:420 __video_register_device+0x44/0x3d7() [ 78.462581] Hardware name: 1000H [ 78.462588] Modules linked in: uvcvideo(+) rt2860sta(C) battery [ 78.462616] Pid: 690, comm: insmod Tainted: G C 2.6.33.3-11.1-netbook #1 [ 78.462626] Call Trace: [ 78.462647] [c1030944] warn_slowpath_common+0x66/0x7d [ 78.462665] [c12f89ad] ? __video_register_device+0x44/0x3d7 [ 78.462682] [c1030968] warn_slowpath_null+0xd/0x10 [ 78.462697] [c12f89ad] __video_register_device+0x44/0x3d7 [ 78.462714] [c12f8d56] video_register_device+0xa/0xc [ 78.462744] [f82e50fc] uvc_probe+0x9c0/0xb26 [uvcvideo] [ 78.462763] [c12c1e35] usb_probe_interface+0xe1/0x136 [ 78.462782] [c11fff7b] driver_probe_device+0x87/0x107 [ 78.462799] [c120003e] __driver_attach+0x43/0x5f [ 78.462815] [c11ff907] bus_for_each_dev+0x3e/0x69 [ 78.462831] [c11ffe46] driver_attach+0x14/0x16 [ 78.462846] [c11b] ? __driver_attach+0x0/0x5f [ 78.462862] [c11ff3aa] bus_add_driver+0x105/0x235 [ 78.462879] [c1200280] driver_register+0x7a/0xe1 [ 78.462894] [c12c1bf6] usb_register_driver+0x67/0x104 [ 78.462919] [f82c2000] ? uvc_init+0x0/0x71 [uvcvideo] [ 78.462942] [f82c2059] uvc_init+0x59/0x71 [uvcvideo] [ 78.462958] [c100113a] do_one_initcall+0x4d/0x132 [ 78.462977] [c105a1b6] sys_init_module+0xa7/0x1db [ 78.462992] [c10027d0] sysenter_do_call+0x12/0x26 [ 78.463051] ---[ end trace a67861dcf94e1e3a ]--- [ 78.463064] uvcvideo: Failed to register video device (-22). [ 78.463758] usbcore: registered new interface driver uvcvideo [ 78.463774] USB Video Class driver (v0.1.0) 2010/6/25 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Samuel, On Friday 25 June 2010 11:25:13 Samuel Xu wrote: HI: I am using a ASUS netbook with a USB 2.0 web camera (04f2:b071 Chicony Electronics Co., Ltd 2.0M UVC WebCam / CNF7129) I installed Linux, and the default uvcvideo.ko works (I tried gstreamer-properties, which can find CNF7129 device and show correct video camera test). While I want to try the newest V4L2 build, So I follow http://www.linuxtv.org/wiki to: 1: get the src code v4l-dvb-9652f85e688a.tar.gz 2: make and make install on my netbook. 3: reboot system lsmod shows me uvcvideo module has been loaded, while gstreamer-properties can't find CNF7129 device, so I can't use this USB 2.0 web camera now. Can you look at the kernel log (dmesg) and report messages printed by the uvcvideo driver ? I also tried re-install original workable Linux, and make v4l again. Then copy the newly build uvcvideo.ko to /lib/modules/2.6.33.xx/kernel/drivers/media/video/uvc/ module still can be found from lsmod, while gstreamer-properties still can't find CNF7129 device. That's to be expected, as the new v4l-dvb build you installed replaced the core v4l modules (such as videodev.ko), and the new version isn't compatible with the uvcvideo driver that came with your kernel. Does it mean I must do some code modification for 04f2:b071 device before I build v4l driver? In theory, no. -- 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