Re: Hauppauge HVR-900 HD and HVR 930C-HD with si2165

2013-08-18 Thread Hans Petter Selasky
On 08/17/13 13:53, Antti Palosaari wrote: On 08/17/2013 02:30 PM, Ulf wrote: Hi, I know the topic Hauppauge HVR-900 HD and HVR 930C-HD with si2165 demodulator was already discussed http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/40982 and http://permalink.gmane.org/gma

Re: Hauppauge HVR-900 HD and HVR 930C-HD with si2165

2013-08-18 Thread Hans Petter Selasky
On 08/18/13 17:00, Ulf wrote: Hi, It is DVB-S driver. HVR-900 is DVB-T and DVB-C. The si2168 is a DVB-T2, DVB-T, and DVB-C demodulator http://www.silabs.com/Support%20Documents/TechnicalDocs/Si2168-A20-short.pdf. I tried to apply the dvbsky-linux-3.9-hps-v2.diff to media_build.git (used do_

Re: Hauppauge HVR-900 HD and HVR 930C-HD with si2165

2013-08-19 Thread Hans Petter Selasky
On 08/18/13 21:02, Steven Toth wrote: FYI: The Si2168 driver is available from "dvbsky-linux-3.9-hps-v2.diff" inside. Maybe the Si2165 is similar? Excellent. Hi Guys, I was contacted by someone claiming to be from "RSD" ??, named Danny Griegs, off-list, claiming I have the source code for

Re: Hauppauge HVR-900 HD and HVR 930C-HD with si2165

