• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: [SOLVED] pvrusb2 driver for SheevaPlug kernel (MythTV)  (Read 3939 times)
CharlesWGreenJr
Newbie
*

Karma: 0
Posts: 28



View Profile
« on: May 14, 2009, 05:55:03 PM »

Hi,

It looks like I have finally gotten MythTV built (as has 'pushbx' in the 'Success stories' board); the final piece of the puzzle for my configuration seems to be the 'pvrusb2' driver for the WinTV-HVR-1950 (NTSC/ATSC/QAM USB tuner with hardware MPEG2).  The main site at http://www.isely.net/pvrusb2/pvrusb2.html indicates the "in-kernel" (as of 2.6.18) should be stable, and would appear to be the most elegant method of getting this going.  I see the driver in my 'garden-variety' x86 Ubuntu Hardy system at /lib/modules/2.6.24-23-generic/kernel/drivers/media/video/pvrusb2, so I'm sure it's available for the 'jaunty' kernel as well, just not provided in the 'modules' download posted by 'cbxbiker61' (thanks ever so much for keeping us all up to date!) at http://sheeva.with-linux.com/sheeva/ (at least as of 2.6.30-rc4 which is what I'm running).

Before tackling this on my limited spare time, I just thought I'd check to see if it was feasible to get the pvrusb2.ko module and related modules built with the next release candidate.  On my current MythTV box, if I'm interpreting the 'before' and 'after' output of 'lsmod' correctly, when I 'modprobe pvrusb2' I'm seeing dependencies on the following modules, which I don't see in the 2.6.30-rc4 modules:
cx2341x
i2c_core
tveeprom
usbcore

I also see 'videodev' in the list, but looks that's already part of the module package. Also, 'v4l1_compat' and 'v4l2_common' are pulled in; I assume they're the existing 'v4l1-compat.ko' and 'v4l2-common.ko' with hyphens replaced by underscores in the translation.

There's also the small matter of getting firmware into the box, but if I understand Mike Isley's it sounds like the existing 'udev' support in the current kernels should be up to the task.

Thanks, all!

-Charles Green
« Last Edit: June 11, 2009, 01:22:09 PM by CharlesWGreenJr » Logged

pushbx
Newbie
*

Karma: 0
Posts: 35


View Profile
« Reply #1 on: May 16, 2009, 03:06:56 PM »

Charles, I can build the kernel for you if you don't want to do that yourself, but you'll need to tell me exactly which modules you want compiled in.  I'm very interested in the hvr1950 and had been meaning to get it.  The thing was MythTV's website didn't say specifically it was supported.

Does the capture card work on a plain vanilla Ubuntu desktop install?
Logged

CharlesWGreenJr
Newbie
*

Karma: 0
Posts: 28



View Profile
« Reply #2 on: May 18, 2009, 04:30:39 AM »

When I plug the HVR-1950 into my Hardy system and 'modprobe pvrusb2' it announces the device, but based on some remarks on isley.net it looks like I'll need at least 2.6.26 to properly handle it (good for Sheeva, bad for me - I just spent several hours yesterday attempting to upgrade my Intel-based system without success)...
Logged

CharlesWGreenJr
Newbie
*

Karma: 0
Posts: 28



View Profile
« Reply #3 on: May 20, 2009, 05:46:05 PM »

