From: Boris Cuber <me@boris64.net>
To: Andy Walls <awalls@md.metrocast.net>
Cc: linux-media@vger.kernel.org
Subject: Re: TeVii S470 dvb-s2 issues - 2nd try ,)
Date: Sun, 19 Dec 2010 13:31:25 +0100 [thread overview]
Message-ID: <201012191331.40801.me@boris64.net> (raw)
In-Reply-To: <1292682185.2397.16.camel@morgan.silverblock.net>
[-- Attachment #1: Type: Text/Plain, Size: 2599 bytes --]
Am Saturday 18 December 2010 schrieben Sie:
> On Sat, 2010-12-18 at 14:40 +0100, Boris Cuber wrote:
> > Am Friday 17 December 2010 schrieben Sie:
> > > On Fri, 2010-12-17 at 12:19 +0100, Boris Cuber wrote:
> > > > Hello linux-media people!
> > > >
> > > > I have to problems with my dvb card ("TeVii S470"). I already
> > > > filed 2 bug reports some time ago, but no one seems to have
> > > > noticed/read them, so i'm trying it here now.
> > > > If you need a "full" dmesg, then please take a look at
> > > > https://bugzilla.kernel.org/attachment.cgi?id=40552
> > > >
> > > > 1) "TeVii S470 dvbs-2 card (cx23885) is not usable after
> > > > pm-suspend/resume" https://bugzilla.kernel.org/show_bug.cgi?id=16467
> > >
> > > The cx23885 driver does not implement power management. It would
> > > likely take many, many hours of coding and testing to implement it
> > > properly.
> > >
> > > If you need resume/suspend, use the power management scripts on your
> > > machine to kill all the applications using the TeVii S470, and then
> > > unload the cx23885 module just before suspend.
> > >
> > > On resume, have the power management scripts reload the cx23885 module.
> >
> > Well, this doesn't work. If i did tune a channel before or used the dvb
> > card somehow for watching tv, unloading and reloading the cx23885
> > module also makes the card unuseable.
> > In dmesg there's lots of "do_IRQ: 1.161 No irq handler for vector (irq
> > -1)" messages then. This can only be fixed by rebooting the computer.
>
> That is s a known issue with the CX2388[578] chip and PCIe MSI.
>
> The CX2388[578] will not accept a different value for its "MSI Data"
> field in its PCI config space, when MSI has been enabled on the hardware
> once.
>
> The kernel will always try to give a different value for the "MSI Data"
> field to the CX2388[578] chip, on cx23885 module unload and reload.
>
> So suspend and then resume didn't reset the chip hardware?
>
> You can set "pci=nomsi" on your kernel command line to prevent the
> cx23885 driver, and your whole system unfortunately, from using MSI.
>
Ah, now i got it. Simply reloading the module kills the card with that nasty
do_IRQ thing (until reboot), but
-> 1) unloading module 2) suspending 3) resuming 4) loading module
actually works. It's kinda dirty solution (with some hackish script in
/etc/pm/sleep.d/), but it works somehow.
Perhaps someday there will be a better solution (power management?).
> Regards,
> Andy
Thanks for your time,
Boris
--
http://boris64.net 20xx ;)
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2010-12-19 12:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-16 13:29 TeVii S470 dvb-s2 issues Boris Cuber
2010-12-17 3:31 ` Anca Emanuel
2010-12-17 11:19 ` TeVii S470 dvb-s2 issues - 2nd try ,) Boris Cuber
2010-12-17 13:12 ` Andy Walls
2010-12-18 13:40 ` Boris Cuber
2010-12-18 14:23 ` Andy Walls
2010-12-19 12:31 ` Boris Cuber [this message]
2011-01-02 19:01 ` Igor M. Liplianin
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=201012191331.40801.me@boris64.net \
--to=me@boris64.net \
--cc=awalls@md.metrocast.net \
--cc=linux-media@vger.kernel.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