Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 05:25
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Eee Atom CPU control - testing
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 10 [137 Posts]   Goto page: 1, 2, 3, ..., 8, 9, 10 Next
Author Message
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Sat 26 Sep 2009, 01:22    Post subject:  Eee Atom CPU control - testing  

I'm close to releasing an ACPI/hotkeys package for ASUS Eee's with Puppy 4.3.
Forum member jakfish is currently testing with one of the Celeron-powered Eee models, but we can't test CPU control of Atom CPU's.

Are there any Eee-Atom owners who are prepared to do some testing?
Here's what I need:

In Puppy 4.3 with the 2.6.30.5 kernel, first run "lsmod" to check that the new "eeepc-laptop" module has automatically loaded.
If it's listed, great. If not, load it manually -
Code:
modprobe eeepc-laptop

Now check your CPU FSB state with this command
Code:
cat /sys/devices/platform/eeepc/cpufv

The result can be -
770 powersave
769 normal
768 performance

The default value will probably be "769" ... but when running on battery the system might be smart enough (?) to be "770".

Now see if you can force the CPU FSB to one of the other modes -
Code:
echo x > /sys/devices/platform/eeepc/cpufv

where x is -
2 powersave (FSB 100MHz)
1 normal (FSB 133MHz)
0 performance (FSB 140MHz)

Each time check for success with the first command -
Code:
cat /sys/devices/platform/eeepc/cpufv


From what I've read, this process should work OK with Atom-based Eee's.
Apparently Celeron-based Eee's need to use the old process involving the third-party "eee" kernel module ...
but Celeron users could certainly try this new process. The result is likely to be no worse than lack of success, and in a worst case situation where a Celeron unit might react badly and start to get warm, just shut down.

Last edited by tempestuous on Sun 27 Sep 2009, 20:55; edited 3 times in total
Back to top
View user's profile Send private message 
mawebb88

Joined: 13 Jul 2008
Posts: 245
Location: France nr Lyon

PostPosted: Sat 26 Sep 2009, 03:07    Post subject: EeePC specials on an EeePN901(Atom CPU N270 @ 1.6 GHz)
Subject description: lsmod
 

Atom CPU N270 @ 1.6 GHz

@tempestuous

Here is my lsmod list (out of the box):

Module Size Used by
cpufreq_ondemand 7232 1
acpi_cpufreq 8440 0
snd_rtctimer 2380 1
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 6 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
pciehp 35692 0
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
uvcvideo 58936 0
videodev 36768 1 uvcvideo
v4l1_compat 14032 2 uvcvideo,videodev
i2c_i801 9504 0
serio_raw 5168 0
pcspkr 2284 0
rt2860sta 541680 1
atl1e 30688 0
i2c_core 23776 1 i2c_i801
snd_hda_codec_realtek 193584 1
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_page_alloc 8852 2 snd_hda_intel,snd_pcm
snd_timer 20340 3 snd_rtctimer,snd_seq,snd_pcm
snd 56516 11 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_timer
soundcore 6912 1 snd
shpchp 31616 0
pci_hotplug 28140 2 pciehp,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
button 5148 0
hwmon 2344 1 eeepc_laptop
rfkill 10672 3 eeepc_laptop
processor 34592 2 acpi_cpufreq
ac 3952 0
fuse 53800 0
aufs 137092 1
nls_iso8859_1 3724 0
nls_cp437 5356 0
usbhid 26112 0
usb_storage 51584 0
squashfs 22928 5
uhci_hcd 21564 0
ehci_hcd 32856 0
usbcore 138160 6 uvcvideo,usbhid,usb_storage,uhci_hcd,ehci_hcd[

Rgds Mike
Back to top
View user's profile Send private message 
mawebb88

Joined: 13 Jul 2008
Posts: 245
Location: France nr Lyon

PostPosted: Sat 26 Sep 2009, 03:17    Post subject: cat > /sys/devices/platform/eeepc/cpufv on Atom Eee  

@tempestuous

Code:
cat > /sys/devices/platform/eeepc/cpufv


Nothing happens in rxvt until I hit the return key a second time and then I get:

cat: write error: Invalid augument

Rgds MIke
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Sat 26 Sep 2009, 03:27    Post subject:  

Sorry. The command should be -
Code:
cat /sys/devices/platform/eeepc/cpufv


I have edited the first post with the correct information.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7835
Location: qld

PostPosted: Sat 26 Sep 2009, 08:39    Post subject:  

Hi tempestuous

I have the eee 701sd

Here's the output from 'lsmod'

Code:
# 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
fan                     4048  0
arc4                    1612  2
ecb                     2508  2
rt73usb                25584  0
rt2x00usb              11308  1 rt73usb
rt2x00lib              29388  2 rt73usb,rt2x00usb
input_polldev           3764  1 rt2x00lib
led_class               4112  1 rt2x00lib
mac80211              166056  2 rt2x00usb,rt2x00lib
cfg80211               64972  2 rt2x00lib,mac80211
crc_itu_t               1836  1 rt73usb
snd_hda_codec_realtek   193584  1 serio_raw               5168  0
i2c_i801                9504  0
i2c_core               23776  1 i2c_i801
atl1e                  30688  0
pcspkr                  2284  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_page_alloc          8852  2 snd_hda_intel,snd_pcm
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_timer
soundcore               6912  1 snd
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
hwmon                   2344  1 eeepc_laptop
rfkill                 10672  2 eeepc_laptop
button                  5148  0
ac                      3952  0
processor              34592  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  1
uhci_hcd               21564  0
ehci_hcd               32856  0
usbcore               138160  7 rt73usb,rt2x00usb,usbhid,usb_storage,uhci_hcd,ehci_hcd


Note: ATM using an external USB wireless G adapter (as I'm sure you know from the output Wink )

Happily ( Smile ) the eeepc modules are there.

Cheers and thanks for your work.

Mick

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7835
Location: qld

PostPosted: Sat 26 Sep 2009, 08:48    Post subject:  

I run that command and I get
Code:
# cat /sys/devices/platform/eeepc/cpufv
769

Confused

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
hokal

Joined: 10 Jun 2009
Posts: 103
Location: Kempen, Germany, dutch border

PostPosted: Sat 26 Sep 2009, 10:30    Post subject:  

That's what I get on my eeepc901

# cat /sys/devices/platform/eeepc/cpufv
768

does it ring a bell ?? I have no idea!
Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Sat 26 Sep 2009, 10:55    Post subject:  

and the answer is:
53 Exclamation
thanks to all participants, be sure to book front row seats for our next jackpot draw coming soon to a lottery stall near you. Razz Cool

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
mawebb88

Joined: 13 Jul 2008
Posts: 245
Location: France nr Lyon

PostPosted: Sat 26 Sep 2009, 18:23    Post subject:  

tempestuous wrote:
Sorry. The command should be -
Code:
cat /sys/devices/platform/eeepc/cpufv


I have edited the first post with the correct information.


That gives 768 (same as for hokal)

Rgds Mike
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Sat 26 Sep 2009, 20:02    Post subject:  

OK, I just did some more Googling, and it appears that the values I listed for setting the mode were correct (0/1/2)
but the values returned from the cpufv control file are different -

770 powersave
769 normal
768 performance

I have corrected the first post.

Can everyone please try changing the mode.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7835
Location: qld

PostPosted: Sat 26 Sep 2009, 21:18    Post subject:  

Hello tempestuous

All commands work as expected on the 701sd.

It is not smart enough to change mode when the plug is pulled and run on battery, even in performance mode. Sad

There are no apparent heat issues, running now at 49°C.
Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: Sun 27 Sep 2009, 00:18    Post subject:  

01micko, the 701SD has the Celeron processor, right?
So you're saying that the Celeron will successfully change CPU modes using this process?
This is contrary to what I have read on the web. I wonder if the mode is truly changing? Can you detect any difference in the modes ... does the powersave mode actually feel less responsive?
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7835
Location: qld

PostPosted: Sun 27 Sep 2009, 00:57    Post subject:  

Hi tempestuous

Yes it is the Celeron. No it doesn't feel much different. I just tested powersaving compared to performance and there really wasn't any perceivable difference.

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
mawebb88

Joined: 13 Jul 2008
Posts: 245
Location: France nr Lyon

PostPosted: Sun 27 Sep 2009, 01:56    Post subject: Tests  

Ok these are my results on my Atom (EeePC901)

Initially on battery

cat /sys/devices/platform/eeepc/cpufv = 769

After echo 2 > /sys/devices/platform/eeepc/cpufv

770

1 gives 769 and after 0 gives 768

But in all cases of issuing echo x > /sys/devices/platform/eeepc/cpufv

I had to CTL/C in rxvt to get the prompt back.

Rgds Mike
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7835
Location: qld

PostPosted: Sun 27 Sep 2009, 02:24    Post subject:  

Ok, maybe we can snag some more testers with this little gui I knocked up such that you can change the status of your performance without going near the command line.
You will see the status in a splash screen about 5 seconds after clicking your choice. Start it from Menu>>System>>Eee Performance.

Warning: Only for eee pcs. Use at own risk. I have tested it but only on a Celeron, no unusual behaviour. If you Atom guys experience your cpu getting warm or something unusual in 'Top' shut down and uninstall the pet.
Do not use on Eeepc900 with 900 Celeron, freezes cursor as reported by rhadon.

Cheers and many thanks tempestuous for your work with eee pcs.

Update: Version 0.1.1 shows a tool tip. eg:"Powersave should show a value of '770'". Only so we know what we are doing.

Of course you should familiarise yourself with the commands in the main post so you know what is happening.
eee-performance-0.1.1.pet
Description 
pet

 Download 
Filename  eee-performance-0.1.1.pet 
Filesize  1.13 KB 
Downloaded  402 Time(s) 
eee.jpg
 Description   
 Filesize   14.29 KB
 Viewed   1876 Time(s)

eee.jpg


_________________
Woof Mailing List | keep the faith Cool |

Last edited by 01micko on Tue 29 Sep 2009, 04:16; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 10 [137 Posts]   Goto page: 1, 2, 3, ..., 8, 9, 10 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1058s ][ Queries: 13 (0.0077s) ][ GZIP on ]