Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > Regarding USB webcam driver

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-24-2006   #1 (permalink)
Just Joined!
 
Join Date: Apr 2006
Posts: 2
Unhappy Regarding USB webcam driver

Hi,
I want to write device driver for USB-CREATIVE PC-CAM-300(VENDOR-ID:041e/PRODUCT-ID:0400a) using
libusb in linux.Can anyone plz tell me how I can fetch data from my usb webcam.I am unable to
understand usb_control_msg() function.How can I pass right arguments to this function which is
suitable for my webcam.I have also problem in passing right arguments to usb_bulk_read() function.
Uptil now I am able to find my webcam, able to fetch all descriptors but I am unable to fetch data.
Plz send me some code or links or documents so that I can understand.

Plz tell me what are different arguments of usb_control_msg function() and usb_bulk_read() and
how I can obtained them through descriptors or by any other mean ,before passing to the function.
Is it possible to build general device driver that works with all webcams.Users have to only supply
product-id and vendor-id.If Yes or No Why?

Another problem that I am facing is that I am using usb_rcvbulkpipe for getting pipe but compiler
says it as undefined function.I am including two files /usr/include/linux/usb.h and /usr/local/include/usb.h
usb_rcvbulkpipe is declared in first file even then compiler says it as undefined function .Why????

I am only using libusb downloaded from www.sourceforge.net.

PLZ REPLY .

Regds.
Nitin Saxena
nice.nitin is offline  


Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:12 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2