Fwd: DVB recording failures in recent Fedora kernel

2013-05-09 Thread Paul Wilson
Up until recently My recording has been very stable but the last couple of kernels or updates I'm seeing occasion failures in my recordings. Can someone tell if the following errors are driver bugs? Linux mythbox.salsola 3.8.11-100.fc17.i686 #1 SMP Here is my dmesg output 248375.223277] tda1827

Fwd: DVB recording failures in recent Fedora kernel

2013-05-09 Thread Paul Wilson
Up until recently My recording has been very stable but the last couple of kernels or updates I'm seeing occasion failures in my recordings. Can someone tell if the following errors are driver bugs? Linux mythbox.salsola 3.8.11-100.fc17.i686 #1 SMP Here is my dmesg output 248375.223277] tda1827

[PATCH] davinci: vpfe: fix error path in probe

2013-05-09 Thread Lad Prabhakar
From: Lad, Prabhakar The error path on failure was calling mutex_unlock(), but there was no actuall call before for mutex_lock(). This patch fixes this issue by pointing it to proper go label. Reported-by: Jose Pablo Carballo Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vp

STK8096-PVR Dibcom support code added

2013-05-09 Thread William Schorck
Added support code for STK8096-PVR device. Manufactured by Geniatch. Signed-off-by: William Schorck +++ /usr/src/linux-3.9.1/drivers/media/usb/dvb-usb/dib0700_devices.c 2013-05-08 00:58:03.0 -0300 --- /home/neutrin0/src/kernel/dibcom/dib0700_devices.c 2013-05-10 01:18:02.699865121 -0300

Re: [PATCH] s5p-jpeg: Enable instantiation from device tree

2013-05-09 Thread Sachin Kamat
Hi Sylwester, On 9 May 2013 21:21, Sylwester Nawrocki wrote: > Hi Sachin, > > On 05/09/2013 04:50 PM, Sachin Kamat wrote: >> George from my team is working on adding JPEG IP support for 4412 and >> 5250 SoCs which is quite different from 4210. >> In this regard he has refactored the driver to acc

videobuf_vm_{open,close} race fixes

2013-05-09 Thread Al Viro
just use videobuf_queue_lock(map->q) to protect map->count; vm_area_operations ->open() and ->close() are called just under vma->vm_mm->mmap_sem, which doesn't help the drivers at all, since clonal VMAs are normally in different address spaces... Signed-off-by: Al Viro --- WARNING: it's only buil

cron job: media_tree daily build: WARNINGS

2013-05-09 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Thu May 9 19:00:22 CEST 2013 git branch: test git hash: 02615ed5e1b2283db2495af3cf8f4ee172c77d80 gcc versi

Re: HD-Audio Generic HDMI/DP on wheezy

2013-05-09 Thread Alex Deucher
On Thu, May 9, 2013 at 1:41 PM, pierre wrote: > Thanks for your quick ansver, but after modifing /etc/default/grub with > GRUB_CMDLINE_LINUX="radeon.audio=1 and update-grub then reboot, nothing go > better: Perhaps I misunderstood what you were asking about. radeon.audio=1 just enables auto rout

[PATCH] stb0899: sign of CRL_FREQ doesn't depend on inversion

2013-05-09 Thread Reinhard Nißl
Contrary to CFR (derotator frequency), which changes signedness depending on inversion, CRL_FREQ does not. Signed-off-by: Reinhard Nißl --- drivers/media/dvb-frontends/stb0899_algo.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/dvb-frontends/stb0899_algo.c

Re: HD-Audio Generic HDMI/DP on wheezy

2013-05-09 Thread Alex Deucher
On Thu, May 9, 2013 at 11:04 AM, pierre wrote: > Hi, > > Some difficult on wheezy, on my computer > product: Inspiron 620 > vendor: Dell Inc. > version: 00 > serial: D9V135J > width: 64 bits > > My sound card is now defined as Caicos HDMI Audio [Radeon HD 6400 Series] > Digital Stereo (HDMI) on Sq

stk1160: cannot alloc 196608 bytes

2013-05-09 Thread a b
Hi, I am seeing occasional issues when using an easycap card on our fedora 17 machine. We are using gstreamer to record video from the device which is using the precanned stk1160 driver. Over extended periods i.e. following a number of video recordings we occasionally see an issue whereby gstreame

