[linux-dvb] [PATCH] budget-ci IR handling fixups

2007-02-05 Thread David Härdeman
means that the current driver gets some assumptions wrong and might generate double keypresses for one IR command. The attached patch fixes this by throwing away the repeat bytes and by associating the correct command and device bytes. Please apply. Signed-off-by: David Härdeman <[EM

[linux-dvb] Casema (Netherlands) DVB-C initial scan file

2007-02-05 Thread David Härdeman
Hi, here's an initial scan file for Casema (and probably some other cable companies) in the Netherlands, please add to the dvb-apps repo. Signed-off-by: David Härdeman <[EMAIL PROTECTED]> -- David Härdeman # Casema Netherlands # freq sr fec mod C 37200 6875000

Re: [linux-dvb] No IR-remote events with new budget_ci?

2007-02-11 Thread David Härdeman
ting any events with > 'evtest' from the cards ir-receiver. > > Budget_ci's srcversion is 70035214582C9009995F1ED. > > Any ideas? Yes, could you please try this patch: http://www.linuxtv.org/pipermail/linux-dvb/2007-February/015759.html Please let me know if it works or n

Re: [linux-dvb] No IR-remote events with new budget_ci?

2007-02-12 Thread David Härdeman
On Mon, Feb 12, 2007 at 06:25:53PM +0200, Jouni wrote: On Mon, 12 Feb 2007 08:39:10 +0100 (CET), "David Härdeman" <[EMAIL PROTECTED]> said: On Sun, February 11, 2007 15:13, Jouni said: I updated the DVB-modules (for improved ir handling) to recent versions from v4l-Mercurial, a

Re: [linux-dvb] No IR-remote events with new budget_ci?

2007-02-12 Thread David Härdeman
d So the sequence "1-2-3-3" should have been generated (with the last "3" resulting from a long keypress). The most likely explanation is that the rc5_device does not match, could you provide me with the output from running "cat /sys/module

Re: [linux-dvb] No IR-remote events with new budget_ci?

2007-02-12 Thread David Härdeman
and load the driver with ir_debug, then press a few buttons, and then look in dmesg for bytes with a value in the range 0 - 31 (0x00 - 0x1f), that should be your rc5_device number. -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] [PATCH] budget-ci IR handling fixups

2007-02-12 Thread David Härdeman
On Sun, Feb 11, 2007 at 06:48:27AM +0100, Oliver Endriss wrote: David Härdeman wrote: Changeset 6562d27de0d7 [1] by Oliver Endriss changed the budget-ci driver to use interrupt mode for i2c transfers. This also meant that a new bunch of IR bytes that were previously lost are now received

Re: [linux-dvb] [PATCH] budget-ci IR handling fixups

2007-02-13 Thread David Härdeman
e one addressed by the patch. At the moment, the driver doesn't work at all, so please apply this patch and I'll take a look at repeat handling later. -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] No IR-remote events with new budget_ci?

2007-02-13 Thread David Härdeman
o change any sources and you'll be sure that it will keep on working (I use input-kbd to set keymaps with my learning remote). If you're unsure how to do it, I could write something up later this week. -- David Härdeman ___ linux-dvb mail

[linux-dvb] [PATCH] Implement repeat key handling in budget-ci IR

2007-02-19 Thread David Härdeman
be removed altogether. In addition a couple of static variables were removed which would have confused the IR code if more than one card is used. Signed-off-by: David Härdeman <[EMAIL PROTECTED]> -- David Härdeman diff -r 5884d8239fe1 linux/drivers/media/dvb/ttpci/budget-ci.c --- a/linux/d

Re: [linux-dvb] Re: [PATCH] Implement repeat key handling in budget-ci IR

2007-02-26 Thread David Härdeman
hanks for fixing the breakage, I was at FOSDEM this weekend so I did not have time to take care of it myself. The good news is of course that all drivers are free to use the bool type now. -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] module parameters "ir_debug" budget_ci

2007-02-28 Thread David Härdeman
ir_debug=1 in the source file but I can't see this module messages in dmesg. From what you've said previously it seems unlikely that the module is even loaded. [1] http://www.sbprojects.com/knowledge/ir/rc5.htm -- David Härdeman ___ linux-d

Re: [linux-dvb] Problem with keys repeated

2007-03-06 Thread David Härdeman
've already answered your question on the LIRC list. Did you try using kbd-utils to change the repeat rate? You might also try loading ir-common with the parameter "repeat=0". -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.o

Re: [linux-dvb] Problem with keys repeated

2007-03-06 Thread David Härdeman
ll be able to help you with the repeat rate issue... -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] Problem with keys repeated

2007-03-06 Thread David Härdeman
On Tue, Mar 06, 2007 at 06:52:48PM +0200, Ville-Pekka Vainio wrote: David Härdeman kirjoitti viestissään (lähetysaika tiistai, 6. maaliskuuta 2007 15:26:20): On Tue, March 6, 2007 13:20, Dom H said: > I've updated my machine and now my Logitech remote is giving me multiple > events

Re: [linux-dvb] Problem with keys repeated

2007-03-06 Thread David Härdeman
alue 0 > Event: time 1173221475.219707, type 0 (Reset), code 0 (Reset), value 0 This looks like it should as far as I can tell...400 ms from first keypress until the first repeat, and then a key release event about 75 ms later. The delay until the first repeat event can be changed using kbdr

Re: [linux-dvb] Re: scan files for the past 4 months

2007-04-10 Thread David Härdeman
first mail. I think this one wasn't included (sent 5 Feb). -- David Härdeman # Casema Netherlands # freq sr fec mod C 37200 6875000 NONE QAM64 ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] Remote control input event problem with recent kernels

2007-06-01 Thread David Härdeman
sn't work with the most recent version of the driver, please load the module with debug=1 and send the output from dmesg. -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] dvb-c & CI, but no picture?

2007-06-05 Thread David Härdeman
ks like it should > be working? I'd suggest you try using the basic gnutv application from the dvb-tools repo first and see if it works. It just needs a correct channel.conf file to operate and it can also let you use the CAM menu (so you can make sure the communication with the C

Re: [linux-dvb] dvb-c & CI, but no picture?

2007-06-05 Thread David Härdeman
uot;outfile.mpg" with xine or mplayer. If you don't have a channel.conf you need to create one using the zap utils. -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] DVB-C budget decoding - no picture

2007-06-06 Thread David Härdeman
gth. > > Can you tell me what level you get for SIGNAL? I also get bogus signal strength values (as in - impossibly low ones) on the same card, so I don't think that is your problem. -- David Härdeman ___ linux-dvb mailing list lin

Re: [linux-dvb] dvb-c & CI, but no picture?

2007-06-07 Thread David Härdeman
On Wed, June 6, 2007 10:25, Simon Baxter wrote: > David Härdeman wrote: >> Try something like: >> >> gnutv -channels channel.conf -out stdout "NAME_OF_A_CHANNEL" > >> outfile.mpg >> >> Let that run for a while and then see if you can play &qu

Re: [linux-dvb] dvb-c & CI, but no picture?

2007-06-10 Thread David Härdeman
On Thu, June 7, 2007 12:35, Simon Baxter wrote: >> > David Härdeman wrote: >> What is the output from gnutv when you execute it like above? >> >> (If I record a stream using gnutv to a file without having working >> encryption, I get a file which is properly recog

Re: [linux-dvb] DVB-C Questions for Holland

2007-07-01 Thread David Härdeman
is what Casema uses (AFAIK). -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] Possible bug in cx88-dvb?

2007-07-05 Thread David Härdeman
labla" printk removed? -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[linux-dvb] libdvbapi clarification

2007-07-10 Thread David Härdeman
value of 0x50 and a mask of 0xf0 mean that all sections 0x50 - 0x5f would pass through the section filter? -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] libdvbapi clarification

2007-07-10 Thread David Härdeman
On Tue, July 10, 2007 10:56, Marcel Siegert wrote: > On Tuesday 10 July 2007, David Härdeman wrote: >> I'm trying to understand the dvbdemux_set_section_filter function in >> dvp-apps/lib/libdvbapi/dvbdemux.c (lines 74 - 93). >> >> It used to take 16 filter and 16

Re: [linux-dvb] libdvbapi clarification

