[pvrusb2] HVR 1950 Transmitter

Ken Scales kscales at xplornet.com
Sat Oct 24 15:39:48 CDT 2009


Sorry, been meaning to submit a few comments on this for a week or so, 
but have been busied out on other things.

In my project to replace my 5-year-old MythTV box, I've been trying to 
set up both an HVR-1950 and an HD-PVR. I believe that both contain the 
same basic IR hardware. At the end of August, Jarod Wilson released some 
patches to get the HD-PVR IR receive/send functions working 
(http://mythtv.org/pipermail/mythtv-users/2009-September/263197.html). 
Well, his patches also triggered some activity from my HVR-1950, which 
I'll attach.

First, some other bits of info that are perhaps relevant:

    * A while back, I think the Debian folks decided that they didn't
      like something about the licensing for the lirc_pvr150 driver, and
      they started deleting it from their kernel source. (Perhaps due to
      the binary blob haup-ir-blaster.bin) So any downstream
      distributions (like Ubuntu) are now inheriting kernels with this
      module excised.
    * The lirc_pvr150 module now seems to have been superseded by the
      lirc_zilog module, which also "aliases" itself as lirc_pvr150 for
      backward compatibility. It's also missing from Debian-derived
      kernels. So, to get things working, those folks will need to seek
      out the kernel source for this module. (Fedora retains this
      module, as Jarod's patches indicate.)
    * I eventually gave up on trying to get the Fedora patches working
      on my HD-PVR because I got TONS of errors when lirc tried to
      initialize lirc_zilog with the lircd.conf file from
      blushingpenguin, and only a few of the blasted digits were
      recognized by my BellTV 9242 (Dish VIP622) receiver anyway. After
      spending way, way too many hours on this, I ordered a CommandIR,
      and finally have a working system. (Note: I tried re-downloading
      the lircd.conf file several times; all identical.)

As noted above, I'm attaching an excerpt from my /var/log/messages file 
showing the HVR-1950 coming to life. (Don't know how this list handles 
attachments -- hope this remains accessible. It is 153 lines of edited 
logs.) Let me know if you need it inline.)

BTW, Mike, many thanks from another grateful pvrusb2 user!

Ken




-------------- next part --------------
Sep  8 12:08:33 avpc kernel: Linux version 2.6.30.5-45.fc11.i686.PAE (mockbuild at x86-6.fedora.phx.redhat.com) (gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC) ) #1 SMP Tue Sep 1 00:42:03 EDT 2009
Sep  8 12:08:33 avpc kernel: KERNEL supported cpus:
Sep  8 12:08:33 avpc kernel:  Intel GenuineIntel
Sep  8 12:08:33 avpc kernel:  AMD AuthenticAMD
Sep  8 12:08:33 avpc kernel:  NSC Geode by NSC
Sep  8 12:08:33 avpc kernel:  Cyrix CyrixInstead
Sep  8 12:08:33 avpc kernel:  Centaur CentaurHauls
Sep  8 12:08:33 avpc kernel:  Transmeta GenuineTMx86
Sep  8 12:08:33 avpc kernel:  Transmeta TransmetaCPU
Sep  8 12:08:33 avpc kernel:  UMC UMC UMC UMC
Sep  8 12:08:33 avpc kernel: BIOS-provided physical RAM map:

   <edited for brevity / kss>

