[AG-TECH] Fedora C2 & Ospreys

ULM AccessGrid accessgrid at ulm.edu
Mon Jul 12 13:42:25 CDT 2004


The port problem has been filed under bug 1067.

I have tried everything to fix the port problem.  Even if I hardcode the
values it reverts back to Composite1.

Thanks

Adam

-----Original Message-----
From: owner-ag-tech at mcs.anl.gov [mailto:owner-ag-tech at mcs.anl.gov] On Behalf
Of Fred Dech
Sent: Monday, July 12, 2004 1:07 PM
To: ULM AccessGrid
Cc: ag-tech at mcs.anl.gov
Subject: Re: [AG-TECH] Fedora C2 & Ospreys

yeah.  i believe the video port issu is a feature that should be
investigated further.

all this time i assumed i wasn't transmitting video because my two sources
don't show up on VIC.  i actually decided to test with another node to see
what came up when i was swapping out S-Video for composite, etc.  it turns
out that when i've configured my VideoProducerServices to S-Video, rather
than TV (i have to do this whenever i start up the Venue Client, but it
sticks
when switching venues), and i've switched my video transmission ports from
composite1 to S-Video each time i enter a venue, then i actually am
transmitting correct (more or less) video to other clients connected to the
venue.
i just can't see my video sources at my node.
i disabled my firewall, thinking that this might be caused by blocked
loopbacks as was discussed relating to RAT last week.  but that is not the
problem, apparently, since VIC still doesn't display my streams.

'anybody else running into this?

thanks.

--fred

On Mon, Jul 12, 2004 at 10:43AM, ULM AccessGrid said:
> I have sort of the same problem.  My VICs all default to composite1.  If I
> manually change the port in the vic menu to Composite2, I see my video
just
> fine.  As soon as I change rooms it defaults back to Composite1.  It's
like
> it ignores the node management resource settings for the ports.  
> 
> Any other linux users running 2.2 have this problem???
> 
> Note, I do not have opprey cards.  I am running pinnacle PCTV Pro cards.
> This is because they support PCI-X slots (which my machines have more of
the
> regular pci slots)  But the problem sounds the same :-)
> 
> Thanks
> 
> Adam
> 
> -----Original Message-----
> From: owner-ag-tech at mcs.anl.gov [mailto:owner-ag-tech at mcs.anl.gov] On
Behalf
> Of Fred Dech
> Sent: Monday, July 12, 2004 10:00 AM
> To: Andrew Daviel
> Cc: AG Tech List
> Subject: Re: [AG-TECH] Fedora C2 & Ospreys
> 
> On Fri, Jul 09, 2004 at 06:15PM, Andrew Daviel said:
> > On Fri, 9 Jul 2004, Fred Dech wrote:
> > 
> > > i believe that i have a configuration problem aside from AG2.2 with
> these
> > > Osprey100 cards.
> > >
> > > when i run xawtv, should i be able to see the output of one of these
> > > cards?  i've tried using the -device option but haven't found
> > > anything it would accept.
> > 
> > xawtv = Linux ??
> >
> it's part of the AG2.2 install prereqs, if i remember right.
>  
> > If so, there should be entries in the syslog and the bttv module should
be
> > installed (lsmod |grep bttv) . There's install options for bttv.o to set
> > the card type, BTW, if it's not autodetected (affects which port is
> assigned to TV, s-video
> > etc.)
> > 
> > May need  "alias char-major-81 bttv" in /modules.comf (should be set by
> > kudzu) to install module automatically
> > 
> > Cards should also show up with "lspci", e.g.
> > 00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video
> >  Capture (rev 02)
> > 
> > Cards should show up (nowadays) in /dev/video0, video 1 etc
> > so try xawtv -c /dev/video0. I think it still defaults to  /dev/video
> > which is now a directory.
> > 
> > It should be possible to run multiple copies of xawtv one for each card.
> > I use it a lot for testing video (and for watching TV at home ....)
> >
> thanks for the detailed description, Andrew.
> 
> this system has bttv installed, and they show up in modeprobe and lspci
> shows 2 Bt878 Video Captureres.
> 
> i'm firing up xawtv -c /dev/video0
> i'll be damned.  i can see myself.  and i'm having a bad hair day...
> huh.
> i must have been pointing toward the wrong device IDs in my previous
> attempts.
> i think i did point at /dev/video1(2) at some point and got nothing, but
> didn't bother to right-click.  it defaults to PAL and TV.  it works much
> better
> as NTSC and S-Video :-P
> 
> xawtv -c /dev/video0 and
> xawtv -c /dev/video1 both work.  
> 
> so i guess it Is an AG config problem.  i still get blue screens in my two
> sub-VICS, and i don't show up at all in the master-VIC.
> 
> i hacked at 
> /usr/lib/python2.3/site-packages/AccessGrid/Platform/unix/Config.py
> complements of Adam Taylor....
> 
>     def GetResources(self):
>     
>         deviceList = dict()
>         
>         videodevpath = '/dev'
>         v4lctlexe = '/usr/bin/v4lctl'
>         
>         if os.path.exists('/sys/class/video4linux'):
>             videodevpath = '/sys/class/video4linux'
>             # Get list of devices
>             cmd = "ls /sys/class/video4linux | grep video"
>             fh = os.popen(cmd,'r')
>             for line in fh.readlines():
>                 device = os.path.join('/dev',line.strip())
>                 deviceList[device] = None
>             fh.close()
>            ...
> 
> so i can get these two VideoProducerServices in my AG Node Managment:
> VideoProducerServices  /dev/video0    Enabled
> VideoProducerServices  /dev/video1    Enabled
> 
> Configuration for both:
> streamname Video
> port       S-VIdeo
> encoding   h261
> standard   NTSC
> 
> when i select 'Menu' on my sub-VICs, i have:
> 'Device' v4I- BT878 video (Hauppauge (bt848)) /dev/video0(1)
> 'Signal' NTSC
> 'Port' option always defaults to Composite1 whenever i change venues??
> changing it to S-Video doesn't seem to help, though.  still no me.
> 
> this is getting to be very time-consuming.
> 
> --fred




More information about the ag-tech mailing list