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 Sat 20 Sep 2014, 06:22
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to use Logitech USB webcam?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
rebbi1

Joined: 03 Dec 2008
Posts: 45

PostPosted: Thu 24 Dec 2009, 18:16    Post subject:  How to use Logitech USB webcam?  

Hi,

I am setting up Puppy 4.3.1 on a friend's ancient, underpowered laptop. (The brand is "Great Quality" (heh, heh) which used to be sold by Fry's. It's got 256 MB RAM and a 1.2 ghz VIA C3 processor.

Well, guess what? Puppy runs on it like a jackrabbit, AND Puppy recognizes his USB D-Link wireless card! Wow.

I'm now trying to get his Logitech USB webcam recognized. A cat command in the console tells me that the vendor ID is 0x046d (Logitech) and that the Prod ID is 0x092e. Some searching on the web suggests that the proper driver for this thing, which I've downloaded, is the gspcav driver.

Now, do I need to compile and install that thing? Should I? And how would I go about it?

Thanks![/b]
Back to top
View user's profile Send private message 
John Lewis

Joined: 03 Dec 2007
Posts: 148
Location: Albany West Australia

PostPosted: Fri 25 Dec 2009, 00:00    Post subject:  

Hi rebi1,

I have a similar cam logitech but the vendor is 0x92f
If you just want it for Skype read through this thread

http://murga-linux.com/puppy/viewtopic.php?t=49839

You need to download and instal the libv4l mentioned by Tempestuous and use the LD_PRELOAD commands as shown in that thread.

We managed to get Volodya's cam running here. I later emailed him v4l2ucp to give brightness and contrast. I didn't know if I could post it here hence emailing.
wxcam is useful too if you need more than Skype. You only need to download it, unpack and grab the executable.

Hope this helps,

John Lewis
Back to top
View user's profile Send private message 
rebbi1

Joined: 03 Dec 2008
Posts: 45

PostPosted: Fri 25 Dec 2009, 10:30    Post subject:  

John Lewis,

Many thanks for the pointer to that thread. I haven't yet had a chance to try any of the steps presented there, but it certainly looks promising. And yes, I'm trying to see if I can get Skype working for my friend.

Thanks!!!
Back to top
View user's profile Send private message 
rebbi1

Joined: 03 Dec 2008
Posts: 45

PostPosted: Fri 25 Dec 2009, 17:48    Post subject:  

John,

Well, I installed the libv4l library as instructed rebooted, and tried the LD_PRELOAD command line, but got this error:

ERROR: ld.so: object '/usr/lib/lib4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored.

I also tried installing wxcam from an Ubuntu deb file (the puppy installer seemed to want to handle it, and even put a menu entry in under Multimedia) but it won't run. Trying to run it from console gives me this error:

wxcam: error while loading shared libraries: liblavjpeg-1.9.so.0: cannot open shared object file: No such file or directory

Any thoughts what I do from here?

Thanks for your willingness to help.
Back to top
View user's profile Send private message 
jason.b.c


Joined: 08 Feb 2006
Posts: 758
Location: Marshfield,MO

PostPosted: Fri 25 Dec 2009, 19:00    Post subject: Re: How to use Logitech USB webcam?  

rebbi1 wrote:
Hi,

ancient, underpowered laptop. (The brand is "Great Quality" (heh, heh) which used to be sold by Fry's. It's got 256 MB RAM and a 1.2 ghz VIA C3 processor.



And that is "ancient" ..??? UM Ok... Shocked Confused

What would you call my 700 mhz p3..? hell.. Laughing

_________________
Puppy is Awesome..!!!!

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger 
rebbi1

Joined: 03 Dec 2008
Posts: 45

PostPosted: Fri 25 Dec 2009, 19:11    Post subject:  

Jason.b.c,

Okay, okay, point well taken... no offense intended! Confused
Back to top
View user's profile Send private message 
John Lewis

Joined: 03 Dec 2007
Posts: 148
Location: Albany West Australia

PostPosted: Sat 26 Dec 2009, 03:42    Post subject:  

You will need to find this lib and put it in usr lib I think before it will work.
liblavjpeg-1.9.so.0

EDIT: Forget wxcam for now. I was thinking of something else previously.
I've been playing with wxcam and it needs a whole heap of libs to get it to go. Just use Skype for testing.

Not sure what' going on with the LD_PRELOAD bit. Perhaps because wxcam isn't working.

Have you tried in Skype?

I'll set up a card with 4.3.1 and see what I can do later today when I get a bit of time.

John Lewis

Last edited by John Lewis on Sat 26 Dec 2009, 09:02; edited 1 time in total
Back to top
View user's profile Send private message 
John Lewis

Joined: 03 Dec 2007
Posts: 148
Location: Albany West Australia

PostPosted: Sat 26 Dec 2009, 05:55    Post subject:  

OK rebi1. I have it working.

I have tried this all out in Puppy 4.31 on a DVD.
I tried first with my eeepc but for some reason it could not see the camera. I'll check that out later.

Using the multi session dvd I installed the v4l1 pup from here:

http://www.murga-linux.com/puppy/viewtopic.php?p=346459#346459

Its about half way down the page called libv4l-0.5.8.pet

I rebooted with the camera in the USB port ( Probably not strictly needed but I did it anyway and saved to disk.

I checked with lsmod to see if the GSPCA modules loaded. I found
gspca_spca561, gspca_main, and v4l2_common . Were all present.

I installed Skype from a pet I have. It was Skype 2.0

Then I typed in terminal the following

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype

When Skype came upI logged into Skype and went to the options > video page where the test screen is. I saw I had a camera listed.

When I clicked test, the image came up. It was pretty dark so I set up v4l2ucp to control the brightness and contrast.

If you get this far I can email you the v4l2ucp executable and the necessary lib file.

John Lewis
Back to top
View user's profile Send private message 
John Lewis

Joined: 03 Dec 2007
Posts: 148
Location: Albany West Australia

PostPosted: Sun 27 Dec 2009, 00:24    Post subject:  

Here is Wx cam running in puppy. Its own controls don't work for brightness and contrast but v4l2ucp does the trick.

To get it running I had to copy a whole heap of libs from Mepis8. I think I have the whole of libwx_gtk as well as a few others.

Also had to set wxcam to 352 x 288 resolution v4l2 and yuv420p as well as using the LD_PRELOAD trick.

John Lewis
wcam.jpg
 Description   Wxcam running in Puppy with v4l2ucp
 Filesize   43.1 KB
 Viewed   1495 Time(s)

wcam.jpg

Back to top
View user's profile Send private message 
jason.b.c


Joined: 08 Feb 2006
Posts: 758
Location: Marshfield,MO

PostPosted: Sun 27 Dec 2009, 17:44    Post subject:  

rebbi1 wrote:
Jason.b.c,

Okay, okay, point well taken... no offense intended! Confused


i wasn't offended , just wish my old comp was as good as yours is all...

_________________
Puppy is Awesome..!!!!

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0682s ][ Queries: 12 (0.0101s) ][ GZIP on ]