2007-07-11 Thread David Härdeman
On Tue, July 10, 2007 10:56, Marcel Siegert wrote: > On Tuesday 10 July 2007, David Härdeman wrote: >> I'm trying to understand the dvbdemux_set_section_filter function in >> dvp-apps/lib/libdvbapi/dvbdemux.c (lines 74 - 93). ... > > if you filter a section you can filte

Re: [linux-dvb] libdvbapi clarification

2007-07-16 Thread David Härdeman
On Wed, July 11, 2007 09:31, David Härdeman wrote: > Ok, now I'm confused...when I use one filter by calling > dvbdemux_set_section_filter with filter[0] and mask[0] set to something, I > get sections. > > If I use two filters by calling dvbdemux_set_section_filter with

Re: [linux-dvb] Non blocking IO on dvr0 device

2007-11-09 Thread David Härdeman
ernel could of course have been expressed in a less terse manner, but that's something else. -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] libdvben50221 docs and debuging

2007-11-16 Thread David Härdeman
grams use of libdvben50221 to that of gnutv... -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[linux-dvb] [PATCH] Dynamic keymap for budget-ci

2006-09-23 Thread David Härdeman
The attached patch changes budget-ci so that the keymap can be changed using the regular input-kbd tool (like it can for other remotes using ir-kbd-*). Compiled and tested with a programmable remote. Signed-off-by: David Härdeman <[EMAIL PROTECTED]> --- linux-2.6.18.orig/drivers/med

[linux-dvb] [PATCH] Allow budget-ci to only listen to certain IR devices

2006-09-27 Thread David Härdeman
different RC5 device codes. This patch needs to be applied on top of the dynamic keymap patch posted earlier[1]. Signed-off-by: David Härdeman <[EMAIL PROTECTED]> [0] http://www.linuxtv.org/mailinglists/linux-dvb/2004/03-2004/msg00721.html [1] http://www.linuxtv.org/pipermail/linux-dv

[linux-dvb] [PATCH] Allow budget-ci to only listen to certain IR devices

2006-09-27 Thread David Härdeman
different RC5 device codes. This patch needs to be applied on top of the dynamic keymap patch posted earlier[1]. Patch included this time :) Signed-off-by: David Härdeman <[EMAIL PROTECTED]> [0] http://www.linuxtv.org/mailinglists/linux-dvb/2004/03-2004/msg00721.html [1] http://www.linux

Re: [linux-dvb] [PATCH] Allow budget-ci to only listen to certain IR devices

2006-09-28 Thread David Härdeman
anges will also have some time to get some testing before moving along with more changes... -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[linux-dvb] [patch 0/8] budget_ci: improve IR input handling

2006-10-02 Thread David Härdeman
eries and my two previous patches). The result is a much more pleasant IR experience with snappier key reporting and some added features like RC5 device decoding. Compiled and tested with a programmable remote. Testers, comments and/or commits are welcome... -- David Här

[linux-dvb] [patch 5/8] budget-ci IR: integrate with ir-common

2006-10-02 Thread David Härdeman
t. Signed-off-by: David Härdeman <[EMAIL PROTECTED]> Index: v4l-dvb/linux/drivers/media/common/ir-keymaps.c === --- v4l-dvb.orig/linux/drivers/media/common/ir-keymaps.c2006-10-02 18:48:22.0 +0200 +++ v4l-d

[linux-dvb] [patch 7/8] budget-ci IR: add IR debugging information

2006-10-02 Thread David Härdeman
This adds a ir_debug parameter which is useful in tracking down IR decoding problems. Based on Darren Salt's dvb-ir patchset. Signed-off-by: Darren Salt <[EMAIL PROTECTED]> Signed-off-by: David Härdeman <[EMAIL PROTECTED]> Index: v4l-dvb/linux/drivers/media/dvb/

[linux-dvb] [patch 8/8] budget-ci IR: make debounce logic conditional

2006-10-02 Thread David Härdeman
per ~110ms is possible) Signed-off-by: David Härdeman <[EMAIL PROTECTED]> Index: v4l-dvb/linux/drivers/media/dvb/ttpci/budget-ci.c === --- v4l-dvb.orig/linux/drivers/media/dvb/ttpci/budget-ci.c 2006-10-02 20:28:19.000

