« Sorry for doubting you Adobe, AIR for Linux is real, Twingly blog search hmmmMourning the passing of jPod »

Finally EEEPC camera adobe flash support

04/04/08

Permalink 09:26:12 pm, Categories: linux, web, EEEPC

(updated Aug. 24th) Looks like I may have spoke too soon. Though the release candidate works sometimes I have had problems getting it to work on mebeam.com and live.yahoo.com. It has also worked intermittently for me on ustream.tv, the good news, the flashcam still works with the latest release candidate for Linux Flash 10 if you have trouble.

The release of Flash 10 Beta 2 for Linux has rendered this method obsolete see EEEPC flash camera support without flashcam for details. Flash 10 Beta 2 has support for V4L2 which is what the EEEPC camera uses.

I thought there must be a way to get the camera on the Asus EEEPC to work with flash. The sticking point was that the camera driver on the eeepc was v4l2 and linux flash plugin only supports v4l. Someone who was more energetic than I finally decided to do something about it. It's a bit of a convoluted installation but it seems to work You need this file flash-cam-eeepc-1.tgz The download file has been changed to add sudo chmod 666 /dev/video to the beginning of the vlback.sh file after some people reported problems with device permissions. This download file combines the original two downloads from http://forum.eeeuser.com/viewtopic.php?pid=203137, the original topic thread. This saves the irritating wait to download from the file sharing site where the files were hosted. I have also included the modified script that worked for me.

To use:

  • download the file to your user directory
  • extract the files by right clicking the file and choosing extract in the file manager, you should see a new vloopback folder created
  • open a terminal window using CTRL-ALT-T and cd to the vloopback directory
  • enter ./vlback.sh and press enter


You should see
ln: creating hard link `/dev/video' to `/dev/video0':
Input device: /dev/video

Size = 320 x 240
and the green camera light should come on. Don't close the terminal window unti you are done using the camera in flash. In your flash application be sure that you choose the vloopback device and not the uvc camera.

If I get some time over the weekend I will create a .deb package.

I neglected to give credit to The Flashcam project the guys who made all this possible.

21 comments

Comment from: Brian Thomas [Visitor] · http://www.lupusrunner.org
I've been trying to figure out how to do this for a few days and your instructions did the trick w/o problem. Thanks!
04/11/08 @ 11:08
Comment from: Swift [Visitor] · http://www.swift-tools.net/Flashcam
Not only you neglected to give credit, but you totally infringed GPL license that this project relies on.
04/13/08 @ 13:16
Comment from: Wayne [Member] Email
Actually the last line of my post gives credit to the Flashcam project along with a link to the project. I repackaged some files that were compiled by others and posted on http://forum.eeeuser.com/viewtopic.php?pid=203137and modified one script. I'm not sure if they are in breach of the GPL because I don't know if they changed the source but the original poster does link back to the source. I have a strong commitment to linux and open source and resent your suggestion that I am trying to appropriate someone elses work or not giving proper credit. If you are unhappy with the credit I have given please let me know what you think is appropriate and I'll change it right away.
04/13/08 @ 13:42
Comment from: Steph [Visitor] · http://www.technofeliz.com
Thanks ! You saved me from a big headache trying to compile Flashcam project on my EeePC...

It works great...

Very good work.
04/13/08 @ 17:32
Comment from: Wayne [Member] Email
The long cold winter has made me surly, I had a nice email exchange with Swift and I have changed the package to include the GPL license statement and a link to his website. I have also approached the original poster about providing his modified source which I will make available as soon as I get it.
04/13/08 @ 20:09
Comment from: ad [Visitor]
Thanks for making this available. Unfortunately I get the following errors and it fails to work - any ideas?

/home/user/vloopback> ./vloopback.sh
insmod: error inserting 'vloopback.ko': -1 File exists
Failed to open loop device: /dev/video2 No such file or directory
04/16/08 @ 09:38
Comment from: Wayne [Member] Email
DOn't use vloopback.sh use vlback.sh instead
04/16/08 @ 12:56
Comment from: Ad [Visitor]
My bad. It's been a loooong day! Works perfectly now - thank you :)
04/16/08 @ 17:55
I hope you don't mind, I've uploaded a copy to my server and posted this on my site with full credits to you, Flashcam Project and GNU.