OK, after trying a few strategies on a different Ubuntu system I finally succeeded in upgrading the kernel on my existing 'hardy' MythTV box to 2.6.28-11-generic.  I then extracted the firmware from the CD using the instructions and script from isley.net, plugged in the HVR-1950, et viola:
Code:
May 20 20:01:58 ubuntu kernel: [ 1172.204064] usb 1-8: new high speed USB device using ehci_hcd and address 4
May 20 20:01:58 ubuntu kernel: [ 1172.345370] usb 1-8: configuration #1 chosen from 1 choice
May 20 20:01:58 ubuntu kernel: [ 1172.459375] usbcore: registered new interface driver pvrusb2
May 20 20:01:59 ubuntu kernel: [ 1172.460605] pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
May 20 20:01:59 ubuntu kernel: [ 1172.460614] pvrusb2: Debug mask is 31 (0x1f)
May 20 20:01:59 ubuntu kernel: [ 1173.456176] usb 1-8: firmware: requesting v4l-pvrusb2-73xxx-01.fw
May 20 20:01:59 ubuntu kernel: [ 1173.459936] pvrusb2: Device microcontroller firmware (re)loaded; it should now reset and reconnect.
May 20 20:02:00 ubuntu kernel: [ 1173.491686] usb 1-8: USB disconnect, address 4
May 20 20:02:00 ubuntu kernel: [ 1173.492618] pvrusb2: Device being rendered inoperable
May 20 20:02:01 ubuntu kernel: [ 1175.244029] usb 1-8: new high speed USB device using ehci_hcd and address 5
May 20 20:02:01 ubuntu kernel: [ 1175.385634] usb 1-8: configuration #1 chosen from 1 choice
May 20 20:02:02 ubuntu kernel: [ 1175.531722] tuner' 2-0042: chip found @ 0x84 (pvrusb2_a)
May 20 20:02:02 ubuntu kernel: [ 1175.552932] cx25840' 2-0044: cx25843-24 found @ 0x88 (pvrusb2_a)
May 20 20:02:02 ubuntu kernel: [ 1175.574172] tveeprom 2-00a2: Hauppauge model 75111, rev C3E9, serial# 5371386
May 20 20:02:02 ubuntu kernel: [ 1175.574178] tveeprom 2-00a2: MAC address is 00-0D-FE-51-F5-FA
May 20 20:02:02 ubuntu kernel: [ 1175.574181] tveeprom 2-00a2: tuner model is Philips 18271_8295 (idx 149, type 54)
May 20 20:02:02 ubuntu kernel: [ 1175.574185] tveeprom 2-00a2: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)
May 20 20:02:02 ubuntu kernel: [ 1175.574188] tveeprom 2-00a2: audio processor is CX25843 (idx 37)
May 20 20:02:02 ubuntu kernel: [ 1175.574191] tveeprom 2-00a2: decoder processor is CX25843 (idx 30)
May 20 20:02:02 ubuntu kernel: [ 1175.574194] tveeprom 2-00a2: has radio, has IR receiver, has IR transmitter
May 20 20:02:02 ubuntu kernel: [ 1175.574202] pvrusb2: Supported video standard(s) reported available in hardware: PAL-M/N/Nc;NTSC-M/Mj/Mk;ATSC-8VSB/16VSB
May 20 20:02:02 ubuntu kernel: [ 1175.574207] pvrusb2: Mapping standards mask=0x300b700 (PAL-M/N/Nc;NTSC-M/Mj/Mk;ATSC-8VSB/16VSB)
May 20 20:02:02 ubuntu kernel: [ 1175.574211] pvrusb2: Setting up 6 unique standard(s)
May 20 20:02:02 ubuntu kernel: [ 1175.574215] pvrusb2: Set up standard idx=0 name=PAL-M
May 20 20:02:02 ubuntu kernel: [ 1175.574219] pvrusb2: Set up standard idx=1 name=PAL-N
May 20 20:02:02 ubuntu kernel: [ 1175.574222] pvrusb2: Set up standard idx=2 name=PAL-Nc
May 20 20:02:02 ubuntu kernel: [ 1175.574225] pvrusb2: Set up standard idx=3 name=NTSC-M
May 20 20:02:02 ubuntu kernel: [ 1175.574228] pvrusb2: Set up standard idx=4 name=NTSC-Mj
May 20 20:02:02 ubuntu kernel: [ 1175.574231] pvrusb2: Set up standard idx=5 name=NTSC-Mk
May 20 20:02:02 ubuntu kernel: [ 1175.574235] pvrusb2: Initial video standard (determined by device type): NTSC-M
May 20 20:02:02 ubuntu kernel: [ 1175.574246] pvrusb2: Device initialization completed successfully.
May 20 20:02:02 ubuntu kernel: [ 1175.574350] pvrusb2: registered device video2 [mpeg]
May 20 20:02:02 ubuntu kernel: [ 1175.574359] DVB: registering new adapter (pvrusb2-dvb)
May 20 20:02:02 ubuntu kernel: [ 1175.601255] cx25840' 2-0044: firmware: requesting v4l-cx25840.fw
May 20 20:02:04 ubuntu kernel: [ 1177.867104] cx25840' 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
May 20 20:02:04 ubuntu kernel: [ 1177.984545] tda829x 2-0042: setting tuner address to 60
May 20 20:02:04 ubuntu kernel: [ 1178.030929] tda18271 2-0060: creating new instance
May 20 20:02:04 ubuntu kernel: [ 1178.065612] TDA18271HD/C1 detected @ 2-0060
May 20 20:02:05 ubuntu kernel: [ 1179.232655] tda829x 2-0042: type set to tda8295+18271
May 20 20:02:09 ubuntu kernel: [ 1182.590891] cx25840' 2-0044: Video signal:              present
May 20 20:02:09 ubuntu kernel: [ 1182.590896] cx25840' 2-0044: Detected format:           NTSC-M
May 20 20:02:09 ubuntu kernel: [ 1182.590899] cx25840' 2-0044: Specified standard:        NTSC-M
May 20 20:02:09 ubuntu kernel: [ 1182.590902] cx25840' 2-0044: Specified video input:     Composite 7
May 20 20:02:09 ubuntu kernel: [ 1182.590905] cx25840' 2-0044: Specified audioclock freq: 48000 Hz
May 20 20:02:09 ubuntu kernel: [ 1182.598049] cx25840' 2-0044: Detected audio mode:       forced mode
May 20 20:02:09 ubuntu kernel: [ 1182.598057] cx25840' 2-0044: Detected audio standard:   forced audio standard
May 20 20:02:09 ubuntu kernel: [ 1182.598062] cx25840' 2-0044: Audio muted:               no
May 20 20:02:09 ubuntu kernel: [ 1182.598066] cx25840' 2-0044: Audio microcontroller:     stopped
May 20 20:02:09 ubuntu kernel: [ 1182.598071] cx25840' 2-0044: Configured audio standard: automatic detection
May 20 20:02:09 ubuntu kernel: [ 1182.598076] cx25840' 2-0044: Configured audio system:   BTSC
May 20 20:02:09 ubuntu kernel: [ 1182.598080] cx25840' 2-0044: Specified audio input:     External
May 20 20:02:09 ubuntu kernel: [ 1182.598086] cx25840' 2-0044: Preferred audio mode:      stereo
May 20 20:02:11 ubuntu kernel: [ 1184.981530] DVB: registering adapter 1 frontend 0 (Samsung S5H1411 QAM/8VSB Frontend)...
May 20 20:02:11 ubuntu kernel: [ 1184.983409] tda829x 2-0042: type set to tda8295
May 20 20:02:11 ubuntu kernel: [ 1185.040806] tda18271 2-0060: attaching existing instance
I then went into mythtv-setup, selected the new tuner as an 'MPEG-2 card', scanned for channels, brought the backend up again, and simultaneously recorded two programs on my two tuners to confirm that it worked.

