Bug 6317 - Modify the screen capture utility to write directly to SD card if installed
: Modify the screen capture utility to write directly to SD card if installed
Status: CLOSED FIXED
Product: SB Controller
Classification: Unclassified
Component: UI
: unspecified
: All All
: P3 enhancement (vote)
: 7.0.1
Assigned To: Richard Titmuss
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-11 12:09 UTC by Jim Carlton
Modified: 2009-09-08 09:25 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
write to /mnt/mmc if it's mounted. (1.15 KB, patch)
2007-12-11 20:32 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Carlton 2007-12-11 12:09:00 UTC
To make capturing screens easier for non-*nix literate users, would it be possible to modify the screen capture function to write the BMP files directly to /mnt/mmc if an SD card is present?  This would allow someone access to screen captures without hassling with remote login, SSH, and scp.
Comment 1 KDF 2007-12-11 13:34:13 UTC
Bug isn't it a worthy goal to educate the unwashed masses to use better tools? ;)
I saw something buried in the checkins where Richard had set logging to be to the SDcard if it's mounted, so this should be possible.  It's a matter of whether the logging code was in C or Lua.
Comment 2 KDF 2007-12-11 20:32:19 UTC
Created attachment 2504 [details]
write to /mnt/mmc if it's mounted.

this checks /proc/mounts to make sure /mnt/mmc is in there, then redirects the image output to /mnt/mmc if the sdcard has been mounted.
Comment 3 Blackketter Dean 2007-12-14 07:04:39 UTC
richard: how does this patch look to you?
Comment 4 Richard Titmuss 2007-12-14 07:09:39 UTC
Looks good to me.
Comment 5 KDF 2007-12-14 08:27:59 UTC
It's in trunk at r1152.
Comment 6 Jim Carlton 2007-12-14 12:32:12 UTC
(In reply to comment #0)
> To make capturing screens easier for non-*nix literate users, would it be
> possible to modify the screen capture function to write the BMP files directly
> to /mnt/mmc if an SD card is present?  This would allow someone access to
> screen captures without hassling with remote login, SSH, and scp.
> 

You guys TOTALLY ROCK!  Thanks.

While I agree that we need to teach the great unwashed the benefits of CHMOD and other arcanae, that's a Sisyphean task.  This is the right thing to do.

I'll update my Jive and give it a try.
Comment 7 Richard Titmuss 2007-12-14 12:36:06 UTC
Jim, you'll need to wait until tomorrow after the next nightly build.
Comment 8 James Richardson 2008-05-06 12:30:46 UTC
Verified - press and hold REW + PAUSE till a BEEP is heard to capture an image to the SD card.

Make sure your SD card is write able, if you've not cleanly unmounted the SD card from the system (e.g. pulled out the battery) JiveOS might refuse to mount the SD card, in which case you need to repair or reformat the SD card.
Comment 9 James Richardson 2008-05-15 12:26:38 UTC
This bug has recently been fixed in the latest release of SqueezeCenter 7.0.1

Please try that version, if you still see the error, then reopen this bug.

To download this version, please navigate to: http://www.slimdevices.com/su_downloads.html