Sep  8 12:09:07 avpc kernel: ALSA sound/pci/hda/hda_intel.c:1102: Too big adjustment 32
Sep  8 12:09:07 avpc kernel: fuse init (API version 7.11)
Sep  8 12:09:08 avpc pulseaudio[2431]: pid.c: Daemon already running.
Sep  8 12:11:08 avpc kernel: lirc_dev: IR Remote Control driver registered, major 248 
Sep  8 12:13:36 avpc kernel: Linux video capture interface: v2.00
Sep  8 12:13:36 avpc kernel: usbcore: registered new interface driver hdpvr
Sep  8 12:14:09 avpc kernel: usb 1-5: new high speed USB device using ehci_hcd and address 5
Sep  8 12:14:09 avpc kernel: usb 1-5: New USB device found, idVendor=2040, idProduct=7501
Sep  8 12:14:09 avpc kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep  8 12:14:09 avpc kernel: usb 1-5: Product: WinTV
Sep  8 12:14:09 avpc kernel: usb 1-5: Manufacturer: Hauppauge
Sep  8 12:14:09 avpc kernel: usb 1-5: SerialNumber: 7300-00-F05F0384
Sep  8 12:14:09 avpc kernel: usb 1-5: configuration #1 chosen from 1 choice
Sep  8 12:14:09 avpc kernel: usbcore: registered new interface driver pvrusb2
Sep  8 12:14:09 avpc kernel: pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
Sep  8 12:14:09 avpc kernel: pvrusb2: Debug mask is 31 (0x1f)
Sep  8 12:14:10 avpc kernel: usb 1-5: firmware: requesting v4l-pvrusb2-73xxx-01.fw
Sep  8 12:14:10 avpc kernel: pvrusb2: Device microcontroller firmware (re)loaded; it should now reset and reconnect.
Sep  8 12:14:11 avpc kernel: usb 1-5: USB disconnect, address 5
Sep  8 12:14:11 avpc kernel: pvrusb2: Device being rendered inoperable
Sep  8 12:14:12 avpc kernel: usb 1-5: new high speed USB device using ehci_hcd and address 6
Sep  8 12:14:12 avpc kernel: usb 1-5: New USB device found, idVendor=2040, idProduct=7501
Sep  8 12:14:12 avpc kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep  8 12:14:12 avpc kernel: usb 1-5: Product: WinTV
Sep  8 12:14:12 avpc kernel: usb 1-5: Manufacturer: Hauppauge
Sep  8 12:14:12 avpc kernel: usb 1-5: SerialNumber: 7300-00-F05F0384
Sep  8 12:14:12 avpc kernel: usb 1-5: configuration #1 chosen from 1 choice
Sep  8 12:14:12 avpc kernel: lirc_zilog: chip found with RX and TX
Sep  8 12:14:12 avpc kernel: lirc_dev: lirc_register_driver: sample_rate: 0
Sep  8 12:14:12 avpc kernel: i2c ir driver 2-0070: firmware: requesting haup-ir-blaster.bin
Sep  8 12:14:12 avpc kernel: lirc_zilog: firmware of size 302355 loaded
Sep  8 12:14:12 avpc kernel: lirc_zilog: 743 codesets loaded
Sep  8 12:14:13 avpc kernel: lirc_zilog: i2c_master_send failed with -5
Sep  8 12:16:16 avpc kernel: INFO: task pvrusb2-context:2840 blocked for more than 120 seconds.
Sep  8 12:16:16 avpc kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Sep  8 12:16:16 avpc kernel: pvrusb2-conte D 00000053     0  2840      2
Sep  8 12:16:16 avpc kernel: f1db9c8c 00000046 39052610 00000053 c09b97a0 f26642a4 c09b5e84 f26642a4
Sep  8 12:16:16 avpc kernel: f1de2cc0 00002b24 f1db9c64 c04f38d5 00000000 00000000 c09b97a0 00000000
Sep  8 12:16:16 avpc kernel: 00000053 f2664010 c04f3ab7 f1de2cc0 00000001 c04f3374 f263fd64 7fffffff
Sep  8 12:16:16 avpc kernel: Call Trace:
Sep  8 12:16:16 avpc kernel: [<c04f38d5>] ? release_sysfs_dirent+0x60/0x75
Sep  8 12:16:16 avpc kernel: [<c04f3ab7>] ? sysfs_addrm_finish+0x193/0x1a6
Sep  8 12:16:16 avpc kernel: [<c04f3374>] ? sysfs_ilookup_test+0x0/0x16
Sep  8 12:16:16 avpc kernel: [<c073b404>] schedule+0xd/0x1c
Sep  8 12:16:16 avpc kernel: [<c073b68a>] schedule_timeout+0x1c/0xbf
Sep  8 12:16:16 avpc kernel: [<c04f3af6>] ? remove_dir+0x2c/0x33
Sep  8 12:16:16 avpc kernel: [<c073b56b>] wait_for_common+0xa9/0xed
Sep  8 12:16:16 avpc kernel: [<c042fad6>] ? default_wake_function+0x0/0x12
Sep  8 12:16:16 avpc kernel: [<c073b63a>] wait_for_completion+0x17/0x19
Sep  8 12:16:16 avpc kernel: [<f8089161>] i2c_detach_client+0x85/0x8f [i2c_core]
Sep  8 12:16:16 avpc kernel: [<f80b30e9>] ir_detach+0xc9/0x167 [lirc_zilog]
Sep  8 12:16:16 avpc kernel: [<f80b48f8>] ir_probe+0x746/0x86e [lirc_zilog]
Sep  8 12:16:16 avpc kernel: [<f808a1e3>] i2c_do_add_adapter+0x23/0x29 [i2c_core]
Sep  8 12:16:16 avpc kernel: [<c060923e>] bus_for_each_drv+0x42/0x6c
Sep  8 12:16:16 avpc kernel: [<f808a382>] i2c_register_adapter+0x199/0x200 [i2c_core]
Sep  8 12:16:16 avpc kernel: [<f808a1c0>] ? i2c_do_add_adapter+0x0/0x29 [i2c_core]
Sep  8 12:16:16 avpc kernel: [<f808a4fa>] i2c_add_adapter+0x72/0x7e [i2c_core]
Sep  8 12:16:16 avpc kernel: [<fc902438>] pvr2_i2c_core_init+0x106/0x1cd [pvrusb2]
Sep  8 12:16:16 avpc kernel: [<fc9095af>] pvr2_hdw_initialize+0x1a9/0xb45 [pvrusb2]
Sep  8 12:16:16 avpc kernel: [<c073bc3c>] ? mutex_lock+0x22/0x3c
Sep  8 12:16:16 avpc kernel: [<fc90d605>] pvr2_context_thread_func+0x82/0x26c [pvrusb2]
Sep  8 12:16:16 avpc kernel: [<c04475c9>] ? autoremove_wake_function+0x0/0x34
Sep  8 12:16:16 avpc kernel: [<fc90d583>] ? pvr2_context_thread_func+0x0/0x26c [pvrusb2]
Sep  8 12:16:16 avpc kernel: [<c04472d1>] kthread+0x4b/0x6f
Sep  8 12:16:16 avpc kernel: [<c0447286>] ? kthread+0x0/0x6f
Sep  8 12:16:16 avpc kernel: [<c0408fa3>] kernel_thread_helper+0x7/0x10
Sep  8 12:16:53 avpc lircd-0.8.5[2897]: error in configfile line 62:
Sep  8 12:16:53 avpc lircd-0.8.5[2897]: "2147549184" is out of range
Sep  8 12:16:53 avpc lircd-0.8.5[2897]: error in configfile line 64:
Sep  8 12:16:53 avpc lircd-0.8.5[2897]: "2147549185" is out of range

       < edited for brevity / kss >

