[pvrusb2] RHEL 5.6 Hauppauge 1950 USB PVR

Tomas Hajek thajek at kettering.edu
Thu Feb 17 15:15:41 CST 2011


Hi,
  I am trying to get a Hauppauge WinTV-HVR-1950 USB2 (75111 LF REV C3E9) device working with RHEL 5.6 (I have it working with Fedora
14 so can compare somethings but I know the kernel versions are different and so somethings aren't the same and some drivers are not
built with RHEL by default). Now specifically, what I want is the composite and s-video analog video and audio input and the
resulting mpeg-2 stream ( i.e. cat /dev/video1 > test.mpg ).
  I've been looking around and reading what I can and trying various things but I seem to be a little lost and wondering if anyone
here might be able to help.  Here are some details, not sure entirely what would be helpful to know or in what order but here goes:

lsusb identifies the device as "Bus 001 Device 002: ID 2040:7501 Hauppauge"

  The RHEL 5.6 kernel version is 2.6.18-238.1.1.el5PAE i686

   Also, attempted with a kernel from CentOS Plus repo "2.6.18-194.32.1.el5.centos.plusPAE" which this post seemed to indicate
included the necessary v4l and dvb components ( http://www.mythtv.org/wiki/Installing_MythTV_on_RHEL/CentOS ) but that didn't seem
to make a difference.

   Since Red Hat backports patches and some features into the kernel I think the kernel is somewhere between 2.6.18 - 2.6.20?

  When I unplug the device and plug it back in the only thing I see in messages is the following:

Feb 17 15:54:42 producer8 kernel: usb 1-1: USB disconnect, address 2
Feb 17 15:54:49 producer8 kernel: usb 1-1: new high speed USB device using ehci_hcd and address 4
Feb 17 15:54:50 producer8 kernel: usb 1-1: configuration #1 chosen from 1 choice

Usb hot plugging works with a USB flash drive

   I can manually modprobe pvrusb2 and tuner, the messages output is:

Feb 17 15:58:34 producer8 kernel: usbcore: registered new driver pvrusb2
Feb 17 15:58:34 producer8 kernel: drivers/media/video/pvrusb2/pvrusb2-main.c: Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner : V4L
in-tree version
Feb 17 15:58:34 producer8 kernel: drivers/media/video/pvrusb2/pvrusb2-main.c: Debug mask is 15 (0xf)

I have the following files in /lib/firmware
-rw-r--r-- 1 root root 262144 Feb 17 11:26 v4l-cx2341x-dec.fw
-rw-r--r-- 1 root root 376836 Feb 17 11:26 v4l-cx2341x-enc.fw
-rw-r--r-- 1 root root  16382 Feb 17 11:26 v4l-cx25840.fw
-rw-r--r-- 1 root root   8192 Feb 17 11:26 v4l-pvrusb2-24xxx-01.fw
-rw-r--r-- 1 root root   8192 Feb 17 11:26 v4l-pvrusb2-29xxx-01.fw
-rw-r--r-- 1 root root   8192 Feb 17 11:26 v4l-pvrusb2-73xxx-01.fw

  The device node /dev/video1  (I have /dev/video which is a symlink to /dev/video0 but this is for my Osprey 210 bttv capture card)
is not created and it doesn't look like there is an attempt to load the firmware.
   Can anyone recommend the most direct way to get these and if they are necessary or point me in the write direction?  Also
wondering if the following might be playing a factor here http://www.gossamer-threads.com/lists/atrpms/users/14933 (Heads up: latest
rhel5 kernel broke video4linux)
  I'm guessing that I am missing some of the chip drivers as on fedora I have the following additional drivers loaded which don't
exist on the RHEL 5.6 box.
  s5h1411,tda18271,tda8290

  Here is output from lsmod:
lsmod
Module                  Size  Used by
tuner                  58101  0
pvrusb2               127253  0
cx2341x                14277  1 pvrusb2
sg                     36589  0
usb_storage            80929  0
i915                   24385  1
drm                    65493  2 i915
autofs4                29253  3
hidp                   23105  2
rfcomm                 42585  0
l2cap                  29633  10 hidp,rfcomm
bluetooth              53797  5 hidp,rfcomm,l2cap
lockd                  63337  0
sunrpc                146685  2 lockd
cpufreq_ondemand       12493  4
acpi_cpufreq           13641  0
mperf                   6337  1 acpi_cpufreq
ip_conntrack_netbios_ns     6977  0
ipt_REJECT              9537  1
xt_state                6209  3
ip_conntrack           53281  2 ip_conntrack_netbios_ns,xt_state
nfnetlink              10713  1 ip_conntrack
xt_tcpudp               7105  5
iptable_filter          7105  1
ip_tables              17029  1 iptable_filter
ip6_tables             18181  0
x_tables               17349  5 ipt_REJECT,xt_state,xt_tcpudp,ip_tables,ip6_tables
be2iscsi               59221  0
ib_iser                35609  0
rdma_cm                35705  1 ib_iser
ib_cm                  39213  1 rdma_cm
iw_cm                  13125  1 rdma_cm
ib_sa                  39093  2 rdma_cm,ib_cm
ib_mad                 37717  2 ib_cm,ib_sa
ib_core                63557  6 ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
ib_addr                11717  1 rdma_cm
iscsi_tcp              19785  0
bnx2i                  42333  0
cnic                   46541  1 bnx2i
ipv6                  270049  1 cnic
xfrm_nalgo             13381  1 ipv6
crypto_api             12609  1 xfrm_nalgo
uio                    14793  1 cnic
cxgb3i                 43529  0
cxgb3                 166425  1 cxgb3i
8021q                  25545  1 cxgb3
libiscsi_tcp           21957  2 iscsi_tcp,cxgb3i
libiscsi2              42693  6 be2iscsi,ib_iser,iscsi_tcp,bnx2i,cxgb3i,libiscsi_tcp
scsi_transport_iscsi2    37581  8 be2iscsi,ib_iser,iscsi_tcp,bnx2i,cxgb3i,libiscsi2
scsi_transport_iscsi     6085  1 scsi_transport_iscsi2
loop                   18761  0
dm_multipath           25421  0
scsi_dh                12097  1 dm_multipath
video                  21193  0
backlight              10049  1 video
sbs                    18533  0
power_meter            16461  0
hwmon                   7365  1 power_meter
i2c_ec                  9025  1 sbs
dell_wmi                8401  0
wmi                    12137  1 dell_wmi
button                 10705  0
battery                13637  0
asus_acpi              19289  0
ac                      9157  0
lp                     15849  0
floppy                 57125  0
bttv                  164725  0
video_buf              27205  1 bttv
ir_common              31813  1 bttv
compat_ioctl32          5569  1 bttv
i2c_algo_bit           12489  1 bttv
snd_hda_intel         524077  0
btcx_risc               8777  1 bttv
tveeprom               17873  2 pvrusb2,bttv
snd_seq_dummy           7877  0
snd_seq_oss            32577  0
snd_seq_midi_event     11073  1 snd_seq_oss
snd_seq                49585  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_bt87x              18533  0
snd_seq_device         11725  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            42817  0
snd_mixer_oss          19009  1 snd_pcm_oss
i2c_i801               11853  0
ide_cd                 40161  0
snd_pcm                72261  3 snd_hda_intel,snd_bt87x,snd_pcm_oss
i2c_core               24897  7 tuner,pvrusb2,i2c_ec,bttv,i2c_algo_bit,tveeprom,i2c_i801
videodev               25793  2 pvrusb2,bttv
snd_timer              24517  2 snd_seq,snd_pcm
v4l1_compat            16069  2 pvrusb2,videodev
cdrom                  36577  1 ide_cd
snd_hwdep              12869  1 snd_hda_intel
v4l2_common            24385  5 tuner,pvrusb2,cx2341x,bttv,videodev
tpm_tis                16713  0
parport_pc             29157  1
snd                    55877  10
snd_hda_intel,snd_seq_oss,snd_seq,snd_bt87x,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
tpm                    19041  1 tpm_tis
parport                37513  2 lp,parport_pc
snd_page_alloc         14281  3 snd_hda_intel,snd_bt87x,snd_pcm
sky2                   47813  0
soundcore              11553  1 snd
serio_raw              10693  0
tpm_bios               11073  1 tpm
pcspkr                  7105  0
dm_raid45              67145  0
dm_message              6977  1 dm_raid45
dm_region_hash         15681  1 dm_raid45
dm_mem_cache            9537  1 dm_raid45
dm_snapshot            23653  0
dm_zero                 6209  0
dm_mirror              24393  0
dm_log                 14657  3 dm_raid45,dm_region_hash,dm_mirror
dm_mod                 63097  15 dm_multipath,dm_raid45,dm_snapshot,dm_zero,dm_mirror,dm_log
ata_piix               23877  0
libata                157061  1 ata_piix
sd_mod                 25281  0
scsi_mod              143765  12
sg,usb_storage,be2iscsi,ib_iser,iscsi_tcp,bnx2i,cxgb3i,libiscsi2,scsi_transport_iscsi2,scsi_dh,libata,sd_mod
ext3                  125385  4
jbd                    57321  1 ext3
uhci_hcd               25549  0
ohci_hcd               25065  0
ehci_hcd               33997  0


Thanks a lot, I hope that I have found the appropriate place to ask this, if not let me know.
-Tomas


More information about the pvrusb2 mailing list