2013-08-19 Thread Hans Petter Selasky
On 08/20/13 00:43, Konstantin Dimitrov wrote: German-based company making DVB equipment and maybe if that's the same RSD that Danny Griegs guy could be legit. however, nothing in the Hi, I've asked Danny to confirm his identity. The @googlemail.com e-mail transcript was quite empty :-( Acco

Re: Hauppauge HVR-900 HD and HVR 930C-HD with si2165

2013-08-20 Thread Hans Petter Selasky
On 08/20/13 10:26, nibble.max wrote: Hello Hans, I am the original author of sit2 source code based on the reference code from silabs. And we have signed NDA with silabs, it does not allow us to release the source code to the public. I donot know it is permited or not when you do decompiling t

[PATCH] Make the USB Video Class debug filesystem support compile time optional.

2012-02-14 Thread Hans Petter Selasky
The following patch makes the recently added DEBUGFS for UVC optional. --HPS Signed-off-by: Hans Petter Selasky --- drivers/media/video/uvc/Kconfig |9 + drivers/media/video/uvc/Makefile |5 - drivers/media/video/uvc/uvc_driver.c | 12 ++-- 3 files

Re: [PATCH] Make the USB Video Class debug filesystem support compile time optional.

2012-02-15 Thread Hans Petter Selasky
On Tuesday 14 February 2012 22:15:51 Hans Petter Selasky wrote: > The following patch makes the recently added DEBUGFS for UVC optional. > > --HPS > Please ignore this patch. It appears that the DEBUGFS can be disabled by including the correct debugfs.h header file. --HPS -- To

Division by zero in UVC driver

2012-02-15 Thread Hans Petter Selasky
Hi, After getting through the compilation issues regarding the uvc_debugfs, I am now facing another problem, which I think is more generic. The FreeBSD port of the Linux UVC driver, webcamd, gives a division by zero inside the UVC driver, because it does not properly check if the returned SOF

Re: Division by zero in UVC driver

2012-02-16 Thread Hans Petter Selasky
On Thursday 16 February 2012 07:30:17 Laurent Pinchart wrote: > Hi Hans, > > On Wednesday 15 February 2012 18:27:29 Hans Petter Selasky wrote: > > Hi, > > > > After getting through the compilation issues regarding the uvc_debugfs, I > > am now facing anoth

Re: [BUG] divide by zero in uvc_video_clock_update, v3.3-rc4

2012-02-20 Thread Hans Petter Selasky
On Monday 20 February 2012 00:41:51 James Hogan wrote: > Hi, > > I just tried v3.3-rc4 on an Acer Aspire One Happy 2 netbook. I happened > to open the settings dialog box of kopete, which shows a view of the > webcam. The kernel switched to a text console with a register dump (see > below), indica

Re: [GIT PULL FOR v3.3] uvcvideo divide by 0 fix

2012-03-11 Thread Hans Petter Selasky
On Monday 20 February 2012 12:49:39 Laurent Pinchart wrote: > Hi Mauro, > > The following changes since commit > b01543dfe67bb1d191998e90d20534dc354de059: > > Linux 3.3-rc4 (2012-02-18 15:53:33 -0800) > > are available in the git repository at: > git://linuxtv.org/pinchartl/uvcvideo.git uvcv

Question about V4L2_MEMORY_USERPTR

2012-03-23 Thread Hans Petter Selasky
Hi, I have a question about V4L2_MEMORY_USERPTR: >From which context are the kernel's "copy_to_user()" functions called in relation to V4L2_MEMORY_USERPTR ? Can this be a USB callback function or is it only syscalls, like read/write/ioctl that are allowed to call "copy_to_user()" ? The reason

[off-topic] Linux-media e-mail problems

2012-03-24 Thread Hans Petter Selasky
Hi, FYI: I suddenly stopped receiving e-mails from this list last week, March 16th. Does anyone have an explanation for that? --HPS -- 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.

[PATCH] Fix compiler warning.

2012-03-27 Thread Hans Petter Selasky
>From 03d309b552e01622a678b2c500f80fe59746ca12 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Tue, 27 Mar 2012 17:53:19 +0200 Subject: [PATCH] Fix compiler warning. Signed-off-by: Hans Petter Selasky --- drivers/media/dvb/dvb-core/dvb_frontend.c |2 +- 1 files changed

Re: Strong pairing cam doesn't work with CT-3650 driver (ttusb2)

2012-09-15 Thread Hans Petter Selasky
On Friday 17 August 2012 22:59:21 Antti Palosaari wrote: > On 08/17/2012 10:35 PM, Hans Petter Selasky wrote: > > Hi, > > > > Have anyone out there tested the CT-3650 USB driver in the Linux kernel > > with a "strong pairing cam". > > Likely that m

Re: [PATCH] Add toggle to the tt3650_rc_query function of the ttusb2 driver

2012-10-02 Thread Hans Petter Selasky
On Saturday 08 September 2012 19:08:22 Jose Alberto Reguero wrote: > This patch add the toggle bit to the tt3650_rc_query function of the ttusb2 > driver. > > Signed-off-by: Jose Alberto Reguero > > Jose Alberto Hi, This patch looks OK. Regarding the TTUSB2 support, I see an issue where the I

Re: [PATCH] Add toggle to the tt3650_rc_query function of the ttusb2 driver

2012-10-03 Thread Hans Petter Selasky
On Tuesday 02 October 2012 21:52:11 Hans Petter Selasky wrote: > On Saturday 08 September 2012 19:08:22 Jose Alberto Reguero wrote: > > This patch add the toggle bit to the tt3650_rc_query function of the > > ttusb2 driver. > > > > Signed-off-by: Jose Alberto Reg

Re: [PATCH] Add toggle to the tt3650_rc_query function of the ttusb2 driver

2012-10-03 Thread Hans Petter Selasky
On Wednesday 03 October 2012 20:57:07 Hans Petter Selasky wrote: > On Tuesday 02 October 2012 21:52:11 Hans Petter Selasky wrote: > > On Saturday 08 September 2012 19:08:22 Jose Alberto Reguero wrote: > > > This patch add the toggle bit to the tt3650_rc_query function of the &

TT-USB2.0 and high bitrate packet loss (DVB-C/T)

2013-05-30 Thread Hans Petter Selasky
Hi there, I need to get in concat with someone that can handle, test and review a patch for TT-USB2.0. I've found that for certain high-bitrate streams, the TT-USB2.0 sends more ISOCHRONOUS MPEG data than is specified in the wMaxPacketSize fields. I have a USB analyzer capture which shows this

Re: TT-USB2.0 and high bitrate packet loss (DVB-C/T)

2013-06-02 Thread Hans Petter Selasky
On 05/30/13 10:00, Hans Petter Selasky wrote: Hi there, I need to get in concat with someone that can handle, test and review a patch for TT-USB2.0. I've found that for certain high-bitrate streams, the TT-USB2.0 sends more ISOCHRONOUS MPEG data than is specified in the wMaxPacketSize fiel

[PATCH] Add missing else case.

2012-08-02 Thread Hans Petter Selasky
>From 59306435992d9349f10ad82a8adf14d98becbbe8 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Fri, 3 Aug 2012 08:34:05 +0200 Subject: [PATCH] Add missing else case. Signed-off-by: Hans Petter Selasky --- drivers/media/common/tuners/tuner-xc2028.c |4 ++-- 1 file changed

Strong pairing cam doesn't work with CT-3650 driver (ttusb2)

2012-08-17 Thread Hans Petter Selasky
Hi, Have anyone out there tested the CT-3650 USB driver in the Linux kernel with a "strong pairing cam". According to some web-forums, the hardware should support that given using the vendor provided DVB WinXXX software. drivers/media/dvb/dvb-usb/ttusb2.c Any clues how to debug or what can be

Re: [PATCH, RFC] Fix DVB ioctls failing if frontend open/closed too fast

2012-08-28 Thread Hans Petter Selasky
On Sunday 12 August 2012 05:06:49 Devin Heitmueller wrote: > On Sat, Aug 11, 2012 at 10:15 PM, Mauro Carvalho Chehab > > wrote: > > Devin/Antti, > > > > As Juergen mentioned your help on this patch, do you mind helping > > reviewing and testing it? > > I guided Juergen through the creation of t

Re: Question about V4L2_MEMORY_USERPTR

2012-07-02 Thread Hans Petter Selasky
> > On Fri, Mar 23, 2012 at 08:19:45AM +0100, Hans Petter Selasky wrote: > > > Hi, > > > > > > I have a question about V4L2_MEMORY_USERPTR: > > > > > > From which context are the kernel's "copy_to_user()" functions called > > >

[PATCH] Correctly set data for USB request in case of a previous failure.

2013-01-14 Thread Hans Petter Selasky
>From 89326793e2429dc55d951f336b3e3e3b73bedb95 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 14 Jan 2013 13:53:21 +0100 Subject: [PATCH] Correctly set data for USB request in case of a previous failure. Found-by: Jan Beich Signed-off-by: Hans Petter Selasky --- drivers/in

Re: [PATCH] Correctly set data for USB request in case of a previous failure.

2013-01-14 Thread Hans Petter Selasky
Improved patch follows: --HPS >From a88d72d2108f92f004a3f050a708d9b7f661f924 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 14 Jan 2013 13:53:21 +0100 Subject: [PATCH] Correctly initialize data for USB request. Found-by: Jan Beich Signed-off-by: Hans Petter Selasky --- driv

Re: [PATCH] Correctly set data for USB request in case of a previous failure.

2013-02-05 Thread Hans Petter Selasky
On Wednesday 06 February 2013 00:23:08 Mauro Carvalho Chehab wrote: > Em Mon, 14 Jan 2013 16:06:20 +0100 > > Hans Petter Selasky escreveu: > > Improved patch follows: > It would be even more improved if you send it to the right ML ;) > > I suspect that your original inte

