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

John Hodrien johnh at comp.leeds.ac.uk
Fri Jul 16 05:14:38 CDT 2004


On Thu, 8 Jul 2004, ULM AccessGrid wrote:

> 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.

I think it'll work just fine as it is, as long as you've got the module loaded
for your cameras.  On our setup (bttv) it'll fail initially, as
/sys/class/video4linux doesn't contain the right entries.  If I run xawtv,
then try however, it works just perfectly.

jh

-- 
"Une belle fille et un demi de Kronenbourg est la cle de tous les secrets de
  l'univers, la solution a toutes nos souffrances, le remede a la condition
  humaine..."                                         -- Unknown




More information about the ag-tech mailing list