• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Asus EEE PC 1000H

ccc

Aspiring Daemon

Thanks: 11
Messages: 621

#51
THX, this is a good manual.
I've converted windows driver using ndisgen:
Code:
The file rt2860_sys.ko has been successfully generated.
You can kldload this module to get started.
and now I can load it manually:
Code:
# kldload ./rt2860_sys.ko
# kldstat
Id Refs Address    Size     Name
 1   28 0xc0400000 9fab28   kernel
 2    2 0xc0dfb000 289a4    linux.ko
 3    2 0xc0e24000 4a64c    sound.ko
 4    1 0xc0e6f000 1ae38    snd_hda.ko
 5    1 0xc0e8a000 6a45c    acpi.ko
 6    1 0xc5916000 7000     linprocfs.ko
 7    1 0xc5923000 b000     ntfs.ko
 8    1 0xc5d1d000 9000     i915.ko
 9    1 0xc5d2d000 13000    drm.ko
10    1 0xc629e000 225000   rt2860_sys.ko
11    1 0xc64c3000 c000     if_ndis.ko
12    2 0xc64dc000 16000    ndis.ko
Then I've copied rt2860_sys.ko into /boot/modules directory and add this lines to /boot/loader.conf:
Code:
ndis_load="YES"
if_ndis_load="YES"
rt2860_sys_load="YES""
and it seems to work.
 

thuglife

Active Member

Thanks: 42
Messages: 160

#53
I don't have a domain yet (my ip is dynamic) but you can try ftp.

It would be nice if anyone could host this in a more permanent location.
 

klanger

Member

Thanks: 6
Messages: 88

#56
Is there a need for using eeemon on eeepc with FREEBSD-8.0?

If so, how can I customize it?

I'm loading it, it is seen in kldstat, but I can't change any setting of eeemon... and to be honest i don't see any change in fan speed etc (Fn works though which is most likely due to eeemon.ko module)

Also, how to check eeepc fan-speed?
 

klanger

Member

Thanks: 6
Messages: 88

#57
OK, after a while I have few answers about eeemon (a very limited info is in google, or I just don't know where to search).

First of all, one need to "install" add to boot/kernel/ eeemon.ko - you can find a link via eeepc freebsd wiki)

Then simply as su

Code:
kldload eeemon
and add to /boot/loader.conf

Code:
eeemon_load="YES"
next to see eeemon module setup just

Code:
sysctl dev.eeemon
and you'll get something like

Code:
dev.eeemon.0.%desc: Asus Eee PC Hardware Monitor
dev.eeemon.0.%driver: eeemon
dev.eeemon.0.%parent: isa0
dev.eeemon.0.voltage: 1
dev.eeemon.0.fan_manual: 0
dev.eeemon.0.fan_speed: 40
now to set fan speed manually type

Code:
sysctl dev.eeemon.0.fan_manual=1
From this moment your eeepc cpu temperature is in your hands, so don't forget to monitor cpu temp, and to adjust fan speed if it is needed!


and to change/setup fan speed

Code:
sysctl dev.eeemon.0.fan_speed=65
where 65 could be any number from 0 to 85 (90)

0 is 0 rpm, 25 is about 800 rpm, 65 -> 1700 rpm, and 85 -> 2400 rpm.

to monitor cpu temperature simply type

Code:
sysctl dev.cpu.0.temperature
to see fan speed

Code:
sysctl dev.cpu.0.fan
That is it. All setting (if not changed in other config file) will be changed to default after a reboot.

Since there is no autoscript for fan control (in FBSD) for eeepc, I'm working on one with a great help from Adcomp form #! forum.

Will update this post, if anything interesting comes out (fan control script).
 

klanger

Member

Thanks: 6
Messages: 88

#58
Together with regexorcist from http://fossnet.linux-hardcore.com we made a very simple script for eeepc fancontrol.

To make it work, you need eeemon.ko loaded.

Code:
#!/bin/sh

sysctl dev.eeemon.0.fan_manual=1

var_ref=1
while [ $var_ref > 0 ]
do
   var_result=`sysctl dev.cpu.0.temperature`
   var_temp=`echo "$var_result" | sed 's/dev.cpu.0.temperature: //g'`

   scale=0
   var_setting=`expr $var_temp - 10`
   sysctl dev.eeemon.0.fan_speed=$var_setting

   sleep 10
done
Should work on any eeepc with eeeemon working (tested on eeepc 900 with celeron 900Mhz & it works just fine).
 

greyulv

New Member


Messages: 15

#59
Klanger, any suggestions if I loaded the eeemon driver but don't see anything in sysctl? Running 7.2 FBSD.

The command:
Code:
# kldstat -v
# 19   1 0xcb617000 3000  eeemon.ko
         Contains modules:
                 Id Name
                 488 isa/eeemon
# sysctl dev.eeemon
# sysctl: unknown oid 'dev.eeemon'
What should I look for in dmesg?

Grey
 

klanger

Member

Thanks: 6
Messages: 88

#60
Have you downloaded eeemon from the web (links is at eeepc freebsd wiki - at the bottom) and copied it manually to /boot/modules folder (the same for all other modules eg acpi_asus etc) ?

I have eeemon.ko added to FBSD-8.0.

Try
Code:
kldstat
and if you'll get eeemon in the list, it means it is loaded, also add eeemon module to /boot/loader.conf

If eeemon is loaded try for eg.:
Code:
sysctl dev.eeemon.0.fan_speed
or just
Code:
sysctl dev.eeemon.0
PS. more info when i'll be login to FBSD, I'm at the moment using DragonFlyBSD ;)

PS.2 - Try my fan control script which is just above your post - execute it as root, if it works (and change your fan speed then all is loaded and works fine) - ;)
 

greyulv

New Member


Messages: 15

#61
I downloaded the files from the link, ran Make: Loaded the modules:

Code:
# kldstat
 1   34 0xc0400000 b1ad40   kernel  
...
 9    1 0xc0fe6000 599c     acpi_asus.ko
...
18    1 0xc6dc4000 3000     eeemon.ko
#
And then looked for the eeemon and found nothing:

Code:
# sysctl -a |grep dev.eeemon
#
 

klanger

Member

Thanks: 6
Messages: 88

#62
I have to check that once again, but it seems that eeemon doesn't support eeepc BIOs v 1006.

I've upgraded BIOs to be able to boot/install DragonFlyBSD and now eeemon module seems to not work correctly (or at all).

I'll report on that.
 

joz

New Member


Messages: 2

#63
Installed eeemon on 1005HA, loaded it and same problem as above: sysctl doesn't display the appropriate eeemon entries to play with fan and temperature.
 
Top