General TC > Tiny Core Netbooks

Toshiba Satellite T215D

<< < (2/8) > >>

MikeLockmoore:
@tinypoodle: Well, for one thing, the key combo (Fn + F9) does not work in TinyCore 3.4, at least with my current configuration.  Plus, it would be nice if it was more automatic.  It's not so bad if you plug in the mouse and can just press the key combo once to disable the touchpad.  But it would be very annoying to be switching it on and off all the time if I need to use the trackpad for pointing, but also need to type often; say, when participating in this forum, or programming.  Just fer instances.  ;)

MikeLockmoore:
I have the power management working.  ;D  Now I should be able to squeeze 4+ hours out of this little guy, as I can with Fedora. (Quick update: From a fully charged battery, screen at its dimmest but still-visible setting, not running any active programs besides one aterm, the estimated battery life from Flit is about 5 1/2 hours! Under more realistic scenarios, I'd be happy with a solid 4+ hours.)

I installed cpufreqd.tcz + deps.  For the AMD Athlon II Neo Processor K125, I need to use the "powernow-k8.ko" driver to monitor and adjust the frequency.  I added the following to my /opt/bootlocal.sh file:


--- Code: ---sudo modprobe /home/tc/bin/powernow-k8.ko
sudo modprobe cpufreq_conservative
sudo modprobe cpufreq_ondemand
sudo modprobe cpufreq_powersave
sudo modprobe cpufreq_userspace
sudo /usr/local/etc/init.d/cpufreqd start

--- End code ---

The default cpufreqd.conf file is fairly complex, so I used the following version (I think it was from a Gentoo wiki) :

--- Code: ---[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=3
enable_plugins=acpi_ac, acpi_battery
enable_remote=1
remote_group=wheel
verbosity=5
[/General]

[Profile]
name=ondemand
minfreq=0%
maxfreq=100%
policy=ondemand
[/Profile]

[Profile]
name=conservative
minfreq=0%
maxfreq=100%
policy=conservative
[/Profile]

[Profile]
name=powersave
minfreq=0%
maxfreq=100%
policy=powersave
[/Profile]

[Profile]
name=performance
minfreq=0%
maxfreq=100%
policy=performance
[/Profile]

[Rule]
name=battery
ac=off
profile=conservative
[/Rule]

[Rule]
name=battery_low
ac=off
battery_interval=0-10
profile=powersave
[/Rule]

[Rule]
name=ac
ac=on
profile=ondemand
[/Rule]

--- End code ---

Now, when running with light loads (most of the time), the CPU runs at 800 MHz, but will ramp up to 1.7 GHz when needed.

MikeLockmoore:
Touchpad:  The suggestion I read to set up udev rules to handle managing the touchpad when a mouse plug/unplug event is detected did not work for me.  :P  So I wrote my own script.   ;D  At least the udev suggestion gave me the awareness of the synclient (Synaptics Client) utility so I can better manage this stuff.

Here is the script:

--- Code: ---#!/bin/sh

old_have_mouse=0
while [ 1 ]; do
have_mouse=`cat /proc/bus/input/devices | grep -c "USB Optical Mouse"`
echo "have_mouse=$have_mouse"
if [ $have_mouse -eq 1 ]; then
if [ $old_have_mouse -ne $have_mouse ]; then
echo "Disabling touchpad"
# Disable the touchpad now, since there is now a mouse
synclient TouchpadOff=1
fi
else
if [ $old_have_mouse -ne $have_mouse ]; then
echo "Enabling touchpad"
# Re-enable the touchpad now, since the mouse is gone
synclient TouchpadOff=0
fi
fi
old_have_mouse=$have_mouse
sleep 3
done

--- End code ---

andriscom:
Hi,

 I have a similar problem. When I try to load the kernel module for my CPU:

sudo /sbin/modprobe powernow-k8
modprobe: can't load module powernow-k8 (kernel.tclocal/arch/x86/kernel/cpu/cpufreq/powernow-k8.ko.gz): No such device

 So actually it's not in the kernel.
 Where did you get the powernow-k8.ko from? I have a remastered MicroCore with 64bit kernel, so I think I cannot use the x86 version of this driver.

Edit: I have found out that hwmon-2.6.33.3-tinycore64.tcz should be the solution. I have extracted the file:
/usr/local/lib/modules/2.6.33.3-tinycore64/kernel/arch/x86/kernel/cpu/cpufreq/powernow-k8.ko.gz

And tried to modprobe it:
sudo modprobe powernow-k8.ko
modprobe: can't load module powernow-k8.ko (kernel.tclocal/arch/x86/kernel/cpu/cpufreq/powernow-k8.ko.gz): No such file or directory

What am I missing here?

curaga:
The module message is very clear, the module is there, but you don't have such hardware.

edit: Maybe it's disabled in the bios. Maybe it's not supported by your bios. There are a lot of reasons why it would not detect a supported device.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version