Re: [linux-dvb] DiB0700 device support

2007-08-18 Thread Patrick Boettcher

I'm back, but have no better idea for the moment. I think I will see the 
other people next week, so some time has to go by.

Sorry,
Patrick.

--
  Mail: [EMAIL PROTECTED]
  WWW:  http://www.wi-bw.tfh-wildau.de/~pboettch/


On Fri, 10 Aug 2007, Nicolas Will wrote:

> On Fri, 2007-08-10 at 12:24 +0200, Eduard Huguet wrote:
> > 
> > I'll try to test it also. Is there any possibility that this patch
> > gets included into main HG repository? 
> 
> I guess we will have to wait until Patrick comes back from his vacation.
> 
> I hope he gets proper rest and comes back with a bright definitive fix
> for the disconnects too. :o)
> 
> Nico
> 
> 
> ___
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> 

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DiB0700 device support

2007-08-13 Thread Nicolas Will
On Sun, 2007-08-12 at 23:34 +0200, Jonas Anden wrote:
> > > I'll try to test it also. Is there any possibility that this patch
> > > gets included into main HG repository? 
> > 
> > I guess we will have to wait until Patrick comes back from his vacation.
> 
> I would *not* recommend committing the patch to the HG repo.
> 
> I consider it an ugly fix that doesn't take care of the root of the
> problem. The patch simply avoids sending kernel printk()s for repeated
> unknown key codes. The actual root of the problem is that these unknown
> key codes *are* repeated. I suspect a bug in the firmware is causing all
> these repeated key codes, but that's just a wild guess.
> 
> Bottom line: The patch doesn't do any harm, but it does nothing to solve
> the actual problem. Apply it to avoid "high" load on syslog and ugly log
> messages until the actual problem is fixed, but don't commit it to the
> HG repo.

Understood, and note added into the wiki.

http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-NOVA-T-500

Nico


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[linux-dvb] DiB0700 device support

2007-08-12 Thread Jonas Anden
> > I'll try to test it also. Is there any possibility that this patch
> > gets included into main HG repository? 
> 
> I guess we will have to wait until Patrick comes back from his vacation.

I would *not* recommend committing the patch to the HG repo.

I consider it an ugly fix that doesn't take care of the root of the
problem. The patch simply avoids sending kernel printk()s for repeated
unknown key codes. The actual root of the problem is that these unknown
key codes *are* repeated. I suspect a bug in the firmware is causing all
these repeated key codes, but that's just a wild guess.

Bottom line: The patch doesn't do any harm, but it does nothing to solve
the actual problem. Apply it to avoid "high" load on syslog and ugly log
messages until the actual problem is fixed, but don't commit it to the
HG repo.

  // J


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DiB0700 device support

2007-08-10 Thread Nicolas Will
On Fri, 2007-08-10 at 12:24 +0200, Eduard Huguet wrote:
> 
> I'll try to test it also. Is there any possibility that this patch
> gets included into main HG repository? 

I guess we will have to wait until Patrick comes back from his vacation.

I hope he gets proper rest and comes back with a bright definitive fix
for the disconnects too. :o)

Nico


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DiB0700 device support

2007-08-10 Thread Eduard Huguet
>
> -- Missatge reenviat --
> From: Nicolas Will <[EMAIL PROTECTED]>
> To: linux-dvb@linuxtv.org
> Date: Fri, 10 Aug 2007 08:42:07 +0100
> Subject: Re: [linux-dvb] DiB0700 device support
> On Thu, 2007-08-02 at 00:28 +0200, Jonas Anden wrote:
> > If the sample below is what your "remote control errors" in syslog is,
> > the attached patch gets rid of it.
> >
> > ---
> > Aug  1 13:44:26 ragnyr kernel: dib0700: Unknown remote controller
> > key : 1E 2A
> > Aug  1 13:44:57 ragnyr last message repeated 206 times
> > Aug  1 13:45:58 ragnyr last message repeated 406 times
> > Aug  1 13:46:59 ragnyr last message repeated 407 times
> > Aug  1 13:48:00 ragnyr last message repeated 406 times
> > Aug  1 13:49:01 ragnyr last message repeated 406 times
> > Aug  1 13:50:02 ragnyr last message repeated 407 times
> > ---
> >
> > When an unknown key code is received, it is not eaten and the module
> > keeps yelling about it using printk()s. A bunch of times per second.
> > Until the next valid key code is received. And this happens as soon as
> > I
> > use any unsupported device (like power on/off my surround system). The
> > Nova-T IR receiver gets the IR code by accident and as a result the
> > module starts screaming.
> >
> > I'm not sure but this screaming possibly killed (rebooted) my box as
> > well. I applied the new code, tested it for a few hours, and then went
> > to bed last night. When I woke up the box had rebooted (no mentions of
> > why in syslog, though). After applying the attached patch, my system
> > has
> > been stable (about a 10 hours by now).
>
> I've tried this patch. Thanks Jonas.
>
> It didn't apply (Hunk failed) on a current tree, but it is simple enough
> to do by hand.
>
> It seems to calm down the messages, indeed.
>
> Is it good in the grand scheme? I am not able to judge.
>
> Is it good in the long term? Let's see.
>
> At least, it didn't break anything basic and obvious right away.
>
> Nico
>


I'll try to test it also. Is there any possibility that this patch gets
included into main HG repository?
Cheers
  Eduard
___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] DiB0700 device support

2007-08-10 Thread Nicolas Will
On Thu, 2007-08-02 at 00:28 +0200, Jonas Anden wrote:
> If the sample below is what your "remote control errors" in syslog is,
> the attached patch gets rid of it.
> 
> ---
> Aug  1 13:44:26 ragnyr kernel: dib0700: Unknown remote controller
> key : 1E 2A
> Aug  1 13:44:57 ragnyr last message repeated 206 times
> Aug  1 13:45:58 ragnyr last message repeated 406 times
> Aug  1 13:46:59 ragnyr last message repeated 407 times
> Aug  1 13:48:00 ragnyr last message repeated 406 times
> Aug  1 13:49:01 ragnyr last message repeated 406 times
> Aug  1 13:50:02 ragnyr last message repeated 407 times
> ---
> 
> When an unknown key code is received, it is not eaten and the module
> keeps yelling about it using printk()s. A bunch of times per second.
> Until the next valid key code is received. And this happens as soon as
> I
> use any unsupported device (like power on/off my surround system). The
> Nova-T IR receiver gets the IR code by accident and as a result the
> module starts screaming.
> 
> I'm not sure but this screaming possibly killed (rebooted) my box as
> well. I applied the new code, tested it for a few hours, and then went
> to bed last night. When I woke up the box had rebooted (no mentions of
> why in syslog, though). After applying the attached patch, my system
> has
> been stable (about a 10 hours by now). 

I've tried this patch. Thanks Jonas.

It didn't apply (Hunk failed) on a current tree, but it is simple enough
to do by hand.

It seems to calm down the messages, indeed.

Is it good in the grand scheme? I am not able to judge.

Is it good in the long term? Let's see.

At least, it didn't break anything basic and obvious right away.

Nico


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DiB0700 device support

2007-08-02 Thread Nicolas Will
On Thu, 2007-08-02 at 09:47 +0100, Nicolas Will wrote:
> On Wed, 2007-08-01 at 16:25 +0200, Soeren Sonnenburg wrote:
> > > So I can update the wiki, removing the patches, linking to the pre1
> > > firmware, and say that it fixes the disconnects for good?
> > 
> > Well no. As I wrote in a different mail, the disconnect happened here
> > again after just 30 minutes :((
> > 
> 
> Understood, but if the changes got merged/synced into the main hg, then
> it is too late, the old instructions do not work anymore and you are
> forced into the new firmware anyway.
> 
> Any other input before I delete/replace content ?

As the reported disconnects were only reported for the USB stick, and as
there was no additional input on the list, I went ahead and updated the
wiki page:

http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-NOVA-T-500

Nico


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DiB0700 device support

2007-08-02 Thread Nicolas Will
On Wed, 2007-08-01 at 16:25 +0200, Soeren Sonnenburg wrote:
> > So I can update the wiki, removing the patches, linking to the pre1
> > firmware, and say that it fixes the disconnects for good?
> 
> Well no. As I wrote in a different mail, the disconnect happened here
> again after just 30 minutes :((
> 

Understood, but if the changes got merged/synced into the main hg, then
it is too late, the old instructions do not work anymore and you are
forced into the new firmware anyway.

Any other input before I delete/replace content ?

nico


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[linux-dvb] DiB0700 device support

2007-08-01 Thread Jonas Anden
> I have posted twice, with no appearance in the list, a message about
> remote control errors (tons of them in syslog!). I saw that you made a
> commit in your tree about remote control stuff. Is that related? I'll
> try a new build tonight.

If the sample below is what your "remote control errors" in syslog is,
the attached patch gets rid of it.

---
Aug  1 13:44:26 ragnyr kernel: dib0700: Unknown remote controller key : 1E 2A
Aug  1 13:44:57 ragnyr last message repeated 206 times
Aug  1 13:45:58 ragnyr last message repeated 406 times
Aug  1 13:46:59 ragnyr last message repeated 407 times
Aug  1 13:48:00 ragnyr last message repeated 406 times
Aug  1 13:49:01 ragnyr last message repeated 406 times
Aug  1 13:50:02 ragnyr last message repeated 407 times
---

When an unknown key code is received, it is not eaten and the module
keeps yelling about it using printk()s. A bunch of times per second.
Until the next valid key code is received. And this happens as soon as I
use any unsupported device (like power on/off my surround system). The
Nova-T IR receiver gets the IR code by accident and as a result the
module starts screaming.

I'm not sure but this screaming possibly killed (rebooted) my box as
well. I applied the new code, tested it for a few hours, and then went
to bed last night. When I woke up the box had rebooted (no mentions of
why in syslog, though). After applying the attached patch, my system has
been stable (about a 10 hours by now).

I'm still not entirely satisfied with the RC solution for dvb-usb-remote
(translating with a hardcoded list in the module and then sending
(sometimes in-)appropriate key codes in to the kernel as though entered
by the keyboard. Anyone know if it would be difficult to deliver the
received key codes through a netlink device (or similar) that can be
read by lircd? I'd prefer a solution that doesn't require a patch
+recompile for each new IR thingy I use

My system has one Nova-T Stick (2040:7050), one Nova-T-500 (2040:9950),
and one Nova-TD Stick (2040:9580).

  // J
diff -r a61e2628ac83 linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c Wed Aug 01 10:13:36 2007 -0300
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c Wed Aug 01 15:28:33 2007 +0200
@@ -288,6 +288,7 @@ static int dib0700_rc_query(struct dvb_u
}
}
err("Unknown remote controller key : %2X %2X",(int)key[3-2],(int)key[3-3]);
+   st->rc_toggle=key[3-1];
}
return 0;
 }
___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] DiB0700 device support

2007-08-01 Thread Patrick Boettcher
Hi F,

It seems you are mixing up kernel modules with modules from HG. The you 
have mt2060-write-errors is "not normal". With dib0700 as it is today you 
cannot see i2c-write errors. 

Patrick.

On Wed, 1 Aug 2007, f.fabre wrote:

> Hi
> 
> i test your New DiB0700-firmware
> with Hauppauge WinTV-NOVA-T - Stick - USB 2.0 - compatible TNT 
> (Télévision Numérique Terrestre)
> Ref: M/R:70001/A1B5
> lsusb
> Bus 005 Device 005: ID 2040:7050 Hauppauge
> 
> 
> appear ok but more error
> [ 4637.116000] mt2060 I2C read failed
> start kaffeine humm not run stop/start ...  stop/start appear ok after 
> 4/5 stop/start
> 
> look detail dmesg at:
> http://frafa.free.fr/dotclear/index.php?post/2007/08/01/Test-New-DiB0700-firmware-Patrick-Boettcher
> 
> good vacation
> 
> sorry for my english (i'm french an my english is...)
> f.fabre
> 
> ___
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> ___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Re: [linux-dvb] DiB0700 device support

2007-08-01 Thread Soeren Sonnenburg
On Wed, 2007-08-01 at 15:06 +0100, Nicolas Will wrote:
> On Wed, 2007-08-01 at 15:25 +0200, Janne Grunau wrote:
> > On Wednesday 01 August 2007 14:30:31 Nicolas Will wrote:
> > > On Wed, 2007-08-01 at 00:52 +0200, Patrick Boettcher wrote:
> > > > Hi all,
> > > >
> > > > I just asked Mauro to pull all my changes regarding the
> > > > dib0700-based device into the main repository.
> > > > I'm quite happy with the results I already received and to reach
> > > > more users before the next kernel integration I think it should be
> > > > merged.
> > >
> > > Can we be made aware of the merge, when it happens.
> > 
> > It is merged.
> 
> So I can update the wiki, removing the patches, linking to the pre1
> firmware, and say that it fixes the disconnects for good?

Well no. As I wrote in a different mail, the disconnect happened here
again after just 30 minutes :((

(nova-t stick/hama dongle DiBcom 7000M based dongle)

Soeren

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DiB0700 device support

2007-08-01 Thread Nicolas Will
On Wed, 2007-08-01 at 15:25 +0200, Janne Grunau wrote:
> On Wednesday 01 August 2007 14:30:31 Nicolas Will wrote:
> > On Wed, 2007-08-01 at 00:52 +0200, Patrick Boettcher wrote:
> > > Hi all,
> > >
> > > I just asked Mauro to pull all my changes regarding the
> > > dib0700-based device into the main repository.
> > > I'm quite happy with the results I already received and to reach
> > > more users before the next kernel integration I think it should be
> > > merged.
> >
> > Can we be made aware of the merge, when it happens.
> 
> It is merged.

So I can update the wiki, removing the patches, linking to the pre1
firmware, and say that it fixes the disconnects for good?

I have finally got my head wrapped around that remote thing and have
proper lirc conf files. I'll be puting a thing or 2 about that as well,
once I'm happy with what I have, and probably cross-link that with the
MythTV wiki, if that is politically correct.

Nico


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DiB0700 device support

2007-08-01 Thread Darren Salt
I demand that Janne Grunau may or may not have written...

> On Wednesday 01 August 2007 14:30:31 Nicolas Will wrote:
>> On Wed, 2007-08-01 at 00:52 +0200, Patrick Boettcher wrote:
>>> I just asked Mauro to pull all my changes regarding the dib0700-based
>>> device into the main repository. I'm quite happy with the results I
>>> already received and to reach more users before the next kernel
>>> integration I think it should be merged.

>> Can we be made aware of the merge, when it happens.

> It is merged.

And both the DVB_USB and Nova-T Stick pages have been updated. (Nicolas, it'd
still be useful for you to check the content.)

BTW, if anybody can fill in more details for the 70009, that'd be helpful :-)
  http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-NOVA-T-Stick

-- 
| Darren Salt| linux or ds at  | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Buy local produce. Try to walk or cycle. TRANSPORT CAUSES GLOBAL WARMING.

Never take a beer to a job interview.

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DiB0700 device support

2007-08-01 Thread Janne Grunau
On Wednesday 01 August 2007 14:30:31 Nicolas Will wrote:
> On Wed, 2007-08-01 at 00:52 +0200, Patrick Boettcher wrote:
> > Hi all,
> >
> > I just asked Mauro to pull all my changes regarding the
> > dib0700-based device into the main repository.
> > I'm quite happy with the results I already received and to reach
> > more users before the next kernel integration I think it should be
> > merged.
>
> Can we be made aware of the merge, when it happens.

It is merged.

Janne

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DiB0700 device support

2007-08-01 Thread Nicolas Will
On Wed, 2007-08-01 at 00:52 +0200, Patrick Boettcher wrote:
> Hi all,
> 
> I just asked Mauro to pull all my changes regarding the dib0700-based 
> device into the main repository.
> I'm quite happy with the results I already received and to reach more 
> users before the next kernel integration I think it should be merged. 

Can we be made aware of the merge, when it happens. That way I can
modify the wiki documentation on the NOVA-T-500.

What about the tuning/EEPROM patch?

I have posted twice, with no appearance in the list, a message about
remote control errors (tons of them in syslog!). I saw that you made a
commit in your tree about remote control stuff. Is that related? I'll
try a new build tonight.

> 
> The dib0700-firmware seems to be OK - though it is still a -pre. I think 
> in 1 month there will a real release and the name will change.
> 
> Please test the things exhaustively and report any errors (or even 
> success). I will try to process them _after_ my vacation :) (which starts 
> now).

Enjoy them!

When are you back?

Nico


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] DiB0700 device support

2007-07-31 Thread f.fabre
Hi

i test your New DiB0700-firmware
with Hauppauge WinTV-NOVA-T - Stick - USB 2.0 - compatible TNT 
(Télévision Numérique Terrestre)
Ref: M/R:70001/A1B5
lsusb
Bus 005 Device 005: ID 2040:7050 Hauppauge


appear ok but more error
[ 4637.116000] mt2060 I2C read failed
start kaffeine humm not run stop/start ...  stop/start appear ok after 
4/5 stop/start

look detail dmesg at:
http://frafa.free.fr/dotclear/index.php?post/2007/08/01/Test-New-DiB0700-firmware-Patrick-Boettcher

good vacation

sorry for my english (i'm french an my english is...)
f.fabre

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[linux-dvb] DiB0700 device support

2007-07-31 Thread Patrick Boettcher
Hi all,

I just asked Mauro to pull all my changes regarding the dib0700-based 
device into the main repository.

I'm quite happy with the results I already received and to reach more 
users before the next kernel integration I think it should be merged. 

The dib0700-firmware seems to be OK - though it is still a -pre. I think 
in 1 month there will a real release and the name will change.

Please test the things exhaustively and report any errors (or even 
success). I will try to process them _after_ my vacation :) (which starts 
now).

Thanks and good luck,
Patrick.

--
  Mail: [EMAIL PROTECTED]
  WWW:  http://www.wi-bw.tfh-wildau.de/~pboettch/

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb