Re: What I have to do for the same?
Quoting Paul Fox p...@laptop.org: pas...@diogoantunes.org wrote: Hi, I have a simple question: when I use my XO-1, if I do nothing, after 15 sec, it changes to a middle-suspend : only the screen isn't off. So what I have to enable or disable to have the same on another init mod (init 2 for example)? Because I would to have the minimum of services (with my initdefault on starting up), without modificate my init (5). So for the moment, I have modificated the inittab, but now, I would to have the middle-suspend on inactivited use. How and what I have to do? this is the correct list for your question. the middle suspend you speak of, triggered by inactivity, is provided by /usr/sbin/powerd. powerd doesn't care about init levels, so if you arrange to have powerd run in runlevel 2, then you will get the same behavior you currently get in runlevel 5. the configuration for powerd is found in /etc/powerd/powerd.conf. there is more documentation in the comments in /usr/sbin/powerd itself. (for better or worse, powerd is a shell script.) any modifications you make to the powerd configuration will take effect both in init 5 and in init 2. paul Thanks in advance. Best Regards, Pascal Diogo Antunes. ps: sorry if i wrote on the wrong list, but i didn't have response on the test@list. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel =- paul fox, p...@laptop.org Okay thanks. The problem is on the init 2 mod, even with powerd runed, I have no reactions (with screen blank or freeze) on a idle functionment. I change the values on configuration, but it works only on init 5. No big deal, I did simple test, I will do all what I want on init 5. So you said all I needed. Thanks. Libere, Pascal Diogo Antunes. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Page Fault message on XO-1 and another Fix Clock question
On Mon, Feb 4, 2013 at 2:25 PM, Christoph Derndorfer christoph.derndor...@gmail.com wrote: Hey James, On Mon, Feb 4, 2013 at 5:32 AM, James Cameron qu...@laptop.org wrote: On Mon, Feb 04, 2013 at 12:58:47AM +0200, Christoph Derndorfer wrote: (1) on Friday while looking at one of the XO-1s which didn't show anything on the display (even with a display which was known to work) with the serial adapter I saw the attached output. Reviewed, thanks. thanks a lot for the quick reply. Looking at the wiki now and given the number of invalid system date issues we saw on other machines I assume this is a case of the page fault message situation described on http://wiki.laptop.org/go/Fix_Clock# If_the_screen_does_not_turn_on. Yes, this is likely. Turns out this was indeed the issue and I now fixed it. Or are there any other issues which could produce such an output? There might be, but if you have a version before Q2D05 which was released in 2007, there's almost no chance of anybody remembering anything useful. It has been more than five years! To verify that the Page Fault is happening because of the known problem (ticket #5391, svn 752), please use the Open Firmware ok prompt to display the values in the real-time clock, using the .clock command: ok .clock If the month is invalid, then the Page Fault is most likely to be the one expected. Another method would be to take an XO-1 with Q2D06 or earlier, remove the clock battery, force the problem again, and see if the serial log looks the same. I expect it will. There are other methods to diagnose, but these require immediate collaboration with a firmware engineer, and I don't think it is worth doing that yet. (2) Mike sent me a bunch of ML 1220 batteries as replacements for the XO-1 units which showed the invalid system date messages. However even with the new batteries in-place, after verifying that the (old) battery holders looked okay and having set the current time on the command-line the system date reverted back to 2000-01-01 00:00:00 after every reboot (and hence the invalid system date message kept coming up again). Any suggestions on what to do in such a situation? Charge the battery before the power cycle test. On the XO-1, it will recharge from the main power source while the laptop is powered on and fully awake (not suspended). When recharging an empty battery, it is expected that the battery will reach normal voltage levels after around 30 minutes of charging, but will require potentially 24 hours for a complete recharge. http://wiki.laptop.org/go/Fix_Clock#RTC_power_dynamic has the above text. Thanks a lot for that information, I had somehow managed to miss it. I'm now charging the four XO-1s which are here in the office and still displaying the invalid system date error. Let's see whether it works out. FWIW: Still no luck even though they have been charging for an hour now and automatic power saving is turned off... :-/ However seeing that I have to leave the office in 2~3 hours to catch my plane back home and the laptops do work just fine (outside of displaying the error message at the beginning) I guess I'll just have to leave it at that. Cheers, Christoph Check that the battery voltage is reasonable. Check that the connector is passing the voltage properly to the circuit board. Unfortunately I don't have any measuring equipment here so I can't do that. Also, please make sure you upgrade the firmware as soon as you can, so that you aren't impacted by this problem any further. All of the concerned XO-1s which have this problem are running firmware Q2F12 (and 12.1.0). Cheers, Christoph -- Christoph Derndorfer volunteer, OLPC (Austria) [www.olpc.at] editor, OLPC News [www.olpcnews.com] contributor, TechnikBasteln [www.technikbasteln.net] e-mail: christ...@derndorfer.eu -- Christoph Derndorfer volunteer, OLPC (Austria) [www.olpc.at] editor, OLPC News [www.olpcnews.com] contributor, TechnikBasteln [www.technikbasteln.net] e-mail: christ...@derndorfer.eu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Anything to be done about a blown XO-1 fuse
On Feb 4, 2013, at 8:18 AM, Christoph Derndorfer wrote: Hi again, while investing why an XO-1 wouldn't charge I discovered that the 2A fuse near the power plug seems to have been blown and was fixed by someone simply soldering over it (see the attached photo). Wow, first we've seen outside of torture tests! That fuse should only blow if someone tried to power the laptop with greater than +/-40V. Now I'm wondering whether there's anything to be done about that or if that's something that essentially can't be fixed in the field? Solder down another small 2A fast blow fuse (3A for XO-1.5 or later). If a repair center found a blown fuse, I would also recommend checking the protective diodes D118 and D123. Cheers, wad ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: What I have to do for the same?
pas...@diogoantunes.org wrote: Quoting Paul Fox p...@laptop.org: pas...@diogoantunes.org wrote: Hi, I have a simple question: when I use my XO-1, if I do nothing, after 15 sec, it changes to a middle-suspend : only the screen isn't off. So what I have to enable or disable to have the same on another init mod (init 2 for example)? Because I would to have the minimum of services (with my initdefault on starting up), without modificate my init (5). So for the moment, I have modificated the inittab, but now, I would to have the middle-suspend on inactivited use. How and what I have to do? this is the correct list for your question. the middle suspend you speak of, triggered by inactivity, is provided by /usr/sbin/powerd. powerd doesn't care about init levels, so if you arrange to have powerd run in runlevel 2, then you will get the same behavior you currently get in runlevel 5. the configuration for powerd is found in /etc/powerd/powerd.conf. there is more documentation in the comments in /usr/sbin/powerd itself. (for better or worse, powerd is a shell script.) any modifications you make to the powerd configuration will take effect both in init 5 and in init 2. paul Thanks in advance. Best Regards, Pascal Diogo Antunes. ps: sorry if i wrote on the wrong list, but i didn't have response on the test@list. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel =- paul fox, p...@laptop.org Okay thanks. The problem is on the init 2 mod, even with powerd runed, I have no reactions (with screen blank or freeze) on a idle functionment. I change the values on configuration, but it works only on init 5. No big deal, I did simple test, I will do all what I want on init 5. So you said all I needed. there are two other programs that i forgot about. sorry. you also need to be sure that olpc-switchd and olpc-kbdshim are running in init 2. these are support programs that help powerd. (you didn't say what software version you are running on your XO-1. on recent systems, olpc-kbdshim is a standalone daemon, but on earlier systems its invoked via hal.) paul Thanks. Libere, Pascal Diogo Antunes. =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Anything to be done about a blown XO-1 fuse
On Mon, Feb 4, 2013 at 4:13 PM, John Watlington w...@laptop.org wrote: On Feb 4, 2013, at 8:18 AM, Christoph Derndorfer wrote: Hi again, while investing why an XO-1 wouldn't charge I discovered that the 2A fuse near the power plug seems to have been blown and was fixed by someone simply soldering over it (see the attached photo). Wow, first we've seen outside of torture tests! That fuse should only blow if someone tried to power the laptop with greater than +/-40V. Yeah, it must have been quite something because the area around the fuse has been blackened... Now I'm wondering whether there's anything to be done about that or if that's something that essentially can't be fixed in the field? Solder down another small 2A fast blow fuse (3A for XO-1.5 or later). If a repair center found a blown fuse, I would also recommend checking the protective diodes D118 and D123. Okay, thanks a lot for the information. Since I don't have the time to research where to buy such a fuse and then solder it in I'll just leave instructions here with the machine. Plus I already gutted that XO for spare parts so right now it's sitting next to me without a camera, antennas, battery, etc. ;-) Thanks, Christoph Cheers, wad -- Christoph Derndorfer volunteer, OLPC (Austria) [www.olpc.at] editor, OLPC News [www.olpcnews.com] contributor, TechnikBasteln [www.technikbasteln.net] e-mail: christ...@derndorfer.eu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: What I have to do for the same?
If you are using Sugar, you can also disable power management from the control panel. cheers, m On Sun, Feb 3, 2013 at 6:52 PM, pas...@diogoantunes.org wrote: Hi, I have a simple question: when I use my XO-1, if I do nothing, after 15 sec, it changes to a middle-suspend : only the screen isn't off. So what I have to enable or disable to have the same on another init mod (init 2 for example)? Because I would to have the minimum of services (with my initdefault on starting up), without modificate my init (5). So for the moment, I have modificated the inittab, but now, I would to have the middle-suspend on inactivited use. How and what I have to do? Thanks in advance. Best Regards, Pascal Diogo Antunes. ps: sorry if i wrote on the wrong list, but i didn't have response on the test@list. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- martin.langh...@gmail.com mar...@laptop.org -- Software Architect - OLPC - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: What I have to do for the same?
martin wrote: If you are using Sugar, you can also disable power management from the control panel. i believe pascal is trying to do something different. i believe he wants power management, but nothing else -- no X, no sugar. so he wants a different run-level to include power management. paul cheers, m On Sun, Feb 3, 2013 at 6:52 PM, pas...@diogoantunes.org wrote: Hi, I have a simple question: when I use my XO-1, if I do nothing, after 15 sec, it changes to a middle-suspend : only the screen isn't off. So what I have to enable or disable to have the same on another init mod (init 2 for example)? Because I would to have the minimum of services (with my initdefault on starting up), without modificate my init (5). So for the moment, I have modificated the inittab, but now, I would to have the middle-suspend on inactivited use. How and what I have to do? Thanks in advance. Best Regards, Pascal Diogo Antunes. ps: sorry if i wrote on the wrong list, but i didn't have response on the test@list. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- martin.langh...@gmail.com mar...@laptop.org -- Software Architect - OLPC - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: XO-4 not resuming after suspend
On 3 Feb 2013, at 22:04, Paul Fox p...@laptop.org wrote: jerry wrote: On Sat, 2013-02-02 at 09:25 +1100, fors...@ozonline.com.au wrote: I have an XO-4 B1, OFW Q7B14, EC Firmware 0.3.10, os28. It won't resume after suspend, but sometimes it does. I couldn't reproduce the bug, but it happens most of the time. ... Anyone else seeing this? I'm seeing this with my B1, hard lock just after suspending, can't awaken the XO via any input method. Sorry no logs for this one. For me, OS28 XO-4 doesnt seem to be going into suspend, mostly. It did suspend once and when it resumed it did not load the cursor, just a square of noise like a QR code, a bug we had in the early XO-4 builds. It seems suspend has regressed from OS27. Tony I'm seeing this with the C2 unit I have, enabling powerd's tracing shows suspend is being skipped with cpu busy once a rtcalarm wakeup event occurs during until_dim-soft. I have the logs if needed. thanks -- yes, we've observed that something is consuming cpu on os28, preventing suspend. Testing os28 on a XO-4 B1, and XO-4 C2: Interestingly if automatic power management is disabled in Sugar, My Settings, the backlight does start to correctly auto switch off when idle. With automatic power management on it is even preventing the backlight from powering off. --Gary paul =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: XO-4 not resuming after suspend
gary wrote: On 3 Feb 2013, at 22:04, Paul Fox p...@laptop.org wrote: jerry wrote: On Sat, 2013-02-02 at 09:25 +1100, fors...@ozonline.com.au wrote: I have an XO-4 B1, OFW Q7B14, EC Firmware 0.3.10, os28. It won't resume after suspend, but sometimes it does. I couldn't reproduce the bug, but it happens most of the time. ... Anyone else seeing this? I'm seeing this with my B1, hard lock just after suspending, can't awaken the XO via any input method. Sorry no logs for this one. For me, OS28 XO-4 doesnt seem to be going into suspend, mostly. It did suspend once and when it resumed it did not load the cursor, just a square of noise like a QR code, a bug we had in the early XO-4 builds. It seems suspend has regressed from OS27. Tony I'm seeing this with the C2 unit I have, enabling powerd's tracing shows suspend is being skipped with cpu busy once a rtcalarm wakeup event occurs during until_dim-soft. I have the logs if needed. thanks -- yes, we've observed that something is consuming cpu on os28, preventing suspend. Testing os28 on a XO-4 B1, and XO-4 C2: Interestingly if automatic power management is disabled in Sugar, My Settings, the backlight does start to correctly auto switch off when idle. With automatic power management on it is even preventing the backlight from powering off. it's an algorithmic thing: if suspend is desired, and can't happen, no ensuing actions (dimming, blanking) will happen either. but if suspend isn't desired, it's effectively scheduled far, far, in the future. so dimming and blanking will happen first, and they're not inhibited by most suspend inhibitors (like CPU busy, in this case). paul =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Page Fault message on XO-1 and another Fix Clock question
On Mon, Feb 04, 2013 at 03:22:29PM +0200, Christoph Derndorfer wrote: FWIW: Still no luck even though they have been charging for an hour now and automatic power saving is turned off... :-/ However seeing that I have to leave the office in 2~3 hours to catch my plane back home and the laptops do work just fine (outside of displaying the error message at the beginning) I guess I'll just have to leave it at that. Get the laptops serviced by someone with voltage measurement tools and electronics repair skills. -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Page Fault message on XO-1 and another Fix Clock question
On Tue, Feb 5, 2013 at 12:47 AM, James Cameron qu...@laptop.org wrote: On Mon, Feb 04, 2013 at 03:22:29PM +0200, Christoph Derndorfer wrote: FWIW: Still no luck even though they have been charging for an hour now and automatic power saving is turned off... :-/ However seeing that I have to leave the office in 2~3 hours to catch my plane back home and the laptops do work just fine (outside of displaying the error message at the beginning) I guess I'll just have to leave it at that. Get the laptops serviced by someone with voltage measurement tools and electronics repair skills. Yeah, maybe Mike, who's going to Zambia in two weeks, can find someone with the right equipment and skills. Thanks again for all your support, Christoph -- Christoph Derndorfer volunteer, OLPC (Austria) [www.olpc.at] editor, OLPC News [www.olpcnews.com] contributor, TechnikBasteln [www.technikbasteln.net] e-mail: christ...@derndorfer.eu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
[Server-devel] Dansguardian
I know there have been some XS deployments that used dansguardian . Can someone give me a config file or some pointers as to how get this to work with squid and XS networking? Thanks, Tim ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel