[mythtv-users] Adding a second PVR-250

Bryan Ware bryan at hb-computers.com
Sun Aug 29 10:29:01 EDT 2004


I would have to agree with Jarod, those commands aren't in your path.
Try '/sbin/insmod ivtv' and '/sbin/lsmod'. If that doesn't work, then
you need to find were those commands are, you need them. Run 'updatedb'
aand once that is done, run 'locate insmod' and 'locate lsmod'

Let me know what happens.
Bry

On Sun, 2004-08-29 at 02:37, Jon Kunze wrote:
> Ok, when I try to run "lsmod ivtv/" I get this:
> 
> [root at localhost mythtv]# insmod ivtv/
> bash: insmod: command not found
> 
> When I run lsmod I get:
> 
> [root at localhost mythtv]# lsmod
> bash: lsmod: command not found
> 
> And when I run 'ls -l /dev/video*" I get this:
> 
> [root at localhost mythtv]# ls -l /dev/video*
> crw-------  1 mythtv root 81, 0 Sep 15  2003 /dev/video0
> crw-------  1 mythtv root 81, 1 Sep 15  2003 /dev/video1
> crw-------  1 mythtv root 81, 2 Sep 15  2003 /dev/video2
> crw-------  1 mythtv root 81, 3 Sep 15  2003 /dev/video3
> 
> /dev/video:
> total 0
> crw-------  1 mythtv root 10, 204 Sep 15  2003 em8300
> crw-------  1 mythtv root 10, 206 Sep 15  2003 em8300_ma
> crw-------  1 mythtv root 10, 205 Sep 15  2003 em8300_mv
> crw-------  1 mythtv root 10, 207 Sep 15  2003 em8300_sp
> 
> /dev/video1394:
> total 0
> crw-------  1 root root 171, 16 Sep 15  2003 0
> crw-------  1 root root 171, 17 Sep 15  2003 1
> crw-------  1 root root 171, 18 Sep 15  2003 2
> crw-------  1 root root 171, 19 Sep 15  2003 3
> 
> 
> On Sat, 28 Aug 2004 23:14:09 -0400, Bryan Ware <bryan at hb-computers.com> wrote:
> > Ok, that is a great start, I need the output of the following:
> > 
> > lsmod
> > ls -l /dev/video* (note the astrik)
> > 
> > This will let me know if the module for ivtv is loading, and if the
> > character device exists and has the correct permissions.
> > 
> > This should be done after run the following command, 'insmod ivtv'
> > 
> > Let me know if you get an error when you insmod ivtv. I also would like
> > to see your modules.conf, just attach it.
> > 
> > Bryan
> > 
> > 
> > 
> > 
> > On Sat, 2004-08-28 at 15:29, Jon Kunze wrote:
> > > Ok, When I try to run the test capture, it doesn't work. Here is the output:
> > >
> > > [root at localhost dev]# cat /dev/video0 > test.mpg
> > > cat: /dev/video0: No such device
> > >
> > > And then, I did get the output from my "lvpci -vv" but I'm not totally
> > > sure what to do with it.
> > >
> > > 01:06.0 Multimedia video controller: Internext Compression Inc iTVC15
> > > MPEG-2 Encoder (rev 01)
> > >         Subsystem: Hauppauge computer works Inc. WinTV PVR-250
> > >         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> > > ParErr- Stepping- SERR- FastB2B-
> > >         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium
> > > >TAbort- <TAbort- <MAbort- >SERR- <PERR-
> > >         Latency: 32 (32000ns min, 2000ns max), cache line size 08
> > >         Interrupt: pin A routed to IRQ 5
> > >         Region 0: Memory at d4000000 (32-bit, prefetchable) [size=64M]
> > >         Capabilities: [44] Power Management version 2
> > >                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> > > PME(D0-,D1-,D2-,D3hot-,D3cold-)
> > >                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> > >
> > > What exactly does all this mean? And where is the relevant information
> > > that I'm looking for.
> > >
> > > Also, when I ran: "mknod /dev/video0 c 810" I got this:
> > >
> > > [root at localhost dev]# mknod /dev/video0 c 81 0
> > > mknod: `/dev/video0': File exists
> > >
> > > Finally, when I run "ls -l /dev/video" I get this:
> > >
> > > [root at localhost mythtv]# ls -l /dev/video
> > > total 0
> > > crw-------  1 mythtv root 10, 204 Sep 15  2003 em8300
> > > crw-------  1 mythtv root 10, 206 Sep 15  2003 em8300_ma
> > > crw-------  1 mythtv root 10, 205 Sep 15  2003 em8300_mv
> > > crw-------  1 mythtv root 10, 207 Sep 15  2003 em8300_sp
> > >
> > > Hopefully you guys can piece all this jibberish together so that I can
> > > figure something out. Thanks so much for your help thus far, i really
> > > do appreciate it.
> > >
> > >
> > > On Fri, 27 Aug 2004 21:35:27 -0400, Bryan Ware <bryan at hb-computers.com> wrote:
> > > > K, can you get me the output from lsmod once you attempt to start the
> > > > backend? Can you get me the output from  the following, `ls -l
> > > > /dev/video*' I also copied my modules.conf file as you requested.
> > > >
> > > > # ivtv modules setup
> > > > alias char-major-81 videodev
> > > > alias char-major-81-0 ivtv
> > > > alias char-major-81-1 ivtv
> > > > options ivtv ivtv_debug=1 cardtype=1,2 mpg_buffers=90
> > > > options tuner type=2 # NTSC tuner
> > > > options msp3400 once=1 simple=1
> > > > add below ivtv msp3400 saa7115 tuner
> > > > add above ivtv lirc_dev lirc_atiusb
> > > >
> > > > I use a Lola remote hence the atiusb lirc driver. Let me know ifthis
> > > > helps.
> > > >
> > > > Bryan
> > > >
> > > >
> > > >
> > > > On Fri, 2004-08-27 at 15:06, Jon Kunze wrote:
> > > > > Ok, I just tried starting up the backend server after upgrading the
> > > > > drivers, but before installing the second card. This is right after
> > > > > using synaptic to install the updated firmward and such. I get this
> > > > > out when starting the backend the first time:
> > > > >
> > > > > [root at localhost mythtv]# mythbackend
> > > > > Starting up as the master server.
> > > > > 2004-08-27 15:03:33 Channel::Open(): Can't open: /dev/video0
> > > > > /dev/video0: No such device
> > > > > 2004-08-27 15:03:33 Channel::Open(): Can't open: /dev/video0
> > > > > /dev/video0: No such device
> > > > > Couldn't find input: Tuner 0 on card
> > > > > 2004-08-27 15:03:33 mythbackend version: 0.15.20040525-1 www.mythtv.org
> > > > > 2004-08-27 15:03:33 Enabled verbose msgs : important general
> > > > > 2004-08-27 15:03:35 Found changes in the todo list.
> > > > > 2004-08-27 15:03:36 Scheduled 100 items in 0.803498 seconds.
> > > > > 2004-08-27 15:03:36 Seem to be woken up by USER
> > > > >
> > > > > Do I need to go back into the myth setup and reconfigure the first
> > > > > capture card? I figured I should try and see if the first one was
> > > > > working again at this point before attempting to put the second one
> > > > > in, and unfourtunately it is not.
> > > > >
> > > > > On Fri, 27 Aug 2004 14:59:28 -0400, Jon Kunze <jon99ut at gmail.com> wrote:
> > > > > > Ok, I'm about half way through these instructions you gave me, and I'd
> > > > > > first like to say THANK YOU! The simplistic nature of the instructions
> > > > > > has been great for me, I really appreciate it. Second, any chance you
> > > > > > could send me your modules.conf file so I can use it as a reference
> > > > > > when modifying mine? I would appreciate it a great deal. Thanks again.
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Fri, 27 Aug 2004 08:59:11 -0400, Bryan Ware <bryan at hb-computers.com> wrote:
> > > > > > > OK, I will try the best that I can.
> > > > > > >
> > > > > > > First boot to single user, this can me done by pressing 'e' when the
> > > > > > > grub screen appears. If you have a password set, then press 'p' and
> > > > > > > enter your password. Select the middle line and press 'e' to edit it. At
> > > > > > > the end of the line, add the word 'single' and press enter. now press
> > > > > > > 'b' to boot to it. Once yo are a the prompt, type 'chkconfig mythbackend
> > > > > > > off' which will prevent the backend from starting and loading the ivtv
> > > > > > > drivers. now type telinit 5 to run your system in X. Once it is in X,
> > > > > > > you need to remove the old ivtv drivers, you can do it from the command
> > > > > > > line, but it is much easier to do it via synaptic. If you don't have
> > > > > > > that installed, the open a terminal window and type 'apt-get install
> > > > > > > syanptic'. Once installed or if installed, open the terminal again and
> > > > > > > type synaptic. once that is open, do a 'find' and search for ivtv. Set
> > > > > > > all the packages for ivtv to be removed and the 'apply' the changes.
> > > > > > >
> > > > > > > With that done, close out synaptic and go back to the terminal window.
> > > > > > > cd to /etc/apt, and vi the sources.list file. You want the change the
> > > > > > > line the following line:
> > > > > > > rpm    http://apt.physik.fu-berlin.de fedora/1/en/i386 at-stable
> > > > > > > to this:
> > > > > > > rpm    http://apt.physik.fu-berlin.de fedora/1/en/i386 at-bleeding
> > > > > > > Once you have done that exit out of vi (:wq) and update apt-get (apt-get
> > > > > > > update). Now you need to get the following ivtv drivers
> > > > > > > ivtv-0.1.10-40_pre2_ck100m.rhfc1.at. Again, you can do this by command
> > > > > > > line, but it is far easir to search for ivtv in synaptic. Here are the
> > > > > > > rpms installed on my machine:
> > > > > > >
> > > > > > > ivtv-0.1.10-40_pre2_ck100m.rhfc1.at
> > > > > > > perl-Video-ivtv-0.12-5.1.rhfc1.at
> > > > > > > kernel-module-ivtv-2.4.22-1.2197.nptl_51.rhfc1.at-0.1.10-40_pre2_ck100m.rhfc1.at
> > > > > > > ivtv-firmware-2.02.023-3.at
> > > > > > >
> > > > > > > You will want to get these (Get your kernel Module) for your system.Once
> > > > > > > you find them in syanptic, 'apply' the changes and close synaptic. I
> > > > > > > would go ahead and reboot your system now.
> > > > > > >
> > > > > > > Once your computer reboots, you will need to log in and open a terminal
> > > > > > > window again. Now do a lspci -vv to find out the order of your cards,
> > > > > > > this is important because we need to modify your modules.conf file to
> > > > > > > set the cardtype= parameter. Here is the relevant output from my system.
> > > > > > >
> > > > > > > 02:0b.0 Multimedia video controller: Internext Compression Inc iTVC15
> > > > > > > MPEG-2 Encoder (rev 01)
> > > > > > >         Subsystem: Hauppauge computer works Inc.: Unknown device 4801
> > > > > > >         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
> > > > > > > ParErr- Stepping- SERR+ FastB2B-
> > > > > > >         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> > > > > > > <TAbort- <MAbort- >SERR- <PERR-
> > > > > > >         Latency: 64 (32000ns min, 2000ns max), cache line size 08
> > > > > > >         Interrupt: pin A routed to IRQ 10
> > > > > > >         Region 0: Memory at f0000000 (32-bit, prefetchable) [size=64M]
> > > > > > >         Capabilities: [44] Power Management version 2
> > > > > > >                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> > > > > > > PME(D0-,D1-,D2-,D3hot-,D3cold-)
> > > > > > >                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> > > > > > >
> > > > > > > 02:0c.0 Multimedia video controller: Internext Compression Inc iTVC16
> > > > > > > (CX23416) MPEG-2 Encoder (rev 01)
> > > > > > >         Subsystem: Hauppauge computer works Inc.: Unknown device 4801
> > > > > > >         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
> > > > > > > ParErr- Stepping- SERR+ FastB2B-
> > > > > > >         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> > > > > > > <TAbort- <MAbort- >SERR- <PERR-
> > > > > > >         Latency: 64 (32000ns min, 2000ns max), cache line size 08
> > > > > > >         Interrupt: pin A routed to IRQ 11
> > > > > > >         Region 0: Memory at ec000000 (32-bit, prefetchable) [size=64M]
> > > > > > >         Capabilities: [44] Power Management version 2
> > > > > > >                 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> > > > > > > PME(D0-,D1-,D2-,D3hot-,D3cold-)
> > > > > > >                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> > > > > > >
> > > > > > > The first card here is my Retail pvr250, the second is my pvr250mce.
> > > > > > > when you modify your modules.conf file, you have to modify the following
> > > > > > > line with your cardtypes:
> > > > > > >
> > > > > > > options ivtv ivtv_debug=1 cardtype=1,2 mpg_buffers=90
> > > > > > >
> > > > > > > I had to change the types until I got to this and it worked. once you
> > > > > > > have modified it, try to start the backend service, 'service mythbackend
> > > > > > > start'. If it locks up, hard reboot and change the cardtype. If your
> > > > > > > cards are in the same order as mine, it should work right off the bat.
> > > > > > >
> > > > > > > Good luck,
> > > > > > > Bryan
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > Ok, I understand about half of what you're saying. Unfourtunately I'm
> > > > > > > > fairly "green" when it comes to linux and don't know all the ins and
> > > > > > > > outs of the situation. Could you possibly break it down for a newbie
> > > > > > > > :D I'd love to just get the first card working again, let along
> > > > > > > > getting the second card recording as well. Thanks for all the help,
> > > > > > > > and hopefully I can get this resolved and recording again.
> > > > > > > >
> > > > > > > > ______________________________________________________________________
> > > > > > > > _______________________________________________
> > > > > > > > mythtv-users mailing list
> > > > > > > > mythtv-users at mythtv.org
> > > > > > > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > > > > > > --
> > > > > > > Bryan Ware <bryan at hb-computers.com>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > mythtv-users mailing list
> > > > > > > mythtv-users at mythtv.org
> > > > > > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > > ______________________________________________________________________
> > > > > _______________________________________________
> > > > > mythtv-users mailing list
> > > > > mythtv-users at mythtv.org
> > > > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > > > --
> > > > Bryan Ware <bryan at hb-computers.com>
> > > >
> > > >
> > >
> > > ______________________________________________________________________
> > > _______________________________________________
> > > mythtv-users mailing list
> > > mythtv-users at mythtv.org
> > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> > --
> > Bryan Ware <bryan at hb-computers.com>
> > 
> >
> 
> ______________________________________________________________________
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-- 
Bryan Ware <bryan at hb-computers.com>



More information about the mythtv-users mailing list