Re: Question about driver for Mantis

2009-06-04 Thread Jarosław Huba
> Quick fix, do a make menuconfig: navigate through the menus, disable > au0828 support and try again. > > Regards, > Manu > -- I have to disable almost all other drivers to compile Mantis. During short test I didn't find any critical bugs. I tested it under Kaffeine development version, so no DV

Re: [PATCH]V4L:some v4l drivers have error for video_register_device

2009-06-04 Thread Hans Verkuil
On Friday 05 June 2009 04:51:36 Figo.zhang wrote: > On Thu, 2009-06-04 at 11:27 +0200, Hans Verkuil wrote: > > > On Thu, 2009-06-04 at 11:18 +0200, Laurent Pinchart wrote: > > >> Hi, > > >> > > >> On Thursday 04 June 2009 06:20:07 figo.zhang wrote: > > >> > The function video_register_device() will

Re: [PATCH]V4L:some v4l drivers have error for video_register_device

2009-06-04 Thread Figo.zhang
On Thu, 2009-06-04 at 11:27 +0200, Hans Verkuil wrote: > > On Thu, 2009-06-04 at 11:18 +0200, Laurent Pinchart wrote: > >> Hi, > >> > >> On Thursday 04 June 2009 06:20:07 figo.zhang wrote: > >> > The function video_register_device() will call the > >> > video_register_device_index(). In this functi

Re: [PATCH]videobuf-core.c: add pointer check

2009-06-04 Thread figo.zhang
On Wed, 2009-06-03 at 10:01 +0800, Figo.zhang wrote: > add poiter check for videobuf_queue_core_init(). > > any guys who write a v4l driver, pass a NULL pointer or a non-inintial > pointer to the first parameter such as videobuf_queue_sg_init() , it > would be crashed. > > Signed-off-by: Figo.zh

Re: Probably strange bug with usb radio-mr800

2009-06-04 Thread Greg KH
On Fri, Jun 05, 2009 at 02:43:04AM +0400, Alexey Klimov wrote: > Is there any ideas about different behaviour of device on 32- and > 64-bit platforms with the same usb bulk messages? No, there should be no difference. Have you run usbmon to look at the data on the wire? thanks, greg k-h -- To u

Re: Probably strange bug with usb radio-mr800

2009-06-04 Thread Alexey Klimov
Is there any ideas about different behaviour of device on 32- and 64-bit platforms with the same usb bulk messages? Any input is welcome. On Wed, May 27, 2009 at 9:51 PM, Alexey Klimov wrote: [...] > So, the same messages to device works fine with radio on 32bit machine > and nothing on 64bit ma

RE: [PATCH 3/9] dm355 ccdc module for vpfe capture driver

2009-06-04 Thread Karicheri, Muralidharan
>> >> My first reaction to this is... no. I'm reluctant to have a bunch of >> driver specific hooks in the core davinci SoC specific code. I'd much >> rather see this stuff kept along with the driver in drivers/media/* >> and abstracted as necessary there. > >I agree with Kevin on this. arch/* is

[PATCH] V4L: Generate KEY_CAMERA instead of BTN_0 key events on input devices

2009-06-04 Thread Lennart Poettering
A bunch of V4L drivers generate BTN_0 instead of KEY_CAMERA key presses. X11 is able to handle KEY_CAMERA automatically these days while BTN_0 is not treated at all. Thus it would be of big benefit if the camera drivers would consistently generate KEY_CAMERA. Some drivers (uvc) already do, this pa

[PATCH] V4L/pwc - use usb_interface as parent, not usb_device

2009-06-04 Thread Lennart Poettering
The current code creates a sysfs device path where the video4linux device is child of the usb device itself instead of the interface it belongs to. That is evil and confuses udev. This patch does basically the same thing as Kay's similar patch for the ov511 driver: http://git.kernel.org/?p=linux/

Re: [PATCH] Add missing __devexit_p()

2009-06-04 Thread Hans de Goede
Hi all, On 06/04/2009 04:07 PM, Jean Delvare wrote: Add missing __devexit_p() to several drivers. Also add a few missing __init, __devinit and __exit markers. These errors could result in build failures depending on the kernel configuration. Signed-off-by: Jean Delvare Looks good to me. Rega

[cron job] v4l-dvb daily build 2.6.22 and up: ERRORS, 2.6.16-2.6.21: ERRORS

2009-06-04 Thread Hans Verkuil
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:Thu Jun 4 19:00:02 CEST 2009 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 11921:111c819aed36 gcc version: gcc

Re: Creating a V4L driver for a USB camera

2009-06-04 Thread Theodore Kilgore
On Thu, 4 Jun 2009, Erik de Castro Lopo wrote: On Thu, 4 Jun 2009 14:02:37 +1000 Theodore Kilgore wrote: Well, if you are interested in using the camera as a still camera, then probably you ought also to send an inquiry over to gphoto-de...@lists.sourceforge.net because that is, basically

[PATCH] cx88: High resolution timer for Remote Controls

2009-06-04 Thread AH
Patch solves problem of missed keystrokes on some remote controls, as reported on http://bugzilla.kernel.org/show_bug.cgi?id=9637 . --- Signed-off-by: Andrzej Hajda mailto:andrzej.ha...@wp.pl>> Acked-by: Jean Delvare mailto:kh...@linux-fr.org>> --- diff -r 315bc4b65b4f linux/drivers/media/video/

Re: gspca: usb_set_interface() required for ISOC ep with altsetting of 0?

2009-06-04 Thread Jean-Francois Moine
On Thu, 04 Jun 2009 19:28:16 +0200 Roel Kluin wrote: > I noted that in get_ep() in drivers/media/video/gspca/gspca.c > usb_set_interface() is not called for an ISOC endpoint with an > altsetting of 0. Is that ok? get_ep() has changed in the last releases. Now, usb_set_interface() is called on (g

gspca: usb_set_interface() required for ISOC ep with altsetting of 0?

2009-06-04 Thread Roel Kluin
I noted that in get_ep() in drivers/media/video/gspca/gspca.c usb_set_interface() is not called for an ISOC endpoint with an altsetting of 0. Is that ok? Roel -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majord

[PATCH] Add missing __devexit_p()

2009-06-04 Thread Jean Delvare
Add missing __devexit_p() to several drivers. Also add a few missing __init, __devinit and __exit markers. These errors could result in build failures depending on the kernel configuration. Signed-off-by: Jean Delvare --- linux/drivers/media/dvb/bt8xx/bt878.c |8 +--- lin

[PULL] http://linuxtv.org/hg/~pinchartl/uvcvideo/

2009-06-04 Thread Laurent Pinchart
Mauro, Please pull from http://linuxtv.org/hg/~pinchartl/uvcvideo/ for the following 3 changesets: uvcvideo: Add generic control blacklist. uvcvideo: Don't accept to change the format when buffers are allocated. uvcvideo: Implement VIDIOC_[GS]_JPEGCOMP uvc_ctrl.c | 35 +++--

Re: Two WinTV1110 in one PC not working, single works

2009-06-04 Thread Tobias Kaminsky
Hello, this is what I figured out. If I am using the newest v4l-hg: 1) make install --> coldboot --> both card works --> coldboot --> just one card works 2) make install --> init 0 (not powering completly off) --> just one card works 3) make install --> init 6 --> both card works Please let m

Re: Digital Everywhere FloppyDTV / FireDTV (incl. CI)

2009-06-04 Thread Johannes T. K.
> > If anyone has been able to tune the cable adapter under linux I'd like to > hear more. > I have a firedtv c/ci which I have had some success with in linux. I have no problem tuning and watching/recoding programs as long as they are not scrambled. If the channel is scrambled I need to tune it t

Re: What alternative way could be possible for initializing sensor rigistors?

2009-06-04 Thread Hans Verkuil
> Hello everyone, > > In subdev framework, we already have "init" API but not recommended > for new drivers to use this. But I'm so frustrated for the absence of > that kind of API. What I want to do is that you can pass such data through the board_info. Patch for that have been posted but I sti

What alternative way could be possible for initializing sensor rigistors?

2009-06-04 Thread Dongsoo, Nathaniel Kim
Hello everyone, In subdev framework, we already have "init" API but not recommended for new drivers to use this. But I'm so frustrated for the absence of that kind of API. I'm working on camera driver which needs to programme registors through I2C bus and just stuck figuring out how to make it p

[PATCH] tvp514x: try_count off by one.

2009-06-04 Thread Roel Kluin
with `while (try_count-- > 0)' try_count reaches -1 after the loop. Signed-off-by: Roel Kluin --- diff --git a/drivers/media/video/tvp514x.c b/drivers/media/video/tvp514x.c index 4262e60..3750f7f 100644 --- a/drivers/media/video/tvp514x.c +++ b/drivers/media/video/tvp514x.c @@ -692,7 +692,7 @@ st

Re: [PATCH 3/9] dm355 ccdc module for vpfe capture driver

2009-06-04 Thread Laurent Pinchart
Hi, On Tuesday 02 June 2009 02:12:41 Kevin Hilman wrote: > "Karicheri, Muralidharan" writes: > > Thanks for reviewing this. I have not gone through all of your comments, > > but would like to respond to the following one first. I will respond to > > the rest as I do the rework. > > > > > I've had

Re: [PATCH]V4L:some v4l drivers have error for video_register_device

2009-06-04 Thread figo.zhang
On Thu, 2009-06-04 at 11:18 +0200, Laurent Pinchart wrote: > Hi, > > On Thursday 04 June 2009 06:20:07 figo.zhang wrote: > > The function video_register_device() will call the > > video_register_device_index(). In this function, firtly it will do some > > argments check , if failed,it will return

Re: [PATCH]V4L:some v4l drivers have error for video_register_device

2009-06-04 Thread Hans Verkuil
> On Thu, 2009-06-04 at 11:18 +0200, Laurent Pinchart wrote: >> Hi, >> >> On Thursday 04 June 2009 06:20:07 figo.zhang wrote: >> > The function video_register_device() will call the >> > video_register_device_index(). In this function, firtly it will do >> some >> > argments check , if failed,it w

Re: [PATCH]V4L:some v4l drivers have error for video_register_device

2009-06-04 Thread figo.zhang
On Thu, 2009-06-04 at 11:18 +0200, Laurent Pinchart wrote: > Hi, > > On Thursday 04 June 2009 06:20:07 figo.zhang wrote: > > The function video_register_device() will call the > > video_register_device_index(). In this function, firtly it will do some > > argments check , if failed,it will return

Re: [PATCH]V4L:some v4l drivers have error for video_register_device

2009-06-04 Thread Laurent Pinchart
Hi, On Thursday 04 June 2009 06:20:07 figo.zhang wrote: > The function video_register_device() will call the > video_register_device_index(). In this function, firtly it will do some > argments check , if failed,it will return a negative number such as > -EINVAL, and then do cdev_alloc() and devic

Re: Terratec DT USB XS Diversity/DiB0070+vdr: "URB status: Value too large for defined data type"+USB reset

2009-06-04 Thread Patrick Boettcher
Hi Marco, On Tue, 2 Jun 2009, Marco Borm wrote: Definitely interesting. This is a known issue for the dib0700 device, which happens on some USB host controllers. Actually which one do you use? "USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller" Hmm, looks bad: http://www.g

Re: dib0700 Nova-TD-Stick problem

2009-06-04 Thread Patrick Boettcher
Hi Soeren, On Wed, 3 Jun 2009, soeren.m...@stud.uni-hannover.de wrote: Soeren.Moch wrote: For a few weeks I use a Nova-TD-Stick and was annoyed with dvb stream errors, although the demod bit-error-rate (BER/UNC) was zero. I could track down this problem to dib0700_streaming_ctrl: When one cha