Re: [PARTIALLY SOLVED] Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-07-02 Thread Devin Heitmueller
On Thu, Jun 25, 2009 at 10:34 AM, George Adams wrote:
> Y'all are very kind to help - thank you.  I am indeed running Ubuntu Hardy
> (8.04.2 LTS), kernel on a quad-core Q9550 box.  I'll be happy to provide any
> other system details that may assist.  "uname -a" returns:
>
> Linux spurgeon 2.6.24-24-server #1 SMP Wed Apr 15 16:36:01 UTC 2009 i686
> GNU/Linux

George,

FYI:  The fix got merged into the mainline two days ago, so if you
update to the latest v4l-dvb code, the analog support should now be
working properly under your Ubuntu Hardy setup.

Cheers,

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PARTIALLY SOLVED] Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-26 Thread Michael Krufky
On Fri, Jun 26, 2009 at 1:59 PM, Devin
Heitmueller wrote:
> On Fri, Jun 26, 2009 at 1:50 PM, Hans Verkuil wrote:
>> On Thursday 25 June 2009 20:25:31 Devin Heitmueller wrote:
>>> Hans,
>>>
>>> I just spoke with mkrufky, and he confirmed the issue does occur with
>>> the HVR-950.  However, the em28xx driver does not do a printk() when
>>> the subdev registration fails (I will submit a patch to fix that).
>>>
>>> Please let me know if you have any further question.
>>>
>>> Thanks for your assistance,
>>>
>>> Devin
>>>
>>
>> Fixed in my http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-misc tree.
>>
>> A pull request for this has already been posted, so it should be merged soon
>> I hope.
>>
>> It was a trivial change: originally the new i2c API would be used for kernels
>> 2.6.22 and up, until it was discovered that there was a serious bug in the 
>> i2c
>> core that wasn't fixed until 2.6.26. So I changed it to kernel 2.6.26.
>>
>> Unfortunately, the em28xx driver was still using 2.6.22 as the cut-off point,
>> preventing i2c drivers from being initialized. So em28xx was broken for
>> kernels 2.6.22-2.6.25.
>
> Ok, I will submit a comparable fix for au0828.  I guess maybe it makes
> sense also to audit all the bridges where we set the .class field to
> ensure they all are for 2.6.26.

Thanks Devin and Hans.

I fixed it in the au0828 driver...  Fix and pull request are here:

http://www.spinics.net/lists/linux-media/msg07360.html

Cheers,

Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PARTIALLY SOLVED] Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-26 Thread Devin Heitmueller
On Fri, Jun 26, 2009 at 1:50 PM, Hans Verkuil wrote:
> On Thursday 25 June 2009 20:25:31 Devin Heitmueller wrote:
>> Hans,
>>
>> I just spoke with mkrufky, and he confirmed the issue does occur with
>> the HVR-950.  However, the em28xx driver does not do a printk() when
>> the subdev registration fails (I will submit a patch to fix that).
>>
>> Please let me know if you have any further question.
>>
>> Thanks for your assistance,
>>
>> Devin
>>
>
> Fixed in my http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-misc tree.
>
> A pull request for this has already been posted, so it should be merged soon
> I hope.
>
> It was a trivial change: originally the new i2c API would be used for kernels
> 2.6.22 and up, until it was discovered that there was a serious bug in the i2c
> core that wasn't fixed until 2.6.26. So I changed it to kernel 2.6.26.
>
> Unfortunately, the em28xx driver was still using 2.6.22 as the cut-off point,
> preventing i2c drivers from being initialized. So em28xx was broken for
> kernels 2.6.22-2.6.25.

Ok, I will submit a comparable fix for au0828.  I guess maybe it makes
sense also to audit all the bridges where we set the .class field to
ensure they all are for 2.6.26.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PARTIALLY SOLVED] Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-26 Thread Hans Verkuil
On Thursday 25 June 2009 20:25:31 Devin Heitmueller wrote:
> Hans,
> 
> I just spoke with mkrufky, and he confirmed the issue does occur with
> the HVR-950.  However, the em28xx driver does not do a printk() when
> the subdev registration fails (I will submit a patch to fix that).
> 
> Please let me know if you have any further question.
> 
> Thanks for your assistance,
> 
> Devin
> 

Fixed in my http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-misc tree.

A pull request for this has already been posted, so it should be merged soon
I hope.

It was a trivial change: originally the new i2c API would be used for kernels
2.6.22 and up, until it was discovered that there was a serious bug in the i2c
core that wasn't fixed until 2.6.26. So I changed it to kernel 2.6.26.

Unfortunately, the em28xx driver was still using 2.6.22 as the cut-off point,
preventing i2c drivers from being initialized. So em28xx was broken for
kernels 2.6.22-2.6.25.

Regards,

Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PARTIALLY SOLVED] Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-25 Thread Michael Krufky
On Thu, Jun 25, 2009 at 2:25 PM, Devin
Heitmueller wrote:
> Hans,
>
> I just spoke with mkrufky, and he confirmed the issue does occur with
> the HVR-950.  However, the em28xx driver does not do a printk() when
> the subdev registration fails (I will submit a patch to fix that).
>
> Please let me know if you have any further question.
>
> Thanks for your assistance,

I'd like to add:

Testing against 2.6.24.7: v4l subdev registration fails.
Testing against 2.6.25.20: v4l subdev registration fails.
...
Testing against 2.6.26.8: success!
Testing against 2.6.27.25: success!
Testing against 2.6.28.10: success!
... (I didn't bother testing 2.6.29.y)
Testing against 2.6.30: success!

Regards,

Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PARTIALLY SOLVED] Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-25 Thread Devin Heitmueller
Hans,

I just spoke with mkrufky, and he confirmed the issue does occur with
the HVR-950.  However, the em28xx driver does not do a printk() when
the subdev registration fails (I will submit a patch to fix that).

Please let me know if you have any further question.

Thanks for your assistance,

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PARTIALLY SOLVED] Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-25 Thread Devin Heitmueller
On Thu, Jun 25, 2009 at 10:59 AM, George Adams wrote:
> Surely there must be some command-line way to change the Pinnacle device to
> channel 3 before I launch Helix Producer?

v4lctl setchannel 3

Or you might want to consider using the composite or s-video input if
that's available to you (the quality will be better).

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PARTIALLY SOLVED] Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-25 Thread Devin Heitmueller
On Thu, Jun 25, 2009 at 10:34 AM, George Adams wrote:
> Y'all are very kind to help - thank you.  I am indeed running Ubuntu Hardy
> (8.04.2 LTS), kernel on a quad-core Q9550 box.  I'll be happy to provide any
> other system details that may assist.  "uname -a" returns:
>
> Linux spurgeon 2.6.24-24-server #1 SMP Wed Apr 15 16:36:01 UTC 2009 i686
> GNU/Linux

No, if you are running Hardy then we know what the issue is.  No
further information is required.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PARTIALLY SOLVED] Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-25 Thread Devin Heitmueller
On Thu, Jun 25, 2009 at 9:43 AM, Hans Verkuil wrote:
> Hmm, I have Hardy on my laptop at work so I can test this tomorrow with my
> USB stick. It's a Hauppauge HVR, but it does have a tvp5150. So
> it should be close enough.
>
> Regards,
>
>       Hans

Hans,

Oh thank goodness.  I was really hoping you would volunteer since you
are clearly the best candidate for debugging subdev issues.  It took
me two days to debug my last issue with v4l2_subdev registration and
it required me to recompile the distro's kernel from source to debug
the i2c stack.

If you've got an em28xx device with the tvp5150, then it's probably an
HVR-950, which is almost identical to the Pinnacle 800e.

Cheers,

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PARTIALLY SOLVED] Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-25 Thread Hans Verkuil