[linux-dvb] [patch 1/8] budget-ci IR: groundwork for following patches

2006-10-02 Thread David Härdeman
) to avoid truncation and uses snprintf rather than sprintf in case the extra space shouldn't be enough. Taken from Darren Salt's dvb-ir patchset Signed-off-by: Darren Salt <[EMAIL PROTECTED]> Signed-off-by: David Härdeman <[EMAIL PROTECTED]> Index: v4l-dvb/linux/dri

[linux-dvb] [patch 2/8] budget-ci IR: support EVIOCGPHYS

2006-10-02 Thread David Härdeman
hset. Signed-off-by: Darren Salt <[EMAIL PROTECTED]> Signed-off-by: David Härdeman <[EMAIL PROTECTED]> Index: v4l-dvb/linux/drivers/media/dvb/ttpci/budget-ci.c === --- v4l-dvb.orig/linux/drivers/media/dvb/ttpci/budget-ci.c

[linux-dvb] [patch 3/8] budget-ci IR: improve error checking in init and deinit functions

2006-10-02 Thread David Härdeman
Improve the error checking in the IR init and deinit functions. Based on Darren Salt's dvb-ir patchset. Signed-off-by: David Härdeman <[EMAIL PROTECTED]> Index: v4l-dvb/linux/drivers/media/dvb/ttpci/budget-ci.c

[linux-dvb] [patch 4/8] budget-ci IR: be more verbose in case of init failure

2006-10-02 Thread David Härdeman
Trivial change to help the user understand what went wrong. Taken from Darren Salt's dvb-ir patchset. Signed-off-by: Darren Salt <[EMAIL PROTECTED]> Signed-off-by: David Härdeman <[EMAIL PROTECTED]> Index: v4l-dvb/linux/drivers/media/dvb/

[linux-dvb] [patch 6/8] budget-ci IR: decode rc5 device byte

2006-10-02 Thread David Härdeman
Salt <[EMAIL PROTECTED]> Signed-off-by: David Härdeman <[EMAIL PROTECTED]> Index: v4l-dvb/linux/drivers/media/dvb/ttpci/budget-ci.c === --- v4l-dvb.orig/linux/drivers/media/dvb/ttpci/budget-ci.c 2006-10-02 18:49:0

Re: [linux-dvb] [patch 0/8] budget_ci: improve IR input handling

2006-10-03 Thread David Härdeman
On Tue, October 3, 2006 2:33, C.Y.M said: > David Härdeman wrote: >> This series of patches includes a number of bugfixes and changes to the >> IR input handling of the budget-ci driver. > > If these patches are successful, can they also be implemented into the > regula

Re: [linux-dvb] [patch 0/8] budget_ci: improve IR input handling

2006-10-04 Thread David Härdeman
On Tue, October 3, 2006 22:43, C.Y.M said: > David Härdeman wrote: >> I'm sorry, but I don't quite follow...the ir driver for the av7110 uses >> the Linux input system (i.e. appears as a keyboard more or less), why >> use >> LIRC? Exactly what issues do you h

Re: [linux-dvb] [patch 0/8] budget_ci: improve IR input handling

2006-10-04 Thread David Härdeman
itrary keys to actions, file a bug report against that app (MythTV, Xine, Mplayer, Xmame all support mapping keys). -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] [patch 0/8] budget_ci: improve IR input handling

2006-10-04 Thread David Härdeman
On Wed, October 4, 2006 10:44, Torgeir Veimo said: > On 4 Oct 2006, at 08:35, David Härdeman wrote: >> The solution is simple, get rid of LIRC > > Well I run an application without X while taking input only using the > linux input system, and I'm still having problems wit

Re: [linux-dvb] [patch 0/8] budget_ci: improve IR input handling

2006-10-04 Thread David Härdeman
On Wed, October 4, 2006 12:53, Oliver Endriss said: > David Härdeman wrote: >> On Wed, October 4, 2006 10:44, Torgeir Veimo said: >>> Well I run an application without X while taking input only using the >>> linux input system, and I'm still having problems with mu

[linux-dvb] Getting patches applied?

