LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Thread Tools
Old 11-19-2009, 03:57 AM   #16
ankscorek
Member
 
Registered: Mar 2003
Location: India
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu
Posts: 500
Thanked: 0

Original Poster

[Log in to get rid of this advertisement]
luvcview -f yuv

this command helps me to view my cam

but other utilities like gstremer camorama and cheese are failing
linuxubuntu ankscorek is offline     Reply With Quote
Old 11-19-2009, 04:29 AM   #17
business_kid
Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 122/Slamd64
Posts: 746
Thanked: 47
you have 3 posts. Let me try

lucview. That's mildly interesting and verifies a few things.
gspca module. How does lucview do it? Otherwise I would expect some camera module.

Libraries: Probably no libs in /usr/lib64 is a problem, and you will know if everything else has their libs there. I should explain
/begin history lesson
On the making of 64-bit distros, most people left 32 bit libs in /usr/lib for compatability with existing software, and put 64-bit ones in/usr/lib64#
Somebody, (Debian, afaik) felt that 'native' libs should go in /usr/lib (64-bit in the case of a 64 bit system) and invented /usr/lib32 for 32 bit libs. A 64 bit system usually needs some of both.
/end history lesson

Try
file /usr/lib/vl412.*
file /usr/lib32/vl412.*

Watch for 32 bit or 64 bit. Then try 'ls /usr/lib64' & 'ls /usr/lib32'

ONE of those will have very few libs, and they are misplaced. If you have Debian, it will be /usr/lib64. Otherwise, /usr/lib32 are the orphans. They will have to go to/usr/lib, and the equivelants in /usr/lib to /usr/lib64. Then run ldconfig.
linux business_kid is offline     Reply With Quote
Old 11-19-2009, 07:40 AM   #18
ankscorek
Member
 
Registered: Mar 2003
Location: India
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu
Posts: 500
Thanked: 0

Original Poster
lucview it tells that driver is a uvcvideo


#modprobe -l | grep ov
kernel/drivers/media/video/ov7670.ko
kernel/drivers/media/video/ov772x.ko
kernel/drivers/media/video/ovcamchip/ovcamchip.ko
kernel/drivers/media/video/gspca/gspca_ov519.ko
kernel/drivers/media/video/gspca/gspca_ov534.ko
kernel/drivers/media/dvb/dvb-usb/dvb-usb-nova-t-usb2.ko
kernel/ubuntu/lenovo-sl-laptop/lenovo-sl-laptop.ko


and i confirmed the directory structure is ok

will compiling my own kernel help?

what is the procedure to show my kernel image in grub-2?

Last edited by ankscorek; 11-19-2009 at 11:02 PM..
linuxubuntu ankscorek is offline     Reply With Quote
Old 11-20-2009, 04:53 AM   #19
business_kid
Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 122/Slamd64
Posts: 746
Thanked: 47
It wasn't your directory structure I was worried about.
Your library search path would not have /usr/lib32 and /usr/lib64. That's the issue
One of them is wrong. either that or add them both to /etc/ld.so,conf & run ldconfig
linux business_kid is offline     Reply With Quote
Old 11-21-2009, 07:58 AM   #20
ankscorek
Member
 
Registered: Mar 2003
Location: India
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu
Posts: 500
Thanked: 0

Original Poster
cat /etc/ld.so.conf.d/libc.conf
# libc default configuration
/usr/local/lib
/usr/lib32
/usr/lib64





the problem still remains the same
no change in error also

sudo LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so camorama -d /dev/video0
ERROR: ld.so: object '/usr/lib32/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored.

Last edited by ankscorek; 11-21-2009 at 08:54 AM..
linuxubuntu ankscorek is offline     Reply With Quote
Old 11-22-2009, 11:05 AM   #21
business_kid
Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 122/Slamd64
Posts: 746
Thanked: 47
Quote:
Originally Posted by ankscorek View Post
ERROR: ld.so: object '/usr/lib32/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored.
Well it has told you what's wrong, so we don't have to.

Check /usr/lib32/libv4l/v4l1compat.so. run

ls /usr/lib32/libv4l/ (should show files)
ldconfig ( should show nothing but is a good idea)
ldd /usr/lib32/libv4l/v4l1compat.so and look for things not found
linux business_kid is offline     Reply With Quote
Old Yesterday, 02:38 AM   #22
ankscorek
Member
 
Registered: Mar 2003
Location: India
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu
Posts: 500
Thanked: 0

Original Poster
ldd /usr/lib32/libv4l/v4l1compat.so
linux-gate.so.1 => (0xf7761000)
libv4l1.so.0 => /usr/lib32/libv4l1.so.0 (0xf7734000)
libc.so.6 => /lib32/libc.so.6 (0xf75f0000)
libv4l2.so.0 => /usr/lib32/libv4l2.so.0 (0xf75e5000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf75cc000)
/lib/ld-linux.so.2 (0xf7762000)
libv4lconvert.so.0 => /usr/lib32/libv4lconvert.so.0 (0xf7561000)
librt.so.1 => /lib32/librt.so.1 (0xf7558000)
libm.so.6 => /lib32/libm.so.6 (0xf7532000)


is the one in red the errorenous part? do i do a ln -s?
linuxubuntu ankscorek is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
web cam hippie2me Linux - Newbie 6 04-25-2008 12:29 PM
would like to play aMSN web cam sessions (.cam extension) using external program Gogul Linux - Software 5 09-17-2006 09:51 AM
Web Cam Hophoto Suse/Novell 1 02-21-2006 11:18 PM
I just got a web cam blufire Linux - Hardware 2 11-29-2005 01:15 PM
web cam and web cam server citrus Linux - General 2 03-24-2004 10:28 PM


All times are GMT -5. The time now is 02:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration