Power Patches

Masahide -mac- NODA mac at clave.gr.jp
Fri Jan 2 18:41:07 PST 2004


Hi, all.

From: "M. Warner Losh" <imp at bsdimp.com>
Subject: Power Patches
Date: Thu, 01 Jan 2004 23:30:09 -0700 (MST)
Message-ID: <20040101.233009.58826299.imp at bsdimp.com>

imp> John Baldwin, Nate and I are putting the final touches on the
imp> power/resource patches.  Please try them out and let me know how well
imp> they work for you.
imp> 
imp> http://people.freebsd.org/~imp/power.20040101.diff

I'm testing this patch on FMV-LOOX T70E(Chipset 855GM). This machine
need to set hw.pci.allow_unsurpported_io_range=1, if not set, kernel was
panic.

After this patch, my machine doesn't panic when unset
hw.pci.allow_unsurpported_io_range=1. Thank you!

But, some problem is occur. 

1) my ath cardbus card(FMV-JW481) is not recoginzed.
   When insert it, machine was freeze. But after eject it, machine was
   free. And output messages about attach failed.

   Before apply power patch, my external ath card was recognized as below:

ath0: <Atheros 5212> mem 0x88010000-0x8801ffff irq 11 at device 0.0 on cardbus0
ath0: mac 5.6 phy 4.1 5ghz radio 3.6
ath0: bpf attached
     (snip)

   After patch, my external ath card was not recognized as below:

ath0: <Atheros 5212> mem 0xd0200000-0xd020ffff irq 11 at device 0.0 on cardbus0
ath0: mac 5.6 phy 4.1 5ghz radio 4.6
ath0: unable to collect channel list from hal
     (snip)

   This messages is very similar to internal ath device attach fail at
   radio revison number.  My machine has internal ath device, but it
   attach fail to this message:

ath0: <Atheros 5212> mem 0xd0200000-0xd020ffff irq 11 at device 13.0 on pci1
ath0: Bus reserved 0x1000 buytes for rid 0x10 type 3 at 0xd0200000
ath0: mac 5.6 phy 4.1 5ghz radio 4.6
ath0: unable to collect channel list from hal
device_probe_and_attach: ath0 attach returned 22

   I think, recognize insert external ath card, but try to attach
   internal ath and faild. 

2) LCD was not wakeup

   This problem was occur before patch ;-). My machine's LCD is not wake
   up from acpi S3 with hw.acpi.reset_video=0.
   If hw.acpi.reset_video=1, machine was freeze, and I can only power off.
   But hw.acpi.reset_video=0, LCD was not light, but other device like
   keyborad, NIC, CardBus Slot was wake and works fine. I can reboot it
   from network or keyborad typeing w/o LCD ;-)
   
   Someone comment about it?


More information about the freebsd-hackers mailing list