2006-10-09 Thread David Härdeman
cular in order to have the patches committed to the repo, did anyone experience problems with them or should I just be more patient? -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[linux-dvb] budget-ci: IR interrupt disabling CI module?

2006-10-25 Thread David Härdeman
some feedback here cause I'm at a loss to figure out what is going on... -- David Härdeman MythTV debug output: 2006-10-25 22:34:27.606 Using runtime prefix = /usr 2006-10-25 22:34:27.743 New DB connection, total: 1 2006-10-25 22:34:27.775 Connected to database '

Re: [linux-dvb] budget-ci: IR interrupt disabling CI module?

2006-10-26 Thread David Härdeman
On Thu, October 26, 2006 2:16, David Härdeman said: > I'm currently trying to get a TechnoTrend C-1500 Budget card (using the > budget-ci module), using a CAM module, working with MythTV. > > After some debugging it seems that it does work fine until I use the > remote, so

Re: [linux-dvb] budget-ci: IR interrupt disabling CI module?

2006-10-26 Thread David Härdeman
On Thu, Oct 26, 2006 at 10:56:49AM +0200, David Härdeman wrote: On Thu, October 26, 2006 2:16, David Härdeman said: I'm currently trying to get a TechnoTrend C-1500 Budget card (using the budget-ci module), using a CAM module, working with MythTV. After some debugging it seems that it

[linux-dvb] [PATCH] budget-ci: Change DEBIADDR_IR to a safer default

2006-10-26 Thread David Härdeman
repo. Signed-off-by: David Härdeman <[EMAIL PROTECTED]> diff -ur v4l-dvb.orig/linux/drivers/media/dvb/ttpci/budget-ci.c v4l-dvb/linux/drivers/media/dvb/ttpci/budget-ci.c --- v4l-dvb.orig/linux/drivers/media/dvb/ttpci/budget-ci.c 2006-10-25 22:26:21.0 +0200 +++ v4l-dvb/linux/d

Re: [linux-dvb] Cam Menu?

2006-10-29 Thread David Härdeman
linux. Try the "gnutv" app from the dvb-apps repo using the "-cammenu" option -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] Cam Menu?

2006-10-30 Thread David Härdeman
ou can go into the cam menu, but I >cannot find any way with a dvb card on linux. Try the "gnutv" app from the dvb-apps repo using the "-cammenu" option -- David Härdeman Does that work for you? Yup (using a C-1500) # dmesg | grep frontend DVB: registering fronten

Re: [linux-dvb] Cam Menu?

2006-10-30 Thread David Härdeman
caused constant lockups and errors (within seconds, cammenu was barely useable) and things improved when I used the original (shorter) cable again. I'm going to spend more time debugging my C-1500 when I have some more time to spend :) -- David Härdeman

Re: [linux-dvb] Cam Menu?

2006-10-30 Thread David Härdeman
On Mon, Oct 30, 2006 at 11:36:24PM +, Andrew Lyon wrote: On 10/30/06, David Härdeman <[EMAIL PROTECTED]> wrote: If you're feeling adventurous, you might try recompiling MythTV. In mythtv/libs/libmythtv/dvbcam.cpp, function DVBCam::CiHandlerLoop(), there is a usleep(250) which I

Re: [linux-dvb] [av7110/budget/budget-ci/budget-av drivers] please test: drivers switched to I2C interrupt mode

2006-11-02 Thread David Härdeman
work a bit on the patchset and resubmit it when I have some more time. -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] Cam Menu?

2007-01-07 Thread David Härdeman
On Mon, Oct 30, 2006 at 08:32:27PM +0100, David Härdeman wrote: On Mon, Oct 30, 2006 at 07:07:05PM +, Andrew Lyon wrote: Really not sure what is wrong, I can leave it playing a encrypted channel for days at a time, but if I change channels a few times it stops working, I have a feeling

Re: [linux-dvb] Freecom DVB-T USB Stick (25451-rev.3)

2007-01-09 Thread David Härdeman
? ... Anyone else having problems that I'm having? Any suggestions and ideas (any other tests I should do?) are appreciated. -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] DVB-C card anyone?

2007-01-22 Thread David Härdeman
alot). Do you know which crypto system your provider uses? (it will be important for your choice of CAM module) -- David Härdeman ___ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb