From: Hans Verkuil <hverkuil@xs4all.nl>
To: "Lorenz Röhrl" <sheepshit@gmx.de>
Cc: linux-media@vger.kernel.org
Subject: Re: BUG: Freeze upon loading bttv module
Date: Sun, 10 Nov 2013 00:00:52 +0100 [thread overview]
Message-ID: <527EBEA4.1070202@xs4all.nl> (raw)
In-Reply-To: <527E606A.40101@gmx.de>
Hi Lorenz,
On 11/09/2013 05:18 PM, Lorenz Röhrl wrote:
> Hi,
>
> i'm having problems loading the bttv-module for my bt878 based DVB-T
> card: my system just freezes. Magic-Syskeys also won't work then.
> With kernel 3.9.0 this worked just fine. Versions 3.10, 3.11 and 3.12
> won't work.
>
> Last messages on screen with 3.12 upon booting/loading the module is:
> http://abload.de/img/bttv_freezeqxdn2.png
>
> With kernel 3.9 i get an additional line on module loading and the
> device works fine:
> [ 1.895037] bttv: 0: add subdevice "dvb0"
>
> I traced the problem, it dies somewhere in v4l2_ctrl_handler_setup on
> line 4169
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/media/pci/bt8xx/bttv-driver.c#n4169
Can you try this patch? I'm not 100% but I think this might be the cause of
the problem.
diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/media/pci/bt8xx/bttv-driver.c
index c6532de..4f0aaa5 100644
--- a/drivers/media/pci/bt8xx/bttv-driver.c
+++ b/drivers/media/pci/bt8xx/bttv-driver.c
@@ -4182,7 +4182,8 @@ static int bttv_probe(struct pci_dev *dev, const struct pci_device_id *pci_id)
}
btv->std = V4L2_STD_PAL;
init_irqreg(btv);
- v4l2_ctrl_handler_setup(hdl);
+ if (!bttv_tvcards[btv->c.type].no_video)
+ v4l2_ctrl_handler_setup(hdl);
if (hdl->error) {
result = hdl->error;
goto fail2;
Regards,
Hans
>
> lspci output from kernel 3.9:
> [...]
> 04:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video
> Capture (rev 11)
> Subsystem: Twinhan Technology Co. Ltd VisionPlus DVB card
> Flags: bus master, medium devsel, latency 32, IRQ 16
> Memory at f0401000 (32-bit, prefetchable) [size=4K]
> Capabilities: [44] Vital Product Data
> Capabilities: [4c] Power Management version 2
> Kernel driver in use: bttv
> Kernel modules: bttv
>
> 04:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
> (rev 11)
> Subsystem: Twinhan Technology Co. Ltd VisionPlus DVB Card
> Flags: bus master, medium devsel, latency 32, IRQ 16
> Memory at f0400000 (32-bit, prefetchable) [size=4K]
> Capabilities: [44] Vital Product Data
> Capabilities: [4c] Power Management version 2
> Kernel driver in use: bt878
> Kernel modules: bt878
>
>
>
> Please CC me as i'm not subscribed to the list.
>
> Thanks!
>
> - Lorenz
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2013-11-09 23:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-09 16:18 BUG: Freeze upon loading bttv module Lorenz Röhrl
2013-11-09 23:00 ` Hans Verkuil [this message]
2013-11-10 8:35 ` Lorenz Röhrl
2013-11-10 11:45 ` Hans Verkuil
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=527EBEA4.1070202@xs4all.nl \
--to=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
--cc=sheepshit@gmx.de \
/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