Sep  8 12:16:55 avpc lircd-0.8.5[2897]: error in configfile line 30942:
Sep  8 12:16:55 avpc lircd-0.8.5[2897]: "2195390541" is out of range
Sep  8 12:16:55 avpc lircd-0.8.5[2897]: error in configfile line 30944:
Sep  8 12:16:55 avpc lircd-0.8.5[2897]: "2195390542" is out of range
Sep  8 12:16:55 avpc lircd-0.8.5[2898]: lircd(default) ready
Sep  8 12:17:10 avpc lircd-0.8.5[2898]: accepted new client on /dev/lircd
Sep  8 12:18:16 avpc kernel: INFO: task pvrusb2-context:2840 blocked for more than 120 seconds.
Sep  8 12:18:16 avpc kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Sep  8 12:18:16 avpc kernel: pvrusb2-conte D 00000053     0  2840      2
Sep  8 12:18:16 avpc kernel: f1db9c8c 00000046 39052610 00000053 c09b97a0 f26642a4 c09b5e84 f26642a4
Sep  8 12:18:16 avpc kernel: f1de2cc0 00002b24 f1db9c64 c04f38d5 00000000 00000000 c09b97a0 00000000
Sep  8 12:18:16 avpc kernel: 00000053 f2664010 c04f3ab7 f1de2cc0 00000001 c04f3374 f263fd64 7fffffff
Sep  8 12:18:16 avpc kernel: Call Trace:
Sep  8 12:18:16 avpc kernel: [<c04f38d5>] ? release_sysfs_dirent+0x60/0x75
Sep  8 12:18:16 avpc kernel: [<c04f3ab7>] ? sysfs_addrm_finish+0x193/0x1a6
Sep  8 12:18:16 avpc kernel: [<c04f3374>] ? sysfs_ilookup_test+0x0/0x16
Sep  8 12:18:16 avpc kernel: [<c073b404>] schedule+0xd/0x1c
Sep  8 12:18:16 avpc kernel: [<c073b68a>] schedule_timeout+0x1c/0xbf
Sep  8 12:18:16 avpc kernel: [<c04f3af6>] ? remove_dir+0x2c/0x33
Sep  8 12:18:16 avpc kernel: [<c073b56b>] wait_for_common+0xa9/0xed
Sep  8 12:18:16 avpc kernel: [<c042fad6>] ? default_wake_function+0x0/0x12
Sep  8 12:18:16 avpc kernel: [<c073b63a>] wait_for_completion+0x17/0x19
Sep  8 12:18:16 avpc kernel: [<f8089161>] i2c_detach_client+0x85/0x8f [i2c_core]
Sep  8 12:18:16 avpc kernel: [<f80b30e9>] ir_detach+0xc9/0x167 [lirc_zilog]
Sep  8 12:18:16 avpc kernel: [<f80b48f8>] ir_probe+0x746/0x86e [lirc_zilog]
Sep  8 12:18:16 avpc kernel: [<f808a1e3>] i2c_do_add_adapter+0x23/0x29 [i2c_core]
Sep  8 12:18:16 avpc kernel: [<c060923e>] bus_for_each_drv+0x42/0x6c
Sep  8 12:18:16 avpc kernel: [<f808a382>] i2c_register_adapter+0x199/0x200 [i2c_core]
Sep  8 12:18:16 avpc kernel: [<f808a1c0>] ? i2c_do_add_adapter+0x0/0x29 [i2c_core]
Sep  8 12:18:16 avpc kernel: [<f808a4fa>] i2c_add_adapter+0x72/0x7e [i2c_core]
Sep  8 12:18:16 avpc kernel: [<fc902438>] pvr2_i2c_core_init+0x106/0x1cd [pvrusb2]
Sep  8 12:18:16 avpc kernel: [<fc9095af>] pvr2_hdw_initialize+0x1a9/0xb45 [pvrusb2]
Sep  8 12:18:16 avpc kernel: [<c073bc3c>] ? mutex_lock+0x22/0x3c
Sep  8 12:18:16 avpc kernel: [<fc90d605>] pvr2_context_thread_func+0x82/0x26c [pvrusb2]
Sep  8 12:18:16 avpc kernel: [<c04475c9>] ? autoremove_wake_function+0x0/0x34
Sep  8 12:18:16 avpc kernel: [<fc90d583>] ? pvr2_context_thread_func+0x0/0x26c [pvrusb2]
Sep  8 12:18:16 avpc kernel: [<c04472d1>] kthread+0x4b/0x6f
Sep  8 12:18:16 avpc kernel: [<c0447286>] ? kthread+0x0/0x6f
Sep  8 12:18:16 avpc kernel: [<c0408fa3>] kernel_thread_helper+0x7/0x10

   < I think this is where I power up the HD-PVR / kss >