[BUG] [PATCH 10/21] radio-tea5764: some cleanups and clamp frequency when out-of-range AND [PATCH 15/21] tef6862: clamp frequency.

2013-10-28 Thread Hans Petter Selasky
On 05/31/13 12:02, Hans Verkuil wrote: return -EINVAL; + } + clamp(freq, FREQ_MIN * FREQ_MUL, FREQ_MAX * FREQ_MUL); tea5764_power_up(radio); - tea5764_tune(radio, (f->frequency * 125) / 2); + tea5764_tune(radio, (freq * 125) / 2); return 0;

Re: recursive locking problem

2011-09-09 Thread Hans Petter Selasky
On Thursday 08 September 2011 18:34:32 Antti Palosaari wrote: > lock() + lock() + unlock() == free. Hi, As far as I can see the Linux kernel's mutex API doesn't have support for checking if a mutex is owned. I guess you would have to do something like: while (mutex_owned(&xxx)) mutex_un

Re: [PATCH] dvb/as102 nBox DVB-T dongle

2011-10-14 Thread Hans Petter Selasky
Hi, Could someone pull the AS102 driver into the media tree? http://git.linuxtv.org/media_tree.git/tree/HEAD:/drivers/media/dvb --HPS On Wednesday 20 July 2011 22:29:41 Piotr Chmura wrote: > I just bought DVB-T USB dongle for one of polish digital platform. It > works fine with as102 driver. >

Media tree build log from FreeBSD 8-stable

2011-11-08 Thread Hans Petter Selasky
Hi, The following link shows the build log of the webcamd port built on FreeBSD 8- stable. The webcamd port includes many Linux USB [media] device drivers which are built like a user-space daemon. http://hselasky.homeunix.org:8192/medie_tree_build_log_freebsd.txt.gz I'll try to send this regula

Re: [RFC v3] V4L2 API for flash devices

2011-04-15 Thread Hans Petter Selasky
On Friday 15 April 2011 09:37:17 Sakari Ailus wrote: > Hi, > > This is a third proposal for an interface for controlling flash devices > on the V4L2/v4l2_subdev APIs. My plan is to use the interface in the > ADP1653 driver, the flash controller used in the Nokia N900. > > Thanks to everyone who c

[RFC] Make dvb_net.c optional

2011-05-19 Thread Hans Petter Selasky
Hi, In my setup I am building the DVB code without dvb_net.c, because there is no IP-stack currently in my "Linux kernel". Is this worth a separate configuration entry? --HPS From e7fe34933638e882e1ed1eab1761ecd14ef9125e Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: T