Re: [PATCH] s5p-jpeg: Enable instantiation from device tree

2013-05-09 Thread Sylwester Nawrocki
Hi Sachin, On 05/09/2013 04:50 PM, Sachin Kamat wrote: > George from my team is working on adding JPEG IP support for 4412 and > 5250 SoCs which is quite different from 4210. > In this regard he has refactored the driver to accomodate the changes > required for the new IP and also added DT support

[PATCH 13/13] exynos4-is: Remove WARN_ON() from __fimc_pipeline_close()

2013-05-09 Thread Sylwester Nawrocki
It's not a critical error to call __fimc_pipeline_close() with missing sensor subdev entity. Replace WARN_ON() with pr_warn() and return 0 instead of -EINVAL to fix control flow in some conditions. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/exynos4

[PATCH 12/13] exynos4-is: Add locking at fimc(-lite) subdev unregistered handler

2013-05-09 Thread Sylwester Nawrocki
Protect the fimc/fimc-lite video nodes unregistration with their video lock. This prevents a kernel crash when e.g. udev opens a video node right after the driver registers it and then the driver tries to unregister it and defers its probing. Using video_is_unregistered() together with the video mu

[PATCH 10/13] exynos4-is: Extend link_notify handler to support fimc-is/lite pipelines

2013-05-09 Thread Sylwester Nawrocki
This patch corrects the link_notify handler to support more complex pipelines, including fimc-lite and fimc-is entities. After the FIMC-IS driver addition the assumption made in the link_notify callback are no longer valid, e.g. the link between fimc-lite subdev and its video node is not immutable

[PATCH 11/13] exynos4-is: Fix sensor subdev -> FIMC notification setup

2013-05-09 Thread Sylwester Nawrocki
Ensure the v4l2_device notifications from sensor subdev works also after the media links reconfiguration. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/exynos4-is/media-dev.c | 47 - 1 file changed, 31 insertions(+), 16 delet

[PATCH 09/13] media: Change media device link_notify behaviour

2013-05-09 Thread Sylwester Nawrocki
Currently the media device link_notify callback is invoked before the actual change of state of a link when the link is being enabled, and after the actual change of state when the link is being disabled. This doesn't allow a media device driver to perform any operations on a full graph before a l

[PATCH 08/13] exynos4-is: Use common exynos_media_pipeline data structure

2013-05-09 Thread Sylwester Nawrocki
This enumeration is now private to exynos4-is and the exynos5 camera subsystem driver may have the subdevs handling designed differently. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/exynos4-is/fimc-capture.c | 67 - drivers/media/platf

[PATCH 07/13] exynos4-is: Do not use asynchronous runtime PM in release fop

2013-05-09 Thread Sylwester Nawrocki
Use pm_runtime_put_sync() instead of pm_runtime_put() to avoid races in handling the 'state' bit flags when the fimc-capture drivers' runtime_resume callback is called from the PM workqueue. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/exynos4-is/fim

[PATCH 06/13] exynos4-is: Media graph/video device locking rework

2013-05-09 Thread Sylwester Nawrocki
Remove driver private video node reference counters and use entity->use_count instead. This makes the video pipelines power handling more similar to the method used in omap3isp driver. Now the graph mutex is taken always after the video mutex, as it is not possible to ensure apposite order at the

[PATCH 05/13] exynos4-is: Preserve state of controls between /dev/video open/close

2013-05-09 Thread Sylwester Nawrocki
This patch moves the code for inheriting subdev v4l2 controls on the FIMC video capture nodes from open()/close() fops to the link setup notification callback. This allows for the state of the FIMC controls to be always kept, in opposite to the current situation when it is lost when last process cl

[PATCH 03/13] exynos4-is: Move common functions to a separate module

2013-05-09 Thread Sylwester Nawrocki
Create a common module (exynos4-common.ko) that will hold common functions used across video device and subdev drivers contained in the .../exynos4-is directory. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/exynos4-is/Kconfig |5 +++ drivers/

[PATCH 04/13] exynos4-is: Add struct exynos_video_entity

2013-05-09 Thread Sylwester Nawrocki
This patch introduces common structure for the video entities to handle all video nodes and media pipelines associated with them in more generic way. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/exynos4-is/fimc-capture.c | 43 -

[PATCH 02/13] exynos4-is: Correct querycap ioctl handling at fimc-lite driver

2013-05-09 Thread Sylwester Nawrocki
Fill in properly bus_info and card fields and set device_caps. The querycap ioctl handler is renamed for consistency with the other ioctls. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/exynos4-is/fimc-lite.c | 15 ++- 1 file changed, 10

[PATCH 01/13] exynos4-is: Remove platform_device_id table at fimc-lite driver

2013-05-09 Thread Sylwester Nawrocki
The driver id_table is unused since all SoCs containing the FIMC-LITE IP block have been dt-only. Just remove it. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/exynos4-is/fimc-lite.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions

[PATCH RFC 00/13] Media link_notify behaviour change an exynos4-is updates

2013-05-09 Thread Sylwester Nawrocki
Hi All, This patch set includes change of the link_notify callback semantics. This callback will now be invoked always before _and_ after link's state modification by the core. Currently this callback is only used by the omap3isp and exynos4-is drivers, thus those drivers are also modified in pat

webcam 0ac8:0332 dont work on wheezy

2013-05-09 Thread pierre
Hi, Problem on my webcam usb Bus 001 Device 006: ID 0ac8:0332 Z-Star Microelectronics Corp. on wheezy. computer: product: Inspiron 620 vendor: Dell Inc. version: 00 serial: D9V135J width: 64 bits On Squeeze, it was fine. On thirst boot after installing Wheezy the webcam is right: May 6 12:57

HD-Audio Generic HDMI/DP on wheezy

2013-05-09 Thread pierre
Hi, Some difficult on wheezy, on my computer product: Inspiron 620 vendor: Dell Inc. version: 00 serial: D9V135J width: 64 bits My sound card is now defined as Caicos HDMI Audio [Radeon HD 6400 Series] Digital Stereo (HDMI) on Squeeze, it was HD-Audio Generic Digital Stereo (HDMI). It works bu

Re: [PATCH] s5p-jpeg: Enable instantiation from device tree

2013-05-09 Thread Sachin Kamat
Hi Sylwester, George from my team is working on adding JPEG IP support for 4412 and 5250 SoCs which is quite different from 4210. In this regard he has refactored the driver to accomodate the changes required for the new IP and also added DT support. The patches are almost ready and would be submi

em2870 device undetected

2013-05-09 Thread Ingbert Braun
Dear developer, I've a pinnacle pctv usb stick which is not supported. As mentioned in log, I'm sending the dmesg log to you: hub 3-0:1.0: port 1: status 0101 change 0001 [ 1219.090245] hub 3-0:1.0: state 7 ports 4 chg 0002 evt [ 1219.090254] hub 3-0:1.0: port 1, status 0101, change ,

[PATCH RFC 2/3] media: added managed v4l2 control initialization

2013-05-09 Thread Andrzej Hajda
This patch adds managed versions of initialization and cleanup functions for v4l2 control handler. Signed-off-by: Andrzej Hajda Reviewed-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/v4l2-core/v4l2-ctrls.c | 48 ++ include/media/v4l2-ct

[PATCH RFC 3/3] media: added managed v4l2 subdevice initialization

2013-05-09 Thread Andrzej Hajda
This patch adds managed versions of initialization functions for v4l2 subdevices. Signed-off-by: Andrzej Hajda Reviewed-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/v4l2-core/v4l2-common.c | 10 +++ drivers/media/v4l2-core/v4l2-subdev.c | 52 +++

[PATCH RFC 0/3] added managed media/v4l2 initialization

2013-05-09 Thread Andrzej Hajda
Those three patches adds devm_* functions for initialization of: - media entity, - subdevice, - v4l2 controls handler. Converting current v4l2 (sub-)devices to use devm API should simplify device cleanup routines. Andrzej Hajda (3): media: added managed media entity initialization media: adde

[PATCH RFC 1/3] media: added managed media entity initialization

