Eee Atom CPU control - testing

Using applications, configuring, problems
Message
Author
User avatar
prehistoric
Posts: 1744
Joined: Tue 23 Oct 2007, 17:34

re: kernel modules and stack trace on boot

#106 Post by prehistoric »

@tempestuous,

I apologize if this post is verbose, but I'm trying to avoid misunderstanding. I went back and downloaded those pets just before I ran this yesterday to get that depmod_FULL change you mention. I'm holding the installation which showed the problem on an SD card, so I can slip it in and exactly reproduce things. I'm hoping this will keep it from being contaminated by separate experiments.

First, results of modinfo:

Code: Select all

:# modinfo eee
filename:       /lib/modules/2.6.30.5/kernel/drivers/acpi/eee.ko
description:    Support for eeePC-specific functionality.
author:         Andrew Tipton
license:        GPL
depends:        i2c-core
vermagic:       2.6.30.5 SMP mod_unload modversions 486 
#  
# modinfo eeepc_laptop
filename      /lib/modules/2.6.30.5/kernel/drivers/platform/x86/eeepc-laptop.ko
license:        GPL
description:    Eee PC Hotkey Driver
author:         Corentin Chary, Eric Cooper
alias:          acpi*:ASUS010:*
depends:        hwmon,rfkill
vermagic:       2.6.30.5 SMP mod_unload modversions 486 
# 
Here's my complete lsmod output:

Code: Select all

# lsmod
Module                  Size  Used by
parport_pc             29828  0 
lp                      9476  0 
parport                34508  2 parport_pc,lp
snd_pcm_oss            37440  0 
snd_seq_dummy           2608  0 
snd_seq_oss            27648  0 
snd_seq_midi_event      6892  1 snd_seq_oss
snd_seq                48464  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6968  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_mixer_oss          15820  1 snd_pcm_oss
eee                     5188  1 
i2c_core               23776  1 eee
iptable_mangle          2380  0 
iptable_nat             4684  0 
nf_nat                 17888  1 iptable_nat
ipt_REJECT              2828  1 
nf_conntrack_ftp        7120  0 
nf_conntrack_irc        5136  0 
iptable_filter          2348  1 
xt_state                1836  4 
nf_conntrack_ipv4      13336  7 iptable_nat,nf_nat
nf_conntrack           63764  6 iptable_nat,nf_nat,nf_conntrack_ftp,nf_conntrack       _irc,xt_state,nf_conntrack_ipv4
nf_defrag_ipv4          1708  1 nf_conntrack_ipv4
ip_tables              11228  3 iptable_mangle,iptable_nat,iptable_filter
fan                     4048  0 
arc4                    1612  2 
ecb                     2508  2 
ath5k                 117296  0 
mac80211              166056  1 ath5k
led_class               4112  1 ath5k
serio_raw               5168  0 
cfg80211               64972  2 ath5k,mac80211
pcspkr                  2284  0 
snd_hda_codec_realtek   193584  1 
atl1e                  30688  0 
snd_hda_intel          24232  0 
snd_hda_codec          64620  2 snd_hda_codec_realtek,snd_hda_intel
snd_pcm                72496  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              20340  2 snd_seq,snd_pcm
snd                    56516  10 snd_pcm_oss,snd_seq_oss,snd_seq,snd_seq_device,       snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_pcm,snd_time       r
soundcore               6912  1 snd
snd_page_alloc          8852  2 snd_hda_intel,snd_pcm
shpchp                 31616  0 
pci_hotplug            28140  1 shpchp
intel_agp              25788  1 
agpgart                34188  2 intel_agp
video                  18560  0 
output                  2796  1 video
battery                10032  0 
thermal                12712  0 
evdev                   9472  0 
eeepc_laptop           11680  0 
rfkill                 10672  2 eeepc_laptop
button                  5148  0 
hwmon                   2344  1 eeepc_laptop
processor              34592  1 
ac                      3952  0 
fuse                   53800  0 
aufs                  137092  1 
nls_iso8859_1           3724  1 
nls_cp437               5356  1 
usbhid                 26112  0 
usb_storage            51584  1 
squashfs               22928  2 
uhci_hcd               21564  0 
ehci_hcd               32856  0 
usbcore               138160  5 usbhid,usb_storage,uhci_hcd,ehci_hcd
#
Modification of rc.local

Code: Select all

# cat /etc/rc.d/rc.local
#this file called from rc.sysinit
#you can edit this file
#When firewall is installed, will append lines to this file...

if [ -x /etc/rc.d/rc.firewall ]; then
  /etc/rc.d/rc.firewall start
fi
modprobe eee
/usr/sbin/eee-fan-ctrl.sh &
# 
Does that cover all the questions?

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#107 Post by 01micko »

Ok, sorry for getting a little off topic here.. but my pain with the p4-clockmod module does not exist, that is because the module is non-existent in 430-small.iso...(a bug reported in 430-small) (thanks anyway dawnsboy). The current compile of SHE is just not working on Puppy with the Eee-pc-701SD.

Back to the gui, which is the point here.. where are the other Celeron testers? I suppose this is an Atom thread so some are scared off. I will start a new thread to see if some folks with Celerons want to run some commands so I get a better picture. I may provide a minor upgrade in the meantime, with a few refinements.

Cheers.
Puppy Linux Blog - contact me for access

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#108 Post by tempestuous »

prehistoric, the result from your "modinfo eee" command confirms that the eee module is loaded on your system.
So the fan control script should not complain about the /proc/eee directory being missing.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#109 Post by 01micko »

Ok testers,

Here is 0.4
Changelog
-changed "OK" button to close
-added a splash which shows up for a few seconds letting the user know something is happening
-changed the pinstall script to detect "stepping :6" (older Celerons) and will install the appropriate invoking script to /usr/bin... newer Celerons will use the atom GUI now (*rhadon's and my 701SD)

To Do
-there is no built in mechanism to detect what mode the machine is in at boot.
-it seems later Celerons are in "Normal" mode at boot, older Celerons "Powersave" and I'm not sure about Atoms.

I'm making a new thread for Celeron users, no older Celeron users have posted here so I'm just relying on tempestuous info and google.
Please offer any feedback

Enjoy

SEE NEWER POST V-0.5
Last edited by 01micko on Sat 10 Oct 2009, 12:25, edited 1 time in total.
Puppy Linux Blog - contact me for access

User avatar
prehistoric
Posts: 1744
Joined: Tue 23 Oct 2007, 17:34

fan control bug

#110 Post by prehistoric »

prehistoric, the result from your "modinfo eee" command confirms that the eee module is loaded on your system.
So the fan control script should not complain about the /proc/eee directory being missing.
I agree, but I'm still getting the error reported earlier. I'm going to do a new installation on another SD card to test the 0.4 script in case this install has been corrupted during testing. We'll see what happens.

User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#111 Post by rhadon »

@ 01micko

Please, can you tell me which scripts I must delete manually to uninstall your eee-cpucontrol-03.pet? I can't find it in PPM.

Don't know what was going wrong, sometimes at shutdown the screen freezes and shows a lot of small squares in different grey colours and the only chance to go out is the poweroff button. Posted first by aarf here. I know you've read this post. Perhaps this was the reason.

Or can I just install the newer one over the old one?

~ Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#112 Post by 01micko »

rhadon wrote:@ 01micko

Please, can you tell me which scripts I must delete manually to uninstall your eee-cpucontrol-03.pet? I can't find it in PPM.

Don't know what was going wrong, sometimes at shutdown the screen freezes and shows a lot of small squares in different grey colours and the only chance to go out is the poweroff button. Posted first by aarf here. I know you've read this post. Perhaps this was the reason.

Or can I just install the newer one over the old one?

~ Rolf
This one is safe to install over the top.

Rolf, you will have a 3 button gui now :wink: , I had the same problem with my late model Celeron, had to hard poweroff.

Cheers, Mick
Puppy Linux Blog - contact me for access

dawnsboy

#113 Post by dawnsboy »

@01micko

I downloaded and installed eee-cpucontrol-04.pet on my 701 4G, Intel Celeron 900MHz, 100MHz FSB Eeepc. It works quite well on Puppy Linux 4.3 k-2.6.25.16. Thank you.

cat /proc/eee/fsb echoes 70 24 1 in power save mode and 100 24 1 in performance mode. I believe that this version should work very well on all of the 701/900's that have a 100MHz FSB.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#114 Post by 01micko »

Thanks for report dawnsboy, that's the one I was looking for :wink: One thing, when you boot your machine is the fsb 70 or the last chosen mode?

Cheers
Puppy Linux Blog - contact me for access

dawnsboy

#115 Post by dawnsboy »

@01micko

You are welcome. My machine reboots to default mode.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#116 Post by 01micko »

Thanks for prompt response dawnsboy. It looks as if all eeepcs boot into default mode. That being the case, the gui should reflect that. If it isn't I can fix it.

Cheers
Puppy Linux Blog - contact me for access

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#117 Post by cthisbear »

01micko"

PM to you again in Puppy.

Chris.

dawnsboy

#118 Post by dawnsboy »

The gui does reflect that on this machine. Well done.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#119 Post by tempestuous »

prehistoric,
Your problem might be that the eee module takes time to fully load, and the fan control script needs to wait a bit.
Please try adding "sleep 5" between the two commands; open /etc/rc.d/rc.local in Geany, and modify it to look like this -

Code: Select all

modprobe eee
sleep 5
/usr/sbin/eee-fan-ctrl.sh &
If this solves the error message after bootup, you can reduce the sleep value (4,3,2,1) to minimise the wait.

User avatar
prehistoric
Posts: 1744
Joined: Tue 23 Oct 2007, 17:34

/proc/eee

#120 Post by prehistoric »

@tempestuous,

Tried a "sleep 10" with no luck. Time to go back and make sure I'm testing what I intend. I would have done this today, if other tasks had not intervened.

-------

Latin motto for Puppy:
Quanti canicula ille in fenestra

User avatar
rhadon
Posts: 1292
Joined: Thu 27 Mar 2008, 11:05
Location: Germany

#121 Post by rhadon »

@ 01micko

Sorry Mick, your 3 button GUI doesn't work for me. As I posted here, at Powersave mode I get the small message 'setting mode to Powersave' but nothing happens (tested with 'cat /proc/eee/fsb' , always '100 24 1' ) and at Normal mode the system freezes. With

Code: Select all

 cat /sys/devices/platform/eeepc/cpufv
I always get 512. Perhaps this has something to do with it?

~ Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#122 Post by 01micko »

Hmmm, Thanks Rolf, ok so you must need the 2 button gui.

Version 5 will be soon. (sorry about that)
Puppy Linux Blog - contact me for access

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#123 Post by 01micko »

Ok testers,

Here is 0.5
Changelog
-changed "OK" button to close
-added a splash which shows up for a few seconds letting the user know something is happening
-reverted the pinstall script to detect "Celeron"and will install the appropriate invoking script to /usr/bin


To Do
-fix detection of 701SD (done 11Oct2009)

SEE newer post
Last edited by 01micko on Sun 11 Oct 2009, 00:08, edited 1 time in total.
Puppy Linux Blog - contact me for access

mawebb88
Posts: 246
Joined: Sun 13 Jul 2008, 09:54
Location: France nr Lyon

eee-cpucontrol-0.5.pet

#124 Post by mawebb88 »

Just got back from a hol so catching up with this topic.

I unstalled any previous eee-cpucontrol and installed eee-cpucontrol-0.5.pet (is this for both the Atom and Cerelon?)

Looks good to me. But I have a problem with the fan control. I am trying to run the fan speed at 60 and the gui reports this a 60 but

Code: Select all

cat /proc/eee/fan_speed
always give 40 as the answer.

BTW I have installed the other required eee specials i.e.
xbacklight-1.1
eee-0.2-k2.6.30.5
acpid-1.0.10-Eee

Rgds Mike

EDIT: just tried echo 150 > /sys/class/hwmon/hwmon0/pwm1 and that is reflected when I do cat /proc/eee/fan_speed giving 58

another test 200 gives 78

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#125 Post by 01micko »

Testers,

I've made a minor update to the post install script which detects the specific case of a 701SD. For that case the Atom GUI is installed. For all other Celerons the Celeron gui is installed. For all Atoms the Atom gui is installed.

For newcomers, the Celeron gui has 2 radio buttons and the Atom gui has 3 radio buttons.

This will overwrite V's 0.1 to 0.5, but it is good practice to uninstall old versions.

Cheers and thanks.
Attachments
eee-cpucontrol-0.6.pet
(12.86 KiB) Downloaded 1100 times
Puppy Linux Blog - contact me for access

Post Reply