Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 04-23-2012, 11:17 AM   #1
LQ Newbie
Registered: Jan 2012
Posts: 21

Rep: Reputation: Disabled
USB camera for arm-linux

Hi all!
Just a silly question:
I want to use a USB camera with an embedded ARM processor.
The OS is uClinux, core 2.6.x.
The drivers are OK BUT they require libc, libcap, gcc etc.
On a Linux system with make, install, gcc and apt-get there are no problems but how can I use that camera with the embedded system that doesn't have these commands?
I can cross-compile and create a C/C++ program, and so an executable, but what should I do about the drivers?

Or: can anyone please suggest me a quite-good USB CMOS camera that has Linux drivers with no other dependencies to be built ?
Quite good= I can set and fix the exposure time, there isn't too much optics before the sensor.

Thank you in advance, every help will be highly appreciated and it would be very important to me.

Best Regards,
Old 04-27-2012, 11:36 AM   #2
LQ Newbie
Registered: Feb 2012
Posts: 10

Rep: Reputation: Disabled
Are you building your own Kernel?

Linux does include in the Kernel tree some USB camera drivers you can compile them as modules or into the kernel itself depending on your use of the camera. Checkout buildroot or openembedded. run make linux-menuconfig and check under drivers usb devices you will have to hunt.

What board are you using?
Old 04-30-2012, 05:00 AM   #3
LQ Newbie
Registered: Jan 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
Hi will.larson, thanks for your reply.
I have to use a USB camera with a ATMEL ARM9-core with built uClinux, I already have the C crosscompiler but I'm a newby about library porting......and the embedded system doesn't have make.
I'd prefer not to build my own Kernel if I can avoid it.
Thanks for the hints, I will check them!
Best Regards
Old 05-02-2012, 11:43 AM   #4
Registered: Nov 2010
Location: Thailand
Distribution: Fedora 12, Ubuntu 10.10
Posts: 166

Rep: Reputation: 29
Ninaeve, you can just cross-compile the kernel and drivers with the tools you use to build libraries (gcc, make...).
You would normally not need to build the kernel, you only need to build the driver.
Old 05-03-2012, 04:18 AM   #5
LQ Newbie
Registered: Jan 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
@cnxsoft: Thanks for your reply, actually I have some problems with the cross compiler gcc (its output can't be immediately executed, I have to use chmod... ) but I'm trying to build the programs and libraries as you are suggesting.
BTW I hope I don't have to change anything in the kernel....


arm9, make, usb camera

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
CMOS camera interface on ARM gigin Linux - Mobile 2 08-12-2011 01:34 AM
USB Laser Printer interface with ARM in Linux bharat.gopani Linux - Embedded & Single-board computer 0 02-10-2011 02:40 AM
To make known to linux the usb hardware at compiling linux kernel for arm based sbc selmaguzel Linux - Embedded & Single-board computer 1 06-08-2008 05:02 PM
USB Logitech STX Camera | sytem startup camera active problem delta function Slackware 0 08-06-2006 05:23 PM
How to use USB Camera Under Linux weiweif Linux - Software 2 10-15-2004 05:04 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 06:48 PM.

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