FreeBSD 6 on Toshiba Tecra A4
Yousef Raffah
yraffah at savola.com
Sun May 21 08:02:01 PDT 2006
On Mon, 2006-05-22 at 00:50 +1000, Ian Smith wrote:
> On Sun, 21 May 2006, Yousef Raffah wrote:
>
> > On Sun, 2006-05-21 at 21:58 +1000, Ian Smith wrote:
> > > On Sun, 21 May 2006, Yousef Raffah wrote:
> > >
> > > > On Wed, 2006-04-19 at 01:53 +1000, Norberto Meijome wrote:
> > > > > On Sat, 15 Apr 2006 10:45:49 +0300
> > > > > Yousef Raffah <yraffah at savola.com> wrote:
> > > > >
> > > > > > ACPI not working (working on Linux)
> > > > >
> > > > > doesn't work on my A2 either (does work, but the HD doens't realise it has gone
> > > > > to sleep and resumed and panic ensues on resume). disable acpi and use apm,
> > > > > works fine.
>
> [..]
>
> > > On 5.x at least, /boot/device.hints contains
> > >
> > > hint.apm.0.disabled="1"
> > > hint.apm.0.flags="0x20"
>
> Is that still the case for your 6 system?
>
Well, if I understood you correctly, these two lines where exactly the
same in my /boot/device.hints
> > > So you'll likely need to add to /boot/loader.conf:
> > >
> > > hint.apm.0.disabled="0"
> > > hint.apm.0.flags="0" # assuming a non-broken statclock
>
> Maybe try with the default .flags? I may assume too much ..
>
will try that and see
> > > Then early in your dmesg.boot you should see such as
> > >
> > > apm0: <APM BIOS> on motherboard
> > > apm0: found APM BIOS v1.2, connected at v1.2
> > >
> > > and both /dev/apm and /dev/apmctl should appear.
>
> > Thanks for your reply Ian, but unfortunately, neither /dev/apm
> > nor /dev/apmctl appeared after adding the two lines:
> > hint.apm.0.disabled="0"
> > hint.apm.0.flags="0"
> >
> > in /boot/loader.conf
> > It never appeared in dmesg as well :(.
>
> Ok, just to check that your kernel thinks it has apm support, what
> does 'kldstat -v' say about apm?
>
> paqi# kldstat -v | grep apm | grep -v via
> 184 legacy/apm
> 4 1 0xc11a1000 2000 apm_saver.ko
> 225 apm_saver
>
> (apm_saver irrelevant, though it does work well in vtys here)
>
It only shows 175 legacy/apm
> and in the same vein (though also after successful APM loading):
>
> paqi# sysctl -a | grep apm
> debug.apm_debug: 0
> machdep.apm_suspend_delay: 1
> machdep.apm_standby_delay: 1
> machdep.apm_swab_batt_minutes: 0
> dev.apm.0.%desc: APM BIOS
> dev.apm.0.%driver: apm
> dev.apm.0.%parent: legacy0
>
> > I even added the following
> > > In rc.conf:
> > >
> > > apm_enable="YES"
> > > apmd_enable="YES"
> > > apmd_flags="-v"
> > >
> > But no help :( Thanks for trying anyhow...
>
> Well the rc.conf options won't help until booting detects APM BIOS.
>
> Oh yes, can you / have you switched ACPI off &/or APM on in its BIOS?
>
not so far, will try it and report back.
> otherwise out of ideas, Ian
>
Thanks...
--
Sincerely,
Yousef Raffah
Senior Systems Administrator
--
Aren't you using Firefox? Get it at http://www.getfirefox.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20060521/a6eeab4c/attachment.pgp
More information about the freebsd-mobile
mailing list