|
RE: Embedded gPhoto: msg#00058multimedia.gphoto.devel
1. Like someone else said earlier, you need to have the board up and running and you need to have Linux working on your board. 2. You need a standard usb host driver that fit in the linux usb host stack. Or libusb won't work. 3. You need to have a toolchain setup to target your board. 4. Playing some ./configure tricks (setting up the right environment and argument) to configure libusb and libgphoto2. That is pretty much it. In my case, I had to patch the libgphoto2/Makefile and libgphoto2_port/Makefile. This is because I am using the --prefix when I do the ./configure to allow me to do make install later on. Without my patch, everything install fine but app linked against libgphoto2 won't work. That is because the configure builds Makefile and create a define passed in the code (used to load the ports and camlib at runtime) and the defines are build as "-D${libdir}/foo". And libdir is created based on the --prefix value. So in my case I am doing --prefix=/mnt/myboardfs. So the code at runtime tries to open /mnt/myboardfs/lib/gphoto2/... Which of course when I run on the board is /lib/gphoto2. So I created patch files to patch the makefiles right after I do ./configure to replace ${libdir} with /lib. This is probably the wrong way to do it but it works! Pat -----Original Message----- From: gphoto-devel-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:gphoto-devel-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Richard Taylor Sent: Saturday, February 18, 2006 5:35 AM To: gphoto-devel@xxxxxxxxxxxxxxxxxxxxx Subject: RE: [gphoto-devel] Embedded gPhoto I'm using an Atmel AVR Mega32 at the moment which I think is RISC architecture. I note from http://www.open-research.org.uk/ARMuC/ that the Atmel AT91xx series use ARM. Could you tell me a little more about how you are running libgphoto on an Arm processor and what is involved to get the thing up and running? Richard -----Original Message----- From: gphoto-devel-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:gphoto-devel-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Patrick Laplante Sent: 17 February 2006 18:45 To: 'Dan Fandrich'; gphoto-devel@xxxxxxxxxxxxxxxxxxxxx Subject: RE: [gphoto-devel] Embedded gPhoto Yeah Pic would be painful!! I have libgphoto running on an Arm processor right now... Works like a charm! -----Original Message----- From: gphoto-devel-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:gphoto-devel-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Dan Fandrich Sent: Friday, February 17, 2006 1:13 PM To: gphoto-devel@xxxxxxxxxxxxxxxxxxxxx Subject: Re: [gphoto-devel] Embedded gPhoto On Fri, Feb 17, 2006 at 03:24:05PM -0000, Richard Taylor wrote: > Is it possible to use a microcontroller to run basic camera control commands > over USB? Initially I would like to be able to set ISO speed with > Canon and > Nikon DSLRs. When you say "microcontroller" are you talking about something like an ARM or something like a PIC? The answer is yes to the former, but if you manage the latter, you'll probably get yourself a front-page story on Slashdot. >>> Dan -- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has moved ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Gphoto-devel mailing list Gphoto-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/gphoto-devel ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Gphoto-devel mailing list Gphoto-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/gphoto-devel ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Gphoto-devel mailing list Gphoto-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/gphoto-devel ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Embedded gPhoto: 00058, Rogier Wolff |
|---|---|
| Next by Date: | Re: Embedded gPhoto: 00058, Hubert Figuiere |
| Previous by Thread: | Re: Embedded gPhotoi: 00058, Rogier Wolff |
| Next by Thread: | Re: Embedded gPhoto: 00058, Hubert Figuiere |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |