• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2
1  General Category / General Discussion / Re: Switching On and Off on: April 03, 2011, 03:11:42 PM
Another option:

- timer used for bathroom fan
I've just found this device:
http://www.elektrobock.cz/en/timer/product.html?id=6
it's typically used for delayed switching off bathroom fan after the lights are turned off.

So the idea is:
- switching on (router + modem + nas) - just turn on all the device with one button
- switching off - router + modem are turned off immediately, while nas runs every 5 seconds script to check if router is active and if not then shuts it self down, nas power adaptor is connected over device with time delayed off so it's got time to shut itself gracefully.
2  General Category / General Discussion / Switching On and Off on: April 03, 2011, 04:55:55 AM
Hi,

I'm using Seagate Dockstar as plug computer working as nas in my local network.

As Dockstar don't have any button for switching on and off (as well as Sheevaplug) I would like to discuss possible options.
My target is to have ON-BUTTON solution which means that router + modem + nas will be switched on and off using only one button - to simplify process of turning on and off.

To clarify upfront:
- I don't want to run network devices 24/7 - if we add up router + modem + nas it might some power consumption
- I don't know solution although I've few thoughts.


Possible solutions:

1) script for monitoring router activity - this solution is partial - it only allows for switching off Dockstar and is based on cron script which pings every 5 seconds router ip and if there is no response it shuts down itself, the problem is that if the router goes up again Dockstar can't sense it

2) ups solution - Dockstar is connected to one plug of extension lead which have switches together with router and modem, switching on will bring up all devices, switching off will immediately turn off router and modem while Dockstar will be connected to UPS which at this stage will inform Dockstar over USB cable to turn it self off - problem with this solution is that using UPS might have influence on the power consumption

3) wake-on lan - this probably is not supported by Dockstar but if it was then my router (ddwrt) can wake up any device on the web when switched on - so with combination of script for monitoring router activity it would be some solution

4) special type of extension lead - automatically switches off standby products when your main device is switched off, where main device would be router and modem and standby device would be nas (dockstar). Dockstar would run script to check if router is still up and switch it self down when router is down - the only problem with this type of extension leads it that they do not have build in delay time between main device and standby device which would give time to nas to run shutdown sequence Sad

What are you thoughts ?
3  Hardware and U-Boot firmware / Hardware / Re: Audio, the SheevaPlug and the Linux distros on: October 20, 2010, 09:52:35 AM
I'm not going to be playing mp3's. I'm only using it for text to speech output on my home automation server. Flite and/or Festival...

Also, this USB sound adapter worked perfectly on my previous and current NAS running linux:

previous NAS:

# CPU: 266MHz, 32bit@133, with floating point
# Memory: 64MB

current NAS:

# CPU Frequency: 1.2GHz
# Memory: 256MB

Sheevaplug has 1.2GHz w/ 512MB so I dunno what the problem is...

Could you try to use madplay just to see if your card is able to work smoothly ?
What is the command to use flite/festival to output text file as sound to usb card ?
4  Hardware and U-Boot firmware / Hardware / Re: Audio, the SheevaPlug and the Linux distros on: October 16, 2010, 06:47:46 AM
Just an update, looks like card works fine with madplay (cpu load about 15 - 20%) and mplayer (cpu load about 30%) but with aplay the sound is very distort.
Similar behaviour noted in this thread.
As I understand the issue is related with the fact that cheap USB cards works in 48 kHz  frequency, so player needs to resample data before sending them to audio card - but this process needs a lot of cpu power. Looks like some player have more efficient implementation of resamplers and they can play mp3 smoothly.

For example here is post which allowed me to use my cheap USB card with mpd (Music Player Daemon):

Quote
For anyone experiencing problems with mpd and $1 48khz usb cards: mpd has to resample the usually 44.1khz music to 48khz. This can be very cpu-intensive depending on the chosen sampler.
Code:
mpd.conf
audio_output_format             "48000:16:2"
samplerate_converter            "ZOH Interpolator"
The zoh resampler is reasonable fast on the dockstar, the default will result in very slow playback and 100% cpu load.

Original post is here:
http://plugapps.com/forum/viewtopic.php?f=6&t=206&start=10#p2049
5  Hardware and U-Boot firmware / Hardware / Re: Audio, the SheevaPlug and the Linux distros on: October 11, 2010, 01:32:15 PM
Just an update, looks like card works fine with madplay (cpu load about 15 - 20%) and mplayer (cpu load about 30%) but with aplay the sound is very distort.

And one more thing with mplayer, initially it show error, but wait a second and it will play fine:

AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

6  Hardware and U-Boot firmware / Hardware / Re: Audio, the SheevaPlug and the Linux distros on: October 11, 2010, 05:10:19 AM
Any tutorials on this?

I'm getting complete garble/distortion with my "3D Sound" USB audio adapter. It works on my Synology NAS...
Hi,

And one more comment found on:

http://www.nslu2-linux.org/wiki/HowTo/SlugAsAudioPlayer

"...
I (karibou-hunter) found, and tried, successfull this one : http://www.dealextreme.com/details.dx/sku.5831 (this site is amazing Smiley

I (epninety) found that not all the USB sound dongles are equal. Mine looks like those described (translucent case, "3D-sound"), but only has one LED (some have two), and doesn't use the CM10x chip. It works straight out of the box, and plays my 320kbit MP3s with no glitches or gaps. Trouble is, the distortion is terrible! Even a simple sine wave has lots of distortion - (2nd harmonic of 10kHz tone only -20dB at full output, lots of other 'sprogs' visible too). Maybe I got a bad one? Chip bears the numbers "1621 C1-M6C P4A53-010C", not sure of the manufacturer.
..."

Looks like some devices which event look this same are different and will not work correctly ?!
7  Hardware and U-Boot firmware / Hardware / Re: Audio, the SheevaPlug and the Linux distros on: October 11, 2010, 04:58:51 AM
Any tutorials on this?

I'm getting complete garble/distortion with my "3D Sound" USB audio adapter. It works on my Synology NAS...

Hi,

I've found this article:
http://www.hermann-uwe.de/blog/playing-audio-on-the-nslu2

I was testing my card with mpg321 and aplay - author of that link reports that these players do not works properly - what players did you used to test your card ?

Yes I know that he is using nslu2 but maybe there might be common problem with lack of FPU ?

Regards.
8  Hardware and U-Boot firmware / Hardware / Re: Audio, the SheevaPlug and the Linux distros on: October 11, 2010, 04:44:23 AM
Any tutorials on this?

I'm getting complete garble/distortion with my "3D Sound" USB audio adapter. It works on my Synology NAS...
Hi,

I've exactly this same problem - did you solved it ?

Regards.
9  Hardware and U-Boot firmware / Hardware / Re: Seagate FreeAgent DockStar Network Adapter as plug computer on: October 05, 2010, 04:47:34 AM
Hi,
Just to feedback - my DockStar works great Smiley currently I'm running vnc and soon more Smiley
10  General Category / General Discussion / Re: Unable to install JRE 6 on: August 26, 2010, 09:39:10 AM
Thanks buddy, I installed Java SE Embedded and resolved the problem  Grin

I've just downloaded arm5 java from sun, my question are:

- Is it really free if you no selling product based on that java ?
- What is you experience with that java for arm5 ?
- Is it possible to run Jetty or Tomcat or any other java web servers ?
11  General Category / Application ideas and development Q/A / Re: Sun JDK is not installable on Debian Lenny - any ideas? on: August 26, 2010, 09:37:35 AM
Hi

I am running Sun's 'embedded' SE JRE for ARMv5 for my Tomcat Web server.  You can download the JRE for eval for 3 months from java.sun.com.  I'm going to pony up he $50 to run a single production instance in December because it is is working very well for me, and basically as fast as I expect to get on this platform.

I am using IcedTea with a fastish interpreter c/o Xerxes Rånby, and I am anticipating an Iced Tea / Zero / Shark combo by December in Debian.  It aim to compare that against Sun's JRE.

I also have installed the basic OpenJDK from Ubuntu: very very very slow pure interpreter but it works.

The GlobalScale site is hawking some sort of IBM JRE/JDK on an SD card.  I'd be interested to know how well it works.

Rgds

Damon


I might be wrong but this information might be not up to date.

According to official page

http://www.oracle.com/technetwork/java/embedded/overview/embedded-faq-159987.html#faq10

looks like it's free for development:

Quote
Q: 10. How is Java SE for Embedded licensed?

Java SE is free to use for development of embedded applications. We provide affordable licensing for deploying Java SE in an embedded device or as part of a embedded-based system. Please contact us when you are ready to deploy or if you have already deployed but not sure you have the correct license.

but later on this same page there is another information:

Quote
Q: 11. Does deploying Java SE for embedded devices or purposes require a royalty?

Yes. Oracle's license for Java SE enables it to be freely used for general purpose desktops or servers. If Java SE is bundled as part of a dedicated solution that involves or controls hardware of some kind, then it's likely an embedded application and is subject to modest royalty payments.

So probably something changed over time when SUN was bought by ORACLE ?

Is it really free if you no selling product based on that java ?

What is you experience with that java for arm5 ?

Is it possible to run Jetty or Tomcat or any other java web servers ?
12  Hardware and U-Boot firmware / Hardware / Re: Seagate FreeAgent DockStar Network Adapter as plug computer on: August 25, 2010, 05:14:24 AM
Probably nobody interested but I've just bought my brand new DockStar on Ebay for £39 Smiley (including delivery)

... and now I'll be more frequent guest of this forum Smiley
13  Hardware and U-Boot firmware / Hardware / Re: Seagate FreeAgent DockStar Network Adapter as plug computer on: August 23, 2010, 02:09:30 AM
Looks like you did a good deal Smiley

On Ebuyer the price is £38.37 + postage £9.99 (IRL) = £48.36 = 59.18E
http://www.ebuyer.com/product/179675?utm_source=google&utm_medium=products

On Pixmania £ 35.92  + postage £ 4 = £39.42 = 48.24E
http://www.pixmania.co.uk/uk/uk/3956359/seagate/all_merchant/freeagent-dockstar-networ.html

So it still looks like ordering from Germany is still good idea Smiley - just not sure about tax and if plug fits UK outlet.
14  Hardware and U-Boot firmware / Hardware / Re: Seagate FreeAgent DockStar Network Adapter as plug computer on: August 22, 2010, 01:28:51 PM
One more question: looks like if I'll buy FreeAgent from USA it's much cheaper then in EU/UK
Cheaper in the USA as the around 20EUR here in Germany (also EU)?

Have you seen it in some german online shop ?
15  Hardware and U-Boot firmware / Hardware / Re: Seagate FreeAgent DockStar Network Adapter as plug computer on: August 20, 2010, 08:42:02 AM
Great pages ! Thank you very much ! Smiley

One more question: looks like if I'll buy FreeAgent from USA it's much cheaper then in EU/UK but then what about the plug ? Are there few plugs in set or for US version it's equipped only in US plug and works on 110V only?
Pages: [1] 2