Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2006 18:00:32 +0300
From:      Yousef Raffah <yraffah@savola.com>
To:        Ian Smith <smithi@nimnet.asn.au>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: FreeBSD 6 on Toshiba Tecra A4
Message-ID:  <1148223632.10683.5.camel@localhost.savola.com>
In-Reply-To: <Pine.BSF.3.96.1060521233558.24481C-100000@gaia.nimnet.asn.au>
References:  <Pine.BSF.3.96.1060521233558.24481C-100000@gaia.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-T6UrjPrg34+2wJOrRHFA
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2006-05-22 at 00:50 +1000, Ian Smith wrote:
> On Sun, 21 May 2006, Yousef Raffah wrote:
>=20
>  > On Sun, 2006-05-21 at 21:58 +1000, Ian Smith wrote:
>  > > On Sun, 21 May 2006, Yousef Raffah wrote:
>  > >=20
>  > >  > On Wed, 2006-04-19 at 01:53 +1000, Norberto Meijome wrote:
>  > >  > > On Sat, 15 Apr 2006 10:45:49 +0300
>  > >  > > Yousef Raffah <yraffah@savola.com> wrote:
>  > >  > >=20
>  > >  > > > ACPI not working (working on Linux)
>  > >  > >=20
>  > >  > > doesn't work on my A2 either (does work, but the HD doens't rea=
lise it has gone
>  > >  > > to sleep and resumed and panic ensues on resume). disable acpi =
and use apm,
>  > >  > > works fine.
>=20
> [..]
>=20
>  > > On 5.x at least, /boot/device.hints contains
>  > >=20
>  > >  hint.apm.0.disabled=3D"1"
>  > >  hint.apm.0.flags=3D"0x20"
>=20
> Is that still the case for your 6 system?
>=20
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:
>  > >=20
>  > >  hint.apm.0.disabled=3D"0"
>  > >  hint.apm.0.flags=3D"0"     # assuming a non-broken statclock
>=20
> Maybe try with the default .flags?  I may assume too much ..
>=20
will try that and see

>  > > Then early in your dmesg.boot you should see such as
>  > >=20
>  > >  apm0: <APM BIOS> on motherboard
>  > >  apm0: found APM BIOS v1.2, connected at v1.2
>  > >=20
>  > > and both /dev/apm and /dev/apmctl should appear.
>=20
>  > Thanks for your reply Ian, but unfortunately, neither /dev/apm
>  > nor /dev/apmctl appeared after adding the two lines:
>  > hint.apm.0.disabled=3D"0"
>  > hint.apm.0.flags=3D"0"
>  >=20
>  > in /boot/loader.conf
>  > It never appeared in dmesg as well :(.
>=20
> Ok, just to check that your kernel thinks it has apm support, what
> does 'kldstat -v' say about apm?
>=20
> paqi# kldstat -v | grep apm | grep -v via
>                 184 legacy/apm
>  4    1 0xc11a1000 2000     apm_saver.ko
>                 225 apm_saver
>=20
>    (apm_saver irrelevant, though it does work well in vtys here)
>=20
It only shows 175 legacy/apm

> and in the same vein (though also after successful APM loading):
>=20
> 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
>=20
>  > I even added the following
>  > > In rc.conf:
>  > >=20
>  > >  apm_enable=3D"YES"
>  > >  apmd_enable=3D"YES"
>  > >  apmd_flags=3D"-v"
>  > >=20
>  > But no help :( Thanks for trying anyhow...
>=20
> Well the rc.conf options won't help until booting detects APM BIOS.
>=20
> Oh yes, can you / have you switched ACPI off &/or APM on in its BIOS?=20
>=20
not so far, will try it and report back.

> otherwise out of ideas, Ian
>=20
Thanks...

--
Sincerely,
Yousef Raffah
Senior Systems Administrator
--

Aren't you using Firefox? Get it at http://www.getfirefox.com



--=-T6UrjPrg34+2wJOrRHFA
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQBEcICQH9IXMb4e6CMRAv2uAJ0QNHGfssWcOoN/UDCRUwldElLrwgCfSO5w
wVEuexmWje+7R1RIEwU/zJo=
=13t+
-----END PGP SIGNATURE-----

--=-T6UrjPrg34+2wJOrRHFA--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1148223632.10683.5.camel>