Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 22 Aug 2019, 18:52
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
[solved] v4l2loopback
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
fabrice_035


Joined: 28 Apr 2014
Posts: 641
Location: Bretagne / France

PostPosted: Sun 20 Aug 2017, 08:56    Post subject:  [solved] v4l2loopback
Subject description: fake web cam on tarhup 6.0.5
 

Hi,

i try to install v4l2loopback on tarhpup, but can't compile

down source https://github.com/umlaeute/v4l2loopback




Code:

root# make
Building v4l2-loopback driver...
make -C /lib/modules/`uname -r`/build M=/root/Downloads/v4l2loopback-master.zip.extracted/v4l2loopback-master modules
make: *** /lib/modules/3.14.56/build: No such file or directory.  Stop.


Anyone can help me ?


Code:

the v4l2loopback module is a kernel module. in order to build it, you must have the kernel headers installed that match the linux kernel with which you want to use the module (in most this will be the kernel that you are currently running). please note, that kernel headers and kernel image must have exactly the same version. for example, 3.18.0-trunk-rpi is a different version that 3.18.7-v7+, even though the first few number are the same. (modules will be incompatible if the versions don't match. if you are lucky, the module will simply refuse to load. if you are unlucky, your computer will spit in your eye or do worse.)

..
Code:

root# uname -r
3.14.56

thanks

Last edited by fabrice_035 on Sun 20 Aug 2017, 15:31; edited 1 time in total
Back to top
View user's profile Send private message 
perdido


Joined: 09 Dec 2013
Posts: 1319
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Sun 20 Aug 2017, 09:11    Post subject:  

Have you installed the devx sfs and kernel headers sfs ?



Edit: looks like kernel headers might be combined in the devx...?

I dont see kernel headers as sfs.

Devx for tahrpup 6.0.5 here
http://distro.ibiblio.org/puppylinux/puppy-tahr/iso/tahrpup%20-6.0-CE/
Back to top
View user's profile Send private message 
fabrice_035


Joined: 28 Apr 2014
Posts: 641
Location: Bretagne / France

PostPosted: Sun 20 Aug 2017, 09:40    Post subject:  

yes i try with Devx for tahrpup 6.0.5, but cant find kernel headers.
Back to top
View user's profile Send private message 
perdido


Joined: 09 Dec 2013
Posts: 1319
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Sun 20 Aug 2017, 09:57    Post subject:  

fabrice_035 wrote:
yes i try with Devx for tahrpup 6.0.5, but cant find kernel headers.


I think they are included in the kernel sources?

They should be available in quickpet.

Or they are listed here
http://distro.ibiblio.org/puppylinux/pet_packages-tahr/

.

_________________
Giving with an expectation for return brings misery.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12461
Location: S.C. USA

PostPosted: Sun 20 Aug 2017, 10:00    Post subject:  

What you also need is the kernel sources sfs.

Best to get it by entering in the console
Code:
sfsget

That should bring up a list of sfs packages.
Click on one to download and install.

There are several ones, so make sure you get the correct one for the kernel you are using.

Can also get the kernel sources sfs from here:
http://distro.ibiblio.org/puppylinux/pet_packages-tahr/
There are several ones, so make sure you get the correct one for the kernel you are using.

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
fabrice_035


Joined: 28 Apr 2014
Posts: 641
Location: Bretagne / France

PostPosted: Sun 20 Aug 2017, 11:15    Post subject:  

trying kernel_sources-3.14.56-tahr_noPAE_6.0.5.sfs, after a while (long long time) puppy say no left space on device.
Back to top
View user's profile Send private message 
perdido


Joined: 09 Dec 2013
Posts: 1319
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Sun 20 Aug 2017, 12:23    Post subject:  

fabrice_035 wrote:
trying kernel_sources-3.14.56-tahr_noPAE_6.0.5.sfs, after a while (long long time) puppy say no left space on device.


That will happen on those big jobs Wink

_________________
Giving with an expectation for return brings misery.
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 1986
Location: London, England

PostPosted: Sun 20 Aug 2017, 14:19    Post subject:  

Loaded devx and kernel sources in tahrpup 6.0.5 and it compiles OK
Latest snapshot from github numbered as 0.10.1
TAKE USUAL PRECAUTIONS before testing.
After installation reboot or run depmod -a
Then modprobe v4l2loopback to load it
v4l2loopback-0.10.1-i686-tahr.pet
Description  kernel module kernel 3.14.56 noPAE
pet

 Download 
Filename  v4l2loopback-0.10.1-i686-tahr.pet 
Filesize  13.23 KB 
Downloaded  50 Time(s) 

_________________
Oscar in England

Back to top
View user's profile Send private message 
fabrice_035


Joined: 28 Apr 2014
Posts: 641
Location: Bretagne / France

PostPosted: Sun 20 Aug 2017, 15:30    Post subject:    

Many many thanks OscarTalks and all to help me.

.pet work fine Cool

Solved Razz

Oscar, can u tell me how to make that next time ? Regard.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0505s ][ Queries: 12 (0.0149s) ][ GZIP on ]