> On Thu, Jun 25, 2009 at 1:17 AM, George Adams
> wrote:
>>
>> Hello!  In a last ditch effort, I decided to try downloading a v4l
>> driver snapshot from February back when I had my Pinnacle HD Pro Stick
>> device working.  To my amazement, the old drivers worked!
>>
>> By process of elimination (trying newer and newer drivers until my
>> Pinnacle device was once again not recognized), it appears that
>> changeset 11331 (http://linuxtv.org/hg/v4l-dvb/rev/00525b115901), from
>> Mar. 31 2009, is the first one that causes my device to not be
>> recognized.  This is the changeset that updated the em28xx driver from
>> 0.1.1 to 0.1.2.  Here, again, is the dmesg output from a newer driver
>> that does NOT work (this one from a driver set one day later, on Apr. 1,
>> 2009):
>
> Interesting.  What distro and version of the kernel are you running?
>
> Yesterday Michael Krufky pointed out to me that the v4l subdev
> registration is broken for the au0828 driver when using the current
> tip against Ubuntu Hardy (2.6.24), so it now seems likely that it's
> the exact same issue.
>
> Thanks for taking the time to narrow down the actual change that
> caused the issue.
>
> I guess somebody is going to have to build a box with Hardy and debug
> this issue.  :-/

Hmm, I have Hardy on my laptop at work so I can test this tomorrow with my
USB stick. It's a Hauppauge HVR, but it does have a tvp5150. So
it should be close enough.

Regards,

   Hans

>
> Devin
>
> --
> Devin J. Heitmueller - Kernel Labs
> http://www.kernellabs.com
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PARTIALLY SOLVED] Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-25 Thread Devin Heitmueller
On Thu, Jun 25, 2009 at 1:17 AM, George Adams wrote:
>
> Hello!  In a last ditch effort, I decided to try downloading a v4l driver 
> snapshot from February back when I had my Pinnacle HD Pro Stick device 
> working.  To my amazement, the old drivers worked!
>
> By process of elimination (trying newer and newer drivers until my Pinnacle 
> device was once again not recognized), it appears that changeset 11331 
> (http://linuxtv.org/hg/v4l-dvb/rev/00525b115901), from Mar. 31 2009, is the 
> first one that causes my device to not be recognized.  This is the changeset 
> that updated the em28xx driver from 0.1.1 to 0.1.2.  Here, again, is the 
> dmesg output from a newer driver that does NOT work (this one from a driver 
> set one day later, on Apr. 1, 2009):

Interesting.  What distro and version of the kernel are you running?

Yesterday Michael Krufky pointed out to me that the v4l subdev
registration is broken for the au0828 driver when using the current
tip against Ubuntu Hardy (2.6.24), so it now seems likely that it's
the exact same issue.

Thanks for taking the time to narrow down the actual change that
caused the issue.

I guess somebody is going to have to build a box with Hardy and debug
this issue.  :-/

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: [PARTIALLY SOLVED] Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-24 Thread George Adams

Hello!  In a last ditch effort, I decided to try downloading a v4l driver 
snapshot from February back when I had my Pinnacle HD Pro Stick device working. 
 To my amazement, the old drivers worked!

By process of elimination (trying newer and newer drivers until my Pinnacle 
device was once again not recognized), it appears that changeset 11331 
(http://linuxtv.org/hg/v4l-dvb/rev/00525b115901), from Mar. 31 2009, is the 
first one that causes my device to not be recognized.  This is the changeset 
that updated the em28xx driver from 0.1.1 to 0.1.2.  Here, again, is the dmesg 
output from a newer driver that does NOT work (this one from a driver set one 
day later, on Apr. 1, 2009):

[   50.028008] Vortex: init Linux video capture interface: v2.00
[   50.300176] em28xx: New device Pinnacle Systems PCTV 800e @ 480 Mbps 
(2304:0227, interface 0, class 0)
[   50.312863] em28xx #0: Identified as Pinnacle PCTV HD Pro Stick (card=17)
[   50.325625] em28xx #0: chip ID is em2882/em2883
[   50.539728] em28xx #0: i2c eeprom 00: 1a eb 67 95 04 23 27 02 d0 12 5c 03 8e 
16 a4 1c
[   50.552582] em28xx #0: i2c eeprom 10: 6a 24 27 57 46 07 01 00 00 00 00 00 00 
00 00 00
[   50.565276] em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 02 00 b8 00 00 00 5b 
1c 00 00
[   50.577939] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 
00 00 00
[   50.590583] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[   50.603076] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[   50.615380] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 24 03 50 
00 69 00
[   50.627589] em28xx #0: i2c eeprom 70: 6e 00 6e 00 61 00 63 00 6c 00 65 00 20 
00 53 00
[   50.639651] em28xx #0: i2c eeprom 80: 79 00 73 00 74 00 65 00 6d 00 73 00 00 
00 16 03
[   50.651573] em28xx #0: i2c eeprom 90: 50 00 43 00 54 00 56 00 20 00 38 00 30 
00 30 00
[   50.663407] em28xx #0: i2c eeprom a0: 65 00 00 00 1c 03 30 00 36 00 31 00 30 
00 30 00
[   50.675144] em28xx #0: i2c eeprom b0: 31 00 30 00 33 00 39 00 34 00 34 00 32 
00 00 00
[   50.686680] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[   50.698183] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[   50.698187] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[   50.698193] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[   50.698197] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0x2de5abbf
[   50.698198] em28xx #0: EEPROM info:
[   50.698199] em28xx #0:   AC97 audio (5 sample rates)
[   50.698200] em28xx #0:   500mA max power
[   50.698201] em28xx #0:   Table at 0x27, strings=0x168e, 0x1ca4, 0x246a
[   50.805990] input: em28xx IR (em28xx #0) as 
/devices/pci:00/:00:1a.7/usb7/7-3/input/input6
[   50.901902] em28xx #0: Config register raw data: 0xd0
[   50.913510] em28xx #0: AC97 vendor ID = 0x
[   50.924746] em28xx #0: AC97 features = 0x6a90
[   50.935543] em28xx #0: Empia 202 AC97 audio processor detected
[   51.034109] em28xx #0: v4l2 driver version 0.1.2
[   51.128411] em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0
[   51.139183] usbcore: registered new interface driver em28xx
[   51.149961] em28xx driver loaded
[   51.496978] xc2028 0-0061: creating new instance
[   51.521582] xc2028 0-0061: type set to XCeive xc2028/xc3028 tuner
[   51.532725] em28xx #0/2: xc3028 attached
[   51.546910] DVB: registering new adapter (em28xx #0)
[   51.570086] DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3303 
VSB/QAM Frontend)...
[   51.581731] Successfully loaded em28xx-dvb
[   51.593250] Em28xx: Initialized (Em28xx dvb Extension) extension

and here is a successful dmesg using the changeset 11330 drivers from early 
morning Mar. 31, 2009, right before the em28xx version bump from 0.1.1 to 0.1.2

[   48.484051] Linux video capture interface: v2.00
[   48.597772] em28xx: New device Pinnacle Systems PCTV 800e @ 480 Mbps 
(2304:0227, interface 0, class 0)
[   48.610698] em28xx #0: Identified as Pinnacle PCTV HD Pro Stick (card=17)
[   48.623638] ACPI: PCI Interrupt :06:01.0[A] -> em28xx #0: chip ID is 
em2882/em2883
[   48.877223] em28xx #0: i2c eeprom 00: 1a eb 67 95 04 23 27 02 d0 12 5c 03 8e 
16 a4 1c
[   48.889807] em28xx #0: i2c eeprom 10: 6a 24 27 57 46 07 01 00 00 00 00 00 00 
00 00 00
[   48.902235] em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 02 00 b8 00 00 00 5b 
1c 00 00
[   48.914771] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 
00 00 00
[   48.927131] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[   48.939329] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[   48.951368] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 24 03 50 
00 69 00
[   48.963320] em28xx #0: i2c eeprom 70: 6e 00 6e 00 61 00 63 00 6c 00 65 00 20 
00 53 00
[   48.975173] em28xx #0: i2c eeprom 80: 79 00 73 00 74 00 65 00

Re: Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-22 Thread hermann pitton

Am Montag, den 22.06.2009, 22:48 -0400 schrieb Robert Krakora:
> On Mon, Jun 22, 2009 at 10:40 PM, Robert
> Krakora wrote:
> > On Mon, Jun 22, 2009 at 5:39 PM, George Adams wrote:
> >>
> >> Hello again.  I have some updates now that I've been able to make some 
> >> further tests.
> >>
> >> 1) My Pinnacle PCTV HD Pro (800e) stick does, in fact, work correctly 
> >> under Windows.  The scanning detects the one channel we're running over 
> >> our closed circuit cable (channel 3) and displays it on-screen just fine.  
> >> (audio over channel 3 works as well)
> >>
> >>
> >> 2) Devin, my installation process is "hg clone 
> >> http://linuxtv.org/hg/v4l-dvb; cd v4l-dvb; make rminstall; make distclean; 
> >> make; make install"  This appears to install everything v4l-related as 
> >> modules in the appropriate directories.  For instance:
> >>
> >>>  uname -r
> >> 2.6.24-24-server
> >>
> >>> find /lib/modules/`uname -r` -type f -name em28xx\* -o -name tvp\*
> >> /lib/modules/2.6.24-24-server/kernel/drivers/media/video/tvp5150.ko
> >> /lib/modules/2.6.24-24-server/kernel/drivers/media/video/em28xx/em28xx.ko
> >> /lib/modules/2.6.24-24-server/kernel/drivers/media/video/em28xx/em28xx-dvb.ko
> >>
> >>
> >> 3) tvtime still hangs when launched.
> >>
> >>
> >> 4) Running zapping gives the error "VBI Initialization failed.  /dev/vbi0 
> >> (Pinnacle PCTV HD Pro) is not a raw vbi device)".  Continuing on and 
> >> trying to choose the "Preferences" menu option segfaults the program (and 
> >> this is the Ubuntu-distributed "zapping" package)
> >>
> >>
> >> 5) Running Paul's suggested "mplayer" command gives the following:
> >>
> >>> mplayer -vo xv tv:// -tv 
> >>> driver=v4l2:alsa:immediatemode=0:adevice=hw.1,0:norm=ntsc:chanlist=us-cable:channel=3
> >>
> >> MPlayer 1.0rc2-4.2.4 (C) 2000-2007 MPlayer Team
> >> CPU: Intel(R) Core(TM)2 Quad CPUQ9550  @ 2.83GHz (Family: 6, Model: 
> >> 23, Stepping: 10)
> >> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> >> Compiled with runtime CPU detection.
> >> mplayer: could not connect to socket
> >> mplayer: No such file or directory
> >> Failed to open LIRC support. You will not be able to use your remote 
> >> control.
> >>
> >> Playing tv://.
> >> TV file format detected.
> >> Selected driver: v4l2
> >>  name: Video 4 Linux 2 input
> >>  author: Martin Olschewski
> >>  comment: first try, more to come ;-)
> >> Selected device: Pinnacle PCTV HD Pro Stick
> >>  Tuner cap:
> >>  Tuner rxs:
> >>  Capabilites:  video capture  tuner  audio  read/write  streaming
> >>  supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = 
> >> NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK; 10 = 
> >> PAL-M; 11 = PAL-N; 12 = PAL-Nc; 13 = PAL-60; 14 = SECAM;
> >>  inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
> >>  Current input: 0
> >>  Current format: YUYV
> >> v4l2: current audio mode is : MONO
> >> v4l2: ioctl set format failed: Invalid argument
> >> v4l2: ioctl set format failed: Invalid argument
> >> v4l2: ioctl set format failed: Invalid argument
> >> Selected channel: 3 (freq: 61.250)
> >> Video buffer shorter than 3 times audio frame duration.
> >> You will probably experience heavy framedrops.
> >> v4l2: ioctl query control failed: Invalid argument
> >> v4l2: ioctl query control failed: Invalid argument
> >> v4l2: ioctl query control failed: Invalid argument
> >> v4l2: ioctl query control failed: Invalid argument
> >> xscreensaver_disable: Could not find XScreenSaver window.
> >> GNOME screensaver disabled
> >> ==
> >> Opening video decoder: [raw] RAW Uncompressed Video
> >> VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
> >> VDec: using Packed YUY2 as output csp (no 0)
> >> Movie-Aspect is undefined - no prescaling applied.
> >> VO: [xv] 640x480 => 640x480 Packed YUY2
> >> Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
> >> ==
> >> ==
> >> Forced audio codec: mad
> >> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> >> AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
> >> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> >> ==
> >> AO: [pulse] 44100Hz 1ch s16le (2 bytes per sample)
> >> Starting playback...
> >> v4l2: select timeout
> >> A:   0.5 V:   0.0 A-V:  0.472 ct:  0.000   1/  1 ??% ??% ??,?% 1 0 [[JMA:  
> >>  0.9 V:   0.0 A-V:  0.940 ct:  0.003   2/  2 ??% ??% ??,?% 2 0 [[JMv4l2: 
> >> select timeout
> >> A:   1.5 V:   0.0 A-V:  1.479 ct:  0.007   3/  3 ??% ??% ??,?% 3 0 [[JMA:  
> >>  2.0 V:   0.0 A-V:  1.981 ct:  0.010   4/  4 ??% ??% ??,?% 4 0 [[JMv4l2: 
> >> select timeout
> >> A:   2.5 V:   0.0 A-V:  2.485 ct:  0.013   5/  5 ??% ??% ??,?% 5 0 [[JMA:  
> >>  3.0 V:

Re: Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-22 Thread Robert Krakora
On Mon, Jun 22, 2009 at 10:40 PM, Robert
Krakora wrote:
> On Mon, Jun 22, 2009 at 5:39 PM, George Adams wrote:
>>
>> Hello again.  I have some updates now that I've been able to make some 
>> further tests.
>>
>> 1) My Pinnacle PCTV HD Pro (800e) stick does, in fact, work correctly under 
>> Windows.  The scanning detects the one channel we're running over our closed 
>> circuit cable (channel 3) and displays it on-screen just fine.  (audio over 
>> channel 3 works as well)
>>
>>
>> 2) Devin, my installation process is "hg clone 
>> http://linuxtv.org/hg/v4l-dvb; cd v4l-dvb; make rminstall; make distclean; 
>> make; make install"  This appears to install everything v4l-related as 
>> modules in the appropriate directories.  For instance:
>>
>>>  uname -r
>> 2.6.24-24-server
>>
>>> find /lib/modules/`uname -r` -type f -name em28xx\* -o -name tvp\*
>> /lib/modules/2.6.24-24-server/kernel/drivers/media/video/tvp5150.ko
>> /lib/modules/2.6.24-24-server/kernel/drivers/media/video/em28xx/em28xx.ko
>> /lib/modules/2.6.24-24-server/kernel/drivers/media/video/em28xx/em28xx-dvb.ko
>>
>>
>> 3) tvtime still hangs when launched.
>>
>>
>> 4) Running zapping gives the error "VBI Initialization failed.  /dev/vbi0 
>> (Pinnacle PCTV HD Pro) is not a raw vbi device)".  Continuing on and trying 
>> to choose the "Preferences" menu option segfaults the program (and this is 
>> the Ubuntu-distributed "zapping" package)
>>
>>
>> 5) Running Paul's suggested "mplayer" command gives the following:
>>
>>> mplayer -vo xv tv:// -tv 
>>> driver=v4l2:alsa:immediatemode=0:adevice=hw.1,0:norm=ntsc:chanlist=us-cable:channel=3
>>
>> MPlayer 1.0rc2-4.2.4 (C) 2000-2007 MPlayer Team
>> CPU: Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz (Family: 6, Model: 23, 
>> Stepping: 10)
>> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
>> Compiled with runtime CPU detection.
>> mplayer: could not connect to socket
>> mplayer: No such file or directory
>> Failed to open LIRC support. You will not be able to use your remote control.
>>
>> Playing tv://.
>> TV file format detected.
>> Selected driver: v4l2
>>  name: Video 4 Linux 2 input
>>  author: Martin Olschewski
>>  comment: first try, more to come ;-)
>> Selected device: Pinnacle PCTV HD Pro Stick
>>  Tuner cap:
>>  Tuner rxs:
>>  Capabilites:  video capture  tuner  audio  read/write  streaming
>>  supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = 
>> NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK; 10 = PAL-M; 
>> 11 = PAL-N; 12 = PAL-Nc; 13 = PAL-60; 14 = SECAM;
>>  inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
>>  Current input: 0
>>  Current format: YUYV
>> v4l2: current audio mode is : MONO
>> v4l2: ioctl set format failed: Invalid argument
>> v4l2: ioctl set format failed: Invalid argument
>> v4l2: ioctl set format failed: Invalid argument
>> Selected channel: 3 (freq: 61.250)
>> Video buffer shorter than 3 times audio frame duration.
>> You will probably experience heavy framedrops.
>> v4l2: ioctl query control failed: Invalid argument
>> v4l2: ioctl query control failed: Invalid argument
>> v4l2: ioctl query control failed: Invalid argument
>> v4l2: ioctl query control failed: Invalid argument
>> xscreensaver_disable: Could not find XScreenSaver window.
>> GNOME screensaver disabled
>> ==
>> Opening video decoder: [raw] RAW Uncompressed Video
>> VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
>> VDec: using Packed YUY2 as output csp (no 0)
>> Movie-Aspect is undefined - no prescaling applied.
>> VO: [xv] 640x480 => 640x480 Packed YUY2
>> Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
>> ==
>> ==
>> Forced audio codec: mad
>> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
>> AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
>> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
>> ==
>> AO: [pulse] 44100Hz 1ch s16le (2 bytes per sample)
>> Starting playback...
>> v4l2: select timeout
>> A:   0.5 V:   0.0 A-V:  0.472 ct:  0.000   1/  1 ??% ??% ??,?% 1 0 [[JMA:   
>> 0.9 V:   0.0 A-V:  0.940 ct:  0.003   2/  2 ??% ??% ??,?% 2 0 [[JMv4l2: 
>> select timeout
>> A:   1.5 V:   0.0 A-V:  1.479 ct:  0.007   3/  3 ??% ??% ??,?% 3 0 [[JMA:   
>> 2.0 V:   0.0 A-V:  1.981 ct:  0.010   4/  4 ??% ??% ??,?% 4 0 [[JMv4l2: 
>> select timeout
>> A:   2.5 V:   0.0 A-V:  2.485 ct:  0.013   5/  5 ??% ??% ??,?% 5 0 [[JMA:   
>> 3.0 V:   0.0 A-V:  2.957 ct:  0.017   6/  6 ??% ??% ??,?% 6 0 [[JMv4l2: 
>> select timeout
>> A:   3.5 V:   0.0 A-V:  3.460 ct:  0.020   7/  7 ??% ??% ??,?% 7 0 [[JMA:   
>> 4.0 V:   0.0 A-V:  3.956 ct:  0.022   8/  8 ??% ??% ??,?% 8 0 [[JMv4l2: 
>> select timeout
>> A:   4.5 V:   0.

Re: Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-22 Thread Robert Krakora
On Mon, Jun 22, 2009 at 5:39 PM, George Adams wrote:
>
> Hello again.  I have some updates now that I've been able to make some 
> further tests.
>
> 1) My Pinnacle PCTV HD Pro (800e) stick does, in fact, work correctly under 
> Windows.  The scanning detects the one channel we're running over our closed 
> circuit cable (channel 3) and displays it on-screen just fine.  (audio over 
> channel 3 works as well)
>
>
> 2) Devin, my installation process is "hg clone http://linuxtv.org/hg/v4l-dvb; 
> cd v4l-dvb; make rminstall; make distclean; make; make install"  This appears 
> to install everything v4l-related as modules in the appropriate directories.  
> For instance:
>
>>  uname -r
> 2.6.24-24-server
>
>> find /lib/modules/`uname -r` -type f -name em28xx\* -o -name tvp\*
> /lib/modules/2.6.24-24-server/kernel/drivers/media/video/tvp5150.ko
> /lib/modules/2.6.24-24-server/kernel/drivers/media/video/em28xx/em28xx.ko
> /lib/modules/2.6.24-24-server/kernel/drivers/media/video/em28xx/em28xx-dvb.ko
>
>
> 3) tvtime still hangs when launched.
>
>
> 4) Running zapping gives the error "VBI Initialization failed.  /dev/vbi0 
> (Pinnacle PCTV HD Pro) is not a raw vbi device)".  Continuing on and trying 
> to choose the "Preferences" menu option segfaults the program (and this is 
> the Ubuntu-distributed "zapping" package)
>
>
> 5) Running Paul's suggested "mplayer" command gives the following:
>
>> mplayer -vo xv tv:// -tv 
>> driver=v4l2:alsa:immediatemode=0:adevice=hw.1,0:norm=ntsc:chanlist=us-cable:channel=3
>
> MPlayer 1.0rc2-4.2.4 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz (Family: 6, Model: 23, 
> Stepping: 10)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote control.
>
> Playing tv://.
> TV file format detected.
> Selected driver: v4l2
>  name: Video 4 Linux 2 input
>  author: Martin Olschewski
>  comment: first try, more to come ;-)
> Selected device: Pinnacle PCTV HD Pro Stick
>  Tuner cap:
>  Tuner rxs:
>  Capabilites:  video capture  tuner  audio  read/write  streaming
>  supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = 
> NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK; 10 = PAL-M; 
> 11 = PAL-N; 12 = PAL-Nc; 13 = PAL-60; 14 = SECAM;
>  inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
>  Current input: 0
>  Current format: YUYV
> v4l2: current audio mode is : MONO
> v4l2: ioctl set format failed: Invalid argument
> v4l2: ioctl set format failed: Invalid argument
> v4l2: ioctl set format failed: Invalid argument
> Selected channel: 3 (freq: 61.250)
> Video buffer shorter than 3 times audio frame duration.
> You will probably experience heavy framedrops.
> v4l2: ioctl query control failed: Invalid argument
> v4l2: ioctl query control failed: Invalid argument
> v4l2: ioctl query control failed: Invalid argument
> v4l2: ioctl query control failed: Invalid argument
> xscreensaver_disable: Could not find XScreenSaver window.
> GNOME screensaver disabled
> ==
> Opening video decoder: [raw] RAW Uncompressed Video
> VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
> VDec: using Packed YUY2 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> VO: [xv] 640x480 => 640x480 Packed YUY2
> Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
> ==
> ==
> Forced audio codec: mad
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> ==
> AO: [pulse] 44100Hz 1ch s16le (2 bytes per sample)
> Starting playback...
> v4l2: select timeout
> A:   0.5 V:   0.0 A-V:  0.472 ct:  0.000   1/  1 ??% ??% ??,?% 1 0 [[JMA:   
> 0.9 V:   0.0 A-V:  0.940 ct:  0.003   2/  2 ??% ??% ??,?% 2 0 [[JMv4l2: 
> select timeout
> A:   1.5 V:   0.0 A-V:  1.479 ct:  0.007   3/  3 ??% ??% ??,?% 3 0 [[JMA:   
> 2.0 V:   0.0 A-V:  1.981 ct:  0.010   4/  4 ??% ??% ??,?% 4 0 [[JMv4l2: 
> select timeout
> A:   2.5 V:   0.0 A-V:  2.485 ct:  0.013   5/  5 ??% ??% ??,?% 5 0 [[JMA:   
> 3.0 V:   0.0 A-V:  2.957 ct:  0.017   6/  6 ??% ??% ??,?% 6 0 [[JMv4l2: 
> select timeout
> A:   3.5 V:   0.0 A-V:  3.460 ct:  0.020   7/  7 ??% ??% ??,?% 7 0 [[JMA:   
> 4.0 V:   0.0 A-V:  3.956 ct:  0.022   8/  8 ??% ??% ??,?% 8 0 [[JMv4l2: 
> select timeout
> A:   4.5 V:   0.0 A-V:  4.460 ct:  0.025   9/  9 ??% ??% ??,?% 9 0 [[JMA:   
> 5.0 V:   0.0 A-V:  4.956 ct:  0.027  10/ 10 ??% ??% ??,?% 10 0 [[JMv4l2: 
> select timeout
>
>
> The 

RE: Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-22 Thread George Adams


> Ok, here's something to try. I assume you are rebooting the box,
> keeping the stick plugged in. Please unplug the device, plug it back
> in, and then post the full dmesg output.
>
> Devin

Actually I've been unplugging the device, booting, letting the system settle 
down, then plugging the device in.  But here is the dmesg output that you 
requested, showing a boot with the device plugged in, then the device removed, 
then the device plugged back in.

[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.24-24-server (bui...@rothera) (gcc version 
4.2.4 (Ubuntu 4.2.4-1ubuntu4)) #1 SMP Wed Apr 15 16:36:01 UTC 2009 (Ubuntu 
2.6.24-24.53-server)
[0.00] BIOS-provided physical RAM map:
[0.00]  BIOS-e820:  - 0009e800 (usable)
[0.00]  BIOS-e820: 0009f800 - 000a (reserved)
[0.00]  BIOS-e820: 000f - 0010 (reserved)
[0.00]  BIOS-e820: 0010 - cfeb (usable)
[0.00]  BIOS-e820: cfeb - cfee2000 (ACPI NVS)
[0.00]  BIOS-e820: cfee2000 - cfef (ACPI data)
[0.00]  BIOS-e820: cfef - cff0 (reserved)
[0.00]  BIOS-e820: e000 - e400 (reserved)
[0.00]  BIOS-e820: fec0 - 0001 (reserved)
[0.00]  BIOS-e820: 0001 - 00013000 (usable)
[0.00] 3968MB HIGHMEM available.
[0.00] 896MB LOWMEM available.
[0.00] found SMP MP-table at 000f57a0
[0.00] NX (Execute Disable) protection: active
[0.00] Entering add_active_range(0, 0, 1245184) 0 entries of 256 used
[0.00] Zone PFN ranges:
[0.00]   DMA 0 -> 4096
[0.00]   Normal   4096 ->   229376
[0.00]   HighMem229376 ->  1245184
[0.00] Movable zone start PFN for each node
[0.00] early_node_map[1] active PFN ranges
[0.00] 0:0 ->  1245184
[0.00] On node 0 totalpages: 1245184
[0.00]   DMA zone: 32 pages used for memmap
[0.00]   DMA zone: 0 pages reserved
[0.00]   DMA zone: 4064 pages, LIFO batch:0
[0.00]   Normal zone: 1760 pages used for memmap
[0.00]   Normal zone: 223520 pages, LIFO batch:31
[0.00]   HighMem zone: 7936 pages used for memmap
[0.00]   HighMem zone: 1007872 pages, LIFO batch:31
[0.00]   Movable zone: 0 pages used for memmap
[0.00] DMI 2.4 present.
[0.00] ACPI: RSDP signature @ 0xC00F75D0 checksum 0
[0.00] ACPI: RSDP 000F75D0, 0014 (r0 GBT   )
[0.00] ACPI: RSDT CFEE2040, 003C (r1 GBTGBTUACPI 42302E31 GBTU  
1010101)
[0.00] ACPI: FACP CFEE20C0, 0074 (r1 GBTGBTUACPI 42302E31 GBTU  
1010101)
[0.00] ACPI: DSDT CFEE2180, 50A9 (r1 GBTGBTUACPI 1000 MSFT  
10C)
[0.00] ACPI: FACS CFEB, 0040
[0.00] ACPI: EUDS CFEE79C0, 0500 (r1 GBT0   
  0)
[0.00] ACPI: HPET CFEE7880, 0038 (r1 GBTGBTUACPI 42302E31 GBTU  
 98)
[0.00] ACPI: MCFG CFEE7900, 003C (r1 GBTGBTUACPI 42302E31 GBTU  
1010101)
[0.00] ACPI: APIC CFEE7280, 0084 (r1 GBTGBTUACPI 42302E31 GBTU  
1010101)
[0.00] ACPI: SSDT CFEE87F0, 03AB (r1  PmRefCpuPm 3000 INTL 
20040311)
[0.00] ACPI: PM-Timer IO Port: 0x408
[0.00] ACPI: Local APIC address 0xfee0
[0.00] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[0.00] Processor #0 7:7 APIC version 20
[0.00] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x03] enabled)
[0.00] Processor #3 7:7 APIC version 20
[0.00] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[0.00] Processor #1 7:7 APIC version 20
[0.00] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
[0.00] Processor #2 7:7 APIC version 20
[0.00] ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
[0.00] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[0.00] ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
[0.00] ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
[0.00] ACPI: IOAPIC (id[0x02] address[0xfec0] gsi_base[0])
[0.00] IOAPIC[0]: apic_id 2, version 32, address 0xfec0, GSI 0-23
[0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[0.00] ACPI: IRQ0 used by override.
[0.00] ACPI: IRQ2 used by override.
[0.00] ACPI: IRQ9 used by override.
[0.00] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[0.00] ACPI: HPET id: 0x8086a201 base: 0xfed0
[0.00] Using ACPI (MADT) for SMP configuration information
[0.00] Allocating PCI resources starting at e600 (gap: 
e400:1ac0)
[0.00] swsusp: Registered nosave 

Re: Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-22 Thread Devin Heitmueller
On Mon, Jun 22, 2009 at 5:39 PM, George Adams wrote:
>
> Hello again.  I have some updates now that I've been able to make some 
> further tests.


Also, do you have the device plugged in via a powered USB hub?  And if
so, are you unplugging the 800e from the hub, or are you unplugging
the hub from the PC?

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-22 Thread Devin Heitmueller
On Mon, Jun 22, 2009 at 5:39 PM, George Adams wrote:
>
> Hello again.  I have some updates now that I've been able to make some 
> further tests.
>
> 1) My Pinnacle PCTV HD Pro (800e) stick does, in fact, work correctly under 
> Windows.  The scanning detects the one channel we're running over our closed 
> circuit cable (channel 3) and displays it on-screen just fine.  (audio over 
> channel 3 works as well)
>
>
> 2) Devin, my installation process is "hg clone http://linuxtv.org/hg/v4l-dvb; 
> cd v4l-dvb; make rminstall; make distclean; make; make install"  This appears 
> to install everything v4l-related as modules in the appropriate directories.  
> For instance:
>
>>  uname -r
> 2.6.24-24-server
>
>> find /lib/modules/`uname -r` -type f -name em28xx\* -o -name tvp\*
> /lib/modules/2.6.24-24-server/kernel/drivers/media/video/tvp5150.ko
> /lib/modules/2.6.24-24-server/kernel/drivers/media/video/em28xx/em28xx.ko
> /lib/modules/2.6.24-24-server/kernel/drivers/media/video/em28xx/em28xx-dvb.ko
>
>
> 3) tvtime still hangs when launched.
>
>
> 4) Running zapping gives the error "VBI Initialization failed.  /dev/vbi0 
> (Pinnacle PCTV HD Pro) is not a raw vbi device)".  Continuing on and trying 
> to choose the "Preferences" menu option segfaults the program (and this is 
> the Ubuntu-distributed "zapping" package)
>
>
> 5) Running Paul's suggested "mplayer" command gives the following:
>
>> mplayer -vo xv tv:// -tv 
>> driver=v4l2:alsa:immediatemode=0:adevice=hw.1,0:norm=ntsc:chanlist=us-cable:channel=3
>
> MPlayer 1.0rc2-4.2.4 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz (Family: 6, Model: 23, 
> Stepping: 10)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote control.
>
> Playing tv://.
> TV file format detected.
> Selected driver: v4l2
>  name: Video 4 Linux 2 input
>  author: Martin Olschewski
>  comment: first try, more to come ;-)
> Selected device: Pinnacle PCTV HD Pro Stick
>  Tuner cap:
>  Tuner rxs:
>  Capabilites:  video capture  tuner  audio  read/write  streaming
>  supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = 
> NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK; 10 = PAL-M; 
> 11 = PAL-N; 12 = PAL-Nc; 13 = PAL-60; 14 = SECAM;
>  inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
>  Current input: 0
>  Current format: YUYV
> v4l2: current audio mode is : MONO
> v4l2: ioctl set format failed: Invalid argument
> v4l2: ioctl set format failed: Invalid argument
> v4l2: ioctl set format failed: Invalid argument
> Selected channel: 3 (freq: 61.250)
> Video buffer shorter than 3 times audio frame duration.
> You will probably experience heavy framedrops.
> v4l2: ioctl query control failed: Invalid argument
> v4l2: ioctl query control failed: Invalid argument
> v4l2: ioctl query control failed: Invalid argument
> v4l2: ioctl query control failed: Invalid argument
> xscreensaver_disable: Could not find XScreenSaver window.
> GNOME screensaver disabled
> ==
> Opening video decoder: [raw] RAW Uncompressed Video
> VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
> VDec: using Packed YUY2 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> VO: [xv] 640x480 => 640x480 Packed YUY2
> Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
> ==
> ==
> Forced audio codec: mad
> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
> AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
> ==
> AO: [pulse] 44100Hz 1ch s16le (2 bytes per sample)
> Starting playback...
> v4l2: select timeout
> A:   0.5 V:   0.0 A-V:  0.472 ct:  0.000   1/  1 ??% ??% ??,?% 1 0 [[JMA:   
> 0.9 V:   0.0 A-V:  0.940 ct:  0.003   2/  2 ??% ??% ??,?% 2 0 [[JMv4l2: 
> select timeout
> A:   1.5 V:   0.0 A-V:  1.479 ct:  0.007   3/  3 ??% ??% ??,?% 3 0 [[JMA:   
> 2.0 V:   0.0 A-V:  1.981 ct:  0.010   4/  4 ??% ??% ??,?% 4 0 [[JMv4l2: 
> select timeout
> A:   2.5 V:   0.0 A-V:  2.485 ct:  0.013   5/  5 ??% ??% ??,?% 5 0 [[JMA:   
> 3.0 V:   0.0 A-V:  2.957 ct:  0.017   6/  6 ??% ??% ??,?% 6 0 [[JMv4l2: 
> select timeout
> A:   3.5 V:   0.0 A-V:  3.460 ct:  0.020   7/  7 ??% ??% ??,?% 7 0 [[JMA:   
> 4.0 V:   0.0 A-V:  3.956 ct:  0.022   8/  8 ??% ??% ??,?% 8 0 [[JMv4l2: 
> select timeout
> A:   4.5 V:   0.0 A-V:  4.460 ct:  0.025   9/  9 ??% ??% ??,?% 9 0 [[JMA:   
> 5.0 V:   0.0 A-V:  4.956 ct:  0.027  10/ 10 ??% ??% ??,?% 10 0 [[JMv4l2: 
> select timeout
>
>
> The 

RE: (more info) Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-22 Thread George Adams

Oh, and in case it's useful, here are my video modules before plugging in the 
Pinnacle device...

> lsmod | grep vid
video  19856  0
output  4736  1 video
hwmon_vid   4352  1 it87
nvidia   9555940  0
agpgart34760  1 nvidia
i2c_core   24832  1 nvidia

... and after plugging it in

> lsmod | grep vid
videodev   40864  4 tuner,tvp5150,em28xx,v4l2_common
v4l1_compat14852  1 videodev
videobuf_vmalloc8324  1 em28xx
videobuf_core  19716  2 em28xx,videobuf_vmalloc
video  19856  0
output  4736  1 video
hwmon_vid   4352  1 it87
nvidia   9555940  0
agpgart34760  1 nvidia
i2c_core   24832  8 
tuner_xc2028,lgdt330x,tuner,tvp5150,em28xx,v4l2_common,tveeprom,nvidia


dmesg is still about the same:

> dmesg

[  115.185132] usb 7-1: new high speed USB device using ehci_hcd and address 2
[  115.339403] usb 7-1: configuration #1 chosen from 1 choice
[  115.433546] Linux video capture interface: v2.00
[  115.514652] em28xx: New device Pinnacle Systems PCTV 800e @ 480 Mbps 
(2304:0227, interface 0, class 0)
[  115.514658] em28xx #0: Identified as Pinnacle PCTV HD Pro Stick (card=17)
[  115.514729] em28xx #0: chip ID is em2882/em2883
[  115.733205] em28xx #0: i2c eeprom 00: 1a eb 67 95 04 23 27 02 d0 12 5c 03 8e 
16 a4 1c
[  115.733215] em28xx #0: i2c eeprom 10: 6a 24 27 57 46 07 01 00 00 00 00 00 00 
00 00 00
[  115.733236] em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 02 00 b8 00 00 00 5b 
1c 00 00
[  115.733243] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 
00 00 00
[  115.733249] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[  115.733255] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[  115.733262] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 24 03 50 
00 69 00
[  115.733268] em28xx #0: i2c eeprom 70: 6e 00 6e 00 61 00 63 00 6c 00 65 00 20 
00 53 00
[  115.733274] em28xx #0: i2c eeprom 80: 79 00 73 00 74 00 65 00 6d 00 73 00 00 
00 16 03
[  115.733280] em28xx #0: i2c eeprom 90: 50 00 43 00 54 00 56 00 20 00 38 00 30 
00 30 00
[  115.733287] em28xx #0: i2c eeprom a0: 65 00 00 00 1c 03 30 00 36 00 31 00 30 
00 30 00
[  115.733294] em28xx #0: i2c eeprom b0: 31 00 30 00 33 00 39 00 34 00 34 00 32 
00 00 00
[  115.733382] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[  115.733388] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[  115.733394] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[  115.733400] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00
[  115.733407] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0x2de5abbf
[  115.733409] em28xx #0: EEPROM info:
[  115.733410] em28xx #0:   AC97 audio (5 sample rates)
[  115.733411] em28xx #0:   500mA max power
[  115.733413] em28xx #0:   Table at 0x27, strings=0x168e, 0x1ca4, 0x246a
[  115.746503] input: em28xx IR (em28xx #0) as 
/devices/pci:00/:00:1a.7/usb7/7-1/input/input6
[  115.864417] em28xx #0: Config register raw data: 0xd0
[  115.865164] em28xx #0: AC97 vendor ID = 0x
[  115.865540] em28xx #0: AC97 features = 0x6a90
[  115.865544] em28xx #0: Empia 202 AC97 audio processor detected
[  115.955428] em28xx #0: v4l2 driver version 0.1.2
[  116.037113] em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0
[  116.037129] usbcore: registered new interface driver em28xx
[  116.037133] em28xx driver loaded
[  116.374776] xc2028 0-0061: creating new instance
[  116.374780] xc2028 0-0061: type set to XCeive xc2028/xc3028 tuner
[  116.374782] em28xx #0/2: xc3028 attached
[  116.374784] DVB: registering new adapter (em28xx #0)
[  116.374786] DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3303 
VSB/QAM Frontend)...
[  116.374943] Successfully loaded em28xx-dvb
[  116.374945] Em28xx: Initialized (Em28xx dvb Extension) extension



> From: g_adam...@hotmail.com
> To: dheitmuel...@kernellabs.com
> CC: linux-media@vger.kernel.org; video4linux-l...@redhat.com
> Subject: RE: Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?
> Date: Mon, 22 Jun 2009 17:39:45 -0400
>
>
> Hello again. I have some updates now that I've been able to make some further 
> tests.
>
> 1) My Pinnacle PCTV HD Pro (800e) stick does, in fact, work correctly under 
> Windows. The scanning detects the one channel we're running over our closed 
> circuit cable (channel 3) and displays it on-screen just fine. (audio over 
> channel 3 works as well)
>
>
> 2) Devin, my installation process is "hg clone http://linuxtv.org/hg/v4l-dvb; 
> cd v4l-dvb; make rminstall; make distclean; make; make install" This appears 
> to install 

RE: Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-22 Thread George Adams

Hello again.  I have some updates now that I've been able to make some further 
tests.

1) My Pinnacle PCTV HD Pro (800e) stick does, in fact, work correctly under 
Windows.  The scanning detects the one channel we're running over our closed 
circuit cable (channel 3) and displays it on-screen just fine.  (audio over 
channel 3 works as well)


2) Devin, my installation process is "hg clone http://linuxtv.org/hg/v4l-dvb; 
cd v4l-dvb; make rminstall; make distclean; make; make install"  This appears 
to install everything v4l-related as modules in the appropriate directories.  
For instance:

>  uname -r
2.6.24-24-server

> find /lib/modules/`uname -r` -type f -name em28xx\* -o -name tvp\*
/lib/modules/2.6.24-24-server/kernel/drivers/media/video/tvp5150.ko
/lib/modules/2.6.24-24-server/kernel/drivers/media/video/em28xx/em28xx.ko
/lib/modules/2.6.24-24-server/kernel/drivers/media/video/em28xx/em28xx-dvb.ko


3) tvtime still hangs when launched.  


4) Running zapping gives the error "VBI Initialization failed.  /dev/vbi0 
(Pinnacle PCTV HD Pro) is not a raw vbi device)".  Continuing on and trying to 
choose the "Preferences" menu option segfaults the program (and this is the 
Ubuntu-distributed "zapping" package)


5) Running Paul's suggested "mplayer" command gives the following:

> mplayer -vo xv tv:// -tv 
> driver=v4l2:alsa:immediatemode=0:adevice=hw.1,0:norm=ntsc:chanlist=us-cable:channel=3

MPlayer 1.0rc2-4.2.4 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPUQ9550  @ 2.83GHz (Family: 6, Model: 23, 
Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski 
 comment: first try, more to come ;-)
Selected device: Pinnacle PCTV HD Pro Stick
 Tuner cap:
 Tuner rxs:
 Capabilites:  video capture  tuner  audio  read/write  streaming
 supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = 
NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK; 10 = PAL-M; 11 
= PAL-N; 12 = PAL-Nc; 13 = PAL-60; 14 = SECAM;
 inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
 Current input: 0
 Current format: YUYV
v4l2: current audio mode is : MONO
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
Selected channel: 3 (freq: 61.250)
Video buffer shorter than 3 times audio frame duration.
You will probably experience heavy framedrops.
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==
==
Forced audio codec: mad
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
AO: [pulse] 44100Hz 1ch s16le (2 bytes per sample)
Starting playback...
v4l2: select timeout
A:   0.5 V:   0.0 A-V:  0.472 ct:  0.000   1/  1 ??% ??% ??,?% 1 0 [[JMA:   0.9 
V:   0.0 A-V:  0.940 ct:  0.003   2/  2 ??% ??% ??,?% 2 0 [[JMv4l2: select 
timeout
A:   1.5 V:   0.0 A-V:  1.479 ct:  0.007   3/  3 ??% ??% ??,?% 3 0 [[JMA:   2.0 
V:   0.0 A-V:  1.981 ct:  0.010   4/  4 ??% ??% ??,?% 4 0 [[JMv4l2: select 
timeout
A:   2.5 V:   0.0 A-V:  2.485 ct:  0.013   5/  5 ??% ??% ??,?% 5 0 [[JMA:   3.0 
V:   0.0 A-V:  2.957 ct:  0.017   6/  6 ??% ??% ??,?% 6 0 [[JMv4l2: select 
timeout
A:   3.5 V:   0.0 A-V:  3.460 ct:  0.020   7/  7 ??% ??% ??,?% 7 0 [[JMA:   4.0 
V:   0.0 A-V:  3.956 ct:  0.022   8/  8 ??% ??% ??,?% 8 0 [[JMv4l2: select 
timeout
A:   4.5 V:   0.0 A-V:  4.460 ct:  0.025   9/  9 ??% ??% ??,?% 9 0 [[JMA:   5.0 
V:   0.0 A-V:  4.956 ct:  0.027  10/ 10 ??% ??% ??,?% 10 0 [[JMv4l2: select 
timeout


The Mplayer screen itself remains green the whole time.


So the surprise to me is that the Pinnacle device is not actually broken.  By 
this point, I had been sure it was a hardware problem.  Now I realize that it's 
something else.  And so I would again

Re: Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-21 Thread Devin Heitmueller
On Sun, Jun 21, 2009 at 3:51 PM, George Adams wrote:
>
> Thank you so much, everyone who has replied to my question!  It's nice to 
> find a community of people willing to help.  Here is the dmesg output that 
> appears when the Pinnacle device gets plugged in, along with a few "ls" 
> commands:


George,

It will definitely be interesting to see if the device works under
Windows.  It is very interesting that the tvp5150 driver isn't being
loaded at all, nor the xc3028 during analog initialization (and as a
result the DVB won't work because the analog initialization sets the
firmware to be used).

We've got the exact same USB device ids and last night I confirmed the
board is working fine here with the latest tree, suggesting no
regression in the driver code.

Did you happen to configure for only a subset of drivers to be
compiled?  Or did you just do a checkout and "cd v4l-dvb", "make",
"make install", reboot?

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-21 Thread George Adams

Thank you so much, everyone who has replied to my question!  It's nice to find 
a community of people willing to help.  Here is the dmesg output that appears 
when the Pinnacle device gets plugged in, along with a few "ls" commands:

* usb 1-1: new high speed USB device using ehci_hcd and address 2
* usb 1-1: configuration #1 chosen from 1 choice
* Linux video capture interface: v2.00
* em28xx: New device Pinnacle Systems PCTV 800e @ 480 Mbps (2304:0227, 
interface 0, class 0)
* em28xx #0: Identified as Pinnacle PCTV HD Pro Stick (card=17)
* em28xx #0: chip ID is em2882/em2883
* em28xx #0: i2c eeprom 00: 1a eb 67 95 04 23 27 02 d0 12 5c 03 8e 16 a4 1c
* em28xx #0: i2c eeprom 10: 6a 24 27 57 46 07 01 00 00 00 00 00 00 00 00 00
* em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 02 00 b8 00 00 00 5b 1c 00 00
* em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00
* em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
* em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
* em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 24 03 50 00 69 00
* em28xx #0: i2c eeprom 70: 6e 00 6e 00 61 00 63 00 6c 00 65 00 20 00 53 00
* em28xx #0: i2c eeprom 80: 79 00 73 00 74 00 65 00 6d 00 73 00 00 00 16 03
* em28xx #0: i2c eeprom 90: 50 00 43 00 54 00 56 00 20 00 38 00 30 00 30 00
* em28xx #0: i2c eeprom a0: 65 00 00 00 1c 03 30 00 36 00 31 00 30 00 30 00
* em28xx #0: i2c eeprom b0: 31 00 30 00 33 00 39 00 34 00 34 00 32 00 00 00
* em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
* em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
* em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
* em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
* em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0x2de5abbf
* em28xx #0: EEPROM info:
* em28xx #0:AC97 audio (5 sample rates)
* em28xx #0:500mA max power
* em28xx #0:Table at 0x27, strings=0x168e, 0x1ca4, 0x246a
* input: em28xx IR (em28xx #0) as 
/devices/pci:00/:00:1a.7/usb1/1-1/input/input6
* em28xx #0: Config register raw data: 0xd0
* em28xx #0: AC97 vendor ID = 0x
* em28xx #0: AC97 features = 0x6a90
* em28xx #0: Empia 202 AC97 audio processor detected
* em28xx #0: v4l2 driver version 0.1.2
* em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0
* usbcore: registered new interface driver em28xx
* em28xx driver loaded
* xc2028 0-0061: creating new instance
* xc2028 0-0061: type set to XCeive xc2028/xc3028 tuner
* em28xx #0/2: xc3028 attached
* DVB: registering new adapter (em28xx #0)
* DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3303 VSB/QAM 
Frontend)...
* Successfully loaded em28xx-dvb
* Em28xx: Initialized (Em28xx dvb Extension) extension

> ls -lR /dev/dvb
/dev/dvb:
total 0
drwxr-xr-x 2 root root 120 2009-06-21 13:06 adapter0

/dev/dvb/adapter0:
total 0
crw-rw 1 root video 212, 1 2009-06-21 13:06 demux0
crw-rw 1 root video 212, 2 2009-06-21 13:06 dvr0
crw-rw 1 root video 212, 0 2009-06-21 13:06 frontend0
crw-rw 1 root video 212, 3 2009-06-21 13:06 net0

> ls -l /dev/vid*
crw-rw 1 root video 81, 0 2009-06-21 13:06 /dev/video0



A much fuller dmesg (from the system boot) is below, but everything that 
appears to be em28xx-related is shown above.  

Terry, you mentioned the program "Zapping".  I've just installed in Ubuntu and 
will give it a try when I get to the console later on.  Paul, thank you for 
your message.  I will try your mplayer suggestion once I'm at the console.  

One thing I failed to mention in the original e-mail is that I HAD this device 
working once before (back in February).  I put the device away for a few months 
after that.  Since then, Ubuntu has updated the kernel, so I updated and 
reinstalled the v4l drivers.  This time, though, something seems to be going 
wrong, and I don't know what's different.  Either 1) I've forgotten a criticial 
step that I did last time, or 2) something in the v4l drivers has changed 
resulting in a problem, or 3) the device itself has broken.  Assuming #2 is 
unlikely, I intend to try to rule out #3 by hooking the Pinnacle device up to a 
Windows box tomorrow.  Meanwhile, I'm operating on assumption #1: I'm missing 
something important.

I don't understand why there is no mention of the Xceive tuner in the dmesg 
output, though... or an attempt to load the firmware for it.

Anway, here's a much longer dmesg.  Any other information that would help, I'll 
be happy to add.




* Initializing cgroup subsys cpuset
* Initializing cgroup subsys cpu
* Linux version 2.6.24-24-server (bui...@rothera) (gcc version 4.2.4 (Ubuntu 
4.2.4-1ubuntu4)) #1 SMP Wed Apr 15 16:36:01 UTC 2009 (Ubuntu 
2.6.24-24.53-server)
* BIOS-provided physical RAM map:
*  BIOS-e820:  - 0009e800 (usable)
*  BIOS-e820: 0009f800 - 000a (reserved)
*  BIOS-e820: 000f - 0010 (reserved)

Can't use my Pinnacle PCTV HD Pro stick - what am I doing wrong?

2009-06-20 Thread George Adams

Hello.  I'm having problems getting my (USB) PCTV HD Pro Stick (800e,
the "old" style) to work under V4L.  Could anyone spot the problem in
what I'm doing?

I'm running Ubuntu 8.04.2 LTS (the 2.6.24-24-server kernel), and am
following this procedure (based on
http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers).
 
I intend to use this to tune to USA NTSC channel 3 (to capture a
close-captioned feed inside our building)

1) Copy the firmware I need (xc3028-v27.fw) to /lib/firmware

2) cd /usr/local/src

3) hg clone http://linuxtv.org/hg/v4l-dvb

4) cd v4l-dvb

5) make rminstall; make distclean; make; make install

These seems to do what it's supposed to - installs the drivers into
/lib/modules/2.6.24-24-server .  My PCTV HD Pro Stick uses the em28xx
drivers.

> find /lib/modules/ -type f -name "em28*" -mtime -1
/lib/modules/2.6.24-24-server/kernel/drivers/media/video/em28xx/em28xx.ko

/lib/modules/2.6.24-24-server/kernel/drivers/media/video/em28xx/em28xx-dvb.ko

6) Reboot with the USB capture device plugged in

7) Examine "dmesg" for details related to the capture device

- em28xx: New device Pinnacle Systems PCTV 800e @ 480 Mbps (2304:0227, 
interface 0, class 0)
- em28xx #0: Identified as Pinnacle PCTV HD Pro Stick (card=17)
- em28xx #0: chip ID is em2882/em2883
- - -> GSI 22 (level, low) -> IRQ 22
- PCI: Setting latency timer of device :00:1b.0 to 64
- em28xx #0: i2c eeprom 00: 1a eb 67 95 04 23 27 02 d0 12 5c 03 8e 16 a4 1c
- em28xx #0: i2c eeprom 10: 6a 24 27 57 46 07 01 00 00 00 00 00 00 00 00 00
- em28xx #0: i2c eeprom 20: 46 00 01 00 f0 10 02 00 b8 00 00 00 5b 1c 00 00
- em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00
- em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 24 03 50 00 69 00
- em28xx #0: i2c eeprom 70: 6e 00 6e 00 61 00 63 00 6c 00 65 00 20 00 53 00
- em28xx #0: i2c eeprom 80: 79 00 73 00 74 00 65 00 6d 00 73 00 00 00 16 03
- em28xx #0: i2c eeprom 90: 50 00 43 00 54 00 56 00 20 00 38 00 30 00 30 00
- em28xx #0: i2c eeprom a0: 65 00 00 00 1c 03 30 00 36 00 31 00 30 00 30 00
- em28xx #0: i2c eeprom b0: 31 00 30 00 33 00 39 00 34 00 34 00 32 00 00 00
- em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0x2de5abbf
- em28xx #0: EEPROM info:
- em28xx #0:   AC97 audio (5 sample rates)
- em28xx #0:   500mA max power
- em28xx #0:   Table at 0x27, strings=0x168e, 0x1ca4, 0x246a
- hda_codec: Unknown model for ALC882, trying auto-probe from BIOS...
- input: em28xx IR (em28xx #0) as 
/devices/pci:00/:00:1a.7/usb4/4-3/input/input6
- - -> GSI 20 (level, low) -> IRQ 23
- Vortex: init em28xx #0: Config register raw data: 0xd0
- em28xx #0: AC97 vendor ID = 0x
- em28xx #0: AC97 features = 0x6a90
- em28xx #0: Empia 202 AC97 audio processor detected
- em28xx #0: v4l2 driver version 0.1.2
- em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0
- usbcore: registered new interface driver em28xx
- em28xx driver loaded
- xc2028 0-0061: creating new instance
- xc2028 0-0061: type set to XCeive xc2028/xc3028 tuner
- em28xx #0/2: xc3028 attached
- DVB: registering new adapter (em28xx #0)
- DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3303 VSB/QAM 
Frontend)...
- Successfully loaded em28xx-dvb
- Em28xx: Initialized (Em28xx dvb Extension) extension
- done.

Everything looks good - the drivers are getting called and the card is
recognized.  However, all my attempts to get something "out of it"
aren't working.  I tried firing up "tvtime", but it just launches a
blank, black screen and hanges.  The menu won't come up, the channel
won't change, right-clicking isn't responsive, it won't close, and I
have to kill it.

I also tried mencoder, but I get this:

> mencoder -nosound -tv driver=v4l2:width=640:height=480 tv://3 -o /tmp/tv.avi 
> -ovc raw -endpos 5

MEncoder 2:1.0~rc2-0ubuntu13.1+medibuntu1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPUQ9550  @ 2.83GHz
  (Family: 6, Model: 23, Stepping: 10)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 9  data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski 
 comment: first try, more to come ;-)
Selected device: Pinnacle PCTV HD Pro Stick
 Tuner cap:
 Tuner rxs:
 Capabilites:  video capture  tuner  audio  read/write  streaming
 supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4
   = NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8