mali
-
<snip>
Sphinxter said:Alec said:Sphinxter said:Embedded device so I wouldn't assume crond much less atd.
Why? 'at' is a standard POSIX application, so it has to work on pretty much any unix-like system.
Providing it is actually there taking up room on nand, stupid of me to even assume bash instead of sh.
ed; script fine, bb broken, usage alarm.sh 15:10 http://fullsack.com/images/alarm.sh
$ ps aux |grep -e USER -e alarm.sh -e atd
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
at 4081 0.0 0.0 2148 488 ? Ss 13:09 0:00 /usr/sbin/atd
me 17133 0.0 0.0 4988 1176 pts/0 S+ 19:23 0:00 bash alarm.sh 19:26
Alec said:Sphinxter said:Alec said:Sphinxter said:Embedded device so I wouldn't assume crond much less atd.
Why? 'at' is a standard POSIX application, so it has to work on pretty much any unix-like system.
Providing it is actually there taking up room on nand, stupid of me to even assume bash instead of sh.
ed; script fine, bb broken, usage alarm.sh 15:10 http://fullsack.com/images/alarm.sh
Your script would still take up more memory than atd
Code:$ ps aux |grep -e USER -e alarm.sh -e atd USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND at 4081 0.0 0.0 2148 488 ? Ss 13:09 0:00 /usr/sbin/atd me 17133 0.0 0.0 4988 1176 pts/0 S+ 19:23 0:00 bash alarm.sh 19:26
[root@www ~]# ls -l /usr/sbin/atd
-rwxr-xr-x 1 root root 20204 2007-07-04 02:35 /usr/sbin/atd
[root@www ~]# ls -l /usr/local/fullsack/images/alarm.sh
-rwxr-xr-x 1 linus linus 155 2009-12-13 16:04 /usr/local/fullsack/images/alarm.sh
[root@www ~]#
Sphinxter said:Alec said:Sphinxter said:Alec said:Sphinxter said:Embedded device so I wouldn't assume crond much less atd.
Why? 'at' is a standard POSIX application, so it has to work on pretty much any unix-like system.
Providing it is actually there taking up room on nand, stupid of me to even assume bash instead of sh.
ed; script fine, bb broken, usage alarm.sh 15:10 http://fullsack.com/images/alarm.sh
Your script would still take up more memory than atd
Code:$ ps aux |grep -e USER -e alarm.sh -e atd USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND at 4081 0.0 0.0 2148 488 ? Ss 13:09 0:00 /usr/sbin/atd me 17133 0.0 0.0 4988 1176 pts/0 S+ 19:23 0:00 bash alarm.sh 19:26
ex-squeeze me?Code:[root@www ~]# ls -l /usr/sbin/atd -rwxr-xr-x 1 root root 20204 2007-07-04 02:35 /usr/sbin/atd [root@www ~]# ls -l /usr/local/fullsack/images/alarm.sh -rwxr-xr-x 1 linus linus 155 2009-12-13 16:04 /usr/local/fullsack/images/alarm.sh [root@www ~]#
And I went on to say that there's no need code your own when there's a pre-existing one :rolleyes:Sphinxter said:Just dashed off a few lines to illustrate, 'you can code your own'.
Hah. You also illustrated the danger of reinventing the wheel.Sphinxter said:Just dashed off a few lines to illustrate, 'you can code your own'.
mali said:I remember an old discussion in the other forums about this, but I can't recall what the conclusion was. People compared it to Nokia's Internet Tablets. A tweaked standby mode should allow wake up, I guess.
belthos said:I thought I read the pandora doesn't have a real time clock?
Does it?
It doesn't seem to get a lot of mention around the place, but maybe it's just not considered interesting enough to bother.RTC = yes!
IrDA = no
Bluetooth = no (now yes), but maybe some day if demand is high and we can keep the cost down
Microphone = yes
RS-232 = yes (well, it is CMOS levels, need external converter so actually this is just a UART controller)
belthos said:I thought I read the pandora doesn't have a real time clock?
Does it?
Belthos
Full Specs
These are constantly changing. Hopefully, this page will be updated with them. When adding information please remember to correctly reference the new information to a reliable source.
General
Core Hardware:
- The name: Pandora [1]
- Dimensions: 140 x 83 x 27 mm (slightly larger than a DS Lite: vs 133 mm × 73.9 mm × 21.5 mm)
- Price: First Batch (available to pre-order): 199 GBP(incl. VAT) (approx. $330 USD, 212 € (excl. VAT)
- Second Batch: $339 USD pre-tax. Regional prices will be adjusted at the time of order to reflect current USD conversion rate.
- The first batch of 4000 Pandoras are still available to pre-order, but only a few are left.
- Case will be a bit smaller the GP2X, and will be a mix of metal and plastic. [2]
- Texas Instrument's OMAP3530 System-on-chip. [3] [4] Specifications can be found at this link: [5]
- PowerVR SGX GPU (OpenGL ES 2.0, several million polygons per second). OpenGL ES demonstrated: [6]
- 128MB of DDR SDRAM in the developer units and 256MB in consumer units.
- Real Time Clock (RTC) built in, to keep track of time. [7]
- 256MB of internal flash memory on developer boards and 512MB on consumer pandoras.
- Will be "unbrickable".
- Display: 800x480 widescreen (5:3), 4.3 inches, touchscreen LCD.[8]
- Brightness:300 cd/m2, Contrast ratio:450:1, Response time:tr+tf=30ms[9]
- Dimensions: 93.6 x 56.2 mm (4.3 inches, 5:3 aspect ratio).
- TV-out included in hardware, A/V-OUT Port (similar in appearance to a large USB OTG port) outputs S-Video and Composite and inputs 3,5mm Headphone/Microphone cables..
- Separate TV-out signals, picture-in-picture capabilities. [10]
- Powerful 2D and 3D hardware acceleration, see above. [11]
B-ZaR said:I was under the impression that this kind of functionality was possible. There've been three or four threads on this and from what I've gathered wake-up-on-rtc should be possible. Have I read wrong somewhere?
shadow.8 said:B-ZaR said:I was under the impression that this kind of functionality was possible. There've been three or four threads on this and from what I've gathered wake-up-on-rtc should be possible. Have I read wrong somewhere?
It doesn't make sense that we won't have the functionality but I guess time will tell...
I don't know a great deal about electronics -- but while I think it's very likely RTC-triggered wake-from-suspend will be possible with this hardware, as far as I know there's nothing intrinsic about RTCs that guarantee this functionality.B-ZaR said:Just to clarify, I was referring to waking up from a suspend-to-ram state on an RTC triggered interrupt.shadow.8 said:It doesn't make sense that we won't have the functionality but I guess time will tell...B-ZaR said:I was under the impression that this kind of functionality was possible. There've been three or four threads on this and from what I've gathered wake-up-on-rtc should be possible. Have I read wrong somewhere?
A Real Time Clock was one of the main things that people wanted but was missing on the GP2X. There was no way that the Pandora devs were ever going to leave it out.Kagato said:It doesn't seem to get a lot of mention around the place, but maybe it's just not considered interesting enough to bother.