A check with 'lsmod' shows the following modules being used:

pvrusb2
dvb_core
cx2341x
tveeprom
v4l2_common
videodev
v4l1_compat

Again, the last three are being supplied in the kernels supplied by 'cbxbiker61' (thanks again!), so if anyone can post a kernel including these additional modules, I'll be happy to give it a whirl and finish my writeup.

Thanks,

Charles Green
Logged

CharlesWGreenJr
Newbie
*

Karma: 0
Posts: 28



View Profile
« Reply #4 on: May 24, 2009, 05:33:50 PM »

[Update:  I see my Intel Linux 'hardy' MythTV box has a 'firmware_helper' executable in /lib/udev, whereas the 'jaunty' SheevaPlug and Intel box have a 'firmware.sh' script in /lib/udev.]

OK, after losing my /usr filesystem (note to self:  apparently unplugging a USB hub from the SheevaPlug can cause corruption of an SD card) I re-established my Sheeva distribution on the external USB drive which I got in anticipation of getting this last piece to the MythTV puzzle working.  With a kernel provided by 'pushbx' that incorporates the 'pvrusb2' driver (not as a module), and the necessary firmware in /lib/firmware, here's what I see when I plug in the HVR-1950:

Code:
usb 1-1.3: new high speed USB device using orion-ehci and address 5
usb 1-1.3: configuration #1 chosen from 1 choice

