powershot_s2_is
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
powershot_s2_is [2006/08/19 04:55] – Works under gentoo perfectly. 67.183.221.27 | powershot_s2_is [2008/01/08 19:57] (current) – 208.124.147.234 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Canon Powershot S2 IS ====== | ||
+ | {{http:// | ||
+ | |||
+ | ===== gphoto2 Setup on Debian ===== | ||
+ | |||
+ | ==== with hotplug ==== | ||
+ | |||
+ | The 2.1.6 release is only available in the unstable branch: | ||
+ | |||
+ | #> apt-get -t unstable install gphoto2 | ||
+ | |||
+ | or under Gentoo (the rest of the directions here work just fine under gentoo (thanks to original poster)). | ||
+ | |||
+ | {~} $ emerge gphoto2 | ||
+ | |||
+ | To make it work for non-root users do the following to let hotplug set up the correct permissions for you: | ||
+ | |||
+ | #> / | ||
+ | |||
+ | The above step makes sure all cams supported by libgphoto2 are known to the hotplug daemon. Debian uses a different script than the default install thus the [[man> | ||
+ | |||
+ | Connecting the camera should print the following in the syslog: | ||
+ | |||
+ | Jul 30 16:47:09 rumpel kernel: usb 1-4: new high speed USB device using address 12 | ||
+ | Jul 30 16:47:09 rumpel usb.agent[23381]: | ||
+ | |||
+ | Try your luck with the autodetection and you should see this: | ||
+ | |||
+ | $> gphoto2 --auto-detect | ||
+ | Model Port | ||
+ | ---------------------------------------------------------- | ||
+ | Canon PowerShot S2 IS (PTP mode) usb: | ||
+ | Canon PowerShot S2 IS (PTP mode) usb:001,012 | ||
+ | |||
+ | |||
+ | ==== with udev 084 ==== | ||
+ | |||
+ | The hotplug method mentioned above doesn' | ||
+ | |||
+ | < | ||
+ | BUS=" | ||
+ | PROGRAM="/ | ||
+ | NAME=" | ||
+ | </ | ||
+ | |||
+ | The rest is the same, add your user to the '' | ||
+ | |||
+ | ===== Getting images from the Camera ===== | ||
+ | |||
+ | You could of course use some GUI like the gtkam utility but I prefer a little script to do what I want. It fetches all available images to the current directory, autorotates them lossless using [[man> | ||
+ | |||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | |||
+ | #The cameras image folder. use ' | ||
+ | FOLDER='/ | ||
+ | |||
+ | echo " | ||
+ | gphoto2 --auto-detect --get-all-files --folder $FOLDER | ||
+ | |||
+ | echo " | ||
+ | exiftran -ai *.JPG | ||
+ | |||
+ | echo | ||
+ | echo " | ||
+ | echo -n "Hit enter to continue " | ||
+ | read foo | ||
+ | |||
+ | gphoto2 --auto-detect --delete-all-files --recurse --folder $FOLDER | ||
+ | </ | ||
+ | |||
+ | ===== lsusb -v Output ===== | ||
+ | |||
+ | < | ||
+ | Bus 001 Device 007: ID 04a9:30f0 Canon, Inc. | ||
+ | Device Descriptor: | ||
+ | bLength | ||
+ | bDescriptorType | ||
+ | bcdUSB | ||
+ | bDeviceClass | ||
+ | bDeviceSubClass | ||
+ | bDeviceProtocol | ||
+ | bMaxPacketSize0 | ||
+ | idVendor | ||
+ | idProduct | ||
+ | bcdDevice | ||
+ | iManufacturer | ||
+ | iProduct | ||
+ | iSerial | ||
+ | bNumConfigurations | ||
+ | Configuration Descriptor: | ||
+ | bLength | ||
+ | bDescriptorType | ||
+ | wTotalLength | ||
+ | bNumInterfaces | ||
+ | bConfigurationValue | ||
+ | iConfiguration | ||
+ | bmAttributes | ||
+ | Self Powered | ||
+ | MaxPower | ||
+ | Interface Descriptor: | ||
+ | bLength | ||
+ | bDescriptorType | ||
+ | bInterfaceNumber | ||
+ | bAlternateSetting | ||
+ | bNumEndpoints | ||
+ | bInterfaceClass | ||
+ | bInterfaceSubClass | ||
+ | bInterfaceProtocol | ||
+ | iInterface | ||
+ | Endpoint Descriptor: | ||
+ | bLength | ||
+ | bDescriptorType | ||
+ | bEndpointAddress | ||
+ | bmAttributes | ||
+ | Transfer Type Bulk | ||
+ | Synch Type None | ||
+ | Usage Type Data | ||
+ | wMaxPacketSize | ||
+ | bInterval | ||
+ | Endpoint Descriptor: | ||
+ | bLength | ||
+ | bDescriptorType | ||
+ | bEndpointAddress | ||
+ | bmAttributes | ||
+ | Transfer Type Bulk | ||
+ | Synch Type None | ||
+ | Usage Type Data | ||
+ | wMaxPacketSize | ||
+ | bInterval | ||
+ | Endpoint Descriptor: | ||
+ | bLength | ||
+ | bDescriptorType | ||
+ | bEndpointAddress | ||
+ | bmAttributes | ||
+ | Transfer Type Interrupt | ||
+ | Synch Type None | ||
+ | Usage Type Data | ||
+ | wMaxPacketSize | ||
+ | bInterval | ||
+ | Device Qualifier (for other device speed): | ||
+ | bLength | ||
+ | bDescriptorType | ||
+ | bcdUSB | ||
+ | bDeviceClass | ||
+ | bDeviceSubClass | ||
+ | bDeviceProtocol | ||
+ | bMaxPacketSize0 | ||
+ | bNumConfigurations | ||
+ | </ |