Using your picture frame as a picture frame
Although this wiki was started for hacking st2205 picture frames firmware so that the picture frame can be used as a "second monitor", some people would like to actually use the picture frame as a picture frame, and be able to put pictures on it under Linux.
Recently (March 2010) a libgphoto2 "camlib" has been added to libghoto2, which allows downloading, uploading and deleting pictures from st2205 frames (and another camlib for ax203 based frames is in the works).
If you're interested in uploading pictures to your picture frame under Linux and wonder what chipset it is using, here is a usb-id table (plug the frame into the computer, then choose usb connect in the frames menu, and then run lsusb to see what the usb-id of your frame is):
|USB-ID||Chipset||Support status in libgphoto2|
|1403:0001||st2205||support in svn libgphoto2-2_4 branch and trunk|
|1908:1315||ax203 with firmware ver 3.3.x||support for libgphoto2 is being worked on|
|1908:1320||ax203 with firmware ver 3.4.x||support for libgphoto2 is being worked on|
|1908:0102||ax203 with firmware ver 3.5.x||picture compression algorithm is unknown|
Installing the st2205 libgphoto2 driver from gphoto svn
These instructions will replace you existing libgphoto2 installation, and are valid only if your existing libgphoto2 installation is a 2.4.x version. You need to have the following software installed, note this listing contains Fedora package names, which can be installed under Fedora using "yum install <packagename>". The names may be different on other distributions:
- svn, gcc, make, pkgconfig, sharutils
- libusb-devel, gd-devel, lockdev-devel, libexif-devel
- libjpeg-devel, libtool-ltdl-devel, popt-devel
- autoconf, automake, libtool, gettext-devel
- libgphoto2, gphoto2
Once you have these installed run the following commands:
svn co https://gphoto.svn.sourceforge.net/svnroot/gphoto/branches/libgphoto2-2_4/libgphoto2/ cd libgphoto2 autoreconf -f -i ./configure --prefix=/usr --libdir=</usr/lib|/usr/lib64> make sudo make install
Now you should be able to use the gphoto2 commandline tool to communicate with your picture frame, for example, run: "gphoto2 -L" as root (see below) to list all the photos on the picture frame.
Configuring your system for user level access to the picture frame
Assuming your distribution comes with udev and libgphoto2 set up in such a way that a normal user can access libgphoto2 driven devices such as still cameras when locally logged in, you can configure your system to allow normal users access to the picture frame to by updating the libgphoto2 udev rules. First install the updated libgphoto2 as described above, then on Fedora you would do:
cd libgphoto2/packaging/generic/ sudo sh -c "./print-camera-list udev-rules version 136 > /lib/udev/rules.d/40-libgphoto2.rules"
On other distributions, this might work too, but may need some adjustment. On other distributions, first backup your existing gphoto2 udev rules, and after regenerating see if the part for regular cameras looks the same. if not adjust the parameters to print-camera-list to make them match.