Power Patches
Norikatsu Shigemura
nork at FreeBSD.org
Sat Jan 3 06:38:55 PST 2004
On Thu, 01 Jan 2004 23:30:09 -0700 (MST)
"M. Warner Losh" <imp at bsdimp.com> wrote:
> You should try it if:
> 1) You are using hw.pci.unsupported_io=1. Turn it off and use
> these patches. Let me know if it doesn't. Typically it
> appears that this helps people hitting the double
> allocation problem.
> 2) You have suspend/resume issues. This should make them suck
> less if they are with a specific device (not ata).
> 3) You have hacks in drivers to turn the power on for your
> laptop because FreeBSD didn't used to do that. While I've
> not yet removed all the hacks from the tree, nearly all of
> them should now be redundant.
I am sad to say it has some problems.
# SHARP Mebius MURAMASA PC-MT2-F1 (i830MG chipset)
1. After this patch was applied, Cardbus/PCMCIA is not available.
I tested following Compact Flash card.
uart0: <HONDA ELECTRON CO.,LTD BMH10C-J> at port 0x2f8-0x2ff irq 10 function 0 config 9 on pccard1
| hw.pci.allow_unsupported_io_range = 0 | = 1
----------+----------------------------------------+-----
on boot | NG | NG
----------+----------------------------------------+-----
any point | NG | NG
on boot = card was inserted on boot.
any point = after boot, card was inserted.
2. Firewire is not available on hw.pci.allow_unsupported_io_range=0.
fwohci0: <Ricoh R5C552> mem 0xe0202000-0xe02027ff irq 10 at device 0.2 on pci2
fwohci0: Bus reserved 0x800 bytes for rid 0x10 type 3 at 0xe0202000
fwohci0: OHCI version 0.0 (ROM=0)
fwohci0: invalid OHCI version
fwohci0: FireWire init failed
device_probe_and_attach: fwohci0 attach returned 5
3. USB EHCI is same too like firewire. But I don't use it...
usb2: EHCI version 0.0
usb2: wrong number of companions (0 != 2)
ehci0: USB init failed err=13
device_probe_and_attach: ehci0 attach returned 5
Unfortunately, my note can't resume S3, yet.
I affix dmesgs of 1's pattern, and acpidump -d -t.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allow_unsupported_io_range=0_with_b-mobile_on_boot.dmesg.bz2
Type: application/octet-stream
Size: 3841 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040103/2f5457ad/allow_unsupported_io_range0_with_b-mobile_on_boot.dmesg.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allow_unsupported_io_range=0_without_b-mobile_on_boot.dmesg.bz2
Type: application/octet-stream
Size: 3368 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040103/2f5457ad/allow_unsupported_io_range0_without_b-mobile_on_boot.dmesg.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allow_unsupported_io_range=1_with_b-mobile_on_boot.dmesg.bz2
Type: application/octet-stream
Size: 3368 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040103/2f5457ad/allow_unsupported_io_range1_with_b-mobile_on_boot.dmesg.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allow_unsupported_io_range=1_without_b-mobile_on_boot.dmesg.bz2
Type: application/octet-stream
Size: 3841 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040103/2f5457ad/allow_unsupported_io_range1_without_b-mobile_on_boot.dmesg.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acpidump.txt.bz2
Type: application/octet-stream
Size: 10585 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040103/2f5457ad/acpidump.txt.obj
More information about the freebsd-hackers
mailing list