[PATCHES] Various MODULE parameter releated fixes

2011-05-19 Thread Hans Petter Selasky
--HPS From 0e135fa9cd9cb377bd8930253a547d6d9ae6d01b Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Thu, 19 May 2011 02:46:40 +0200 Subject: [PATCH] Parameter description should be after parameter. --- ../media_tree/drivers/media/video/tda7432.c |2 +- 1 files changed, 1 insertions

Re: [RFC] Make dvb_net.c optional

2011-05-22 Thread Hans Petter Selasky
On Saturday 21 May 2011 12:58:33 Mauro Carvalho Chehab wrote: > Em 19-05-2011 05:35, Hans Petter Selasky escreveu: > > Hi, > > > > In my setup I am building the DVB code without dvb_net.c, because there > > is no IP-stack currently in my "Linux kernel". Is th

Re: [PATCHES] Various MODULE parameter releated fixes

2011-05-22 Thread Hans Petter Selasky
On Saturday 21 May 2011 13:01:57 Mauro Carvalho Chehab wrote: > Em 19-05-2011 05:38, Hans Petter Selasky escreveu: > > --HPS > > The patches look sane, but, please send one patch per email. Otherwise, > only the first patch will be caught by patchwork: > https://patch

[PATCH] Correct a module parameter description to describe the correct parameter.

2011-05-23 Thread Hans Petter Selasky
--HPS From 0b5b16dfa302229060eb4ceae0498f0d60ab86c1 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 12:50:01 +0200 Subject: [PATCH] Correct a module parameter description to describe the correct parameter. Signed-off-by: Hans Petter Selasky --- drivers/media/dvb

[PATCH] The info and err macros are already defined by the USB stack. Rename these macros to avoid macro redefinition warnings.

2011-05-23 Thread Hans Petter Selasky
--HPS From 83b2408914b9c02600c8288459ed869037efd1dd Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 12:54:21 +0200 Subject: [PATCH] The info and err macros are already defined by the USB stack. Rename these macros to avoid macro redefinition warnings. Signed-off-by

[PATCH] Fix warning about invalid trigraph sequence.

2011-05-23 Thread Hans Petter Selasky
--HPS From e3b824b49f3d853ba16d9cdda836bd2fe81c7775 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 12:59:37 +0200 Subject: [PATCH] Fix warning about invalid trigraph sequence. Signed-off-by: Hans Petter Selasky --- drivers/media/video/cpia2/cpia2_v4l.c |4 ++-- 1

[PATCH] Make code more readable by not using the return value of the WARN() macro. Set ret variable in an undefined case.

2011-05-23 Thread Hans Petter Selasky
--HPS From 94b88b92763f9309018ba04c200a8842ce1ff0ed Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 13:07:08 +0200 Subject: [PATCH] Make code more readable by not using the return value of the WARN() macro. Set ret variable in an undefined case. Signed-off-by: Hans

[PATCH] Make nchg variable signed because the code compares this variable against negative values.

2011-05-23 Thread Hans Petter Selasky
--HPS From b05d4913df24f11c7b7a2e07201bb87a04a949bc Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 13:09:18 +0200 Subject: [PATCH] Make nchg variable signed because the code compares this variable against negative values. Signed-off-by: Hans Petter Selasky

[PATCH] Fix compile warning: Dereferencing type-punned pointer will break strict-aliasing rules.

2011-05-23 Thread Hans Petter Selasky
--HPS From c7a1e3b3f761a8bd75799248dd83499f59eaedae Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 13:13:06 +0200 Subject: [PATCH] Fix compile warning: Dereferencing type-punned pointer will break strict-aliasing rules. Signed-off-by: Hans Petter Selasky --- drivers

[PATCH] The USB_SPEED... keywords are already defined by the USB stack. Rename currently unused macros to avoid possible future warnings and errors.

2011-05-23 Thread Hans Petter Selasky
--HPS From f7a0f7254da47ff88f69314f14043b01ba0764eb Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 12:43:50 +0200 Subject: [PATCH] The USB_SPEED_XXX keywords are already defined by the USB stack. Rename currently unused macros to avoid possible future warnings and

[PATCH] Define parameter description after the parameter itself.

2011-05-23 Thread Hans Petter Selasky
--HPS From 2f5378e5c5cc5528473f77321879fb075005d3dd Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 13:26:04 +0200 Subject: [PATCH] Define parameter description after the parameter itself. Signed-off-by: Hans Petter Selasky --- drivers/media/video/tda7432.c |2

[PATCH] Remove invalid parameter description.

2011-05-23 Thread Hans Petter Selasky
--HPS From 843559156c08edaf3ef616df005eae8b8d14b186 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 13:28:50 +0200 Subject: [PATCH] Remove invalid parameter description. Signed-off-by: Hans Petter Selasky --- drivers/media/dvb/frontends/tda8261.c |1 - 1 files

[PATCH] The dbg, warn and info macros are already defined by the USB stack. Rename these macros to avoid macro redefinition warnings. Refactor lineshift in printouts.

2011-05-23 Thread Hans Petter Selasky
--HPS From c05334a4162912164d9e8d2d551f1bc2a5fdce82 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 13:40:00 +0200 Subject: [PATCH] The dbg, warn and info macros are already defined by the USB stack. Rename these macros to avoid macro redefinition warnings. Refactor

[PATCH] The info and err macros are already defined by the USB stack. Rename these macros to avoid macro redefinition warnings.

2011-05-23 Thread Hans Petter Selasky
--HPS From 49bc5e480f51a9b756f1f7f1503d237e8a1ba939 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 13:42:40 +0200 Subject: [PATCH] The info and err macros are already defined by the USB stack. Rename these macros to avoid macro redefinition warnings. Signed-off-by

[PATCH] Make DVB NET configurable in the kernel.

2011-05-23 Thread Hans Petter Selasky
--HPS From 7222450a9d6f96f652237c65019fb25f54586d01 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 14:43:35 +0200 Subject: [PATCH] Make DVB NET configurable in the kernel. Signed-off-by: Hans Petter Selasky --- drivers/media/Kconfig| 12

[PATCH] FE_GET_PROPERTY should be _IOW, because the associated structure is transferred from userspace to kernelspace. Keep the old ioctl around for compatibility so that existing code is not broken.

2011-05-23 Thread Hans Petter Selasky
--HPS From be7d0f72ebf4d945cfb2a5c9cc871707f72e1e3c Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 15:56:31 +0200 Subject: [PATCH] FE_GET_PROPERTY should be _IOW, because the associated structure is transferred from userspace to kernelspace. Keep the old ioctl around

[PATCH] Inlined functions should be static.

2011-05-23 Thread Hans Petter Selasky
--HPS From 446037f0f999759b4b801b6512d18bae769465bb Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 16:06:22 +0200 Subject: [PATCH] Inlined functions should be static. Signed-off-by: Hans Petter Selasky --- drivers/media/dvb/frontends/stb0899_algo.c |2 +- 1 files

[PATCH] Increase a timeout, so that bad scheduling does not accidentially cause a timeout.

2011-05-23 Thread Hans Petter Selasky
--HPS From 18faaafc9cbbe478bb49023bbeae490149048560 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 16:21:47 +0200 Subject: [PATCH] Increase a timeout, so that bad scheduling does not accidentially cause a timeout. Signed-off-by: Hans Petter Selasky --- drivers/media

[PATCH] Alternate setting 1 must be selected for interface 0 on the model that I received. Else the rest is identical.

2011-05-23 Thread Hans Petter Selasky
--HPS From 3cf61d6a77b22f58471188cd0e7e3dc6c3a29b0b Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 16:36:55 +0200 Subject: [PATCH] Alternate setting 1 must be selected for interface 0 on the model that I received. Else the rest is identical. Signed-off-by: Hans Petter

Re: [PATCH] FE_GET_PROPERTY should be _IOW, because the associated structure is transferred from userspace to kernelspace. Keep the old ioctl around for compatibility so that existing code is not brok

2011-05-23 Thread Hans Petter Selasky
On Monday 23 May 2011 16:37:18 Andreas Oberritter wrote: > On 05/23/2011 03:58 PM, Hans Petter Selasky wrote: > > From be7d0f72ebf4d945cfb2a5c9cc871707f72e1e3c Mon Sep 17 00:00:00 2001 > > From: Hans Petter Selasky > > Date: Mon, 23 May 2011 15:56:31 +0200 > > Subje

[PATCH] Add missing include guard to header file.

2011-05-23 Thread Hans Petter Selasky
>From 30f6407c5eb67ac8ebf7da169c1f8e500e221db6 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Mon, 23 May 2011 17:10:40 +0200 Subject: [PATCH] Add missing include guard to header file. Signed-off-by: Hans Petter Selasky --- include/media/videobuf-dvb.h |4 1 files changed

Re: [PATCH] Alternate setting 1 must be selected for interface 0 on the model that I received. Else the rest is identical.

2011-05-23 Thread Hans Petter Selasky
On Monday 23 May 2011 20:14:45 Mauro Carvalho Chehab wrote: > Em 23-05-2011 11:37, Hans Petter Selasky escreveu: > > I don't have any ttusb device here, but I doubt that this would work. Hi, It is already tested and works fine. What I see is that interface 1 does not have an alt

Re: [PATCH] Inlined functions should be static.

2011-05-23 Thread Hans Petter Selasky
On Monday 23 May 2011 20:29:28 Mauro Carvalho Chehab wrote: > Em 23-05-2011 15:23, Guennadi Liakhovetski escreveu: > > On Mon, 23 May 2011, Hans Petter Selasky wrote: > >> --HPS > > > > (again, inlining would save me copy-pasting) > > Yeah...

Re: [PATCH] Make code more readable by not using the return value of the WARN() macro. Set ret variable in an undefined case.

2011-05-23 Thread Hans Petter Selasky
On Monday 23 May 2011 20:22:02 Guennadi Liakhovetski wrote: > Please, inline patches. Otherwise, this is what one gets, when replying. > > On Mon, 23 May 2011, Hans Petter Selasky wrote: > > --HPS > > In any case, just throwing in my 2 cents - no idea how not using the &

Re: [PATCH] Alternate setting 1 must be selected for interface 0 on the model that I received. Else the rest is identical.

2011-05-23 Thread Hans Petter Selasky
On Monday 23 May 2011 21:06:32 Mauro Carvalho Chehab wrote: > Em 23-05-2011 15:48, Hans Petter Selasky escreveu: > > On Monday 23 May 2011 20:14:45 Mauro Carvalho Chehab wrote: > >> Em 23-05-2011 11:37, Hans Petter Selasky escreveu: > >> > >> I don't hav

Re: [PATCH] Alternate setting 1 must be selected for interface 0 on the model that I received. Else the rest is identical.

2011-05-23 Thread Hans Petter Selasky
On Monday 23 May 2011 21:47:57 Mauro Carvalho Chehab wrote: > Em 23-05-2011 16:17, Hans Petter Selasky escreveu: > > On Monday 23 May 2011 21:06:32 Mauro Carvalho Chehab wrote: > >> Em 23-05-2011 15:48, Hans Petter Selasky escreveu: > >>> On Monday 23 May 2011 20:14:

Re: [PATCH] Alternate setting 1 must be selected for interface 0 on the model that I received. Else the rest is identical.

2011-05-23 Thread Hans Petter Selasky
On Monday 23 May 2011 22:04:07 Mauro Carvalho Chehab wrote: > Em 23-05-2011 16:52, Hans Petter Selasky escreveu: > > On Monday 23 May 2011 21:47:57 Mauro Carvalho Chehab wrote: > >> Em 23-05-2011 16:17, Hans Petter Selasky escreveu: > >>> On Monday 23 May 2011 21:06:

[RFC] drivers/media/dvb/dvb-usb/pctv452e.c does not work in latest media_tree.git

2011-05-24 Thread Hans Petter Selasky
On Tuesday 24 May 2011 15:59:57 André Weidemann wrote: > Hi Peter, > For the time being the S2-3200 and related cards do not seem to work. > From my understanding this patch should have been rolled back, but > Mauro did not. Feel free to post a message to the linux-media mailing > list. Maybe som

Re: [RFC] drivers/media/dvb/dvb-usb/pctv452e.c does not work in latest media_tree.git

2011-05-24 Thread Hans Petter Selasky
Final patch. Please test and review! >From 83224b9c4b5402332589139549b387066bff8277 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Tue, 24 May 2011 21:44:53 +0200 Subject: [PATCH] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend hardware. Signed-off-by: Hans Petter Sela

[PATCH] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend hardware.

2011-05-24 Thread Hans Petter Selasky
(This time without any word wrappings) >From 83224b9c4b5402332589139549b387066bff8277 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Tue, 24 May 2011 21:44:53 +0200 Subject: [PATCH] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend hardware. Signed-off-by: Hans Petter Sela

[PATCH v2] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend

2011-05-25 Thread Hans Petter Selasky
(The initial patch cause too long tune delay on non-present carriers. Use the hardware derot, by writing zero to the derot register.) >From 2b960abaeeaa32f6bcaa350ca80906c467ab9cb1 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Tue, 24 May 2011 21:44:53 +0200 Subject: [PATCH] Fix

[PATCH v3] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend.

2011-05-25 Thread Hans Petter Selasky
(This patch needs testing and review.) >From 5449f996bb340e4423b3146d1e0172dd635c0398 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Tue, 24 May 2011 21:44:53 +0200 Subject: [PATCH] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend. Signed-off-by: Hans Petter Sela

[PATCH v2] Correct error code from -ENOMEM to -EINVAL. Make sure the return value is set in all cases.

2011-05-26 Thread Hans Petter Selasky
>From 9b38a5c9878b5e4be2899ae291c4524f5f5fc218 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Thu, 26 May 2011 09:49:52 +0200 Subject: [PATCH] Correct error code from -ENOMEM to -EINVAL. Make sure the return value is set in all cases. Signed-off-by: Hans Petter Selasky --- driv

[PATCH v2] Remove unused definitions which can cause conflict with definitions in usb/ch9.h.

2011-05-26 Thread Hans Petter Selasky
>From 0dd2949dfeae431ed4ffbd00fd14a10dc3747ad0 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Thu, 26 May 2011 09:56:55 +0200 Subject: [PATCH] Remove unused definitions which can cause conflict with definitions in usb/ch9.h. Signed-off-by: Hans Petter Selasky --- drivers/media/

[PATCH v2] Correct and add some parameter descriptions.

2011-05-26 Thread Hans Petter Selasky
>From 70d02ce19f64fae4ceee563501e8462a76e17b91 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Thu, 26 May 2011 10:06:09 +0200 Subject: [PATCH] Correct and add some parameter descriptions. Signed-off-by: Hans Petter Selasky --- drivers/media/video/tda7432.c |5 +++-- 1 fi

[PATCH v3 - resend] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend.

2011-05-28 Thread Hans Petter Selasky
(Hopefully without line wrapping of KMail.) >From 5449f996bb340e4423b3146d1e0172dd635c0398 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Tue, 24 May 2011 21:44:53 +0200 Subject: [PATCH] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend. Signed-off-by: Hans Petter Sela

Re: [PATCH v3] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend.

2011-05-28 Thread Hans Petter Selasky
On Saturday 28 May 2011 12:30:17 Mariusz Bialonczyk wrote: > Hello > I don't know what mailer you're using but your patches > to the ML are malformed (word wrapped). > > Please have a look: > http://www.kernel.org/doc/Documentation/email-clients.txt > > I don't know for sure but you may need to s

Re: [PATCH] Make DVB NET configurable in the kernel.

2011-06-01 Thread Hans Petter Selasky
> > Patch is ok, but the code when DVB_NET is not defined can > be simpler. > > So, I'm applying the following patch after yours: Looks good! --HPS -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo inf

Re: [PATCH v3 - resend] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend.

2011-06-02 Thread Hans Petter Selasky
On Thursday 02 June 2011 11:46:15 Lutz Sammer wrote: > Hello Hans Petter, Hi, > > I haven't tested your patch yet, but looking at the source I see some > problems. > > What does your patch fix and how? It switches from software derot to hardware derot, by writing zero to the derot register.

Add support for [non-standard?] DiSEqC switch "MAXIMUM DiSEqC 4/1"

2011-03-14 Thread Hans Petter Selasky
Hi, The local guy over here mounted what he claimed is a fully standard 4/1 DiSEqC switch which works with every sat-receiver around. After some brief investigation, it appears this DiSEqC switch is using a non-standard? scheme, which is not supported by w_scan nor vdr. Correct me if I'm wrong. T

[PATCH] cx24116.c - fix for wrong parameter description

