[pvrusb2] IR Question?

Roger J. Allen rja at firkraag.rogera.net
Fri Jan 27 00:37:12 CST 2006


On Thu, 26 Jan 2006, Miephos wrote:

> Hier I send you what you want
>
> PC-MIEPHOS: #modprobe lirc_i2c
> PC-MIEPHOS: #dmesg
> ##########################
> lirc_dev: module not supported by Novell, setting U taint flag.
> lirc_dev: IR Remote Control driver registered, at major 61
> lirc_i2c: module not supported by Novell, setting U taint flag.
> bttv: driver version 0.9.16 loaded
> bttv: using 8 buffers with 2080k (520 pages) each for capture
> ivtv: module not supported by Novell, setting U taint flag.

You don't need both the ivtv and pvrusb2 kernel modules loaded
unless you have a WinTV-PVR-USB2 and another Hauppauge card
installed at the same time.  I haven't tried running them
both at the same time.

> ivtv: ==================== START INIT IVTV ====================
> ivtv: version 0.3.7 (c) loading
> ivtv: Linux version: 2.6.13-15-smp SMP 586 REGPARM gcc-4.0
> ivtv: In case of problems please include the debug info
> ivtv: between the START INIT IVTV and END INIT IVTV lines when
> ivtv: mailing the ivtv-devel mailinglist.
> ivtv: ====================  END INIT IVTV  ====================
> cx2388x v4l2 driver version 0.0.5 loaded
> lirc_i2c: chip found @ 0x18 (Hauppauge IR)
> pvrusb2 i2c_attach [client=Hauppauge IR @ 0x18 ctxt=cded2f00]
> lirc_dev: lirc_register_plugin: sample_rate: 10
> pvrusb2 Probed: ctxt=cded2f00 ctl_mask=0x2f Hauppauge IR @ 0x18 [v4l2_standard
> v4l2_bcsh v4l2_volume v4l2_freq v4l2_size]
> pvrusb2 i2c v4l2 set_standard(1)
> pvrusb2 i2c v4l2 set_bcsh b=128 c=68 s=64 h=0
> pvrusb2 i2c v4l2 set_volume(vol=65535 bal=0 bas=0 treb=0 mute=1)
> pvrusb2 i2c v4l2 set_freq(319250000)
> pvrusb2 i2c v4l2 set_size(720x576)
> #########################
>
> PC-MIEPHOS: # lsmod
> Module                  Size  Used by
> cx8800                 36492  0
> cx88xx                 62752  1 cx8800
> ir_common              12164  1 cx88xx
> ivtv                 1354308  0
> bttv                  165456  0
> video_buf              26116  3 cx8800,cx88xx,bttv
> i2c_algo_bit           13320  3 cx88xx,ivtv,bttv
> btcx_risc               9096  3 cx8800,cx88xx,bttv
> lirc_i2c               14084  0
> lirc_dev               18804  1 lirc_i2c
> ipt_pkttype             5632  1
> ipt_LOG                11392  13
> ipt_limit               6528  13
> nvidia               4093872  18
> speedstep_lib           8452  0
> freq_table              8832  0
> snd_pcm_oss            67616  0
> snd_mixer_oss          24704  1 snd_pcm_oss
> snd_seq                62864  0
> snd_seq_device         13068  1 snd_seq
> button                 11024  0
> battery                14212  0
> ac                      9220  0
> edd                    14560  0
> hisax                 539216  1
> usbhid                 50656  0
> tda9887                17424  0
> saa7115                15628  0
> msp3400                29216  0
> tuner                  40744  0
> pvrusb2               112720  1
> firmware_class         14336  3 ivtv,bttv,pvrusb2
> v4l2_common             9856  3 cx8800,bttv,pvrusb2
> v4l1_compat            17796  2 cx8800,pvrusb2
> videodev               13440  5 cx8800,cx88xx,ivtv,bttv,pvrusb2
> ivtv_tveeprom          16812  3 cx88xx,bttv,pvrusb2
> ide_cd                 46084  0
> cdrom                  42912  1 ide_cd
> ohci1394               39348  0
> ieee1394              107960  1 ohci1394
> crc_ccitt               6144  1 hisax
> isdn                  148448  5 hisax
> slhc                   11264  1 isdn
> sk98lin               209624  1
> snd_hda_intel          23296  2
> snd_hda_codec          95872  1 snd_hda_intel
> ehci_hcd               38920  0
> intel_agp              26652  1
> agpgart                38476  2 nvidia,intel_agp
> i2c_i801               12812  0
> i2c_core               25344  11
> cx88xx,bttv,i2c_algo_bit,lirc_i2c,tda9887,saa7115,msp3400,tuner,pvrusb2,ivtv_tveeprom,i2c_i801
> snd_pcm               109700  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
> snd_timer              31108  2 snd_seq,snd_pcm
> snd                    71300  12
> snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
> soundcore              13920  1 snd
> uhci_hcd               39440  0
> snd_page_alloc         15112  2 snd_hda_intel,snd_pcm
> generic                 8452  0 [permanent]
> shpchp                100228  0
> pci_hotplug            32188  1 shpchp
> usbcore               126848  5 usbhid,pvrusb2,ehci_hcd,uhci_hcd
> ip6t_REJECT             9728  3
> ipt_REJECT              9984  3
> ipt_state               5888  12
> iptable_mangle          6784  0
> iptable_nat            27188  0
> iptable_filter          6912  1
> ip6table_mangle         6272  0
> ip_conntrack           48872  2 ipt_state,iptable_nat
> ip_tables              25344  8
> ipt_pkttype,ipt_LOG,ipt_limit,ipt_REJECT,ipt_state,iptable_mangle,iptable_nat,iptable_filter
> ip6table_filter         6656  1
> ip6_tables             23680  3 ip6t_REJECT,ip6table_mangle,ip6table_filter
> ipv6                  280192  341 ip6t_REJECT
> parport_pc             45252  1
> lp                     15780  0
> parport                40392  2 parport_pc,lp
> nls_utf8                6016  1
> ntfs                  202896  1
> dm_mod                 63004  0
> reiserfs              269424  1
> fan                     8964  0
> thermal                18696  0
> processor              31720  1 thermal
> ata_piix               13956  0
> sg                     42528  0
> ahci                   17156  3
> sata_sil               13572  0
> libata                 55428  3 ata_piix,ahci,sata_sil
> it821x                 12804  0 [permanent]
> piix                   14596  0 [permanent]
> sd_mod                 23808  4
> scsi_mod              142952  4 sg,ahci,libata,sd_mod
> ide_disk               22656  0
> ide_core              136528  5 ide_cd,generic,it821x,piix,ide_disk
>
>
> PC-MIEPHOS: # ps auxw | grep lirc
> root      5192  0.0  0.0      0     0 ?        S    21:11   0:00 [lirc_dev]
> root      5311  0.0  0.0   1932   708 pts/1    S+   21:13   0:00 grep lirc

This looks OK.  Both prvusb2 and lirc_i2c are loaded.

You should check /dev/lirc* for something like:

[root at firkraag ~]# ls -l /dev/lirc*
lrwxrwxrwx  1 root root     5 Jan 26 22:31 /dev/lirc -> lirc0
crw-rw----  1 root root 61, 0 Jan 22 20:40 /dev/lirc0

Now, you just need to get the lirc package to run.

>
> I don't know wheather it helps you.
>
> mfg miephos
>
> Am Mittwoch, 25. Januar 2006 12:51 schrieb Ingo Flaschberger:
>> Hey,
>>
>> and that also:
>> ps auxw | grep lirc
>>
>> bye,
>>
>>  	ingo flaschberger

-- 
Roger J. Allen                                     Voice:  (312)-587-0690
Internet: rja at rogera.net                             FAX:  (312)-587-0691


More information about the pvrusb2 mailing list