Sep  8 12:19:15 avpc kernel: usb 2-3: new full speed USB device using ohci_hcd and address 4
Sep  8 12:19:16 avpc kernel: usb 2-3: device descriptor read/64, error -62
Sep  8 12:19:16 avpc kernel: usb 2-3: device descriptor read/64, error -62
Sep  8 12:19:16 avpc kernel: usb 2-3: new full speed USB device using ohci_hcd and address 5
Sep  8 12:19:16 avpc kernel: hub 2-0:1.0: unable to enumerate USB device on port 3
Sep  8 12:19:17 avpc kernel: usb 1-3: new high speed USB device using ehci_hcd and address 8
Sep  8 12:19:17 avpc kernel: usb 2-3: new full speed USB device using ohci_hcd and address 6
Sep  8 12:19:17 avpc kernel: usb 2-3: device descriptor read/64, error -62
Sep  8 12:19:18 avpc kernel: usb 2-3: device descriptor read/64, error -62
Sep  8 12:19:18 avpc kernel: hub 2-0:1.0: unable to enumerate USB device on port 3
Sep  8 12:19:18 avpc kernel: usb 1-3: new high speed USB device using ehci_hcd and address 9
Sep  8 12:19:18 avpc kernel: usb 1-3: New USB device found, idVendor=2040, idProduct=4902
Sep  8 12:19:18 avpc kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep  8 12:19:18 avpc kernel: usb 1-3: Product: Hauppauge HD PVR
Sep  8 12:19:18 avpc kernel: usb 1-3: Manufacturer: AMBA
Sep  8 12:19:18 avpc kernel: usb 1-3: SerialNumber: 00A3539D
Sep  8 12:19:18 avpc kernel: usb 1-3: configuration #1 chosen from 1 choice
Sep  8 12:19:19 avpc kernel: hdpvr 1-3:1.0: untested firmware version 0xf, the driver might not work
Sep  8 12:22:25 avpc lircd-0.8.5[2966]: error in configfile line 62:
Sep  8 12:22:25 avpc lircd-0.8.5[2966]: "2147549184" is out of range
Sep  8 12:22:25 avpc lircd-0.8.5[2966]: error in configfile line 64:
Sep  8 12:22:25 avpc lircd-0.8.5[2966]: "2147549185" is out of range

  <... etc. for the HD_PVR / kss >


More information about the pvrusb2 mailing list