[AG-TECH] Fedora C2 & Ospreys
Fred Dech
fdech at uchicago.edu
Mon Jul 12 10:00:20 CDT 2004
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