[AG-TECH] Fedora Core 2 video problem solved (It seems)

ULM AccessGrid accessgrid at ulm.edu
Thu Jul 8 11:39:22 CDT 2004


For those Fedora users (linux also I would think) out there that can't seem
to get the video to work correctly I think I finally figured out the
problem.  In the Config.py in the
/usr/lib/python2.3/site-packages/AccessGrid/Platform/unix directory, you
have to change one entry in it for the video devices to show up correctly.

Find the line that starts like this.

   def GetResources(self):
    
        deviceList = dict()
        
        videodevpath = '/proc/video/dev'
 
        if os.path.exists('/sys/class/video4linux'):
            videodevpath = '/sys/class/video4linux'

Under the videodevpath that original entry seems to be incorrect.  The
correct entry is '/dev'  When I changed that to /dev EVERY card started to
be seen and work correctly under Fedora2.  I assume that this is not just
Fedora but should work with all linux versions.

Also, I did use the RPM packages at
http://www.itee.uq.edu.au/~agn/ag_fedora/FC2/unstable/RPMS/
before I changed this variable so it might only work with these RPMS but I
am just not sure.  It might work with any of the fedora 2 RPMS out there.

Hope this helps some of you out.

Adam Taylor
Computing Center
University of Louisiana at Monroe.




More information about the ag-tech mailing list