Difference between revisions of "DIY Digital Picture Frame"

From Makers Local 256
Jump to: navigation, search
m (Overview: formatting)
(Steps: updated with fluxbox options)
Line 18: Line 18:
 
# Have displaylink adapter plugged into dockstar, and screen plugged into adapter.   
 
# Have displaylink adapter plugged into dockstar, and screen plugged into adapter.   
 
# Confirmed that udlfb driver was working with linux kernel (got the green screen when plugging in displaylink adapter)
 
# Confirmed that udlfb driver was working with linux kernel (got the green screen when plugging in displaylink adapter)
 +
# SSH into the dockstar
 
# Installed X windowing server
 
# Installed X windowing server
 
# Installed feh (image display program)
 
# Installed feh (image display program)
Line 28: Line 29:
 
## Added line to .xsession to start the feh program.
 
## Added line to .xsession to start the feh program.
 
##* (<b>TODO:</b> add example feh line here)
 
##* (<b>TODO:</b> add example feh line here)
 +
 +
=== (Optional) Using dockstar as a terminal ===
 +
This project is meant to be a picture frame, which should be fairly hands off once running.
 +
But if you wanted to use the dockstar as a terminal, you would have to make the following modifications.
 +
# Plug in a mouse and keyboard
 +
# ssh into the box
 +
# If not already installed, apt-get install fluxbox
 +
# pkill the feh process
 +
# change /.xsession to run fluxbox or another lightweight windowing manager
 +
# run the "startx" command
 +
 +
  
 
=== Future Plans ===
 
=== Future Plans ===

Revision as of 11:35, 23 February 2012

Creator:
Omegix
Status:
Started
Born On:
14:09, 27 January 2012 (CST)
Last Updated:
11:35, 23 February 2012 (CDT)

Overview

See DIY_Digital_Picture_Frame/Old for previous attempt utilizing a laptop.

Digital picture frame using an embedded system. Utilizing a dockstar and a displaylink USB-to-VGA Adapter.

Amazingly big thanks to brimstone. This project mostly consisted of me asking how this could be done, and learning while brimstone typed his magic.


Steps

Displaying Local Files

  1. Get dockstar running debian squeeze with an 8gb thumb drive.
  2. Have displaylink adapter plugged into dockstar, and screen plugged into adapter.
  3. Confirmed that udlfb driver was working with linux kernel (got the green screen when plugging in displaylink adapter)
  4. SSH into the dockstar
  5. Installed X windowing server
  6. Installed feh (image display program)
  7. Edit /etc/rc.local so that on reboot it will run "startx" to start the x server
  8. Create directory to store images in
  9. .xsession:
    1. Put .xsession in the root directory ( / )
    2. Edit .xsession so that it won't go into powersave mode and turn off the screen
      • (TODO: add dpms line here)
    3. Added line to .xsession to start the feh program.
      • (TODO: add example feh line here)

(Optional) Using dockstar as a terminal

This project is meant to be a picture frame, which should be fairly hands off once running. But if you wanted to use the dockstar as a terminal, you would have to make the following modifications.

  1. Plug in a mouse and keyboard
  2. ssh into the box
  3. If not already installed, apt-get install fluxbox
  4. pkill the feh process
  5. change /.xsession to run fluxbox or another lightweight windowing manager
  6. run the "startx" command


Future Plans

  • Add wireless. Brimstone mentioned he had success with Dlink DWA-125.
  • Pull Images from a samba share
  • Pull Images from a gmail account
  • Pull Images from a facebook album
  • Pull Images from flickrfs

At this point, on boot, feh should start cycling through pictures on the local memory

Resources

Physical

  • Old Dell LCD Screen
  • USB-to-VGA Adapter
  • Dockstar
  • 8Gb Thumb Drive
  • Hama brand wireless 802.11b usb stick

References

Tips from Makers

  • brimstone says a displaylink adapter is ideal
    • use lsmod to determine if SiS module is loaded when plugging in the adapter I have
    • recommends installing xinit and xdm on the dockstar
    • and then something lightweight like fluxbox or lxde
  • ramgarden says to try this for adding to photostream dynamically:
    • http://spoon.cx/~larcher/2009/01/06/flickr-screensaver-for-linux/
    • Then you can email new photos to the flickr account for this photo frame using the special email address unique to each account.
    • Then run the podget every 5 - 10 minutes or so to get the latest pictures from the flickr account.
    • There might be a better way since podget will download every picture but OK if the file location is pointing somewhere with plenty of space.