This looks to me to be the same as the kernel without the driver.  Hmm...

Next I thought that perhaps the firmware wasn't being found, so I renamed it on my Intel 'hardy' MythTV box (on which I have successfully used the tuner) to see what would happen if it's not found, and plugged it in there.  I got:

Code:
[347747.808029] usb 1-8: new high speed USB device using ehci_hcd and address 17
[347747.945182] usb 1-8: configuration #1 chosen from 1 choice
[347748.944111] usb 1-8: firmware: requesting v4l-pvrusb2-73xxx-01.fw
[347748.951269] pvrusb2: ***WARNING*** Device fx2 controller firmware seems to be missing.
[347748.951274] pvrusb2: Did you install the pvrusb2 firmware files in their proper location?
[347748.951277] pvrusb2: request_firmware unable to locate fx2 controller file v4l-pvrusb2-73xxx-01.fw
[347748.951280] pvrusb2: Failure uploading firmware1
[347748.951283] pvrusb2: Device initialization was not successful.
[347748.951286] pvrusb2: Giving up since device microcontroller firmware appears to be missing.

My understanding is that 'udev' handles loading of the firmware, and that's certainly running on the SheevaPlug.

I also tried this on a basic 'jaunty' install on a third computer, and noticed a new "third line" which is missing from the Sheeva (in the following case, firmware was present, and lines after obvious success are deleted); the following also looks identical to the 'success' case on my Hardy MythTV box, with the exception of the new third line, which is apparently specific to Jaunty:

Code:
[  593.490018] usb 1-4: new high speed USB device using ehci_hcd and address 2
[  593.644339] usb 1-4: configuration #1 chosen from 1 choice
[  593.698637] Linux video capture interface: v2.00
[  593.763880] usbcore: registered new interface driver pvrusb2
[  593.763905] pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
[  593.763910] pvrusb2: Debug mask is 31 (0x1f)
[  594.760164] usb 1-4: firmware: requesting v4l-pvrusb2-73xxx-01.fw
[  594.781660] pvrusb2: Device microcontroller firmware (re)loaded; it should now reset and reconnect.
[  596.328962] usb 1-4: USB disconnect, address 2
[  596.329440] pvrusb2: Device being rendered inoperable
[  596.600019] usb 1-4: new high speed USB device using ehci_hcd and address 3
[  596.759694] usb 1-4: configuration #1 chosen from 1 choice
[  596.842134] cx25840' 1-0044: cx25843-24 found @ 0x88 (pvrusb2_a)
[  596.912732] tuner' 1-0042: chip found @ 0x84 (pvrusb2_a)
[  596.937121] tveeprom 1-00a2: Hauppauge model 75111, rev C3E9, serial# 5371386
...

So perhaps the next thing we should see on the SheevaPlug is "Linux video capture interface: v2.00"?  A quick 'grep -l' on the Intel Jaunty system reveals this line is somewhere in videodev.ko, so if that driver is compiled into the kernel I'm now running, I would expect to see that message, right?  (Interestingly, 'grep -l' against the SheevaPlug kernel doesn't seem to be very fruitful, even the word 'video' didn't match...)  Also, given that the 'videodev' module was present in the 2.6.30-rc4 image provided by 'cbxbiker61', I would have thought this third line might have shown up there, even without the additional drivers specific to the HVR-1950.

Here's the output of 'udevmonitor', or 'udevadm monitor', on the SheevaPlug:

Code:
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[1243272711.974440] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4 (usb)
KERNEL[1243272711.974573] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0 (usb)
KERNEL[1243272711.974672] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep81 (usb_endpoint)
KERNEL[1243272711.974768] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep84 (usb_endpoint)
KERNEL[1243272711.974862] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep88 (usb_endpoint)
KERNEL[1243272711.974956] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep01 (usb_endpoint)
KERNEL[1243272711.975051] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep02 (usb_endpoint)
KERNEL[1243272711.975145] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep86 (usb_endpoint)
KERNEL[1243272711.975238] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/usb_device/usbdev1.6 (usb_device)
KERNEL[1243272711.975330] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/usb_endpoint/usbdev1.6_ep00 (usb_endpoint)
UDEV  [1243272711.976139] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4 (usb)
UDEV  [1243272711.989564] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0 (usb)
UDEV  [1243272711.995778] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/usb_device/usbdev1.6 (usb_device)
UDEV  [1243272712.008812] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep88 (usb_endpoint)
UDEV  [1243272712.014952] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep84 (usb_endpoint)
UDEV  [1243272712.039559] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/usb_endpoint/usbdev1.6_ep00 (usb_endpoint)
UDEV  [1243272712.041717] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep86 (usb_endpoint)
UDEV  [1243272712.042514] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep02 (usb_endpoint)
UDEV  [1243272712.043252] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep01 (usb_endpoint)
UDEV  [1243272712.046061] add      /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep81 (usb_endpoint)

And on the basic Jaunty, non-MythTV system:

Code:
monitor will print the received events for:
UDEV the event which udev sends out after rule processing
UEVENT the kernel uevent

UEVENT[1243281061.483320] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4 (usb)
UDEV  [1243281061.488216] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4 (usb)
UEVENT[1243281061.489453] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0 (usb)
UEVENT[1243281061.489493] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep81 (usb_endpoint)
UEVENT[1243281061.489526] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep84 (usb_endpoint)
UEVENT[1243281061.489553] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep88 (usb_endpoint)
UEVENT[1243281061.489579] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep01 (usb_endpoint)
UEVENT[1243281061.489604] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep02 (usb_endpoint)
UEVENT[1243281061.489628] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep86 (usb_endpoint)
UEVENT[1243281061.489652] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/usb_endpoint/usbdev1.2_ep00 (usb_endpoint)
UDEV  [1243281061.496395] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/usb_endpoint/usbdev1.2_ep00 (usb_endpoint)
UEVENT[1243281061.527453] add      /module/tveeprom (module)
UEVENT[1243281061.529937] add      /module/v4l1_compat (module)
UDEV  [1243281061.530909] add      /module/tveeprom (module)
UEVENT[1243281061.537592] add      /module/videodev (module)
UEVENT[1243281061.537633] add      /class/video4linux (class)
UDEV  [1243281061.538136] add      /module/v4l1_compat (module)
UEVENT[1243281061.543161] add      /module/v4l2_common (module)
UDEV  [1243281061.544996] add      /module/videodev (module)
UDEV  [1243281061.547085] add      /class/video4linux (class)
UDEV  [1243281061.549125] add      /module/v4l2_common (module)
UEVENT[1243281061.554578] add      /module/cx2341x (module)
UDEV  [1243281061.556455] add      /module/cx2341x (module)
UEVENT[1243281061.573547] add      /module/dvb_core (module)
UEVENT[1243281061.573586] add      /class/dvb (class)
UDEV  [1243281061.575452] add      /module/dvb_core (module)
UDEV  [1243281061.577523] add      /class/dvb (class)
UEVENT[1243281061.597762] add      /module/pvrusb2 (module)
UDEV  [1243281061.599338] add      /module/pvrusb2 (module)
UEVENT[1243281061.600171] add      /class/pvrusb2 (class)
UDEV  [1243281061.601841] add      /class/pvrusb2 (class)
UEVENT[1243281061.602813] add      /bus/usb/drivers/pvrusb2 (drivers)
UDEV  [1243281061.606976] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0 (usb)
UDEV  [1243281061.610596] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep81 (usb_endpoint)
UDEV  [1243281061.613178] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep84 (usb_endpoint)
UDEV  [1243281061.615698] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep88 (usb_endpoint)
UDEV  [1243281061.618224] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep01 (usb_endpoint)
UDEV  [1243281061.620833] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep02 (usb_endpoint)
UDEV  [1243281061.623392] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep86 (usb_endpoint)
UDEV  [1243281061.625689] add      /bus/usb/drivers/pvrusb2 (drivers)
UEVENT[1243281062.599177] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/firmware/1-4 (firmware)
UEVENT[1243281062.615874] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/firmware/1-4 (firmware)
UDEV  [1243281062.617431] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/firmware/1-4 (firmware)
UDEV  [1243281062.618775] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/firmware/1-4 (firmware)
UEVENT[1243281064.168606] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep81 (usb_endpoint)
UEVENT[1243281064.168801] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep84 (usb_endpoint)
UEVENT[1243281064.168863] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep88 (usb_endpoint)
UEVENT[1243281064.168891] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep01 (usb_endpoint)
UEVENT[1243281064.168915] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep02 (usb_endpoint)
UEVENT[1243281064.168941] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep86 (usb_endpoint)
UEVENT[1243281064.168972] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0 (usb)
UEVENT[1243281064.168998] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/usb_endpoint/usbdev1.2_ep00 (usb_endpoint)
UEVENT[1243281064.169035] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4 (usb)
UDEV  [1243281064.171654] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep81 (usb_endpoint)
UDEV  [1243281064.174444] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep84 (usb_endpoint)
UDEV  [1243281064.177230] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep88 (usb_endpoint)
UDEV  [1243281064.180085] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep01 (usb_endpoint)
UDEV  [1243281064.182852] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep02 (usb_endpoint)
UDEV  [1243281064.185641] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.2_ep86 (usb_endpoint)
UDEV  [1243281064.189859] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0 (usb)
UDEV  [1243281064.192676] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4/usb_endpoint/usbdev1.2_ep00 (usb_endpoint)
UDEV  [1243281064.197221] remove   /devices/pci0000:00/0000:00:10.3/usb1/1-4 (usb)
UEVENT[1243281064.598614] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4 (usb)
UEVENT[1243281064.599521] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0 (usb)
UDEV  [1243281064.607728] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4 (usb)
UEVENT[1243281064.609733] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.3_ep81 (usb_endpoint)
UEVENT[1243281064.609782] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.3_ep84 (usb_endpoint)
UEVENT[1243281064.609808] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.3_ep88 (usb_endpoint)
UEVENT[1243281064.609833] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.3_ep01 (usb_endpoint)
UEVENT[1243281064.609858] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.3_ep02 (usb_endpoint)
UEVENT[1243281064.609882] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.3_ep86 (usb_endpoint)
UEVENT[1243281064.609906] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/usb_endpoint/usbdev1.3_ep00 (usb_endpoint)
UDEV  [1243281064.614873] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0 (usb)
UDEV  [1243281064.620415] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.3_ep81 (usb_endpoint)
UDEV  [1243281064.623460] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.3_ep84 (usb_endpoint)
UDEV  [1243281064.626507] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.3_ep88 (usb_endpoint)
UEVENT[1243281064.630150] add      /module/cx25840 (module)
UEVENT[1243281064.630193] add      /bus/i2c/drivers/cx25840' (drivers)
UEVENT[1243281064.630215] add      /bus/i2c/drivers/cx25840 (drivers)
UDEV  [1243281064.635420] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.3_ep01 (usb_endpoint)
UDEV  [1243281064.638459] add      /devices/pci0000:00/0000:00:10.3/usb1/1-4/1-4:1.0/usb_endpoint/usbdev1.3_ep02

Any thoughts on why the Intel Ubuntu system announces the request for firmware and the SheevaPlug system doesn't?  I see that the firmware request log line is tagged 'usb' rather than 'pvrusb2', so presumably the pvrusb2 driver isn't even involved yet at this point??

Thanks for any suggestions,

Charles
« Last Edit: May 25, 2009, 01:54:32 PM by CharlesWGreenJr » Logged

CharlesWGreenJr
Newbie
*

Karma: 0
Posts: 28



View Profile
« Reply #5 on: June 11, 2009, 01:21:47 PM »

Not sure what the problem with the kernel was, but eventually I found the time to grab a 'git' snapshot from Marvell and pounded it with "config/make" cycles until it  submitted.

-Charles Green
Logged

solstice
Newbie
*

Karma: 0
Posts: 17


View Profile
« Reply #6 on: June 21, 2009, 05:28:29 PM »

I am trying to do the same thing with HVR-950Q USB card. Where exactly do you place the firmware to? I put it under /lib/firmware/dvb-fe-xc5000-1.1.fw and also in /lib/firmware/2.6.30/dvb-fe-xc5000-1.1.fw

Perhaps it is just simply does not work. I need some advice in this.
Logged

solstice
Newbie
*

Karma: 0
Posts: 17


View Profile
« Reply #7 on: June 21, 2009, 11:28:33 PM »

I gave up on the HVR 950Q and got the 1950 you did. I do not see MPEG2 card as you did. I only see MJPEG or MPEG4. Which one is the QAM installed? I am using analong only for now.
Logged

CharlesWGreenJr
Newbie
*

Karma: 0
Posts: 28



View Profile
« Reply #8 on: June 23, 2009, 07:59:12 PM »

Solstice,

The primary guide for my setting this up was at http://www.isely.net/pvrusb2/pvrusb2.html.  That site might mention the HVR-950Q; I don't recall.  With respect to the 1950 firmware, I believe I either put it in /lib/firmware/ or /lib/firmware/<exact kernel version>/ as you probably did.

If by what you say you see below (MJPEG / MPEG4 vs. MPEG2) you're referring to what MythTV shows you as available in its setup, I seem to remember that I had to type in /dev/video0 on the MPEG2 selection (I saw that trick mentioned on some forum or board somewhere), after which it had no problem identifying the card, but I don't believe it was presented automatically as a choice the first time through, which may have led you to believe MythTV couldn't use it.  (I'm being vague as the system isn't up at the moment - I need more time to finish setting up a slave backend / frontend to really make use of it, so it's powered off until I get a chance to play around with it again.)

Hope this helps,

-Charles
Logged

solstice
Newbie
*

Karma: 0
Posts: 17


View Profile
« Reply #9 on: June 27, 2009, 12:03:16 AM »

I got both the MPEG2 and finally the DVB to work now with MythTV. I am now totally happy recording QAM TV signals from cable. The trick to get DVB to work is to change the file under:

./libs/libmythtv/dvbtypes.h

//#if (DVB_API_VERSION != 3)
#if (DVB_API_VERSION != 3 && DVB_API_VERSION != 5)

and the line

//#if (DVB_API_VERSION >= 3 && DVB_API_VERSION_MINOR >= 1)
#if ((DVB_API_VERSION >= 3 && DVB_API_VERSION_MINOR >= 1) || (DVB_API_VERSION > 3))

I found the solution while googling. The 950Q has some problem with the arm port. I did not have time to get it fix since I want a DVR urgently. I am happy that the plugcomputer solution worked out before my vacation. Now I can record video and watch it when I get back. This is all thanks to your work on this subject.
Logged

Pages: [1]
Print
Jump to: