View previous topic :: View next topic |
Author |
Message |
djone n00b
Joined: 08 Apr 2005 Posts: 8
|
Posted: Fri May 19, 2006 8:54 pm Post subject: Lirc |
|
|
Okay, I looked all over and haven't found a solution that works yet.
I have a pvr150.. And I have been trying to get it work for sometime now.
Here is the problem. At first ivtv was recognizing my card as a pvr150 no problem. So I installed all the stuff for lirc. However, it would never create the lirc/0 or lirc0 devices.
So then I rebooted, made some changes, and now ivtv recognizes my card as a pvr250, and the device still won't be created. Please help.
I don't know what to do next. |
|
Back to top |
|
|
DooBeDooBeDo Apprentice
Joined: 21 Aug 2002 Posts: 220 Location: UK
|
|
Back to top |
|
|
djone n00b
Joined: 08 Apr 2005 Posts: 8
|
Posted: Sat May 20, 2006 9:35 pm Post subject: |
|
|
Well I did that one already. Right now here is what I got.
IVTV does this now (it should be pvr150):
Quote: | ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.4.2 (tagged release) loading
ivtv: Linux version: 2.6.16-gentoo-r7 SMP preempt PENTIUM4 gcc-3.4
ivtv: In case of problems please include the debug info between
ivtv: the START INIT IVTV and END INIT IVTV lines, along with
ivtv: any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected WinTV PVR 250 card (cx23416 based)
ACPI: PCI Interrupt 0000:05:09.0[A] -> GSI 18 (level, low) -> IRQ 16
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
tveeprom 0-0050: Hauppauge model 26132, rev C599, serial# 8911745
tveeprom 0-0050: tuner model is TCL 2002N 5H (idx 99, type 50)
tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 0-0050: audio processor is CX25841 (idx 35)
tveeprom 0-0050: decoder processor is CX25841 (idx 2
tveeprom 0-0050: has no radio, has IR remote
tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
ivtv0 warning: i2c client addr: 0x21 not found for command 0x8004646b!
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618!
ivtv0 warning: i2c client addr: 0x21 not found for command 0xc0045627!
ivtv0 warning: i2c client addr: 0x40 not found for command 0x40086d11!
ivtv0 warning: i2c client addr: 0x40 not found for command 0x80287610!
ivtv0 warning: i2c client addr: 0x40 not found for command 0x40287611!
tuner 0-0061: tuner type not set
ivtv0 warning: i2c client addr: 0x40 not found for command 0x40085618!
ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618!
ivtv0 warning: i2c client addr: 0x40 not found for command 0x80287610!
ivtv0 warning: i2c client addr: 0x40 not found for command 0x40287611!
ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045613!
tuner 0-0061: tuner type not set
ivtv0 warning: i2c client addr: 0x40 not found for command 0x402c5639!
ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045612!
ivtv0 warning: i2c client addr: 0x40 not found for command 0x80287610!
ivtv0 warning: i2c client addr: 0x40 not found for command 0x40287611!
ivtv0: Initialized WinTV PVR 250, card #0
ivtv: ==================== END INIT IVTV ====================
|
Then when I load lirc_dev or lirc_pvr150 I get this:
Quote: | lirc_dev: IR Remote Control driver registered, at major 61
lirc_pvr150: ivtv i2c driver #0: no devices found
|
Please help.. I need MythTv!! I hate Tivo! |
|
Back to top |
|
|
cstiehl n00b
Joined: 07 Mar 2004 Posts: 12 Location: Pgh, PA
|
Posted: Sun May 21, 2006 4:32 pm Post subject: |
|
|
Not familiar with the 150...
I think you want to add this to make.conf:
Code: | mythtv@mythback ~ $ grep LIRC /etc/make.conf
LIRC_OPTS="--with-driver=hauppauge"
mythtv@mythback ~ $
|
From emerge output:
Code: | * Found sources for kernel version:
* 2.6.16-gentoo-r7
* By default this package will not compile a driver for your hardware
* unless you specify LIRC_OPTS. The best place to save this is in
* /etc/make.conf
* For example, PVR-x50 users should add the following to /etc/make.conf
* LIRC_OPTS="--with-driver=hauppauge"
* Possible options are listed below:
# You have to know, which driver you want;
# --with-driver=X
# where X is one of:
# none, all, act200l, animax, atilibusb, atiusb, audio, avermedia, avermedia_vdomate,
# avermedia98, bestbuy, bestbuy2, breakoutbox, bte, caraca, chronos, comX,
# creative_infracd, dsp, cph03x, cph06x, creative, devinput, exaudio, flyvideo,
# gvbctv5pci, hauppauge, hauppauge_dvb, hercules_smarttv_stereo, igorplugusb, irdeo,
# irdeo_remote, irman, irreal, it87, knc_one, kworld, leadtek_0007, leadtek_0010,
# livedrive_midi, livedrive_seq, logitech, lptX, mceusb, mediafocusI, mp3anywhere,
# packard_bell, parallel, pcmak, pcmak_usb, pctv, pixelview_bt878, pixelview_pak,
# pixelview_pro, provideo, realmagic, remotemaster, sa1100, sasem, serial,
# silitek, sir, slinke, tekram, tekram_bt829, tira, tvbox, udp, uirt2, uirt2_raw
# winfast_tv2000 is now leadtek_0010, streamzap |
|
|
Back to top |
|
|
djone n00b
Joined: 08 Apr 2005 Posts: 8
|
Posted: Mon May 22, 2006 5:36 pm Post subject: |
|
|
That was the first thing I did. If I do that, I don't get the lirc_pvr150 driver, just the normal ones. But I don't get any devices just the normal /dev/lirc. Thats it. And now whenever I load the ivtv driver, I get this:
Code: | ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.4.2 (tagged release) loading
ivtv: Linux version: 2.6.16-gentoo-r7 SMP preempt PENTIUM4 gcc-3.4
ivtv: In case of problems please include the debug info between
ivtv: the START INIT IVTV and END INIT IVTV lines, along with
ivtv: any module options, when mailing the ivtv-users mailinglist.
ivtv: ==================== END INIT IVTV ====================
|
What am I doing wrong, I really don't feel like giving up, and I really don't feel like doing a fresh install again. |
|
Back to top |
|
|
cstiehl n00b
Joined: 07 Mar 2004 Posts: 12 Location: Pgh, PA
|
Posted: Mon May 22, 2006 6:03 pm Post subject: |
|
|
My bust, like I said not familiar with the 150, I was looking at the latest ebuild and the lirc cvs and they did not reference the 150 at all.
I ASSUMEed it was same as 250. I read the referenced post and see there is a 3rd party module for the 150.
anyways... as far as ivtv goes:
Make sure you have read the README, specifically "NOTE 4" and use the correct version of ivtv.
Quote: | $ pwd
/installs/ivtv/ivtv-0.4.4
cstiehl@mythback ivtv-0.4.4 $ cat README
This is the README for the ivtv module suite.
The primary goal of the IVTV project is to provide a "clean room" Linux
Open Source driver implementation for video capture cards based on the
iCompression iTVC15 or Conexant CX23415/CX23416 MPEG Codec. Examples of
such cards are the Hauppauge PVR 150/250/350/500 series of MPEG video
capture cards, the Hauppauge "freestyle" and the AVerMedia M179 AVerTV.
A special note regarding the PVR-500: this card basically consists of two
PVR-150 cards on one board but with the following difference: Radio,
Composite video and S-video are only hooked up to the first PVR-150 instance.
Features:
* Hardware mpeg2 capture of broadcast video (and sound) via the tuner or
s-video/audio line-in
* Hardware mpeg2 capture of FM radio where hardware support exists
* Supports NTSC, PAL, SECAM with stereo sound
* Provides hardware mpeg2 playback
* Provides comprehensive OSD (On Screen Display: ie. graphics overlaying the
video signal)
* Provides a framebuffer (allowing X applications to appear on the video
device)
NOTE 1: Starting with ivtv-0.4.1 kernel hotplug support is used to load the
firmware if the kernel supports this. Firmware hotplug support appeared in
kernel 2.4.23. The names for the firmware files also changed in the 0.4.1 release
to keep them compatible with the 0.5.x series which is preparing the driver for
inclusion in the linux kernel.
NOTE 2: The PVR150/500 inputs (e.g. tuner, composite 0/1 or S-Video 0/1 input)
were reordered in 0.4.1. You will have to correct the input setting of
applications such as MythTV that make use of this.
NOTE 3: If you have kernel 2.6.15 then only the ivtv modules are built if you
have enabled the supporting audio/video modules in the kernel (config options
CONFIG_VIDEO_AUDIO_DECODER and CONFIG_VIDEO_DECODER).
The supporting audio/video modules are now part of that kernel and so the
kernel modules can be used instead of the ivtv-supplied ones.
NOTE 4: VERY IMPORTANT: the ivtv-0.4 series is for the 2.6.15 and lower kernels
ONLY! For the 2.6.16 kernel use ivtv-0.6.x. For still newer kernels please refer
to www.ivtvdriver.org for more information when available.
If you use the kernel modules, then make sure you have removed any old
ivtv-based msp3400, saa7115, saa7127, cx25840, cs53l32a, wm8775, tuner,
tveeprom and tda9887 modules. |
That was the good news:
Once you have the correct version of ivtv I think you will be able to emerge the latest lirc 0.8.0 ebuild or compile the latest cvs which both have some patches to fix probs with kernel 2.6.16 as long as you do with one module and not "--driver=all"
Problem is mythtvfrontend and irexec, mplayer will segfault once you get lircd up and running with this ver.
Watch these threads for more:
https://forums.gentoo.org/viewtopic-p-3331032.html#3331032
http://sourceforge.net/mailarchive/forum.php?thread_id=10443823&forum_id=5339 |
|
Back to top |
|
|
n.kolev n00b
Joined: 31 Jul 2005 Posts: 7 Location: Europe/Sofia
|
Posted: Thu Jul 20, 2006 11:31 pm Post subject: Success! |
|
|
I finally got it working, here is what did the trick:
1. I keyworded ~amd64 lirc-0.8.0-r3, then emerge it,
2. Edited /etc/conf.d/lircd to:
Code: | LIRCD_OPTS="-d /dev/lirc/0" |
and /etc/udev/rules.d/10-lirc.rules to:
Code: | KERNEL=="lirc[0-9]*", NAME="lirc/%n" |
3. Downloaded the cvs version of lirc, ./autogen.sh, ./setup.sh (driver:hauppauge), compiled it and cp lirc_i2c.ko and lirc_dev.ko to /lib/modules/$(uname -r)/misc/
4. Started the lircd service and modprobe lirc_i2c --debug=1
5. Used this as a /etc/lircd.conf.
6. Tested with irw - it worked.
7. Setup a .lircrc for use with mplayer, xine and vlc.
System specs:
pvr150, Gentoo 2006.1, amd64, 2.6.17-gentoo-r3, ivtv-0.7, glibc-2.4-r3, gcc-4.1.1. _________________ "For what shall it profit a man, if he shall gain the whole world, and
lose his own soul?"--Mark 8:3 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|