So many of my friends were fighting with this issue and I was incredibly happy to see it resolved in any way at all .

:) thank you! Loads!
05/03/08 @ 15:39
Comment from: PATRICK RIVIERE [Visitor]
Hey,

There is a problem, the system answer me the lines belows :
.....

/home/user/vloopback> ./vlback.sh

In:création d'un lien direct /dev/video' vers /dev/video0': le fichier existe

Input device: /dev/video
VIDIOC_QUERYCAP error 25, Inappropriate ioctl for device

.....

After that my camera is not awaible in any program on xandros, I have to start again the system!
Where is the problem please? thank you
05/04/08 @ 16:33
Comment from: Martin Harper [Visitor]
Thanks for such a simple to apply fix. Helped me out enormously with a project that uses the Eee pc and a flash based web conference.
05/05/08 @ 12:26
Comment from: Alan Pope [Visitor] Email · http://popey.com/
I used flashcam and it does work on my Eee 900, however it only seems to come up with the size 160x120, and not 320x240 as your article suggests.. Any ideas?
05/06/08 @ 12:13
Comment from: Wayne [Member] Email
No idea about what to do on the 900.

The VIDIOC_QUERYCAP error 25, Inappropriate ioctl for device seems to occur when Adobe flash tries to open the device without the flashcam software running. The only I've found to clear it is to reboot the EEEPC.
05/18/08 @ 13:17
Comment from: gorkon [Visitor]
Ever get the 701 or 702 to work at 640x480?
05/22/08 @ 14:39
Comment from: Graham Auld [Visitor]
This is really good work and thanks for putting the compiled stuff up to download - make and make install and all these weird things turn my brain to jelly.

I am grateful that you remember what Eee stands for - EASY !!

My green light is on and www.mebeam.com works just great.
06/04/08 @ 17:02
Comment from: eeepc newbie [Visitor]
system lock up after running script

using the terminal window:
got the error for ./vlback.sh
File exists
Failed to open loop device: /dev/video2 No such file or directory

but double clicking the vlback.sh in file manager did work, turning the webcam light green and allowing me to use mebeam.com, BUT

my eeepc now seems to hang all the time, and I can't open firefox windows, skype, or use the shutdown button to shutdown. The ONLY way I can get click function back is to reboot by holding down the power key once to bring up the non-functional shutdown menu (non functional after running the scrip) then holding down the power button again.

Any help on what's happening? any way to keep the webcam changes and lose the pc lockup?
06/29/08 @ 04:37
Comment from: Wayne [Member] Email
I wouldn't recommend running by doubleclicking, the reason for starting in a terminal window is so you can kill off the script before shutting down. I haven't experienced the problems you mention but I only run the script when I want to use flash and I kill off the terminal window when I am done using the webcam in flash. If the script doesn't run the first time in the terminal window try running it again, I have experienced that problem on occasion.
06/29/08 @ 14:30
Comment from: bingo [Visitor]
thanks so much for ur programm. my eee Pc is not missing anything now, i keep in easy mode and have everything to communicate when i travel.
07/31/08 @ 12:35
Comment from: Ralph [Visitor] · http://remeeepc.wordpress.com
thanks i will give this a try, Web cam use with social networking sites is the only bug in my love affair with my 701 Eee pc. Hopefully this will solve it
08/27/08 @ 14:12
Comment from: jase [Visitor]
amazing it works!
09/03/08 @ 19:28
Comment from: julien [Visitor]
A deb. package would be great, as I am currently struggling to install it !

And as Flash 10 doesn't seems to bring easy correction of that problem....

Thanks by advance if you can package it.
And thanks for the solution as it is, too !
09/26/08 @ 09:31

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
Zack is a penguin. Is Zack a bird or a lizard?
antispam test

A place where I offer my commentary on life, the universe and everything with a smattering of Linux tips. Browse around, I'm sure you will find something to interest you.

Search

Feedburner subscribe

Enter your email address:

Delivered by FeedBurner

My Flickr Photostream

www.flickr.com
This is a Flickr badge showing public photos from w_d. Make your own badge here.
October 2008
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

XML Feeds

Last.fm

powered by b2evolution