Thomas Bettler | 10 Dec 19:18 2004
Picon

module uhci-hcd and pm

Hello you all

The uhci-hcd module causes the cpu to work at highest frequecy
(according to x86info -mhz). If I unload it, cpu frequency dropps from full
(1.8GHz) to ~2/3 (1.1GHz). In both cases top shows 97% or even 99% idle.
modprobing it again speeds the cpu up again.

So module uhci-hcd prehibits the cpu clock from saving power on notebooks. (At 
least theese with P4-M cpus)

What code forces the cpu to run at high speed? Can I tweak the module to 
permit slower cpu speed?

Thomas Bettler
Maximilian Decker | 15 Dec 09:12 2004
Picon
Picon

linux-wlan-ng and kernel 2.6.10-rc3

Hi all,

Like many others I also had problems with prism2 based cards and the
2.6.10 kernels - the logs showed messages about unresolved symbols and
the card just refused to work. It turned out that internal changes in
the recent linux kernels simply broke compatibility to software like
linux-wlan-ng.
(well, maybe the next version of linux-wlan-ng will solve that issue,
but I do not know when it will be released .....
.... if someone knows, please let me know - thanks)

If you want to use linux-wlan-ng-0.2.1pre23 with linux 2.6.10-rc3, you
might want to try my patch that brings back the deprecated "dev_get"
and again exports hotplug_path. I know it is kind of ugly to workaround
like that, but I did not want to wait for the next linux-wlan-ng release
;-) Well, it works for me.

if you are interested, you can find it here:
http://burbon04.gmxhome.de/linux/2.6.10_hotplug.html

(use it at your own risk ! absolutely no warranty ;-)

Cheers,

- Maximilian

-
To unsubscribe from this list: send the line "unsubscribe linux-laptop" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
(Continue reading)

Maximilian Decker | 16 Dec 11:29 2004
Picon
Picon

linux-wlan-ng and kernel 2.6.10-rc3

Hi all,

sorry for posting that again, but my recent mail seemed to get
lost somewhere (at least it is not shown in the archives ....)
... please apologize if some of you get it twice ...

----------

Like many others I also had problems with prism2 based pcmcia cards
and the 2.6.10 kernels - the logs showed messages about unresolved
symbols and the card just refused to work.
It turned out that internal changes in the recent linux kernels
simply broke compatibility to software like linux-wlan-ng.
(well, maybe the next version of linux-wlan-ng will solve that issue,
but I do not know when it will be released .....
.... if someone knows, please let me know - thanks)

If you want to use linux-wlan-ng-0.2.1pre23 with linux 2.6.10-rc3, you
might want to try my patch that brings back the deprecated "dev_get"
and again exports hotplug_path. I know it is kind of ugly to workaround
like that, but I did not want to wait for the next linux-wlan-ng release
;-) Well, it works for me...

if you are interested, you can get it here:
http://burbon04.gmxhome.de/linux/files/2.6.10_old_hotplug.diff.gz

for more information see:
http://burbon04.gmxhome.de/linux/2.6.10_hotplug.html

(use it at your own risk ! absolutely no warranty ;-)
(Continue reading)

Nishanth Aravamudan | 16 Dec 21:06 2004
Picon

apm_mainloop() waitqueue usage

Hello,

I am working on a Kernel Janitors TODO entry dealing with the use of
schedule_timeout(). In the process, I came across
arch/i386/kernel/apm.c::apm_mainloop(), which uses waitqueues &
schedule_timeout() to check for events at a regular interval, depending on
waitqueue events occurring.

A few considerations:

Ideally, I would like to convert as many waitqueue users as possible to the
wait_event* family of macros. For reference, here is the code in 2.6.10-rc3:

static void apm_mainloop(void)
{
	DECLARE_WAITQUEUE(wait, current);

	add_wait_queue(&apm_waitqueue, &wait);
	set_current_state(TASK_INTERRUPTIBLE);
	for (;;) {
		schedule_timeout(APM_CHECK_TIMEOUT);
		if (exit_kapmd)
			break;
		/*
		 * Ok, check all events, check for idle (and mark us sleeping
		 * so as not to count towards the load average)..
		 */
		set_current_state(TASK_INTERRUPTIBLE);
		apm_event_handler();
	}
(Continue reading)


Gmane