Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (7) </ 1 2 3 4 5 [6] 7 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Using DSL for an LCD Picture-Frame project< Next Oldest | Next Newest >
beakmyn Offline





Group: Members
Posts: 63
Joined: Sep. 2004
Posted: Nov. 11 2004,20:49 QUOTE

Do you have some type of pop-up blocker running? They open in a new window. I've tested them using Opera and Internet Explorer and works under both for me.

Anyway, tune2fs -j /dev/hda1 didn't work. I pulled the plug and when I rebooted it was mad. After a second reboot it ws ok but I still don't the error. This is the last hurdle. If I could figure out a way to make the filesystem survive having the plug pulled I'd be set.


--------------
Have you seen my Damn Small Digital Picture frame?
http://www.frontiernet.net/~pictureframe
http://rapidshare.com/files/27769266/pframedsl.iso.html
http://www.joyceandkevin.com/dslpictureframe/pframedsl.rar
Back to top
Profile PM WEB AOL MSN YIM 
AwPhuch Offline





Group: Members
Posts: 1404
Joined: April 2004
Posted: Nov. 11 2004,22:02 QUOTE

Perhaps a script to automatically reboot after it scans for errors...
Like:
Code Sample
# A return of 2 or higher means there were serious problems.
if [ $RC -gt 1 ]; then
       echo "$STRING: Failed"
       echo "*** An error occurred during the file system check."
       echo "*** Dropping you to a shell; the system will reboot"
       echo "*** when you leave the shell."
       export PS1="(Repair filesystem) \# # "
       sulogin
       echo "Unmounting filesystems"
       umount -a
       mount -n -o remount,ro /
       echo "Automatic reboot in progress."
       reboot -f
fi
to this
Code Sample
# A return of 2 or higher means there were serious problems.
if [ $RC -gt 1 ]; then
   export PS1="(Repair filesystem) \# # "
   if [ $RC -lt 4 ]; then
       echo "$STRING: Repaired."
       echo "*** Reboot required. The system will reboot in 30 seconds."
       sulogin -t 30
   else
       echo "$STRING: Failed"
       echo "*** An error occurred during the file system check."
       echo "*** Dropping you to a shell; the system will reboot"
       echo "*** when you leave the shell."
       sulogin
   fi
   echo "Unmounting filesystems"
   umount -a
   mount -n -o remount,ro /
   echo "Automatic reboot in progress."
   reboot -f
fi
borrowed from SmoothWall Express boot script
Perhaps the DSL guys can figure out a way to have it reboot after a scan...this way even if it does bomb..it will reboot and continue on by itself

It looks like the file might be /etc/init.d/mountall.sh but I might be wrong...one of the other supergurus might know where it is located better

Brian
AwPhuch


--------------
http://www.frappr.com/dsl <-- Where do you use DSL?
http://www.smoothwall.org <-- Ultimate firewall for the world!
http://boinc.mundayweb.com/one/stats.php/userID:6107 <--My BOINC stats!
./S99LinuxRevolution start
Back to top
Profile PM WEB 
ico2 Offline





Group: Members
Posts: 802
Joined: July 2004
Posted: Nov. 12 2004,14:23 QUOTE

this is a seriously cool sounding project :)
we should have a special page where people can put all the wierd projects done with dsl (another forum?)


--------------
ico2
Back to top
Profile PM MSN 
Alan
Unregistered






Posted: Nov. 12 2004,15:10 QUOTE

Hi,
Just wanted to add $0.02 to the electronic pictureframe conversation.  I saw my MedCosm Pictureframe project mentioned and it runs very well with DSL.  I will add some directions on installing using frugal_lite in the near future, but the DSL board here is a much better resource.  

Anyway, regardless of what program is used for running the slideshow, my program may be useful in setting up an electronic pictureframe because it offers the ability to resave a directory of pictures in a smaller resolution, increased compression (decreased quality), and with a date-stamp superimposed on the picture.  This is particularly useful for compressing your high-quality bit-crushing 5.1 megapixel images down to something more reasonable for use on that Pentium 133 with 810 MB hard-drive and 800x600 display that you were making into a holiday gift for Aunt Bertha.  The program is FOSS released under the GPL.

Good luck with your electronic pictureframes.  :)
Back to top
beakmyn Offline





Group: Members
Posts: 63
Joined: Sep. 2004
Posted: Nov. 12 2004,15:41 QUOTE

I saw the Medcodm frame and thought about that program.

Feh seems to be doing a good job. And since I came across a 4gb drive I'm no longer worried about file space. Since my pictures come off my windoze box I use Irfanview to barch resize before I burn them to CD. But, I like Medcosm idea, too bad it wasn't written in assembly ;)

A couple updates need to be made to that write up

Version 0.8.4 has automatic login if you don't select multi-user mode. I'm not sure when this was added.

Quote

Lastly, you could edit /etc/fstab to mount the root disk as readonly so that the system doesn't mind if the power is turned off at any time. I didn't do this since the ext3 filesystem seems pretty robust and I might want to update the pictures on the laptop occasionally.


The ro setting in fstab doesn't appear to work. I was never able to get /dev/hda1 to boot readonly so I used tune2fs -j to make it ext3 and now if I power down it just takes and extra reboot to get going again.

I'm looking into AwPhuch's idea and wondering if /etc/init.d/knoppix-autoconfig is the right place. Who's the GURU to point in the right direction?

[edit nov 13]

Original thread from Awphuch's post about the reboot


--------------
Have you seen my Damn Small Digital Picture frame?
http://www.frontiernet.net/~pictureframe
http://rapidshare.com/files/27769266/pframedsl.iso.html
http://www.joyceandkevin.com/dslpictureframe/pframedsl.rar
Back to top
Profile PM WEB AOL MSN YIM 
32 replies since Oct. 11 2004,20:21 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (7) </ 1 2 3 4 5 [6] 7 >/
reply to topic new topic new poll
Quick Reply: Using DSL for an LCD Picture-Frame project

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code