![]() |
#601 |
Enthusiast
![]() Posts: 25
Karma: 14
Join Date: Jul 2009
Location: Nakhon Pathom, Thailand
Device: Nokia N800, SmartQ7
|
I believed I found what's wrong with the clock. It's a script called "94cpufreq" inside this directory, '/usr/lib/pm-utils/sleep.d". When q7 goes into suspension, the pm-suspend command script will call this routine and it changes the frequency of the cpu hence the clock speed. The rtc will keep the correct value until q7 goes into suspension again. Then a script "90clock" in the same dir will update the realtime clock (rtc).
I don't know about python script and how the system clock utilizes the cpu frequency. So, this is the most I can do. Anyone with the knowledge should take a look at the script to verify and find way to correct the clock. Please. |
![]() |
![]() |
![]() |
#602 | |
Zealot
![]() Posts: 105
Karma: 24
Join Date: Jun 2009
Location: Texas, USA
Device: Nokia N800, Kindle 2, Kindle DX, SmartQ 5 & 7, Mirus CT9W7
|
Quote:
The same script appears in the same place on the Q5. The Q5 does an even worse job of keeping time. After a reboot/shutdown, it always reports a date of January 2, 1904 under the latest firmware. I can reset the date and time with Sync but it's still irritating. Any suggestions for this Q5 clock issue? |
|
![]() |
![]() |
Advert | |
|
![]() |
#603 |
Zealot
![]() Posts: 105
Karma: 24
Join Date: Jun 2009
Location: Texas, USA
Device: Nokia N800, Kindle 2, Kindle DX, SmartQ 5 & 7, Mirus CT9W7
|
A Quick Comparison of the Q7 and Kindle Family
I don't want to start a flame war but I'd like to invite those who have both a Q7 and a Kindle, Kindle 2, and/or Kindle DX to chime in about how they compare. However, I must admit I'm biased toward the Q7.
Consider the hardware. Some of the advantages of the Q7 include the full-size SDHC slot, the two USB ports, color touch-screen display, WIFI, etc. Of course, Whispernet is a big plus for the Kindle family. Auto screen rotation on the DX is very cool and actually useful for web browsing. However, I much prefer being able to attach an external USB keyboard over using any of the three different Kindle keyboards. Consider the software. You can run all sorts of software on the Q7. Right out of the box, the Q7 comes with a word processor, spreadsheet, drawing program, etc. Also, adding stuff like Flite and Mirage is fairly easy to do but this requires some tech skills. The Kindles are part of a closed ecosystem but the Kindle Store makes this ecosystem very useful. There's nothing like being able to order a bestseller and have it delivered in under a minute. However, I've been in areas without Whispernet coverage but can still use the Q7's WIFI at the local library or another free hotspot. Thanks to Google Books, there are over a million public domain works available for the Q7. Midori works well with Google Books for online reading and PDFs are available for offline reading. ![]() One of the big disappointments I've had with the Kindle DX is how it handles PDFs. I know some people here are complaining about Evince but the PDF reader built into the DX is much worse. Evince on the Q7 will open PDFs that generate error messages on the DX. One of the surprises in comparing the DX to the Q7 is that the DX is actually heavier. Ounces matter. I prefer either the Q7/Kindle 2 over the DX for extended reading. Also, I think the DX is more awkward to use. The Q7 can be either a one-handed or two-handed device while the DX seems easiest to use with two hands. For $489, I expected a lot more from the DX. For $190 plus shipping, I think the Q7 is a great bargain. What are other people's thoughts? |
![]() |
![]() |
![]() |
#604 |
Groupie
![]() ![]() Posts: 159
Karma: 149
Join Date: Jul 2009
Device: A81 MID, Dell Streak
|
I don't own a Kindle, but the pricing is imho ridiculous - that's why I don't own one. Especially the dx. For the same price you could purchase an Asus eee T91 and have a fully functional tablet computer. Hook it up to your cell and you've got the same ability to d/l books from nearly anywhere but you're not limited to a single book seller.
|
![]() |
![]() |
![]() |
#605 | |
Zealot
![]() Posts: 105
Karma: 24
Join Date: Jun 2009
Location: Texas, USA
Device: Nokia N800, Kindle 2, Kindle DX, SmartQ 5 & 7, Mirus CT9W7
|
Check Out This Script
Quote:
![]() I'm using my Q5 as a test bed for tweaks that I move to the Q7 and resetting the date/time has become a real pain because packages I install get the wrong date/time stamps if I'm not careful. (1904 is not a plausible year for a package/library.) I decided to use the date/time problem as an excuse to write my first script. The script given below resets the clock with any available time server then speaks the time. It requires that the Q5/Q7 be connected to the Internet and have flite installed (flite_time installs with the latest flite package from repository.handhelds.org). Flite_tiime uses the syntax, "flite_time HH:MM" where HH:MM is something like 10:02. Disclaimer: This is not meant as a sterling example of scripting, just one that works. Your mileage may vary. I opened up /usr/bin as Root and loaded "lxde-logout" in Leafpad. I saved the file as "now" without the quotes before making any changes to avoid corrupting my original "lxde-logout" file. I edited the "now" file so it contains only the following: #!/bin/sh sudo ntpdate pool.ntp.org var_now='date +%H:%M' flite_time $var_now I saved the file to the same directory and right clicked on it to change the Permissions to enable Execute for Owner, Group, and Other Users. To test the script, select the Panel Menu option Run and type "now" without the quotes in the text field and tap the OK button. The Q5/Q7 should go out to the 'net, update the time and date, and use a Scottish voice to tell what time it is. I like this script and hope you do, too. Please feel free to help improve it. ![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#606 | |
Zealot
![]() Posts: 105
Karma: 24
Join Date: Jun 2009
Location: Texas, USA
Device: Nokia N800, Kindle 2, Kindle DX, SmartQ 5 & 7, Mirus CT9W7
|
Hardware Clock Scripts
Quote:
I was looking into modifying my ntpdate script using cron and came across info on the hardware clock. Two init scripts, hwclockfirst.sh and hwclock.sh, may help you address the clock speed issue. I'm not sure exactly how they work but you may get more from reading them than I did. I pretty much agree with this guy: http://ubuntuforums.org/showthread.php?t=117751. The scripts (hwclockfirst.sh and hwclock.sh) are in the /etc/initd/ folder for the Q7. Checking further, I though this quote was important: "The correction factor for the RTC is stored in /etc/adjtime." and it comes from http://www.linux.org/docs/ldp/howto/Clock-3.html. I've checked and adjtime is in the /etc/ folder on the Q7. Also, have you considered looking at /etc/acpi/ which includes scripts for suspend and resume of wicd on the Q7? The following link discusses the clock and the /etc/acpi/ folder. See https://bugs.launchpad.net/ubuntu/+s...ort/+bug/36815. The patch is located here: http://launchpadlibrarian.net/292403...-hwclock.patch. Let me know whether you think this was worthwhile.... |
|
![]() |
![]() |
![]() |
#607 | |
Enthusiast
![]() Posts: 25
Karma: 14
Join Date: Jul 2009
Location: Nakhon Pathom, Thailand
Device: Nokia N800, SmartQ7
|
Quote:
Sep 2 06:44:46 Suwat kernel: s3c2410-rtc s3c2410-rtc: setting system clock to 2009-09-01 23:44:31 UTC (1251848671) meaning that kernel clock got updated from rtc which equaled "2009-... (1251848671)" at that moment. |
|
![]() |
![]() |
![]() |
#608 |
Zealot
![]() Posts: 105
Karma: 24
Join Date: Jun 2009
Location: Texas, USA
Device: Nokia N800, Kindle 2, Kindle DX, SmartQ 5 & 7, Mirus CT9W7
|
Q5 RTC
[QUOTE=Suwat;576883]Did you check "syslog" under "/var/log"? QUOTE]
@Suwat Thanks for being willing to make some suggestions. rogue_ronin is right about there being two clocks in Linux: the RTC/Hardware Clock and the System Clock/Software Clock. See the discussion here under 2.1 Basic Strategies (http://www.linux.org/docs/ldp/howto/Clock-2.html#ss2.1). My Q5 hardware clock (RTC) is way off and won't reset. ![]() At your suggestion, I checked the "syslog" file in "/var/log" and found this line: Jan 2 19:40:04 mojo kernel: s3c2410-rtc s3c2410-rtc: setting system clock to 2040-02-08 08:08:00 UTC (2212301280) However, the Q5 doesn't reset the date/time to 2040-02-08 08:08:00. It stays at Jan 2 19:40:04 as evidenced by the remaining lines in the syslog file and the clock on the desktop after the boot process is complete. The hardware clock always shows this date and time after a reboot/shutdown. It's almost as if when the Q5 is turned off, the RTC is not getting any power and defaults to this basic date/time. Other possible explanations include a bad kernel, bios, or hardware clock. When the Q5 is put into suspend mode (not plugged in) and and then woken up, the clock shows the time when it was suspended, not the current time. This makes me wonder whether the hardware clock itself is bad. The Q7 acts normally--it shows the correct time when rebooted and updates it when it comes back from hibernation. I'd like to see what happens when the Q5 hardware clock is reset to the correct system date/time and the system rebooted. I found out how to change the RTC to the system clock settings but it doesn't work on the Q5 and I get a weird message. The command and argument is "sudo hwclock --systohc" and it's followed by this message, "Timed out waiting for time change". This is consistent with a diagnosis of a bad hardware clock and not a kernel or bios issue. Issuing the same command and argument on the Q7 executes it without the "Timed out" message. Any further help you can provide would be appreciated. Otherwise, I think I'm going to work on my "now" script to automatically update itself (say hourly) and just assume I'll never be able to reset the hardware clock. Of course, I could return the Q5 to eletroworld for a warranty repair/replacement but shipping is costly. |
![]() |
![]() |
![]() |
#609 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
|
I'll try to chime in with more stuff when my Q7 comes back from China. This is the second (third?) time they've shipped it. At least this time they told me about it and gave me a tracking number.
And twice they've split the shipping with me, so they try to be fair. Anyhow, there doesn't seem to be a BIOS -- it's not a *86. It's the ARM thing again; our mental models for how to deal with it are inaccurate. If/when mine arrives I'll do an "ARM bootup" search and see where it takes me. Thanks for all the awesome stuff you guys are adding in here. m a r |
![]() |
![]() |
![]() |
#610 | |
Addict
![]() ![]() Posts: 270
Karma: 112
Join Date: Jun 2009
Location: England
Device: SmartQ 7
|
Quote:
|
|
![]() |
![]() |
![]() |
#611 | |
Zealot
![]() Posts: 105
Karma: 24
Join Date: Jun 2009
Location: Texas, USA
Device: Nokia N800, Kindle 2, Kindle DX, SmartQ 5 & 7, Mirus CT9W7
|
Cron
Quote:
Job scheduling commands include anacron, at, and cron. Anacron is best suited for the SmartDevices Q5 and Q7 because they are turned off much of the time while cron is meant for systems that run continuously (24/7). Unfortunately, anacron will not work with jobs that run more often than daily so it's cron for my application. My "now" script should be run as a crontab job. Unfortunately, cron and crontab don't seem to be installed on the Q5 or Q7. The folder /etc/ contains the expected subfolders for cron.d, cron.daily, cron.monthly, and cron.weekly. The system-wide crontab file should be found in /etc/crontab but no such file exists. Also, there should be a user-specific crontab found in /usr/bin/crontab but that does not exist either. There's a GUI for creating crontab jobs called gnome-schedule but it won't work without a system crontab. It's no simple feat to add cron to a system that doesn't have it up and running. I've been unable to find a thorough explanation of how to do this. Essentially, from my Ubuntu newbie perspective, this means I've reached a dead end. That's too bad because cron covers all sorts of useful activities like checking email, running a backup, setting a reminder, and so on. If anyone can work out how to get cron and crontab working, please let me know. ![]() |
|
![]() |
![]() |
![]() |
#612 |
Groupie
![]() ![]() Posts: 159
Karma: 149
Join Date: Jul 2009
Device: A81 MID, Dell Streak
|
WinCE v2 is finally out for the Q7
http://www.smartdevices.com.cn/suppo...09/03-769.html Alteration and addition of new features * Added DreamScene Problem correction * Resolved after you connect the power of touch screen reaction insensitive questions * Fixes a problem after an improper shutdown, the need to shut down before you can use WiFi question * Fixed a sometimes Hibernate cannot wake-up problems * Fixed a problem of the power on 花屏, and increase the power-on logo (I think this is talking about the weird screens when booting, they added a logo) SmartQ 7 WinCE 6.0 system installation method * Please upgrade to the firmware version 4.0. * Please back up the good data on SD card, format the SD card after. * Will download the compressed file to decompress after boot, LBE and DreamScene_SmartQ three directories to format the SD card (FAT32) of the root directory.(if the SD card has multiple partitions, you first put to the FAT32 partitions) * Will the license file (license) to the root of the SD card. * To restart.In a multiple-system boot menu press + keys to select WinCE icon, press return key (right of the power on key press keys) start WinCE system. * Please do not delete the license file.System will be randomly check the legality of the license file. Note: * Please use the correct authorization file authorization, if you find are incorrect, please contact customer service. Chi and a deviceThe use of illicit certification file authentication, failed more than 3 times and will cause the system locked.When you are prompted authentication fails please contact customer service processing. * In the WinCE system, non-normal shutdown may cause WiFi cannot locate the problem.Experience this behavior, WinCE long key press the power to confirm open after shutting down back restart your computer. * WinCE system file deposited in the SD card, please do not use the system of SD card, in the plug to prevent file corruption. * Please install Microsoft ActiveSync to enable PCs and WinCE system for data synchronization. |
![]() |
![]() |
![]() |
#613 |
Zealot
![]() Posts: 105
Karma: 24
Join Date: Jun 2009
Location: Texas, USA
Device: Nokia N800, Kindle 2, Kindle DX, SmartQ 5 & 7, Mirus CT9W7
|
Have Fun With Xscreensaver
For those of you who would like to experiment with a Linux screensaver, try "sudo apt-get install xscreensaver" in evilvte.
If all goes well, xscreensaver should appear under Preferences on the Panel Menu. You may want to install jiongtang's screen rotation utility script as well (go to http://www.jiongtang.com/blog/html/category/smartq5 and scroll down to the link for the firmware you're using). Of course, the Q5 script has been tested on the Q7 and runs fine. The jiongtang screen rotation tool will allow you to see the entirety of some xscreensaver screen options on the Advanced tab like Text Manipulation and Fading and Colormaps, which otherwise fall off the bottom of the screen. The Advanced tab also allows you to take control of the Power Management on the Q7 with settings for Standby, Suspend, and Off. I'm using the Sonar screensaver as my current default. What's your favorite screensaver? |
![]() |
![]() |
![]() |
#614 | |
Member
![]() ![]() Posts: 22
Karma: 104
Join Date: Jun 2009
Device: none
|
Quote:
From there you can use the cron gui you mentioned, or run "crontab -e" at the command line to edit your personal cron file. Keep in mind that that will open vi as a file editor which might be a bit confusing if you haven't used it before. (as a very quick intro, hit "i" to start editing, then "esc" when you are done and :wq to save the file and quit. :q! will save and ditch your changes). When you quit it will tell, you something about "installing new crontab" and you should be good to go. |
|
![]() |
![]() |
![]() |
#615 | |
Zealot
![]() Posts: 105
Karma: 24
Join Date: Jun 2009
Location: Texas, USA
Device: Nokia N800, Kindle 2, Kindle DX, SmartQ 5 & 7, Mirus CT9W7
|
You're Right!
Quote:
![]() I thought I had tried this very simple step a while ago and it didn't work for some reason. I tried again and cron installed with "sudo apt-get install cron" fine. ![]() I think I originally may have tried "sudo apt-get install crontab" and didn't realize that there was a difference. Thanks for helping a newbie! Here's a dose of karma... |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Smart Q 7 Help | Blackranger3d | Alternative Devices | 1 | 12-11-2009 03:23 PM |
SMB with Smart Q7? | serwei | Alternative Devices | 5 | 09-17-2009 04:16 PM |
just got my Smart Q7 | Nate the great | Alternative Devices | 40 | 07-03-2009 07:43 PM |
smart q7 | kakolirisn | Which one should I buy? | 5 | 06-28-2009 05:38 PM |
iLiad Smart I/O | Michele L.M. | iRex Developer's Corner | 3 | 08-01-2008 04:49 AM |