After more digging it seems to be a permission error. If run with sudo it works 
on the server edition. The webcam mount has an access control list which allows 
users to access the webcam on the desktop edition. On the server edition there 
are no access control list associated with the webcam, so only root can access 
it. This is from the desktop edition where the webcam works fine, note the plus 
sign after the permissions which indicate that there's a access control list 
associated with the file.

lu...@751-115584a:~$ ls -o /dev | grep video
crw-rw----+ 1 root  81,   0 2010-12-22 10:55 video0

lu...@751-115584a:~$ getfacl /dev/video0
getfacl: Removing leading '/' from absolute path names
# file: dev/video0
# owner: root
# group: video
user::rw-
user:lukeo:rw-
group::rw-
mask::rw-
other::---

This is from the server edition where the webcam fails, note the missing plus 
sign after the permissions indicating that no access control list is associated 
with that file. I haven't tried the Epiphan yet but I assume it will have the 
same issue.

i...@testcaptureagent:~$ ls -o /dev | grep video
crw-rw---- 1 root  81,   0 2010-12-22 10:36 video0

Anyone familiar with access control lists? This is my first time dealing with 
them. Not sure how the access control list was setup on the desktop edition, 
maybe that same method can be used to setup the list on the server edition. Or 
maybe just setting it up manually would be better? Or just changing the file 
permissions itself rather than using the list?

All the best,

Luke


-----Original Message-----
From: [email protected] on behalf of Adam Mckenzie
Sent: Tue 12/21/2010 2:39 PM
To: Matterhorn Users
Subject: Re: [Matterhorn-users] Having issues with the Trunk version.
 
Hi Luke,

Looking at the post you made on the Ubuntu forums have you tried using a
pipeline with a filesink instead of an xvimagesink? Something like:

gst-launch v4l2src device=/dev/video0 ! ffenc_mpeg2video ! ffmux_mpegts !
filesink location=hello.mpg

Also what does it print out when you run:
vl4-info /dev/video0 or wherever the webcam happens to load to?

Thanks,
Adam

On Tue, Dec 21, 2010 at 1:50 PM, Luke Olson <[email protected]>wrote:

> For anyone interested I've posted the question on the Ubuntu forums as
> well.
>
> http://ubuntuforums.org/showthread.php?p=10265118
>
> Luke
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Luke
> Olson
> Sent: Tuesday, December 21, 2010 1:30 PM
> To: Matterhorn Users
> Subject: Re: [Matterhorn-users] Having issues with the Trunk version.
>
> I tried to get webcams to work on Ubuntu Server by installing all
> relevant packages, tried both desktop and server kernels, made sure all
> modules were loaded, etc. Though with no success. Sandeep is working on
> it as well as we don't really want to deploy a bunch of capture agents
> using the desktop version of Ubuntu (shorter support lifespan, uses more
> resources, takes longer to install and update).
>
> This will be an issue for anyone else wanting to use a webcam with the
> Ubuntu capture agent in future versions of Matterhorn (which seems like
> quite a few wanting to use webcams and UVC cameras). So whether we
> discover the solution later or if someone else already has, it would
> make a good addition to the Wiki. I'll be sure to ask the Ubuntu
> community but wanted to check here in case someone else has already run
> into the same issue because the likelihood is high.
>
> All the best,
>
> Luke
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Christopher Brooks
> Sent: Tuesday, December 21, 2010 12:04 PM
> To: Matterhorn Users
> Subject: Re: [Matterhorn-users] Having issues with the Trunk version.
>
> On Tue, 21 Dec 2010 12:35:54 -0500
> Sandeep Tamrakar <[email protected]> wrote:
>
> >
> > Hello, I work at Texas A&M University-Commerce under Luke. We have
> > been trying to figure out the way to make the USB camera to work on
> > the server version of Ubuntu 10.04. However, it has been a pain to
> > understand why it was not working. Then we tried installing the fresh
> > desktop version of Ubuntu and hey it works. We believe desktop
> > version is not what we want to use for the lecture capture agent. So
> > do you all have any ideas what might be wrong with the server version
> > not supporting the camera. (we are using Logitech C910). Thanks,
> > Sandeep Tamrakar
>
> Hi Sandeep,
>
> I think the ubuntu forums would be better off to help with this, unless
> someone here is using a similar camera on ubuntu...
>
> Chris
>
> --
> Christopher Brooks, BSc, MSc
> ARIES Laboratory, University of Saskatchewan
>
> Web: http://www.cs.usask.ca/~cab938 <http://www.cs.usask.ca/%7Ecab938>
> Phone: 1.306.966.1442
> Mail: Advanced Research in Intelligent Educational Systems Laboratory
>     Department of Computer Science
>     University of Saskatchewan
>     176 Thorvaldson Building
>     110 Science Place
>     Saskatoon, SK
>     S7N 5C9
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>



-- 
Adam McKenzie
MSc Student
ARIES Laboratory, University of Saskatchewan

Web: http://aries.usask.ca/aiwiki/Adam_McKenzie
Mail: Advanced Research in Intelligent Educational Systems Laboratory
     Department of Computer Science
     University of Saskatchewan
     176 Thorvaldson Building
     110 Science Place
     Saskatoon, SK
     S7N 5C9

<<winmail.dat>>

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to