kernel 3.6.7: sysfs: cannot create duplicate filename warnings

2013-02-06 Thread Chris Clayton
Hi, I've been investigating problem with my Hauppauge WinTV HVR-1400 TV card (an expresscard) [1], and I've come across warnings produced when I unload and then reload the cx23885 driver. Attached is the output from dmesg that shows the card being detected (by the PCI express hotplug driver)

Re: WinTV-HVR-1400: scandvb (and kaffeine) fails to find any channels

2013-02-06 Thread Chris Clayton
On 02/05/13 14:48, Chris Clayton wrote: [snip] Well, after lots of hacking diagnostics into cx23885-i2c.c, I'm pretty sure that this is a timing problem. I've eventually found that if I insert a short delay into the top of i2c_sendbytes(), my HVR-1400 expresscard dvb-t gadget

Re: WinTV-HVR-1400: scandvb (and kaffeine) fails to find any channels

2013-02-05 Thread Chris Clayton
On 02/03/13 00:03, Chris Clayton wrote: On 02/01/13 21:07, Devin Heitmueller wrote: On Fri, Feb 1, 2013 at 4:03 PM, Chris Clayton wrote: Yes, I noticed that but even with the tuning timeout set at medium or longest, I doesn't find any channels. However, I've been following

Re: WinTV-HVR-1400: scandvb (and kaffeine) fails to find any channels

2013-02-02 Thread Chris Clayton
On 02/01/13 21:07, Devin Heitmueller wrote: On Fri, Feb 1, 2013 at 4:03 PM, Chris Clayton wrote: Yes, I noticed that but even with the tuning timeout set at medium or longest, I doesn't find any channels. However, I've been following the debug messages through the code and e

Re: WinTV-HVR-1400: scandvb (and kaffeine) fails to find any channels

2013-02-01 Thread Chris Clayton
Hi Devin, On 02/01/13 14:19, Devin Heitmueller wrote: On Fri, Feb 1, 2013 at 9:16 AM, Chris Clayton wrote: I've got some more diagnostics. I tuned on the 12c debugging in the cx23885 driver and ran the scan again. Surprisingly, the scan found 22 channels on a single frequency (that ca

Re: WinTV-HVR-1400: scandvb (and kaffeine) fails to find any channels

2013-01-31 Thread Chris Clayton
On 01/31/13 20:59, Chris Clayton wrote: Hi Devin On 01/31/13 16:31, Devin Heitmueller wrote: On Thu, Jan 31, 2013 at 11:21 AM, Chris Clayton wrote: Hi. On linuxtv.org, the Hauppauge WinTV-HVR-1400 is listed as being supported. I've bought one, but I find that when I run the scan for

Re: WinTV-HVR-1400: scandvb (and kaffeine) fails to find any channels

2013-01-31 Thread Chris Clayton
Hi Devin On 01/31/13 16:31, Devin Heitmueller wrote: On Thu, Jan 31, 2013 at 11:21 AM, Chris Clayton wrote: Hi. On linuxtv.org, the Hauppauge WinTV-HVR-1400 is listed as being supported. I've bought one, but I find that when I run the scan for dvb-t channels, none are found. I have

WinTV-HVR-1400: scandvb (and kaffeine) fails to find any channels

2013-01-31 Thread Chris Clayton
Hi. On linuxtv.org, the Hauppauge WinTV-HVR-1400 is listed as being supported. I've bought one, but I find that when I run the scan for dvb-t channels, none are found. I have tried kernels 2.6.11, 2.7.5 and 3.8.0-rc5+ (pulled from Linus' tree today) I know the aerial and cable are OK because

Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner

2013-01-31 Thread Chris Clayton
On 01/24/13 17:02, Chris Clayton wrote: Hi, I've today taken delivery of a WinTV-HVR-1400 expresscard TV Tuner and got an Oops when I removed from the expresscard slot in my laptop. I will quite understand if the response to this report is "don't do that!", but in that

Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner

2013-01-28 Thread Chris Clayton
opulate the directories without pci_slot? Thanks again. /sys/bus/pci_express/devices: total 0 /sys/bus/pci_express/drivers: total 0 drwxr-xr-x 2 root root 0 Jan 27 13:17 pciehp/ On 2013/1/28 6:53, Chris Clayton wrote: Thanks again, Martin. Firstly, maybe we should remove the linux-media list fro

Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner

2013-01-27 Thread Chris Clayton
Thanks again, Martin. Firstly, maybe we should remove the linux-media list from the copy list. I imagine this hotplug stuff is just noise to them. [snip] Do you have any other express card around to try if it works at all? Try that always after a cold boot. Not at the moment, but I ordered

Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner

2013-01-27 Thread Chris Clayton
On 01/27/13 14:26, Martin Mokrejs wrote: Chris Clayton wrote: On 01/27/13 12:18, Yijing Wang wrote: 于 2013-01-27 19:19, Chris Clayton 写道: Hi Yijing On 01/27/13 02:45, Yijing Wang wrote: 于 2013-01-27 4:54, Chris Clayton 写道: Hi Martin, On 01/24/13 19:21, Martin Mokrejs wrote: Hi Chris

Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner

2013-01-27 Thread Chris Clayton
On 01/27/13 12:18, Yijing Wang wrote: 于 2013-01-27 19:19, Chris Clayton 写道: Hi Yijing On 01/27/13 02:45, Yijing Wang wrote: 于 2013-01-27 4:54, Chris Clayton 写道: Hi Martin, On 01/24/13 19:21, Martin Mokrejs wrote: Hi Chris, try to include in kernel only acpiphp and omit pciehp. Don&#

Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner

2013-01-27 Thread Chris Clayton
Hi Martin, On 01/26/13 21:14, Martin Mokrejs wrote: Hi Chris, Chris Clayton wrote: Hi Martin, On 01/24/13 19:21, Martin Mokrejs wrote: Hi Chris, try to include in kernel only acpiphp and omit pciehp. Don't use modules but include them statically. And try, in addition, check wh

Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner

2013-01-26 Thread Chris Clayton
with the card inserted (or by writing 1 to/sys/bus/pci/rescan). There seem to be a few reports on this in the kernel bugzilla, so I'll look through them and see what's being done. Thanks again. Chris Martin Chris Clayton wrote: Hi, I've today taken delivery of a WinTV-HVR-140

Re: Problem with sound on SAA7134 TV card

2010-12-19 Thread Chris Clayton
On Saturday 18 December 2010, Chris Clayton wrote: > [chris:~]$ dmesg | grep saa7 > saa7130/34: v4l2 driver version 0.2.16 loaded > saa7134 :03:00.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 > saa7133[0]: found at :03:00.0, rev: 209, irq: 20, latency: 32, mmio: >

Re: Problem with sound on SAA7134 TV card

2010-12-18 Thread Chris Clayton
estion - what does the enable parameter of saa7134_alsa affect? The description offered via modinfo, whilst obviuos, doesn't mean much to me. I've tried with it set to 1, but there was no noticeable difference to the sound. Thanks, Chris On Friday 17 December 2010, Chris Clayton wrot

Problem with sound on SAA7134 TV card

2010-12-17 Thread Chris Clayton
Hi, I hope someone can help me. Firstly, please cc me on any reply because I'm not subscribed. I have a Hauppauge HVR-1120 card (I thought I was buying an HVR-1100, but 1120 is what was in the box). Both video and audio for DVB-T work fine but for analogue TV, although the video is good, the

Re: [PATCH] bttv: fix mutex use before init

2010-12-16 Thread Chris Clayton
On Wednesday 15 December 2010, Mauro Carvalho Chehab wrote: > Em 15-12-2010 16:44, Chris Clayton escreveu: > > On Tuesday 14 December 2010, Brandon Philips wrote: > >> On 17:13 Sun 12 Dec 2010, Torsten Kaiser wrote: > >>> * change &fh->cap.vb_lock in bttv_

Re: [PATCH] bttv: fix mutex use before init

2010-12-15 Thread Chris Clayton
y(!fh)) > return -ENOMEM; > file->private_data = fh; > - mutex_lock(&fh->cap.vb_lock); > + mutex_lock(&btv->init.cap.vb_lock); > *fh = btv->init; > - mutex_unlock(&fh->cap.vb_lock); > + mutex_unlock(&btv-&g

Re: Oops in 2.6.37-rc{3,4,5}

2010-12-12 Thread Chris Clayton
On Sunday 12 December 2010, Dave Young wrote: > On Fri, Dec 10, 2010 at 10:34:06PM +0000, Chris Clayton wrote: > > I'm not subscribed, so please cc me on any reply. > > > > With rc kernels from 2.6.37, X frequently (approx 3 boots out of every 4) > > fails to star

Fwd: Re: Warnings from latest -git

2010-11-05 Thread Chris Clayton
Forwarding to linux-media, which I somehow removed from the list of recipients. Also removing indentation from part of my message. Don't know how that happened. -- Forwarded Message -- Subject: Re: Warnings from latest -git Date: Friday 05 November 2010 From: Chris Cl

Re: Warnings from latest -git

2010-11-02 Thread Chris Clayton
Thanks for the reply, Mauro. On Tuesday 02 November 2010, Mauro Carvalho Chehab wrote: > Em 30-10-2010 04:17, Chris Clayton escreveu: > > Hi, > > > > Please cc me on any reply as I'm not subscribed. > > > > Building v2.6.36-9452-g2d10d87 pulle

2.6.37-rc1: NULL pointer dereference

2010-11-01 Thread Chris Clayton
Just built, installed and booted 2.6.37-rc1 and I got this BUG report BUG: unable to handle kernel NULL pointer dereference at (null) IP: [] i2c_transfer+0x18/0xe0 *pdpt = 33caf001 *pde = Oops: [#1] PREEMPT SMP last sysfs file: /sys/devices/pci:00/:00:1d.0/u