|
Re: targetting a specific camera when using libgphoto: msg#00029multimedia.gphoto.devel
On Wed, Feb 15, 2006 at 07:31:26AM +0100, Marcus Meissner wrote: > On Tue, Feb 14, 2006 at 07:11:20PM -0500, Patrick Laplante wrote: > > Yeah, that don't work: > > > > I have a sony camera plugged in my linux box. /proc/bus/usb/001/044 > > > > When I do gphoto2 --camera "Sony Digital Still Camera" --port "usb:001,044" > > --shell > > > > I get: > > The port you specified ('usb:001,044') can not be found. Please specify one > > of the ports..... > > > > Pat > > > > Why not add an api gp_init_camera_from_path? Libusb supports opening a > > device path! > > It will start working once you start plugging in more cameras. > > gphoto2 --list-ports shows all available ports. > > If there is only one used it is "usb:", if there are multiple, the above > method can be used. This is NOT acceptable: You design this system to be able to download a bunch of cameras. So you connect one camera, the script detects this is the first camera and specifies usb: So you connect another camera, and the supporting script detects: There are more cameras detected, so it specifies bus/device. Next time you happen to connect the second camera just before gphoto2 starts and mayhem occurs. You should always be able to fully specify the port/bus/device ! Roger. -- ** R.E.Wolff@xxxxxxxxxxxx ** http://www.BitWizard.nl/ ** +31-15-2600998 ** *-- BitWizard writes Linux device drivers for any device you may have! --* Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement. Does it sit on the couch all day? Is it unemployed? Please be specific! Define 'it' and what it isn't doing. --------- Adapted from lxrbot FAQ ------------------------------------------------------- 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: Retrieving camera serial number: 00029, Marcus Meissner |
|---|---|
| Next by Date: | RE: targetting a specific camera when using libgphoto: 00029, Patrick Laplante |
| Previous by Thread: | Re: targetting a specific camera when using libgphotoi: 00029, Marcus Meissner |
| Next by Thread: | Re: targetting a specific camera when using libgphoto: 00029, Marcus Meissner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |