Re: [PATCH] Add patch to allow compilation on versions 3.5 with CONFIG_OF

2014-06-18 Thread Devin Heitmueller
Doesn't this produce compiler warnings since the static v4l2_of_parse_* functions are now never called? Those functions are inside the #if 0, so the compiler never sees them. I would patch v4l2-core/Makefile instead to just never compile v4l2-of.o. Because the final Makefile is generated by

Re: [alsa-devel] [PATCH 1/3] sound: Add a quirk to enforce period_bytes

2014-06-16 Thread Devin Heitmueller
This looks like a workaround for a userspace bug that would affect all USB audio devices. What period/buffer sizes are xawtv/tvtime trying to use? I have similar concerns, although I don't know what the right solution is. For example, the last time Mauro tweaked the latency in tvtime, it

Re: [alsa-devel] [PATCH 1/3] sound: Add a quirk to enforce period_bytes

2014-06-16 Thread Devin Heitmueller
The official TV playback application, found on the CD with drivers, captures samples from the card into its buffer, and plays from the other end of the buffer concurrently. If there are, on average for a few seconds, too few samples in the buffer, it means that they are consumed faster than

[PATCH] Add patch to allow compilation on versions 3.5 with CONFIG_OF

2014-06-12 Thread Devin Heitmueller
Support for Open Firmware was introduced in the V4L2 tree, but it depends on features only found in 3.5+. Add a patch to disable the support for earlier kernels. Tested on Ubuntu 10.04 with kernel 3.2.0-030200-generic (which has CONFIG_OF enabled by default). Signed-off-by: Devin Heitmueller

Re: Pinnacle 320cx -- /dev/video ?

2014-05-29 Thread Devin Heitmueller
According to: http://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_T_USB_RC Pinnacle Expresscard 320cx ✔ Yes, in kernel since 2.6.26 2304:022e USB2.0 dvb-usb-dib0700-1.20.fw I've just bought this card and it is correctly recognized and initialized, however it doesn't

Re: [PATCH] au0828: fix logic of tuner disconnection

2014-05-07 Thread Devin Heitmueller
On Tue, May 6, 2014 at 11:58 PM, cb.xi...@samsung.com wrote: From: Changbing Xiong cb.xi...@samsung.com The driver crashed when the tuner was disconnected while restart stream operations are still being performed. Fixed by adding a flag in struct au0828_dvb to indicate whether restart stream

Re: [PATCH 1/4] drivers/base: add managed token devres interfaces

2014-05-05 Thread Devin Heitmueller
On Mon, May 5, 2014 at 3:36 PM, Tejun Heo t...@kernel.org wrote: On Mon, May 05, 2014 at 03:30:34PM -0400, Devin Heitmueller wrote: On Mon, May 5, 2014 at 3:26 PM, Tejun Heo t...@kernel.org wrote: As such, please consider the patches nacked and try to find someone who can shepherd the code

Re: Elgato Eye TV Deluxe V2 supported?

2014-04-25 Thread Devin Heitmueller
On Fri, Apr 25, 2014 at 2:31 PM, Another Sillyname anothersn...@googlemail.com wrote: I have an Elgato Eye TV V2 USB device USB ID 0fd9:002c which reading here https://github.com/mirrors/linux-2.6/blob/master/drivers/staging/media/as102/as102_usb_drv.h Looks like it should be supported

Re: Elgato Eye TV Deluxe V2 supported?

2014-04-25 Thread Devin Heitmueller
Is the as102 tree ever likely to go mainline? The only reason it's in staging is because it doesn't meet the coding standards (i.e. whitespace, variable naming, etc). Somebody needs to come along and expend the energy to satisfy the whitespace gods. Seems like a fantastically stupid reason to

Re: Terratec Cinergy T XS Firmware (Kernel 3.14.1)

2014-04-24 Thread Devin Heitmueller
Yes, I am sure. The tuner-xc2028 module even reports FW Version 2.7. Yeah, the firmware image itself looks fine. What I suspect is, that this piece of hardware simply doesn't work with that firmware version. You've got the right blob (that's the only firmware that has ever run on the xc3028a

Re: Terratec Cinergy T XS Firmware (Kernel 3.14.1)

2014-04-23 Thread Devin Heitmueller
On Wed, Apr 23, 2014 at 4:34 PM, Daniel Exner d...@dragonslave.de wrote: Hi, (Please keep me in CC as I'm currently not subscribed to this Mailinglist) I happened to inherit one of those DVB-T Sticks ID 0ccd:0043 TerraTec Electronic GmbH Cinergy T XS and of course it isn't working as

Re: [REVIEW PATCH 3/3] saa7134: convert to vb2

2014-04-18 Thread Devin Heitmueller
if USERPTR mode required the buffers to be page aligned and I was violating the spec. Devin From: Devin Heitmueller dheitmuel...@kernellabs.com Date: Fri, 17 May 2013 19:53:02 + (-0400) Subject: Fix alignment bug when using VB2 with userptr mode Fix alignment bug when using VB2 with userptr mode

Re: [REVIEW PATCH 3/3] saa7134: convert to vb2

2014-04-18 Thread Devin Heitmueller
Hi Hans, This makes no sense. The vivi driver uses vb2-vmalloc as well, and that works perfectly fine in userptr mode. Applying this patch breaks vivi userptr mode, so this is a NACK for this patch. Don't misunderstand, I acknowledge the very real possibility that I don't fully understand the

Re: Hauppauge ImpactVCB-e 01385

2014-04-16 Thread Devin Heitmueller
Anyway, I would recommend that you make a safety copy of your modules first (just in case :-) ), and then move all the newly install modules to the right place. Yeah, I generally recommend that in such cases you just rm -rf /lib/modules/`uname -r`/kernel/drivers/media before running make

Re: No channels on Hauppauge 950Q

2014-03-30 Thread Devin Heitmueller
On Sun, Mar 30, 2014 at 12:25 PM, Sunset Machine sunsetmachi...@gmail.com wrote: Today is March 30, 2014 The 950Q is a USB TV Stick. The driver loads, the firmware loads. Various software sees the device but none of them find any channels. I use an antenna for over-the-air HD television in

Re: No channels on Hauppauge 950Q

2014-03-30 Thread Devin Heitmueller
On Sun, Mar 30, 2014 at 3:16 PM, Sunset Machine sunsetmachi...@gmail.com wrote: kernel 3.2.0-4-686-pae and a new 950q Ok. If you own a Revision E1H3 device, then that kernel definitely won't work (the Rev is printed on the back of the stick above the barcode). 3.13-1-686-pae is available in

Re: [PATCH] saa7134: automatic norm detection

2014-03-28 Thread Devin Heitmueller
Let me explain why I created a new thread. My company is engaged in the monitoring of TV air. All TV channels are recorded 24/7 for further analysis. But some local TV channels change the standard over time (SECAM-PAL, PAL-SECAM). So the recording software must be notified about these changes

Re: xc2038/3028 firmware

2014-03-21 Thread Devin Heitmueller
Hi Frank, I specifically asked for and received permission from Xceive/CrestaTech to make the xc5000 firmware freely redistributable. They were unwilling to entertain that though for the xc2028/3028 as they considered it a long deprecated product. In order to include firmware blobs in

Re: [PATCH 00/79] Add support for ATSC PCTV 80e USB stick

2014-03-04 Thread Devin Heitmueller
, as there are some very big ones here that could be biger than VGER's max limit for posts. Anyway, all patches can be found at: http://git.linuxtv.org/mchehab/experimental.git/shortlog/refs/heads/drx-j-v3 Have fun! Mauro Devin Heitmueller (2): [media] drx-j: add a driver

Re: V4L2 and frames vs fields

2014-03-03 Thread Devin Heitmueller
Hi Hans, For field formats where both fields are used the spec is reasonably clear. The v4l2_format height field refers to the full frame height (combining both fields). No dispute here. For the TOP/BOTTOM/ALTERNATE setting the format's height refers to that of the field, not the frame.

Re: Unknown EM2800 video grabber (card=0)

2014-03-02 Thread Devin Heitmueller
No idea what's going wrong here, but this dmesg output is definitely incomplete. Or maybe you modifed the driver and messed things up ? ;-) My guess is that it's not actually an em28xx device at all (and the doc the user is referring to refers to some device by the manufacturer with the same

Re: [PATCH 0/3] media/drx39xyj: fix DJH_DEBUG path null pointer dereferences, and compile errors.

2014-02-28 Thread Devin Heitmueller
On Fri, Feb 28, 2014 at 4:22 PM, Shuah Khan shuah...@samsung.com wrote: This patch series fixes null pointer dereference boot failure as well as compile errors. Seems kind of strange that I wasn't on the CC for this, since I was the original author of all that code (in fact, DJH are my

Re: [PATCH 07/24] xc5000: properly report i2c write failures

2014-02-10 Thread Devin Heitmueller
On Mon, Feb 10, 2014 at 3:25 AM, Joonyoung Shim dofm...@gmail.com wrote: As you said, i modified like below patch and it is working well. Thanks for your advice. diff --git a/drivers/media/usb/au0828/au0828-cards.c b/drivers/media/usb/au0828/au0828-cards.c index 0cb7c28..9936875 100644 ---

Re: [PATCH 07/24] xc5000: properly report i2c write failures

2014-02-07 Thread Devin Heitmueller
I can't load firmware like error of below link. https://bugs.launchpad.net/ubuntu/+source/linux-firmware-nonfree/+bug/1263837 This error is related with this patch. This fix is right but above error is created after this fix because my device makes WatchDogTimer to 0 when load firmware.

Re: au0828 errors and mangled video with Hauppauge 950Q

2014-02-05 Thread Devin Heitmueller
On Wed, Feb 5, 2014 at 1:05 AM, Connor Behan connor.be...@gmail.com wrote: Ccing Devin. I'm pretty sure the analog side has a problem at the driver level. On most days, one cannot pickup an ATSC signal where I am, so I am trying to capture analog video with a Hauppauge WinTV HVR 950Q. Whether

Re: [PATCH 1/3] e4000: convert DVB tuner to I2C driver model

2014-01-28 Thread Devin Heitmueller
Hi Antti, My biggest point was to criticize that general resistance of new design models which has been DVB side, not only that simple change but many others too. I am pretty sure the many mistakes are taken when there has not been better alternative available at the time, and later was

Re: [PATCH 1/3] e4000: convert DVB tuner to I2C driver model

2014-01-26 Thread Devin Heitmueller
On Sun, Jan 26, 2014 at 7:16 PM, Antti Palosaari cr...@iki.fi wrote: Driver conversion from proprietary DVB tuner model to more general I2C driver model. Mike should definitely weigh in on this. Eliminating the existing model of using dvb_attach() for tuners is something that needs to be

Re: Problem getting sensible video out of Hauppauge HVR-1100 composite

2014-01-20 Thread Devin Heitmueller
On Mon, Jan 20, 2014 at 1:26 PM, Neil Bird gn...@fnxweb.com wrote: But, flip me, it's spewing 800 MB+ for a minute's worth of video. That'd be ~48GB for an hour's TV (the intention is to use this for a MythTV PVR). Am I likely to be able to do anything about that? Even with

Re: [ANNOUNCE EXPERIMENTAL] PCTV 80e driver

2014-01-19 Thread Devin Heitmueller
On Sun, Jan 19, 2014 at 8:39 AM, Mauro Carvalho Chehab m.che...@samsung.com wrote: It seems that subsequent tuning makes the device worse, reducing the maximum effective packet bandwidth. Btw, this happens with both xHCI and EHCI drivers, so, it is not related to any USB 3.0 issue. I'm pretty

Re: [ANNOUNCE EXPERIMENTAL] PCTV 80e driver

2014-01-19 Thread Devin Heitmueller
On Sun, Jan 19, 2014 at 12:32 PM, Mauro Carvalho Chehab m.che...@samsung.com wrote: Em Sun, 19 Jan 2014 11:50:55 -0500 Devin Heitmueller dheitmuel...@kernellabs.com escreveu: On Sun, Jan 19, 2014 at 8:39 AM, Mauro Carvalho Chehab m.che...@samsung.com wrote: It seems that subsequent tuning

Re: [PATCH 3/3] au8522, au0828: Added demodulator reset

2014-01-13 Thread Devin Heitmueller
On Sat, Jan 11, 2014 at 5:12 PM, Tim Mester tmes...@ieee.org wrote: My device is the 950q, so it uses the AU8522_DEMODLOCKING method. No devices do tuner locking for digital (it's always the demodulator). That code should really just be ripped out. It does not appear to be an xc5000 issue

Re: How can I find out what is the driver for device node '/dev/video11'

2014-01-08 Thread Devin Heitmueller
On Wed, Jan 8, 2014 at 1:50 PM, m silverstri michael.j.silvers...@gmail.com wrote: In linux kernel, a device (e.g. codec) can register as a file (e.g. /dev/video11). How can I find out from the code which driver is registered as '/dev/video11'. i.e. what is the driver will be invoked when I

Re: How can I find out what is the driver for device node '/dev/video11'

2014-01-08 Thread Devin Heitmueller
On Wed, Jan 8, 2014 at 2:03 PM, m silverstri michael.j.silvers...@gmail.com wrote: Thanks. I don't have the a running hardware. If I can only search within the code space, how can I find out which driver is for '/dev/video11'? Is there a config file which I can look it up? If you don't

Re: [PATCH 3/3] au8522, au0828: Added demodulator reset

2014-01-08 Thread Devin Heitmueller
Hi Tim, On Wed, Jan 8, 2014 at 12:12 AM, Tim Mester tmes...@ieee.org wrote: Commit 2e68a75990011ccd looks interesting. It makes sense to me that if we are gating the clock, and it is possible that we are glitching the clock line, it could put the internal synchronous logic into a bad

Re: [PATCH 3/3] au8522, au0828: Added demodulator reset

2014-01-07 Thread Devin Heitmueller
On Tue, Jan 7, 2014 at 9:58 AM, Mauro Carvalho Chehab m.che...@samsung.com wrote: Patches 1 and 2 are ok? If so, could you please reply to them with your ack? Sure, no problem. http://git.kernellabs.com/?p=dheitmueller/linuxtv.git;a=shortlog;h=refs/heads/950q_improv I'm not against the hack

Re: [PATCH 1/3] au8028: Fix cleanup on kzalloc fail

2014-01-07 Thread Devin Heitmueller
at http://vger.kernel.org/majordomo-info.html Acked-by: Devin Heitmueller dheitmuel...@kernellabs.com -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 2/3] au0828: Add option to preallocate digital transfer buffers

2014-01-07 Thread Devin Heitmueller
]; }; /* --- */ -- 1.8.1.4 -- 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 Acked-by: Devin Heitmueller dheitmuel

Re: [PATCH 3/3] au8522, au0828: Added demodulator reset

2014-01-06 Thread Devin Heitmueller
On Mon, Jan 6, 2014 at 11:29 PM, Tim Mester ttmest...@gmail.com wrote: The demodulator can get in a state in ATSC mode where just restarting the feed alone does not correct the corrupted stream. The demodulator reset in addition to the feed restart seems to correct the condition. The au8522

Re: [PATCH 3/3] au8522, au0828: Added demodulator reset

2014-01-06 Thread Devin Heitmueller
I suspect this is actually a different problem which out of dumb luck gets fixed by resetting the chip. Without more details on the specific behavior you are seeing though I cannot really advise on what the correct change is. Tim, It might be worth trying out the following patch series and

Re: Fwd: v4l2: The device does not support the streaming I/O method.

2014-01-01 Thread Devin Heitmueller
On Wed, Jan 1, 2014 at 2:41 PM, Andy dssnos...@gmail.com wrote: I am trying to stream /dev/video0 to http and encode it in h.264. Last I checked, the ffmpeg v4l2 input interface is just for raw video. What you probably want to do is just use v4l2-ctl to setup the tuner appropriately, and then

Re: Fwd: v4l2: The device does not support the streaming I/O method.

2014-01-01 Thread Devin Heitmueller
On Wed, Jan 1, 2014 at 5:18 PM, Andy Walls awa...@md.metrocast.net wrote: uncompressed video is available from /dev/video32 in an odd Conexant macroblock format that is called 'HM12' under linux. I should have been more clear - last I checked it only supported raw video in streaming mode

Re: Fwd: v4l2: The device does not support the streaming I/O method.

2014-01-01 Thread Devin Heitmueller
On Wed, Jan 1, 2014 at 5:21 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: On Wed, Jan 1, 2014 at 5:18 PM, Andy Walls awa...@md.metrocast.net wrote: uncompressed video is available from /dev/video32 in an odd Conexant macroblock format that is called 'HM12' under linux. One more

Re: [PATCH RFC v3 6/7] rtl2832_sdr: convert to SDR API

2013-12-19 Thread Devin Heitmueller
I haven't looked situation more carefully yet, but one thing that must be done at the very first is to add some lock to prevent only DVB or V4L2 API could access the hardware at time. Probably worth mentioning that we have *lots* of devices that suffer from this problem. Our general tact has

Re: [PATCH RFC v3 6/7] rtl2832_sdr: convert to SDR API

2013-12-19 Thread Devin Heitmueller
I think I could add some lock quite easily. I remember when I implemented cxd2820r DVB-T/T2/C demod driver and at the time it implements 2 frontends, one for DVB-T/T2 and one for DVB-C. I used shared lock to prevent access only for single fe at time. I think same solution works in that case

Re: stable regression: tda18271_read_regs: [1-0060|M] ERROR: i2c_transfer returned: -19

2013-12-17 Thread Devin Heitmueller
On Tue, Dec 17, 2013 at 4:09 PM, Antti Palosaari cr...@iki.fi wrote: That shared DVB / V4L2 tuner is one problem that I have also currently (SDR is on V4L2 API and DTV is provided via DVB API). I have decided to try model where I separate RF tuner totally independent used DVB / V4L2 APIs, just

Re: stable regression: tda18271_read_regs: [1-0060|M] ERROR: i2c_transfer returned: -19

2013-12-16 Thread Devin Heitmueller
. The 950q though is well supported and doesn't have this issue as it uses a different chip. On 14/12/13 05:17 PM, Devin Heitmueller wrote: I had a patch kicking around which fixed part of the issue, but it didn't completely work because of the lgdt3305 having AGC enabled at chip powerup (which

Re: [3.12.5] Regression with PCTV 290e DVB-T2 adapter.

2013-12-15 Thread Devin Heitmueller
I have just tested my PCTV 290e DVB-T2 adapter with 3.12.5 and discovered that it fails with logs of messages like these: [11720.780975] __tda18271_write_regs: [7-0060|M] ERROR: idx = 0x5, len = 1, i2c_transfer returned: -19 [11720.788726] tda18271_init: [7-0060|M] error -19 on line 832

Re: stable regression: tda18271_read_regs: [1-0060|M] ERROR: i2c_transfer returned: -19

2013-12-14 Thread Devin Heitmueller
My basic problem is __tda18271_write_regs: [1-0060|M] ERROR: idx = 0x0, len = 39, i2c_transfer returned: -32 where it attaches lgdt3305 before tda18271. Do you know a similar patch that could help me? It's a totally different issue. The problem with the US Exeter has to do with the

Re: [PATCH 2/3] femon: Display SNR in dB

2013-11-24 Thread Devin Heitmueller
On Sun, Nov 24, 2013 at 1:02 PM, Chris Lee update...@gmail.com wrote: This is a frustration of mine. Some report it in SNR others report it in terms of % (current snr / (max_snr-min_snr)) others its completely random. Seems many dvb-s report arbitrary % which is stupid and many atsc report

Re: [PATCH 2/3] femon: Display SNR in dB

2013-11-24 Thread Devin Heitmueller
On Sun, Nov 24, 2013 at 1:40 PM, Chris Lee update...@gmail.com wrote: I made an exception in my app if the system is ATSC/QAM it uses the snr = snr * 10.0 and havent found a card yet that it doesnt work with. Ive also converted quite a few of my dvb-s tuners to report db in the same way.

Dual licensing for v4l2-common.h userland headers

2013-11-20 Thread Devin Heitmueller
As a result of a code audit the VLC group is doing, they stumbled on the fact that v4l2-common.h is not dual licensed (it's marked as GPL only). This obviously poses a problem especially since v4l2-common.h is included by videodev2.h (which is the key header people include when they want to use

Re: SAA7134 driver reports zero frame rate

2013-11-16 Thread Devin Heitmueller
On Sat, Nov 16, 2013 at 6:19 PM, Tim E. Real termt...@rogers.com wrote: The SAA7134 driver causes libav to crash because the driver reports zero frame rate. Thus it is virtually impossible to do any recording. Step #1: Open a bug against libav. The app should return an error or not let you

Re: I2C transfer logs for Antti's DS3103 driver and DVBSky's DS3103 driver

2013-11-15 Thread Devin Heitmueller
On Fri, Nov 15, 2013 at 8:32 AM, David Howells dhowe...@redhat.com wrote: Whilst that may be so, something clears it between one call to m88ds3103_set_frontend() and the next, so you probably need to unconditionally reload the program init table. Check your GPIO config for the specific board

Re: [PATCH RFC] libv4lconvert: SDR conversion from U8 to FLOAT

2013-11-15 Thread Devin Heitmueller
On Fri, Nov 15, 2013 at 2:11 PM, Antti Palosaari cr...@iki.fi wrote: When I do it inside Kernel, in URB completion handler at the same time when copying data to videobuf2, using pre-calculated LUTs and using mmap it eats 0.5% CPU to transfer stream to app. When I do same but using

Re: Hauppauge ImpactVCB-e 01381 PCIe driver resolution.

2013-09-16 Thread Devin Heitmueller
On Sun, Sep 15, 2013 at 7:11 PM, Steve Cookson i...@sca-uk.com wrote: Hi Devin, Thanks for responding. So my question would be then, is it worth fixing? I can't find any PCIe cards that give me a reasonable quality. If I use an external card like the Dazzle it seems quite fast and better

Re: Canvassing for Linux support for Startech PEXHDCAP

2013-09-16 Thread Devin Heitmueller
On Mon, Sep 16, 2013 at 4:27 PM, Steve Cookson i...@sca-uk.com wrote: Here is the spec: http://www.startech.com/AV/Converters/Video/PCI-Express-HD-Video-Capture-Card-1080p-HDMI-DVI-VGA-Component~PEXHDCAP#tchspcs But the main spec points (for me at least) are - It's based on the Mstar

Re: Hauppauge ImpactVCB-e 01381 PCIe driver resolution.

2013-09-16 Thread Devin Heitmueller
Hi Steve, What I really want is a fast, analogue RGBS 480i 1080i capture card. Raw HD capture is essentially non-existent under Linux. We have a couple of closed source drivers, none of which are cost effective for non-commercial applications (we have drivers for a couple of Avermedia

Re: 950Q CC Extraction (V4L2/VBI)

2013-07-31 Thread Devin Heitmueller
On Wed, Jul 31, 2013 at 11:55 AM, Trevor Anonymous trevor.for...@gmail.com wrote: Hi all, new to the list, hope this is an appropriate place to ask this. Quick question: I can extract NTSC analog closed captions with the Hauppauge 950Q as follows: 1. Run v4l2-ctl -i 1 ## Set input to

Re: Green/purple video from 950Q + security cam

2013-07-29 Thread Devin Heitmueller
Hi Michael, On Sun, Jul 28, 2013 at 6:00 PM, Michael Conrad m...@nrdvana.net wrote: When I plug either of these cameras into the video plug on a plain old TV, they work great. When I plug either camera into the 950Q on Windows using the supplied WinTV software, they work great. When I plug

Re: Very verbose message about em28174 chip.

2013-07-28 Thread Devin Heitmueller
On Sun, Jul 28, 2013 at 9:19 AM, Chris Rankin ranki...@yahoo.com wrote: Hi, I plugged my PCTV 290e device into my newly compiled 3.10.3 kernel today, and found this message in the dmesg log. [ 511.041412] usb 10-4: new high-speed USB device number 3 using ehci-pci [ 511.216218] em28xx:

Re: Very verbose message about em28174 chip.

2013-07-28 Thread Devin Heitmueller
On Sun, Jul 28, 2013 at 9:58 AM, Chris Rankin ranki...@yahoo.com wrote: - Original Message - From: Devin Heitmueller dheitmuel...@kernellabs.com The amount of output is not inconsistent with most other linuxtv drivers though. It's the EEPROM dump that really caught my eye: 16+ lines

Re: UVC and V4L2_CAP_AUDIO

2013-07-25 Thread Devin Heitmueller
On Thu, Jul 25, 2013 at 5:10 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Not without dirty hacks. The UVC interfaces don't report whether the device has an audio function, the driver would need to look at all the interfaces of the parent USB device and find out whether they

Expected behavior for S_INPUT while streaming in progress?

2013-07-22 Thread Devin Heitmueller
Hello, I'm doing some cleanup on the au8522 driver, and one thing I noticed was that you are actually allowed to issue an S_INPUT while streaming is active. This seems like dangerous behavior, since it can result in things like the standard and/or resolution changing while the device is actively

Re: [PATCH] au8522_dig: fix snr lookup table

2013-07-17 Thread Devin Heitmueller
be accepted -- except for the real possibility that the patch introduces wrong values into the table. Acked-by: Devin Heitmueller dheitmuel...@kernellabs.com -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com -- To unsubscribe from this list: send the line unsubscribe linux-media

Re: [PATCH] cx23885: Fix interrupt storm that happens in some cards when IR is enabled.

2013-07-17 Thread Devin Heitmueller
On Wed, Jul 17, 2013 at 9:33 PM, Luis Alves lja...@gmail.com wrote: Hi, This i2c init should stop the interrupt storm that happens in some cards when the IR receiver in enabled. It works perfectly in my TBS6981. What is at I2C address 0x4c? Might be useful to have a comment in there

Re: [PATCH 4/4] [media] em28xx: Fix vidioc fmt vid cap v4l2 compliance

2013-07-17 Thread Devin Heitmueller
On Tue, Jul 16, 2013 at 7:06 PM, Alban Browaeys alban.browa...@gmail.com wrote: Set fmt.pix.priv to zero in vidioc_g_fmt_vid_cap and vidioc_try_fmt_vid_cap. Any reason not to have the v4l2 core do this before dispatching to the driver? Set it to zero before the core calls g_fmt. This avoids

Re: [PATCH] cx23885: Fix interrupt storm that happens in some cards when IR is enabled.

2013-07-17 Thread Devin Heitmueller
On Wed, Jul 17, 2013 at 10:15 PM, Antti Palosaari cr...@iki.fi wrote: hmm, I looked again the cx23885 driver. 0x4c == [0x98 1] = flatiron == some internal block of the chip Yeah, ok. Pretty sure Flatiron is the codename for the ADC for the SIF. There is routine which dumps registers out,

Re: CX23103 Video Grabber seems to be supported by cx231xx driver

2013-07-14 Thread Devin Heitmueller
On Sun, Jul 14, 2013 at 9:23 AM, Florian Streibelt flor...@inet.tu-berlin.de wrote: Be aware that I consider this driver to be flaky, so I would not at all be surprised if there are bugs lurking in the code. Hum. Because of code quality or due to the missing documentation from the vendor?

Re: [media] cx25821 regression from 3.9: BUG: bad unlock balance detected!

2013-07-14 Thread Devin Heitmueller
On Sun, Jul 14, 2013 at 5:39 PM, Hans Verkuil hverk...@xs4all.nl wrote: If you can get cx25821-video.c to work with vb2, then we can take a look at the alsa code. If I can make a suggestion: fix the lock problem first. The last thing you want to do is simultaneously debug a known buffer

Re: [PATCH 36/50] media: usb: em28xx: spin_lock in complete() cleanup

2013-07-11 Thread Devin Heitmueller
across this a couple of weeks ago, and have had an identical patch running in a local dev tree. Reviewed-by: Devin Heitmueller dheitmuel...@kernellabs.com Tested-by: Devin Heitmueller dheitmuel...@kernellabs.com -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com -- To unsubscribe from

Re: lgdt3304

2013-06-27 Thread Devin Heitmueller
On Thu, Jun 27, 2013 at 2:38 PM, Carl-Fredrik Sundstrom c...@blueflowamericas.com wrote: Has the driver for lgdt3304 been tested ? I am trying to get a new card working AVerMedia AVerTVHD Duet PCTV tuner (A188) A188-AF PCI-Express x1 Interface It is using 1 x saa7160E 2 x LGDT3304 2 x

Re: Doing a v4l-utils-1.0.0 release

2013-06-14 Thread Devin Heitmueller
I've got a fix for a really bad performance bug, so if you can hold off on doing a release a couple of hours until I can get in front of my Linux box and submit a patch, I would appreciate it. Thanks, Devin On Fri, Jun 14, 2013 at 4:51 AM, Hans Verkuil hverk...@xs4all.nl wrote: On Fri 14 June

[PATCH] Don't call G_TUNER unless actually performing a tuning related call

2013-06-14 Thread Devin Heitmueller
is attempting to perform. Problem originally identified on the HVR-950q, where even doing operations like toggling from the composite to the s-video input would take over 1000ms. Signed-off-by: Devin Heitmueller dheitmuel...@kernellabs.com --- utils/v4l2-ctl/v4l2-ctl-tuner.cpp | 7 +++ 1 file

Re: Hauppauge WinTV HVR 930C-HD - new USB ID 2040:b130 ?

2013-05-07 Thread Devin Heitmueller
On Tue, May 7, 2013 at 6:39 PM, Jan Kiszka jan.kis...@web.de wrote: To pick up this old topic (as I just got the wrong 930C delivered :( ): What is blocking the development of a si2165 driver? Lacking specs (due to NDAs)? Or lacking interest / developer bandwidth? Probably a bit of both.

Re: Driver for KWorld UB435Q Version 3 (ATSC) USB id: 1b80:e34c

2013-05-03 Thread Devin Heitmueller
On Fri, May 3, 2013 at 3:50 PM, The Bit Pit thebit...@earthlink.net wrote: I am Wilson Michaels, please let me introduce myself: Eight years ago I contributed a driver for the DViCO FusionHDTV 3 5 PCI TV tuner cards (see lgdt330x.c). The code is still in linux today. One of my tuners is

Re: Video Signal Type in V4L

2013-04-25 Thread Devin Heitmueller
Is there any way by which I can know Input signal type (in terms of DVI/Composite/USB/SDI) and refresh rate from a V4L video capture device. Any available V4L Structure/Flag from which I can deduce this information. Please help ! The extent to which the data is available is the name field in

Re: Elgato DTT Deluxe V2

2013-04-23 Thread Devin Heitmueller
On Tue, Apr 23, 2013 at 8:13 AM, Another Sillyname anothersn...@googlemail.com wrote: I recently picked up one of these very cheap and am trying to load it into 'nix. According to this http://www.linuxtv.org/wiki/index.php/Elgato_EyeTV_DTT_deluxe_v2 It should be recognised and load, and

Re: Keene

2013-04-19 Thread Devin Heitmueller
On Fri, Apr 19, 2013 at 5:58 AM, Hans Verkuil hverk...@xs4all.nl wrote: So perhaps this can be solved with two generic controls: bool CID_POWER_OFF_AT_LAST_CLOSE int CID_POWER_OFF_DELAY (unit: seconds) If POWER_OFF_AT_LAST_CLOSE is false, then you never power off. If it is true, then power

Re: [PATCH] bttv: Add noname Bt848 capture card with 14MHz xtal

2013-04-14 Thread Devin Heitmueller
On Sun, Apr 14, 2013 at 5:19 PM, Ondrej Zary li...@rainbow-software.org wrote: I wonder why the bttv driver probes for IR chips even when the has_remote flag is not set? Probably so you can add a remote via userland even if there isn't an default remote specified in the in-kernel board profile.

Re: [PATCH 0/3] em28xx: clean up end extend the GPIO port handling

2013-04-13 Thread Devin Heitmueller
On Sat, Apr 13, 2013 at 11:30 AM, Frank Schäfer fschaefer@googlemail.com wrote: I've checked the documentation about the gpio and led frameworks a few weeks ago to find out if it makes sense to use them for the gpio/buttons/led stuff of the VAD Laplace webcam. AFAICS, there are no benfits

Re: [PATCH 0/3] em28xx: clean up end extend the GPIO port handling

2013-04-13 Thread Devin Heitmueller
On Sat, Apr 13, 2013 at 12:21 PM, Antti Palosaari cr...@iki.fi wrote: Existing userspace sysfs interface is clearly debug interface. You will need root privileges to mount it and IIRC it was not even compiled by default (needs Kconfig debug option?). You would like to think that. Tell Mauro

Re: uvcvideo: Dropping payload (out of sync)

2013-04-11 Thread Devin Heitmueller
On Thu, Apr 11, 2013 at 3:56 AM, André Weidemann andre.weidem...@web.de wrote: For anyone who may also run into this problem here is a solution... It seems the problem is hardware related to the Raspberry Pi. The solution can be found here: https://github.com/raspberrypi/linux/issues/238

Re: [PATCH 1/5] mxl5007t: fix buggy register read

2013-04-09 Thread Devin Heitmueller
On Tue, Apr 9, 2013 at 7:53 PM, Antti Palosaari cr...@iki.fi wrote: Chip uses WRITE + STOP + READ + STOP sequence for I2C register read. Driver was using REPEATED START condition which makes it failing if I2C adapter was implemented correctly. Add use_broken_read_reg_intentionally option to

Re: [PATCH 1/5] mxl5007t: fix buggy register read

2013-04-09 Thread Devin Heitmueller
On Tue, Apr 9, 2013 at 8:45 PM, Antti Palosaari cr...@iki.fi wrote: Yes, most devices do that, but not all! MxL5007t has a special register for setting register to read. Look the code and you could see it easily. It was over year ago I fixed it... That sounds kind of insane, but I haven't

Re: [REVIEW PATCH] tuner-core fix for au0828 g_tuner bug

2013-03-25 Thread Devin Heitmueller
On Mon, Mar 25, 2013 at 7:32 AM, Hans Verkuil hverk...@xs4all.nl wrote: This fixes the bug where the au8522 detected a signal and then tuner-core overwrote it with 0 since the xc5000 tuner does not support get_rf_strength. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Nice find. That

Re: [GIT PULL FOR v3.10] au0828 driver overhaul

2013-03-24 Thread Devin Heitmueller
On Sun, Mar 24, 2013 at 1:51 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: drivers/media/dvb-frontends/au8522_decoder.c:static int au8522_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) drivers/media/dvb-frontends/au8522_decoder.c-{ drivers/media/dvb-frontends/au8522_decoder.c-

Re: [GIT PULL FOR v3.10] au0828 driver overhaul

2013-03-22 Thread Devin Heitmueller
On Fri, Mar 22, 2013 at 12:38 PM, Hans Verkuil hverk...@xs4all.nl wrote: It works fine with qv4l2, but there is still a bug causing tvtime to fail. That's caused by commit e58071f024aa337b7ce41682578b33895b024f8b, applied August last year, that broke g_tuner: after that 'signal' would always be

Re: [GIT PULL FOR v3.10] au0828 driver overhaul

2013-03-22 Thread Devin Heitmueller
On Fri, Mar 22, 2013 at 12:38 PM, Hans Verkuil hverk...@xs4all.nl wrote: It works fine with qv4l2, but there is still a bug causing tvtime to fail. That's caused by commit e58071f024aa337b7ce41682578b33895b024f8b, applied August last year, that broke g_tuner: after that 'signal' would always be

Re: uvcvideo USERPTR mode busted?

2013-03-21 Thread Devin Heitmueller
On Thu, Mar 21, 2013 at 8:41 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Please submit it at some point :-) Is it a uvcvideo issue or a videobuf2 issue ? Yeah, it's definitely on my list. Basically if you hand videobuf2-vmalloc a piece of memory that is not page aligned, it

Re: [REVIEW PATCH 11/15] au0828: fix disconnect sequence.

2013-03-20 Thread Devin Heitmueller
the resulting patches with anything other than v4l2-compliance/v4l2-ctl? tvtime? xawtv? mythtv? Hence, for what it's worth: Reviewed-by: Devin Heitmueller dheitmuel...@kernellabs.com Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com -- To unsubscribe from this list: send the line

Re: DVB memory leak?

2013-03-15 Thread Devin Heitmueller
On Fri, Mar 15, 2013 at 11:19 AM, moa...@moasat.dyndns.org wrote: I've been fighting a situation where the kernel appears to be running out of memory over a period of time. I originally had my low address space reserve set to 4096 and memory compaction on. I would get this error within a

Re: DVB memory leak?

2013-03-15 Thread Devin Heitmueller
On Fri, Mar 15, 2013 at 2:45 PM, Moasat moa...@moasat.dyndns.org wrote: Thanks for looking into it. It wouldn't surprise me to find out that Myth is not checking the error condition. But even if it did, would that keep the card functioning? No, it would not keep the card functioning. But

Re: [REVIEW PATCH 11/15] au0828: fix disconnect sequence.

2013-03-11 Thread Devin Heitmueller
On Mon, Mar 11, 2013 at 5:00 PM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com The driver crashed when the device was disconnected while an application still had a device node open. Fixed by using the release() callback of struct v4l2_device. This is all

Re: [PATCH 0/3] em28xx: add support for two buses on em2874 and upper

2013-03-05 Thread Devin Heitmueller
2013/3/5 Mauro Carvalho Chehab mche...@redhat.com: The em2874 chips and upper have 2 buses. On all known devices, bus 0 is currently used only by eeprom, and bus 1 for the rest. Add support to register both buses. Did you add a mutex to ensure that both buses cannot be used at the same time?

Re: uvcvideo USERPTR mode busted?

2013-03-03 Thread Devin Heitmueller
On Sun, Mar 3, 2013 at 4:37 AM, Rémi Denis-Courmont r...@remlab.net wrote: Hello, Trying to use USERPTR buffers with UVC, user space gets stuck either in poll(POLLIN) or in ioctl(VIDIOC_DQBUF). It seems the UVC driver never ever returns a frame in USERPTR mode. The symptoms are

Re: [RFCv1 PATCH 00/20] cx231xx: v4l2-compliance fixes

2013-02-07 Thread Devin Heitmueller
Hi Hans, On Thu, Feb 7, 2013 at 10:08 AM, Hans Verkuil hverk...@xs4all.nl wrote: On Tue January 29 2013 17:41:29 Devin Heitmueller wrote: On Tue, Jan 29, 2013 at 11:32 AM, Hans Verkuil hverk...@xs4all.nl wrote: I will take a closer look at the vbi support, though.. It would be nice to get

Re: Replacement for vloopback?

2013-02-06 Thread Devin Heitmueller
On Wed, Feb 6, 2013 at 9:42 AM, Neuer User auslands...@gmx.de wrote: If it is not possible to have two applications access the same video stream, that is pretty detrimentical to quite a lot of use cases, e.g.: a.) Use motion to detect motion and record video. At the same time view the camera

Re: WinTV-HVR-1400: scandvb (and kaffeine) fails to find any channels

2013-02-01 Thread Devin Heitmueller
On Fri, Feb 1, 2013 at 9:16 AM, Chris Clayton chris2...@googlemail.com wrote: I've got some more diagnostics. I tuned on the 12c debugging in the cx23885 driver and ran the scan again. Surprisingly, the scan found 22 channels on a single frequency (that carries the BBC channels). I've attached

Re: WinTV-HVR-1400: scandvb (and kaffeine) fails to find any channels

2013-02-01 Thread Devin Heitmueller
On Fri, Feb 1, 2013 at 4:03 PM, Chris Clayton chris2...@googlemail.com wrote: Yes, I noticed that but even with the tuning timeout set at medium or longest, I doesn't find any channels. However, I've been following the debug messages through the code and ended up at

Re: WinTV-HVR-1400: scandvb (and kaffeine) fails to find any channels

2013-01-31 Thread Devin Heitmueller
On Thu, Jan 31, 2013 at 11:21 AM, Chris Clayton chris2...@googlemail.com wrote: Hi. On linuxtv.org, the Hauppauge WinTV-HVR-1400 is listed as being supported. I've bought one, but I find that when I run the scan for dvb-t channels, none are found. I have tried kernels 2.6.11, 2.7.5 and

<    1   2   3   4   5   6   7   8   9   10   >