2011-03-28 Thread Hans Petter Selasky
See attachment. --HPS --- cx24116.c.orig 2011-03-20 23:11:40.0 +0100 +++ cx24116.c 2011-03-20 23:12:35.0 +0100 @@ -137,7 +137,7 @@ /* SNR measurements */ static int esno_snr; module_param(esno_snr, int, 0644); -MODULE_PARM_DESC(debug, "SNR return units, 0=PERCENTAGE 0-100, "\ +

Re: DVB_NET help message is useless

2011-06-16 Thread Hans Petter Selasky
On Thursday 16 June 2011 09:06:59 Jiri Slaby wrote: > I would send a patch, but I really have no idea what's that good for. DVB network support is referring to the IP stack. This option is set to "N" when compiling the Linux DVB stack on systems without IP networking. Please submit a patch if yo

Re: [PATCH] DVB: dvb-net, make the kconfig text helpful

2011-06-16 Thread Hans Petter Selasky
On Thursday 16 June 2011 21:06:56 Jiri Slaby wrote: > Telling the user they can disable an option if they want is not the > much useful. Describe what it is good for instead. > > The text was derived from Mauro's email. Acked-by: Hans Petter Selasky PS: Don't forget th

Re: [PATCH] DVB: dvb-net, make the kconfig text helpful

2011-06-17 Thread Hans Petter Selasky
On Friday 17 June 2011 10:02:21 Jiri Slaby wrote: > On 06/17/2011 08:04 AM, Hans Petter Selasky wrote: > > PS: Don't forget the other patch to add a dependency to DVB_CORE. > > Sorry, I'm not your fixing monkey. Fix your bugs on your own. The PS was intended for Mauro. S

[PATCH] Improve UVC buffering with regard to USB. Add checks to avoid division by zero.

2011-06-22 Thread Hans Petter Selasky
and 2x4K for FULL speed USB, regardless of the frame size. This is a well known good combination for BULK buffering. --HPS >From 9a9225cbfe22c978d3b92892580c2ca1e6f5abb2 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Wed, 22 Jun 2011 12:02:15 +0200 Subject: [PATCH] Improve

origin/master branch update ?

2011-08-15 Thread Hans Petter Selasky
Hi, When will the origin/master branch be updated regarding the media_tree.git ? --HPS -- 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: [RFC] vtunerc: virtual DVB device - is it ok to NACK driver because of worrying about possible misusage?

2011-12-03 Thread Hans Petter Selasky
Hi, Some input from the sideline reading this discussion. As a FreeBSD'er I would very much like to see two things happen: - vtunerc goes into userspace like a client/server daemon pair using CUSE and can support _any_ /dev/dvb/adapter, also those created by CUSE itself. That means I could pot

Re: em28xx_isoc_dvb_max_packetsize for EM2884 (Terratec Cinergy HTC Stick)

2011-12-25 Thread Hans Petter Selasky
On Sunday 25 December 2011 15:04:17 Dennis Sperlich wrote: > On 25.12.2011 11:52, Mauro Carvalho Chehab wrote: > > On 24-12-2011 19:58, Dennis Sperlich wrote: > >> Hi, > >> > >> I have a Terratec Cinergy HTC Stick an tried the new support for the > >> DVB-C part. It works for SD material (at least

[Build log] FreeBSD 8-stable for staging/v3.2 branch

2012-01-11 Thread Hans Petter Selasky
Hi, The following patches are used to make the media tree code compile under FreeBSD 8-stable: http://hselasky.homeunix.org:8192/media_tree_patches_freebsd.txt Please have a look and see if some of these should be included in the default media tree git. Some patches are about renaming function

[PATCH] strscpy() returns a negative value on failure unlike strlcpy().

2019-01-25 Thread Hans Petter Selasky
--HPS >From dbdd6c5833103880337e23d56d08f44741589a19 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Fri, 25 Jan 2019 13:59:01 +0100 Subject: [PATCH] strscpy() returns a negative value on failure unlike strlcpy(). Signed-off-by: Hans Petter Selasky --- drivers/media/v4l2-core/v

strscpy() vs strlcpy() and WARN_ONCE()

2018-12-13 Thread Hans Petter Selasky
commit c0decac19da3906d9b66291e57b7759489e1170f Author: Mauro Carvalho Chehab Date: Mon Sep 10 08:19:14 2018 -0400 media: use strscpy() instead of strlcpy() The implementation of strscpy() is more robust and safer. That's now the recommended way to copy NUL terminated str

[APP-BUG] UVC camera not working with skype

2014-02-23 Thread Hans Petter Selasky
Hi, I have debugged why a USB video class camera doesn't work with skype. Skype finds the device and opens /dev/video0. Skype tries to enumerate the device, but apparently does not care about the return value from the VIDIOC_ENUM_FRAMEINTERVALS. It finds the correct resolution and so on, but

Re: [APP-BUG] UVC camera not working with skype

2014-02-23 Thread Hans Petter Selasky
On 02/23/14 13:06, Hans Petter Selasky wrote: Hi, I have debugged why a USB video class camera doesn't work with skype. Skype finds the device and opens /dev/video0. Forgot: Skype v4.2.0.13 --HPS -- To unsubscribe from this list: send the line "unsubscribe linux-media" i

Re: [APP-BUG] UVC camera not working with skype

2014-02-23 Thread Hans Petter Selasky
On 02/23/14 14:51, Hans de Goede wrote: Ugh, if we add special code to libv4l for this the amount of libv4l skype specific fixes is going to become ridiculous (we also fake all cams doing 320x240 for skype). Have you tried contacting skype about this ? No, do you have an e-mail? --HPS -- To

Re: Time for a v4l-utils 1.8.0 release

2015-05-05 Thread Hans Petter Selasky
On 05/06/15 04:07, Laurent Pinchart wrote: Hi Mauro, On Tuesday 05 May 2015 17:22:35 Mauro Carvalho Chehab wrote: Em Tue, 05 May 2015 21:08:49 +0200 Gregor Jasny escreveu: Hello, It's already more than half a year since the last v4l-utils release. Do you have any pending commits or objections

Re: [PATCH 3/4] Wrap LFS64 functions only if __GLIBC__

2015-05-06 Thread Hans Petter Selasky
On 05/05/15 14:34, Mauro Carvalho Chehab wrote: I'm afraid that removing the above would break for FreeBSD, as I think it also uses glibc, but not 100% sure. So, either we should get an ack from Hans Peter, or you should change the tests to: #if linux && __GLIBC__ Hi, Linux might be