If you are a photographer, you are in the need of serious post-processing, image archiving, or tethered shooting. On Linux you are most likely out of luck. Using wine, one can install and run much needed applications like Photoshop (CS2 and older), iView and the like, while others like Lightroom or the latest version of Photoshop (CS3) remain out of reach. Virtualisation applications like VMware or VirtualBox can help, but make the process of runnig those application clunky, the performance is often slow like molasses... (I know about f-spot, digikam and the gimp and bibble as well. They all have their merrits but are just not the same. Yet! They might get there, though...
So you can imagine how happy I was when I learned about a small Linux program called "pkremote". Pentax offers an application called "Pentax Remote Assistant" which can be used on Windows. The application installs fine on Linux using wine but can't be used since it is unable up to date to recognize any cameras...
Pkremote supposedly would allow me to use my Pentax K10D *or any other Pentax DSLR or that matter in tethered mode, enabling me to control the camera connected to my computer via the computer and directly transfer images at the same time. Big deal you might think if you are a windows user and are able to use the Pentax Remote Assistant. So I get the source and tried to install on my machine.
Pkremote is not part of any software repository, although there is an ebuild for Gentoo. Here are the steps I took to get the software running on OpenSuse 11:
1. Get the source code:
You will need to have the subversion package installed for this step to work
svn co https://pkremote.svn.sourceforge.net/svnroot/pkremote \
2. Make sure that the glade2 and glade2-devel packages are installed:
zypper install libglade2 libglade2-devel
3. Compile the application
cd pkremoteThis will install the binary pkremote in the /usr/local/bin directory.
4. Install the udev rules (Check the README file for details on other distros).
cp pentax.rules /etc/udev/5. Using your system administration tool, add the group “plugdev” and add all users that are supposed to be using pkremote. I did use yast2 for this and added myself as a user to the new group. In order to belong to the group, you will have to restart your X session.
ln -s /etc/udev/pentax.rules /etc/udev/rules.d/55-pentax.rules
6. Restart udev. I did reboot the machine, supposedly you can do this:
/etc/./start_udevI found this procedure in an Arch-Linux forum, Don't even know if this works on OpenSuse. If in doubt, get some coffee while the machine reboots...
7. Connect your Pentax DSLR to the computer using the USB cable that came with it and then turn it on. Make sure that the top display reads “PC”. It it reads something else, enter the camera menu and change the PC transfer mode to “PC”.
8. Start the pkremote application by executing:
/usr/local/bin/pkremoteSo there you go. You should be presented with three windows and the application should recognize your camera. More on how to use the application in the next post.