From: Eberhard Kaltenhaeuser <ke2705@gmx.de>
To: linux-dvb@linuxtv.org
Cc: Patrick Boettcher <pb@linuxtv.org>
Subject: Re: [linux-dvb] Support of Nova S SE DVB card missing
Date: Thu, 28 Aug 2008 17:48:39 +0200 [thread overview]
Message-ID: <48B6C8D7.8000904@gmx.de> (raw)
In-Reply-To: <200808231711.36277@orion.escape-edv.de>
[-- Attachment #1.1: Type: text/plain, Size: 2263 bytes --]
Hello,
against my expectation, the Nova-S SE card does not work, although the
card is recognized by the kernel. Frontend modul is loaded, but no
signal can be received. So VDR exists (Emergency exit) when switching to
this device (i.e. to record something)
Any suggestions?
Eberhard
Oliver Endriss wrote:
>e9hack wrote:
>
>
>>Eberhard Kaltenhaeuser schrieb:
>>
>>
>>>Actual kernel does not support the Hauppauge WinTV Nova S SE PCI card
>>>anymore:
>>>
>>>
>>>
>>I think it is a problem of this changeset http://linuxtv.org/hg/v4l-dvb/rev/358d281e6a3d
>>from Patrick Boettcher. The S5H1420 isn't able to understand repeated start conditions.
>>The i2c-read code was changed from:
>>
>> if ((ret = i2c_transfer (state->i2c, &msg1, 1)) != 1)
>> return ret;
>>
>> if ((ret = i2c_transfer (state->i2c, &msg2, 1)) != 1)
>> return ret;
>>
>>to:
>> if (state->config->repeated_start_workaround) {
>> ret = i2c_transfer(state->i2c, msg, 3);
>> if (ret != 3)
>> return ret;
>> } else {
>> ret = i2c_transfer(state->i2c, &msg[1], 2);
>> if (ret != 2)
>> return ret;
>> }
>>
>>
>
>I think you are right.
>
>Btw, I don't understand Patrick's workaround.
>
>As the tuner does not support repeated start conditions, the solution
>is to send two separate messages, as it was before.
>
>Does the attached patch fix the problem?
>
>CU
>Oliver
>
>
>
>------------------------------------------------------------------------
>
>diff -r 1760a612cc98 linux/drivers/media/dvb/frontends/s5h1420.c
>--- a/linux/drivers/media/dvb/frontends/s5h1420.c Sun Aug 03 05:02:35 2008 +0200
>+++ b/linux/drivers/media/dvb/frontends/s5h1420.c Sat Aug 23 17:07:01 2008 +0200
>@@ -94,8 +94,11 @@ static u8 s5h1420_readreg(struct s5h1420
> if (ret != 3)
> return ret;
> } else {
>- ret = i2c_transfer(state->i2c, &msg[1], 2);
>- if (ret != 2)
>+ ret = i2c_transfer(state->i2c, &msg[1], 1);
>+ if (ret != 1)
>+ return ret;
>+ ret = i2c_transfer(state->i2c, &msg[2], 1);
>+ if (ret != 1)
> return ret;
> }
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>linux-dvb mailing list
>linux-dvb@linuxtv.org
>http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
[-- Attachment #1.2: Type: text/html, Size: 2969 bytes --]
[-- Attachment #2: ke2705.vcf --]
[-- Type: text/x-vcard, Size: 229 bytes --]
begin:vcard
fn:Eberhard Kaltenhaeuser
n:Kaltenhaeuser;Eberhard
adr;dom:;;Obermembach 6;Hessdorf;;91093
email;internet:ke2705@gmx.de
tel;fax:+49 9135 725517
tel;home:+49 9135 799955
tel;cell:+49 173 3760676
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 150 bytes --]
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
prev parent reply other threads:[~2008-08-28 15:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-23 13:15 [linux-dvb] Support of Nova S SE DVB card missing Eberhard Kaltenhaeuser
2008-08-23 13:57 ` e9hack
2008-08-23 15:09 ` Patrick Boettcher
2008-08-23 15:26 ` e9hack
2008-08-23 18:17 ` Eberhard Kaltenhaeuser
2008-08-23 15:11 ` Oliver Endriss
2008-08-23 15:21 ` Patrick Boettcher
2008-08-23 15:48 ` Oliver Endriss
2008-08-23 15:53 ` Patrick Boettcher
2008-08-23 16:42 ` Oliver Endriss
2008-08-23 17:21 ` Oliver Endriss
2008-08-24 4:56 ` Oliver Endriss
2008-08-24 8:12 ` Eberhard Kaltenhaeuser
2008-08-28 15:48 ` Eberhard Kaltenhaeuser [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48B6C8D7.8000904@gmx.de \
--to=ke2705@gmx.de \
--cc=linux-dvb@linuxtv.org \
--cc=pb@linuxtv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox