[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnewsense-dev] Linux-libre 2.6.32 (for Lemote)
From: |
Alexandre Oliva |
Subject: |
Re: [Gnewsense-dev] Linux-libre 2.6.32 (for Lemote) |
Date: |
Mon, 14 Dec 2009 04:29:11 -0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
On Dec 13, 2009, Wu Zhangjin <address@hidden> wrote:
> Do you mean "poweroff" command not work? just tested the 2.6.32 in the
> git repository again, no problem.
> I guess: you have fogotten the "machtype=8.9" kernel command line,
Your guess was correct. In fact, I had used 8.9 for some time, then
tried without it, decided it didn't make any difference, discarded it
and didn't think of trying it again when I started running into
problems. Doh!
I confirm that adding machtype=8.9 to the boot command line makes
poweroff work all the way to the end (i.e., the machine actually powers
off), and that it also brings /proc/apm back to a functional state.
Thanks!
Now the question for gNewSense folks is whether I should add
machtype=8.9 to the in-kernel CONFIG_CMDLINE (presumably this is
overridable with another machtype= directive in the boot-time command
line, so it would be just a default), or whether I can leave it alone
and gNewSense userland and installer will take care of it. Thoughts?
> do you have "CONFIG_APM_EMULATION=y"?
Yep, =y.
> The yeeloong_battery module is not needed for 2.6.32, it is rewritten and
> merged into arch/mips/loongson/lemote-2f/yeeloong_laptop.c.
Aha! I didn't realize that, I thought I had only taken a too-early
snapshot of the 2.6.32 port, and that my efforts might have helped
complete the port. Oh well...
> as you know, I'm pushing the loongson support to the mainline, I need
> to ensure the source code is clean enough.
Yeah, I'm very excited that we'll hopefully be able to use a pristine
2.6.33-libre! Thanks a lot for your efforts to this end.
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer