Hello Rubén,

I had connected input to the Epiphan DVI2USB Solo, but not properly. So
you have been right. I used a Y-cable, but there wasn't a proper signal
apparently - using direct input works and it's detected with the
scripts. If it's recording, the LED flashes green/red.

I modified the current scripts from branch 1.1.x with the help of your
scripts, so what must be changed in order to work is attached.

Check results:

# LANG=POSIX
# cat /etc/lsb-release
cat: /etc/lsb-release: No such file or directory
# cat /etc/debian_version
6.0.2

So that's why "squeeze" isn't added. :)
Thanks for helping, also to Rüdiger!

Regards,

[email protected]

Am 16.09.2011 17:18, schrieb Rubén Pérez:
> Hi,
> 
> I think I know why your Epiphan card is not correctly detected: you need
> to provide an input to the card, otherwise it will not be detected as a
> v4linux device. Try plug your card to some video source and then see
> what happens. The green led indicates that the USB is plugged, but not
> the reception of a valid video feed.
> 
> The uvcvideo device (corresponding to video0) is your other video
> source, whatever it is (webcam?)
> 
> The question about the variables will help to improve the
> "debian-adapted" scripts. Though that is not a priority, I doesn't harm
> if we can get some OS-agnostic scripts for the capture agent :)
> 
> Thanks and good luck
> Rubén
> 
> 2011/9/16 matpro_fhkoeln <[email protected]
> <mailto:[email protected]>>
> 
>     Hello Rubén,
> 
>     Experiencing now problem with the devices, I switched temporarily to
>     Ubuntu 10.10, I will report results of variable check later!
> 
>     So that's all with Ubuntu 10.10 and original scripts from
>     
> https://opencast.jira.com/svn/MH/branches/1.1.x/docs/scripts/ubuntu_capture_agent/
>     through svn.
>     The Epiphan DVI2USB Solo wasn't identified with the scripts, the USB
>     camera either. Only sound appeared (but actually there are no noises
>     recorded in test captures, I will try to fix that later).
> 
>     matpro@pips04:~$ sudo ls /dev/video*
>     /dev/video0  /dev/video1
> 
>     matpro@pips04:~$ sudo v4l-info /dev/video0 > v4linfo_video0.txt
> 
>     matpro@pips04:~$ sudo v4l-info /dev/video1
>     /dev/video1: not an video4linux device
> 
>     matpro@pips04:~$ sudo lsmod | grep vga2usb
>     vga2usb              1954511  0
>     videodev               49359  3 vga2usb,usbvideo,uvcvideo
> 
>     The Epiphan DVI2USB Solo's LED is flashing in green, so I think there is
>     input and the device works. But I doesn't get input from it:
> 
>     # LANG=POSIX
>     # gst-launch v4lsrc device=/dev/video0 ! xvimagesink
>     # gst-launch v4lsrc device=/dev/video1 ! xvimagesink
>     # gst-launch v4l2src device=/dev/video0 ! xvimagesink
>     # gst-launch v4l2src device=/dev/video1 ! xvimagesink
>     (all the same, shouldn't be surprising with video1?)
>     Setting pipeline to PAUSED ...
>     ERROR: Pipeline doesn't want to pause.
>     ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
>     Could not initialise Xv output
>     Additional debug info:
>     xvimagesink.c(1789): gst_xvimagesink_xcontext_get ():
>     /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
>     Could not open display
>     Setting pipeline to NULL ...
>     Freeing pipeline ...
> 
>     # gst-launch alsasrc ! alsasink
>     Setting pipeline to PAUSED ...
>     Pipeline is live and does not need PREROLL ...
>     Setting pipeline to PLAYING ...
>     New clock: GstAudioSrcClock
>     ^CCaught interrupt -- handling interrupt.
>     Interrupt: Stopping pipeline ...
>     Execution ended after 12479365047 ns.
>     Setting pipeline to PAUSED ...
>     Setting pipeline to READY ...
>     Setting pipeline to NULL ...
>     Freeing pipeline ...
>     (this should be ok?)
> 
>     Regards,
> 
>     [email protected] <mailto:[email protected]>
> 
>     Am 16.09.2011 12:29, schrieb Rubén Pérez:
>     > The "squeeze" part is supposed to be in the variable
>     ${DIST_NAME}... Can
>     > you do a little check, for curiosity? Run this
>     >
>     > cat /etc/lsb-release
>     > cat /etc/debian_version
>     >
>     > And tell me the results of both commands. Thank you!
>     >
>     > The ZIP problem was addressed and "fixed" (actually, the exception was
>     > ignored because the zip file was well created anyway, and the problem
>     > had to do with a low-level bug in the JVM for Linux). I Though I agree
>     > with you that TrueZip has gone through a lot of changes in this
>     time and
>     > updating it wouldn't harm at all...
>     >
>     > Question: does your Epiphan DVI2USB appear at all in the scripts? I
>     > mean: are you prompted to configure it at all?
>     > Second question: when you run this command "ls /dev/video*", how many
>     > devices you can see? If you run "v4l-info /dev/videoXXX" on each
>     of the
>     > results of the previous command, do you get some "Epiphan-like"
>     output?
>     > If you don't, can you check that "lsmod | grep vga2usb" shows some
>     > output? You may be super-user to run some of those commands.
>     >
>     > Regards
>     > Rubén
>     >
>     > 2011/9/16 matpro_fhkoeln <[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected]
>     <mailto:[email protected]>>>
>     >
>     >     Hello,
>     >
>     >     I tried a couple of installation variants, but I'm not happy
>     with it.
>     >     "-DskipTests" was a good point, build was successful thereby. But
>     >     testing through http://servername:8080/capture wasn't good, I
>     couldn't
>     >     grab the output from Epiphan DVI2USB Solo (besides, has anyone
>     made some
>     >     experience with that model?).
>     >
>     >     Regarding the "new" scripts: the driver could now be loaded
>     with it. But
>     >     the mirrors for software location only worked, when I edited
>     like this
>     >     (the "squeeze" is the problem):
>     >
>     >        echo "deb ${mirrors[0]:-$DEFAULT_MIRROR} ${DIST_NAME}
>     squeeze main
>     >     contrib non-free" > $SR$
>     >        echo "deb ${mirrors[1]:-$DEFAULT_SECURITY} ${DIST_NAME}
>     >     squeeze/updates main contrib non-f$
>     >        echo "deb ${mirrors[2]:-$DEFAULT_PARTNER} ${DIST_NAME}
>     squeeze main
>     >     non-free" >> $SRC_LIST
>     >
>     >     In the end, build failure is the same, output attached again.
>     It occurs
>     >     regardless using package sun-java6-jdk or openjdk-6-jdk!
>     >     I have done some search, found this:
>     >    
>     
> http://www.mail-archive.com/[email protected]/msg00061.html
>     >    
>     http://java.net/projects/truezip/lists/users/archive/2010-11/message/3
>     >     Seems that this was a problem earlier. Maybe it helps to
>     update TrueZIP
>     >     to 6.8.4 from
>     >     http://repo1.maven.org/maven2/de/schlichtherle/truezip/6.8.4/,
>     I think.
>     >
>     >
>     >
>     >
>     >
>     >     Regards,
>     >
>     >     [email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>
>     >
>     >     Am 15.09.2011 17:09, schrieb Rubén Pérez:
>     >     > OK, here it is. I don't know if this will work on the first
>     go, but at
>     >     > least fixes the sources problem, among other details.
>     >     >
>     >     > Please run it in a "clean" system, and see what happens...
>     >     >
>     >     > Good luck!
>     >     >
>     >     > P.S: Please keep reporting any problems you find in these
>     scripts.
>     >     > Ideally I'm committing the changes to the official scripts
>     so that
>     >     they
>     >     > can work correctly in Debian and Ubuntu...
>     >     >
>     >     > El 15 de septiembre de 2011 16:25, Rubén Pérez
>     >     <[email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>
>     >     > <mailto:[email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>>> escribió:
>     >     >
>     >     >     I got the old modified files. Let me do a quick check
>     and I'll
>     >     send
>     >     >     you a copy...
>     >     >
>     >     >     Perhaps I should commit the changes to the trunk, so
>     that the
>     >     >     scripts are also Debian-compatible.
>     >     >
>     >     >     2011/9/15 Ruediger Rolf <[email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected] <mailto:[email protected]>>
>     >     >     <mailto:[email protected]
>     <mailto:[email protected]> <mailto:[email protected]
>     <mailto:[email protected]>>>>
>     >     >
>     >     >         I would say: compile it withou tests and hope that
>     it runs.
>     >     >         so simply add -DskipTests to the mvn command line.
>     >     >
>     >     >         Regards
>     >     >         Rüdiger
>     >     >
>     >     >         Am 15.09.2011 14:43, schrieb matpro_fhkoeln:
>     >     >>         Hello Rüdiger,
>     >     >>         hello Rubén,
>     >     >>
>     >     >>         I tried again with a new clean system (3rd time)
>     and got
>     >     the same error,
>     >     >>         output is attached. I used branch 1.1.x, as Rüdiger
>     >     mentioned.
>     >     >>         Rubén, have you found something in your logs regarding
>     >     installation on
>     >     >>         Debian Squeeze?
>     >     >>
>     >     >>         For comprehension, in short what I have done:
>     >     >>
>     >     >>         (debian installation all on one partition)
>     >     >>         # aptitude install openssh-server
>     >     >>         # aptitude install subversion
>     >     >>         root@pips04:/home/matpro# svn co
>     >     >>
>     >    
>     
> https://opencast.jira.com/svn/MH/branches/1.1.x/docs/scripts/ubuntu_capture_agent/
>     >     >>         [...]
>     >     >>         Ausgecheckt, Revision 10965.
>     >     >>         # nano install_dependencies.sh
>     >     >>         (parts commented out as Rubén said)
>     >     >>         # aptitude install openjdk-6-jdk
>     >     >>         # nano install.sh
>     >     >>         (changed JAVA_PATTERN=java-6-openjdk)
>     >     >>         # aptitude install alsa-utils
>     >     >>         # aptitude install v4l-conf
>     >     >>         # nano /etc/apt/sources.list
>     >     >>         [...]
>     >     >>         deb http://ftp.de.debian.org/debian squeeze main
>     contrib
>     >     >>         # aptitude update
>     >     >>         # apt-get update
>     >     >>         # aptitude install ivtv-utils
>     >     >>         # aptitude install curl
>     >     >>         # aptitude install maven2
>     >     >>         # aptitude install gstreamer0.10-alsa
>     >     >>         # aptitude install gstreamer0.10-plugins-base
>     >     >>         # aptitude install gstreamer0.10-plugins-good
>     >     >>         # aptitude install gstreamer0.10-plugins-ugly
>     >     >>         # aptitude install gstreamer0.10-ffmpeg
>     >     >>         # aptitude install ntp
>     >     >>         # aptitude install gstreamer0.10-plugins-bad
>     >     >>         # dmesg -c
>     >     >>         (camera connected, then turned on)
>     >     >>         # dmesg
>     >     >>         [ 3323.955899] usb 2-1.3: new full speed USB device
>     using
>     >     ehci_hcd and
>     >     >>         address 3
>     >     >>         [ 3324.054473] usb 2-1.3: New USB device found,
>     >     idVendor=04da,
>     >     >>         idProduct=231d
>     >     >>         [ 3324.054477] usb 2-1.3: New USB device strings:
>     Mfr=1,
>     >     Product=2,
>     >     >>         SerialNumber=3
>     >     >>         [ 3324.054480] usb 2-1.3: Product: DVC
>     >     >>         [ 3324.054482] usb 2-1.3: Manufacturer: Panasonic
>     >     >>         [ 3324.054485] usb 2-1.3: SerialNumber: 000011946045
>     >     >>         [ 3324.054597] usb 2-1.3: configuration #1 chosen
>     from 1
>     >     choice
>     >     >>         [ 3324.405998] Linux video capture interface: v2.00
>     >     >>         [ 3324.427787] uvcvideo: Found UVC 1.00 device DVC
>     >     (04da:231d)
>     >     >>         [ 3324.430249] input: DVC as
>     >     >>
>     >    
>     /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/input/input11
>     >     >>         [ 3324.430317] usbcore: registered new interface driver
>     >     uvcvideo
>     >     >>         [ 3324.430320] USB Video Class driver (v0.1.0)
>     >     >>         [ 3324.507786] usbcore: registered new interface driver
>     >     snd-usb-audio
>     >     >>         # dmesg -c
>     >     >>         (epiphan connected, with input)
>     >     >>         # dmesg
>     >     >>         [ 3394.744657] usb 2-1.1: new high speed USB device
>     using
>     >     ehci_hcd and
>     >     >>         address 4
>     >     >>         [ 3394.836756] usb 2-1.1: New USB device found,
>     >     idVendor=5555,
>     >     >>         idProduct=3411
>     >     >>         [ 3394.836761] usb 2-1.1: New USB device strings:
>     Mfr=0,
>     >     Product=0,
>     >     >>         SerialNumber=0
>     >     >>         [ 3394.836873] usb 2-1.1: configuration #1 chosen
>     from 1
>     >     choice
>     >     >>         # mkdir info_epiphan_com
>     >     >>         # wget
>     >     >>
>     >    
>     
> http://www.epiphan.com/downloads/linux/vga2usb-3.24.8.4-2.6.32-5-debian-amd64.tbz
>     >     >>         # tar -xvf vga2usb-3.24.8.4-2.6.32-5-debian-amd64.tbz
>     >     >>         # dmesg -c
>     >     >>         # modprobe videodev
>     >     >>         # insmod ./vga2usb.ko
>     >     >>         # dmesg
>     >     >>         [ 3749.513240] Epiphan Systems VGA frame grabber driver
>     >     version 3.24.8.4
>     >     >>         loaded
>     >     >>         [ 3749.536245] VGA2USB is now attached to vga2usb-0
>     >     >>         [ 3749.536275] usbcore: registered new interface driver
>     >     vga2usb
>     >     >>         [ 3749.773807] usb 2-1.1: USB disconnect, address 4
>     >     >>         [ 3749.773850] vga2usb: Disconnect
>     >     >>         [ 3749.773919] Removing VGA2USB device ffff880135db1800
>     >     >>         [ 3751.247767] usb 2-1.1: new high speed USB device
>     using
>     >     ehci_hcd and
>     >     >>         address 5
>     >     >>         [ 3751.341199] usb 2-1.1: New USB device found,
>     >     idVendor=5555,
>     >     >>         idProduct=3411
>     >     >>         [ 3751.341203] usb 2-1.1: New USB device strings:
>     Mfr=1,
>     >     Product=4,
>     >     >>         SerialNumber=3
>     >     >>         [ 3751.341206] usb 2-1.1: Product: DVI2USBSolo
>     >     >>         [ 3751.341209] usb 2-1.1: Manufacturer: Epiphan
>     >     >>         [ 3751.341211] usb 2-1.1: SerialNumber: D3U51121
>     >     >>         [ 3751.341309] usb 2-1.1: configuration #1 chosen
>     from 1
>     >     choice
>     >     >>         [ 3755.975287] VGA2USB is now attached to vga2usb-0
>     >     >>         # nano /etc/init.d/driver_epiphan_dvi2usb_solo.sh
>     >     >>         #!/bin/sh
>     >     >>         echo "\nLoading driver 'Epiphan DVI2USB Solo'...\n"
>     >     >>         modprobe videodev
>     >     >>         insmod /home/matpro/info_epiphan_com/vga2usb.ko
>     >     >>         # chmod 755 /etc/init.d/driver_epiphan_dvi2usb_solo.sh
>     >     >>         # update-rc.d-insserv driver_epiphan_dvi2usb_solo.sh
>     >     defaults 81 19
>     >     >>         # ./install.sh
>     >     >>         [...]
>     >     >>         matproca
>     >     >>         (as new user through install script)
>     >     >>         [...]
>     >     >>         https://opencast.jira.com/svn/MH/branches/1.1.x
>     >     >>         Ausgecheckt, Revision 10965.
>     >     >>         [...]
>     >     >>         (error)
>     >     >>
>     >     >>         So that error could be reproduced. Any idea?
>     >     >>
>     >     >>         Regards,
>     >     >>
>     >     >>         [email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>>
>     >     >>
>     >     >>         Am 15.09.2011 09:16, schrieb Ruediger Rolf:
>     >     >>>         Hi,
>     >     >>>
>     >     >>>         I would currently suggest not to use the tag/release
>     >     1.1.0 but to use
>     >     >>>         the source from the 1.1.x branch [1] (or 1.2.x). Some
>     >     repositories for
>     >     >>>         the 1.1.0 that are down (like iCal4j) and have been
>     >     replaced. And there
>     >     >>>         are quite a lot of bug fixes in the branch.
>     >     >>>
>     >     >>>         Rüdiger
>     >     >>>
>     >     >>>         [1] http://opencast.jira.com/svn/MH/branches/1.1.x/
>     >     >>>
>     >     >>>         Am 14.09.2011 18:19, schrieb matpro_fhkoeln:
>     >     >>>>         Hello,
>     >     >>>>
>     >     >>>>         I tried it again with another user, but get
>     another error.
>     >     >>>>         Output is attached.
>     >     >>>>
>     >     >>>>         Regards,
>     >     >>>>
>     >     >>>>         [email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>>
>     >     >>>>
>     >     >>>>         -------- Original-Nachricht --------
>     >     >>>>         Betreff: Re: [Opencast Matterhorn] Problem installing
>     >     Capture Agent
>     >     >>>>         (build error)
>     >     >>>>         Datum: Wed, 14 Sep 2011 17:50:51 +0200
>     >     >>>>         Von: matpro_fhkoeln <[email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>>
>     >     >>>>         Antwort an: Opencast Matterhorn
>     >     <[email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>>
>     >     >>>>         An: Opencast Matterhorn
>     <[email protected] <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>>
>     >     >>>>
>     >     >>>>         Hello Rubén Pérez,
>     >     >>>>
>     >     >>>>         Regarding gstreamer: sorry, what do you mean exactly?
>     >     As shown, these 4
>     >     >>>>         plugins you mentioned are installed.
>     >     >>>>         That's what I have already done with
>     >     "install_dependencies.sh"!
>     >     >>>>         Package "build-essential" is installed.
>     >     >>>>
>     >     >>>>         # aptitude search build-essential
>     >     >>>>         i A build-essential
>     >     >>>>
>     >     >>>>         Some additional information:
>     >     >>>>
>     >     >>>>         I started with:
>     >     >>>>
>     >     >>>>         # svn co
>     >     >>>>
>     >    
>     
> http://opencast.jira.com/svn/MH/tags/1.1.0/docs/scripts/ubuntu_capture_agent/
>     >     >>>>         debian_capture_agent
>     >     >>>>         [...]
>     >     >>>>         Ausgecheckt, Revision 10956.
>     >     >>>>
>     >     >>>>         I chose http://opencast.jira.com/svn/MH/tags/1.1.0 to
>     >     download, because
>     >     >>>>         the server here has 1.1.0 installed.
>     >     >>>>
>     >     >>>>         Errors:
>     >     >>>>         [...]
>     >     >>>>         Enter the desired username for this system that will
>     >     run the capture
>     >     >>>>         agent [matterhorn]: matpro
>     >     >>>>         useradd: Benutzer »matpro« existiert bereits
>     >     >>>>         usermod: Gruppe »admin« existiert nicht.
>     >     >>>>         (user matpro exists, group admin doesn't exist)
>     >     >>>>         [...]
>     >     >>>>         Downloading Felix... Uncompressing... tar:
>     Schreibfehler
>     >     >>>>         (write error)
>     >     >>>>         [...]
>     >     >>>>         System information: 2.6.32-5-amd64 x86_64 GNU/Linux
>     >     >>>>         Please select from the following driver options
>     >     available for this
>     >     >>>>         system for the Epiphan vga2usb device:
>     >     >>>>                 26)
>     vga2usb-3.24.8.4-2.6.32-5-debian-amd64.tbz
>     >     >>>>         Selection (? for help): 26
>     >     >>>>         Downloading driver
>     >     vga2usb-3.24.8.4-2.6.32-5-debian-amd64.tbz... Loading
>     >     >>>>         driver... Error!
>     >     >>>>         Failed to load Epiphan driver. Maybe your machine
>     >     kernel or architecture
>     >     >>>>         were not compatible?
>     >     >>>>         (the same file works manually, as I discribed!)
>     >     >>>>         [...]
>     >     >>>>         mv: Aufruf von stat für „tmp.rules“ nicht möglich:
>     >     Datei oder
>     >     >>>>         Verzeichnis nicht gefunden
>     >     >>>>         (call of stat not possible: file/dir not found)
>     >     >>>>         [...]
>     >     >>>>         chown: Zugriff auf
>     „/etc/udev/rules.d/matterhorn.rules“
>     >     nicht möglich:
>     >     >>>>         Datei oder Verzeichnis nicht gefunden
>     >     >>>>         (access not possible: file/dir not found)
>     >     >>>>         [...]
>     >     >>>>
>     >     >>>>         You said, you had installed many CAs with Debain
>     >     Squeeze and none of
>     >     >>>>         these problems? How? :)
>     >     >>>>
>     >     >>>>         Regards,
>     >     >>>>
>     >     >>>>         [email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>>
>     >     >>>>
>     >     >>>>         Am 14.09.2011 17:23, schrieb Rubén Pérez:
>     >     >>>>>         Hey,
>     >     >>>>>
>     >     >>>>>         Comments inline:
>     >     >>>>>
>     >     >>>>>         2011/9/14 matpro_fhkoeln
>     <[email protected] <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>>
>     >     >>>>>         <mailto:[email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>>>
>     >     >>>>>
>     >     >>>>>             Hello Rubén Pérez,
>     >     >>>>>
>     >     >>>>>             Wow, 9 minutes...
>     >     >>>>>
>     >     >>>>>             # aptitude search gstreamer
>     >     >>>>>             [...]
>     >     >>>>>             i A bluez-gstreamer
>     >     >>>>>             i   gstreamer0.10-alsa
>     >     >>>>>             i   gstreamer0.10-ffmpeg
>     >     >>>>>             i   gstreamer0.10-plugins-bad
>     >     >>>>>             i   gstreamer0.10-plugins-base
>     >     >>>>>             i   gstreamer0.10-plugins-good
>     >     >>>>>             i   gstreamer0.10-plugins-ugly
>     >     >>>>>             i A gstreamer0.10-x
>     >     >>>>>             i A libgstreamer-plugins-base0.10-0
>     >     >>>>>             i A libgstreamer0.10-0
>     >     >>>>>
>     >     >>>>>             I think that should be all for gstreamer?
>     >     >>>>>
>     >     >>>>>
>     >     >>>>>         Nope, you need ALL the plugins (base, good, ugly
>     and bad).
>     >     >>>>>
>     >     >>>>>
>     >     >>>>>             My theory is, that OpenJDK 6 changes
>     nothing, but
>     >     I can't say that
>     >     >>>>>             exactly at that point.
>     >     >>>>>
>     >     >>>>>
>     >     >>>>>         That was my understanding, too. But when the scripts
>     >     were done, it was
>     >     >>>>>         believed that openjdk would behave badly in some
>     >     situations (compared to
>     >     >>>>>         the official Sun packages), and that's why it is
>     used
>     >     by default.
>     >     >>>>>
>     >     >>>>>
>     >     >>>>>             The scripts are trying to integrate these
>     special
>     >     Ubuntu mirrors,
>     >     >>>>>             putting out an error, regardless of changing
>     them
>     >     to the Debian one's or
>     >     >>>>>             not. I think that could be the main problem.
>     >     >>>>>
>     >     >>>>>
>     >     >>>>>         You are right. I had a version that constructed the
>     >     "sources.list" file
>     >     >>>>>         correctly for Debian, but I never committed it
>     (sorry
>     >     about that). It
>     >     >>>>>         seems that the script will try to modify the
>     >     sources.list file and
>     >     >>>>>         install the dependencies, no matter what you do. If
>     >     you only have the
>     >     >>>>>         "install.sh" script in your run directory, please
>     >     download the
>     >     >>>>>         "install_dependencies.sh" script into that directory
>     >     and comment out (or
>     >     >>>>>         delete) the lines between "# Prompt the user to
>     modify
>     >     the default
>     >     >>>>>         repositories" and "# Define JAVA_HOME variable".
>     That
>     >     should do. If you
>     >     >>>>>         have already run the scripts sometimes, make
>     sure that
>     >     you restore the
>     >     >>>>>         "sources.list.backup" which should be present in
>     /etc
>     >     . Make sure it is
>     >     >>>>>         the original one, ince the scripts will save
>     whichever
>     >     "sources.list"
>     >     >>>>>         they find, and that may have already been
>     generated by
>     >     an previous run
>     >     >>>>>         of the scripts.
>     >     >>>>>
>     >     >>>>>
>     >     >>>>>             Also, with Debian there is no group "admin",
>     so I
>     >     think the new user
>     >     >>>>>             hasn't root rights.
>     >     >>>>>
>     >     >>>>>
>     >     >>>>>         Doesn't matter. The scripts do not use "sudo" at
>     all,
>     >     and you need to
>     >     >>>>>         run them as superuser. Then, the matterhorn user
>     >     becomes the owner of
>     >     >>>>>         all the matterhorn-related files, so it should
>     be good
>     >     to go anyway.
>     >     >>>>>
>     >     >>>>>
>     >     >>>>>             The Epiphan driver could not be loaded with the
>     >     >>>>>             script, by the way.
>     >     >>>>>
>     >     >>>>>
>     >     >>>>>         You are shown the latest drivers which have the same
>     >     kernel number. If
>     >     >>>>>         the version does not match exactly, try to find an
>     >     earlier version,
>     >     >>>>>         specially if it has the name "debian" on its name
>     >     (because it's
>     >     >>>>>         specially targetted for Debians). It is VERY
>     rare that
>     >     none of the
>     >     >>>>>         drivers work. Have you got the "build-essential"
>     >     package installed?
>     >     >>>>>
>     >     >>>>>
>     >     >>>>>             It's all on a clean system.
>     >     >>>>>             Mh, that depends on the consideration of "easy",
>     >     but it was not much
>     >     >>>>>             effort. Why? :)
>     >     >>>>>
>     >     >>>>>
>     >     >>>>>         I wrote most of those scripts and their structure is
>     >     aimed to make them
>     >     >>>>>         easy to customize. That's why I was asking :)
>     >     >>>>>
>     >     >>>>>         Best regards
>     >     >>>>>         Rubén
>     >     >>>>>
>     >     >>>>>
>     >     >>>>>             Regards,
>     >     >>>>>
>     >     >>>>>             [email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>>
>     >     >>>>>
>     >     >>>>>             Am 14.09.2011 16:38, schrieb Rubén Pérez:
>     >     >>>>>             > Hey,
>     >     >>>>>             >
>     >     >>>>>             > Please check gstreamer is correctly installed.
>     >     The logs seem to
>     >     >>>>>             indicate
>     >     >>>>>             > the package cannot be found. BTW, I have
>     >     installed several capture
>     >     >>>>>             > agents in Debian Squeeze, so you should
>     not have
>     >     so many
>     >     >>>>>             problems... In
>     >     >>>>>             > Debian, the packages
>     >     gstreamer-plugins-*-multiverse don't exist, but
>     >     >>>>>             > they are ignored and should not cause any
>     >     trouble. In theory,
>     >     >>>>>             automatic
>     >     >>>>>             > install of the packages WORKS in Debian. I
>     never
>     >     tested using openjdk,
>     >     >>>>>             > though...
>     >     >>>>>             >
>     >     >>>>>             > However, the fact that you installed the
>     >     packages manually should
>     >     >>>>>             not be
>     >     >>>>>             > a problem. Can't you test the scripts *as they
>     >     are* in a clean system?
>     >     >>>>>             > And please report whichever error you find.
>     >     >>>>>             >
>     >     >>>>>             > Thanks
>     >     >>>>>             > Rubén
>     >     >>>>>             >
>     >     >>>>>             > P.S: Did you find the scripts easy to
>     customize?
>     >     I mean, was it
>     >     >>>>>             easy to
>     >     >>>>>             > find the variables you changed?
>     >     >>>>>             >
>     >     >>>>>             > 2011/9/14 matpro_fhkoeln
>     >     <[email protected]
>     <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>>
>     >     >>>>>             <mailto:[email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>>
>     >     >>>>>             > <mailto:[email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>
>     >     >>>>>             <mailto:[email protected]
>     <mailto:[email protected]>
>     >     <mailto:[email protected]
>     <mailto:[email protected]>>>>>
>     >     >>>>>             >
>     >     >>>>>             >     Hello Ladies and Gentlemen,
>     >     >>>>>             >
>     >     >>>>>             >     I'm trying to install the CA according to
>     >     >>>>>             >
>     >     >>>>>
>     >    
>     http://opencast.jira.com/wiki/display/MHDOC/Install+Capture+Agent+V1.1,
>     >     >>>>>             >     but I get a build error.
>     >     >>>>>             >     I have to say, it's on Debian Squeeze with
>     >     OpenJDK 6.
>     >     >>>>>             >
>     >     >>>>>             >     1st:
>     >     >>>>>             >     "[...]reported as working by the
>     >     community[...]Debian (5.0,
>     >     >>>>>             Squeeze)",
>     >     >>>>>             >     but I can't find any information about
>     this.
>     >     >>>>>             >     I installed the Epiphan DVI2USB Solo
>     driver
>     >     manually,
>     >     >>>>>             commented out the
>     >     >>>>>             >     Ubuntu mirrors and installed packages from
>     >     PKG_LIST and
>     >     >>>>>             BAD_PKG_LIST
>     >     >>>>>             >     (except
>     >     gstreamer0.10-plugins-ugly-multiverse) manually. I
>     >     >>>>>             also changed
>     >     >>>>>             >     JAVA_PATTERN and created a root user
>     >     manually. So I got to the
>     >     >>>>>             >     following.
>     >     >>>>>             >
>     >     >>>>>             >     2nd:
>     >     >>>>>             >     An extract of Maven's messages is
>     attached.
>     >     Has somebody any
>     >     >>>>>             hint for
>     >     >>>>>             >     this problem?
>     >     >>>>>             >
>     >     >>>>>             >     3rd:
>     >     >>>>>             >     I recognized that ical4j-1.0-rc1.jar is
>     >     corrupt in standard
>     >     >>>>>             >     repositories. At
>     >     >>>>>             >
>     >     >>>>>
>     >    
>     
> http://repository.sourcesense.com/nexus/content/groups/public/net/fortuna/ical4j/ical4j/1.0-rc1/
>     >     >>>>>             >     is a regular file.
>     >     >>>>>             >
>     >     >>>>>             >     Thank you in advance,
>     >     >>>>>             >     regards,
>     >     >>>>>             >
>     >     >>>>>             >     [email protected]
install.sh:

export DEFAULT_MIRROR=http://ftp.debian.org
export DEFAULT_SECURITY=http://security.debian.org
export DEFAULT_PARTNER=http://ftp.debian-multimedia.org
export PKG_LIST="alsa-utils v4l-conf ivtv-utils curl maven2 sun-java6-jdk 
subversion wget openssh-server gcc gstreamer0.10-alsa 
gstreamer0.10-plugins-base gstreamer0.10-plugins-good 
gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg ntp acpid linux-headers-$(uname 
-r) firmware-ivtv gstreamer0.10-lame gstreamer-tools gstreamer0.10-x264"
export BAD_PKG_LIST="gstreamer0.10-plugins-bad +"
su $USERNAME -c "mvn clean install -Pcapture,serviceregistry-stub 
-DdeployTo=${HOME}/${OC_DIR##*/}/${FELIX_HOME##*/}/${DEPLOY_DIR} -DskipTests"

install_dependencies.sh:

# Gets distribution name
if [[ -e "/etc/lsb-release" ]]; then
DIST_NAME=$(cat /etc/lsb-release | grep "^DISTRIB_CODENAME" | cut -d "=" -f 2)
else
DIST_NAME=$(cat /etc/debian_version | grep -o "^[a-zA-Z]*")
fi
# Applies configuration changes
echo "deb ${mirrors[0]:-$DEFAULT_MIRROR} ${DIST_NAME} squeeze main contrib 
non-free" > $SRC_LIST
#echo "deb ${mirrors[0]:-$DEFAULT_MIRROR} ${DIST_NAME}-updates main restricted 
universe multiverse" >> $SRC_LIST
echo "deb ${mirrors[1]:-$DEFAULT_SECURITY} ${DIST_NAME} squeeze/updates main 
contrib non-free" >> $SRC_LIST
echo "deb ${mirrors[2]:-$DEFAULT_PARTNER} ${DIST_NAME} squeeze main non-free" 
>> $SRC_LIST

install_vga2usb_drivers.sh:

sed -i "s/sudo //" Makefile
# for driver vga2usb-3.26.0.26-debian-2.6.32-5-amd64.tbz
sed -i "/sbin\/insmod/s/\$/v4l2_enable=1 /" Makefile
# First "make" is necessary according with MH-3810
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to