2013-05-09 Thread Andrzej Hajda
This patch adds managed versions of initialization and cleanup functions for media entity. Signed-off-by: Andrzej Hajda Reviewed-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/media-entity.c | 70 ++ include/media/media-entity.h

[PATCH] exynos4-is: Fix example dts in .../bindings/samsung-fimc.txt

2013-05-09 Thread Sylwester Nawrocki
The s5c73m3 sensor node should be off an I2C bus controller node. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- .../devicetree/bindings/media/samsung-fimc.txt | 26 ++-- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Documentation/devi

[PATCH] exynos4-is: Correct fimc-lite compatible property description

2013-05-09 Thread Sylwester Nawrocki
Ensure the compatible property for FIMC-LITE IP blocks is properly documented, a cut&paste error fix. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- .../devicetree/bindings/media/exynos-fimc-lite.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docu

[PATCH] s5p-jpeg: Enable instantiation from device tree

2013-05-09 Thread Sylwester Nawrocki
This patch adds device tree support for the S5P/Exynos SoC JPEG codec IP block. Cc: Andrzej Pietrasiewicz Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- .../devicetree/bindings/media/samsung-s5p-jpeg.txt | 12 drivers/media/platform/s5p-jpeg/jpeg-core.c

[RFC PATCH 2/2] V4L: Remove all links of a media entity when unregistering subdev

2013-05-09 Thread Sylwester Nawrocki
Remove all links of the subdev's media entity after internal_ops 'unregistered' call and right before unregistering the entity from a media device. It is assumed here that an unregistered (orphan) media entity cannot have links to other entities. All entities must belong to some media device befor

[RFC PATCH 1/2] media: Add function removing all media entity links

2013-05-09 Thread Sylwester Nawrocki
This function allows to remove all media entity's links to other entities, leaving no references to a media entity's links array at its remote entities. Currently when a driver of some entity is removed it will free its media entities links[] array, leaving dangling pointers at other entities that

[RFC PATCH 0/2] Media entity links handling

2013-05-09 Thread Sylwester Nawrocki
Hi All, This small patch set add a function for removing all links at a media entity. I found out such a function is needed when media entites that belong to single media device have drivers in different kernel modules. This means virtually all camera drivers, since sensors are separate modules fr

[GIT PULL FOR v3.11] Sensor fixes

2013-05-09 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 02615ed5e1b2283db2495af3cf8f4ee172c77d80: [media] cx88: make core less verbose (2013-04-28 12:40:52 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/media.git sensors/next for you to fetch changes up to aa254fcdce3d1037

Re: If the board were missdetected... more information

2013-05-09 Thread Antti Palosaari
Hello First I looked it has a broken eeprom - but it cannot be as USB ID is shown correctly so it must be a driver bug. Are you sure it is stock 3.7.10 Kernel, not some media build top of that? For some reason em28xx driver skips USB ID based detection and fall-backs to I2C bus / eeprom finge

Re: [PATCH] [media] stb0899: allow minimum symbol rate of 1000000

2013-05-09 Thread Zoran Turalija
On Wed, May 08, 2013 at 03:19:30PM +0200, Zoran Turalija wrote: > This makes minimum symbol rate driver capabilities on par with > windows driver, and allows tuning on linux to transponders that > have symbol rate below 500, too. Looks like product datasheets for tuners containing STB0899 are

If the board were missdetected... more information

2013-05-09 Thread Eric Sander
Sorry, here some more info: lsusb: Bus 001 Device 002: ID 2013:0251 PCTV Systems cat /proc/version Linux version 3.7.10-1.4-desktop (geeko@buildhost) (gcc version 4.7.2 20130108 [gcc-4_7-branch revision 195012] (SUSE Linux) ) #1 SMP PREEMPT Fri Apr 19 12:06:34 UTC 2013 (8ef74f8) Opensuse 12.

If the board were missdetected...

2013-05-09 Thread Eric Sander
Hi There, i have the TV-USB-Stick: pctv QuatroStick nano it is misdetected as Sharp S921 dmesg-log: [ 1080.044027] usb 1-7: new high-speed USB device number 7 using ehci_hcd [ 1080.159731] usb 1-7: New USB device found, idVendor=2013, idProduct=0251 [ 1080.159738] usb 1-7: New USB device strin