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 Adamsg_adam...@hotmail.com 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
Heitmuellerdheitmuel...@kernellabs.com wrote:
 On Fri, Jun 26, 2009 at 1:50 PM, Hans Verkuilhverk...@xs4all.nl 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-25 Thread Devin Heitmueller
On Thu, Jun 25, 2009 at 1:17 AM, George Adamsg_adam...@hotmail.com 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-25 Thread Hans Verkuil

 On Thu, Jun 25, 2009 at 1:17 AM, George Adamsg_adam...@hotmail.com
 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 HVRsomething, 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 9:43 AM, Hans Verkuilhverk...@xs4all.nl wrote:
 Hmm, I have Hardy on my laptop at work so I can test this tomorrow with my
 USB stick. It's a Hauppauge HVRsomething, 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 Devin Heitmueller
On Thu, Jun 25, 2009 at 10:34 AM, George Adamsg_adam...@hotmail.com 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 10:59 AM, George Adamsg_adam...@hotmail.com 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
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 Michael Krufky
On Thu, Jun 25, 2009 at 2:25 PM, Devin
Heitmuellerdheitmuel...@kernellabs.com 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-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