- 论坛徽章:
- 0
|
小弟使用的是HP ze2205au笔记本。安装FreeBSD后发现ACPI不能完全支持。
于是,禁止ACPI,发现无法识别USB等设备,连U盘也不行,而该U盘是在台式机的FreeBSD上支持的。
而不禁止ACPI,那么无法使用reboot,这样会让系统挂起。
当然,启动ACPI除了电源外,没有其他问题。
我现在仔细看看,原来ACPI就对电源电池部分的支持不好。觉得应该可以通过修改ASL来修正这个问题。可是,我不会啊。
是否有人可以帮帮偶,也为那些和偶有同样问题的人找到一种解决之道。至少这样比直接修改BIOS好。安全。
下面是我开启ACPI时,启动时的输出
- Copyright (c) 1992-2005 The FreeBSD Project.
- Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
- The Regents of the University of California. All rights reserved.
- FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005
- root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC
- ACPI APIC Table: <PTLTD 3091 >
- Timecounter "i8254" frequency 1193182 Hz quality 0
- CPU: Mobile AMD Sempron(tm) Processor 3000+ (1794.79-MHz 686-class CPU)
- Origin = "AuthenticAMD" Id = 0x20fc2 Stepping = 2
- Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
- Features2=0x1<SSE3>
- AMD Features=0xc2500800<SYSCALL,NX,MMX+,<b25>,3DNow+,3DNow>
- real memory = 233766912 (222 MB)
- avail memory = 219250688 (209 MB)
- ioapic0 <Version 2.1> irqs 0-23 on motherboard
- npx0: [FAST]
- npx0: <math processor> on motherboard
- npx0: INT 16 interface
- acpi0: <HP 3091> on motherboard
- acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21
- acpi0: Power Button (fixed)
- pci_link0: <ACPI PCI Link LNKA> irq 0 on acpi0
- pci_link1: <ACPI PCI Link LNKB> irq 0 on acpi0
- pci_link2: <ACPI PCI Link LNKC> irq 0 on acpi0
- pci_link3: <ACPI PCI Link LNKD> irq 0 on acpi0
- pci_link4: <ACPI PCI Link LNKE> irq 0 on acpi0
- pci_link5: <ACPI PCI Link LNKF> irq 0 on acpi0
- pci_link6: <ACPI PCI Link LNKG> irq 0 on acpi0
- pci_link7: <ACPI PCI Link LNKH> irq 0 on acpi0
- ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
- SearchNode 0xc149a440 StartNode 0xc149a440 ReturnNode 0
- ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._CRS] (Node 0xc149a440), AE_NOT_FOUND
- pci_link8: <ACPI PCI Link LNKU> on acpi0
- ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
- SearchNode 0xc149a440 StartNode 0xc149a440 ReturnNode 0
- ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._CRS] (Node 0xc149a440), AE_NOT_FOUND
- ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
- SearchNode 0xc149a480 StartNode 0xc149a480 ReturnNode 0
- ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._PRS] (Node 0xc149a480), AE_NOT_FOUND
- pci_link8: Unable to parse _CRS or _PRS: AE_NOT_FOUND
- device_attach: pci_link8 attach returned 6
- acpi_ec0: <Embedded Controller: GPE 0x18> port 0x62,0x66 on acpi0
- Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
- acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
- pci_link8: <ACPI PCI Link LNKU> on acpi0
- ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
- SearchNode 0xc149a440 StartNode 0xc149a440 ReturnNode 0
- ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._CRS] (Node 0xc149a440), AE_NOT_FOUND
- ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
- SearchNode 0xc149a480 StartNode 0xc149a480 ReturnNode 0
- ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._PRS] (Node 0xc149a480), AE_NOT_FOUND
- pci_link8: Unable to parse _CRS or _PRS: AE_NOT_FOUND
- device_attach: pci_link8 attach returned 6
- cpu0: <ACPI CPU> on acpi0
- acpi_throttle0: <ACPI CPU Throttling> on cpu0
- acpi_button0: <Power Button> on acpi0
- acpi_button1: <Sleep Button> on acpi0
- acpi_lid0: <Control Method Lid Switch> on acpi0
- pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
- pci0: <ACPI PCI bus> on pcib0
- pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
- pci1: <ACPI PCI bus> on pcib1
- pci1: <display, VGA> at device 5.0 (no driver attached)
- ohci0: <OHCI (generic) USB controller> mem 0xd0000000-0xd0000fff irq 19 at device 19.0 on pci0
- ohci0: [GIANT-LOCKED]
- usb0: OHCI version 1.0, legacy support
- usb0: SMM does not respond, resetting
- usb0: <OHCI (generic) USB controller> on ohci0
- usb0: USB revision 1.0
- uhub0: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
- uhub0: 4 ports with 4 removable, self powered
- ohci1: <OHCI (generic) USB controller> mem 0xd0001000-0xd0001fff irq 19 at device 19.1 on pci0
- ohci1: [GIANT-LOCKED]
- usb1: OHCI version 1.0, legacy support
- usb1: SMM does not respond, resetting
- usb1: <OHCI (generic) USB controller> on ohci1
- usb1: USB revision 1.0
- uhub1: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
- uhub1: 4 ports with 4 removable, self powered
- ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd0002000-0xd0002fff irq 19 at device 19.2 on pci0
- ehci0: [GIANT-LOCKED]
- usb2: EHCI version 1.0
- usb2: companion controllers, 4 ports each: usb0 usb1
- usb2: <EHCI (generic) USB 2.0 controller> on ehci0
- usb2: USB revision 2.0
- uhub2: (0x1002) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
- uhub2: 8 ports with 8 removable, self powered
- pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
- atapci0: <ATI IXP400 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f at device 20.1 on pci0
- ata0: <ATA channel 0> on atapci0
- ata1: <ATA channel 1> on atapci0
- isab0: <PCI-ISA bridge> at device 20.3 on pci0
- isa0: <ISA bus> on isab0
- pcib2: <ACPI PCI-PCI bridge> at device 20.4 on pci0
- pci5: <ACPI PCI bus> on pcib2
- rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem 0xd0206000-0xd02060ff irq 18 at device 0.0 on pci5
- miibus0: <MII bus> on rl0
- rlphy0: <RealTek internal media interface> on miibus0
- rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
- rl0: Ethernet address: 00:16:36:18:10:9f
- cbb0: <PCI-CardBus Bridge> at device 9.0 on pci5
- cardbus0: <CardBus bus> on cbb0
- pccard0: <16-bit PCCard bus> on cbb0
- fwohci0: <1394 Open Host Controller Interface> mem 0xd0206800-0xd0206fff,0xd0200000-0xd0203fff irq 22 at device 9.2 on pci5
- fwohci0: OHCI version 1.10 (ROM=1)
- fwohci0: No. of Isochronous channels is 4.
- fwohci0: EUI64 00:c0:9f:00:00:85:7a:e2
- fwohci0: Phy 1394a available S400, 2 ports.
- fwohci0: Link S400, max_rec 2048 bytes.
- firewire0: <IEEE1394(FireWire) bus> on fwohci0
- fwe0: <Ethernet over FireWire> on firewire0
- if_fwe0: Fake Ethernet address: 02:c0:9f:85:7a:e2
- fwe0: Ethernet address: 02:c0:9f:85:7a:e2
- fwe0: if_start running deferred for Giant
- sbp0: <SBP-2/SCSI over FireWire> on firewire0
- fwohci0: Initiate bus reset
- fwohci0: node_id=0xc000ffc0, gen=2, CYCLEMASTER mode
- firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
- firewire0: bus manager 0 (me)
- fwohci0: phy int
- pci5: <mass storage> at device 9.3 (no driver attached)
- pci5: <base peripheral> at device 9.4 (no driver attached)
- pci0: <multimedia, audio> at device 20.5 (no driver attached)
- pci0: <simple comms, generic modem> at device 20.6 (no driver attached)
- acpi_tz0: <Thermal Zone> on acpi0
- atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
- atkbd0: <AT Keyboard> irq 1 on atkbdc0
- kbd0 at atkbd0
- atkbd0: [GIANT-LOCKED]
- psm0: <PS/2 Mouse> irq 12 on atkbdc0
- psm0: [GIANT-LOCKED]
- psm0: model IntelliMouse, device ID 3
- acpi_acad0: <AC Adapter> on acpi0
- battery0: <ACPI Control Method Battery> on acpi0
- pci_link8: <ACPI PCI Link LNKU> on acpi0
- ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
- SearchNode 0xc149a440 StartNode 0xc149a440 ReturnNode 0
- ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._CRS] (Node 0xc149a440), AE_NOT_FOUND
- ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
- SearchNode 0xc149a480 StartNode 0xc149a480 ReturnNode 0
- ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._PRS] (Node 0xc149a480), AE_NOT_FOUND
- pci_link8: Unable to parse _CRS or _PRS: AE_NOT_FOUND
- device_attach: pci_link8 attach returned 6
- pmtimer0 on isa0
- orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd0fff,0xdc000-0xdffff,0xe0000-0xe3fff on isa0
- ppc0: parallel port not found.
- sc0: <System console> at flags 0x100 on isa0
- sc0: VGA <16 virtual consoles, flags=0x300>
- sio0: configured irq 4 not in bitmap of probed irqs 0
- sio0: port may not be enabled
- sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
- sio0: type 8250 or not responding
- sio1: configured irq 3 not in bitmap of probed irqs 0
- sio1: port may not be enabled
- vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
- Timecounter "TSC" frequency 1794792203 Hz quality 800
- Timecounters tick every 1.000 msec
- ad0: 38154MB <TOSHIBA MK4025GAS KA101A> at ata0-master UDMA100
- acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-4244N/1.02> at ata1-master PIO4
- Trying to mount root from ufs:/dev/ad0s3a
- ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled
复制代码
下面是没有使用ACPI的时候的输出
- Copyright (c) 1992-2005 The FreeBSD Project.
- Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
- The Regents of the University of California. All rights reserved.
- FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005
- root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC
- MPTable: < >
- Timecounter "i8254" frequency 1193182 Hz quality 0
- CPU: Mobile AMD Sempron(tm) Processor 3000+ (1794.79-MHz 686-class CPU)
- Origin = "AuthenticAMD" Id = 0x20fc2 Stepping = 2
- Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
- Features2=0x1<SSE3>
- AMD Features=0xc2500800<SYSCALL,NX,MMX+,<b25>,3DNow+,3DNow>
- real memory = 233766912 (222 MB)
- avail memory = 219267072 (209 MB)
- ioapic0: Assuming intbase of 0
- ioapic0 <Version 2.1> irqs 0-23 on motherboard
- npx0: [FAST]
- npx0: <math processor> on motherboard
- npx0: INT 16 interface
- cpu0 on motherboard
- pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
- pci0: <PCI bus> on pcib0
- pcib1: <MPTable PCI-PCI bridge> at device 1.0 on pci0
- pci1: <PCI bus> on pcib1
- pci1: <display, VGA> at device 5.0 (no driver attached)
- ohci0: <OHCI (generic) USB controller> mem 0xd0000000-0xd0000fff irq 19 at device 19.0 on pci0
- ohci0: [GIANT-LOCKED]
- usb0: OHCI version 1.0, legacy support
- usb0: SMM does not respond, resetting
- usb0: <OHCI (generic) USB controller> on ohci0
- usb0: USB revision 1.0
- uhub0: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
- uhub0: 4 ports with 4 removable, self powered
- ohci1: <OHCI (generic) USB controller> mem 0xd0001000-0xd0001fff irq 19 at device 19.1 on pci0
- ohci1: [GIANT-LOCKED]
- usb1: OHCI version 1.0, legacy support
- usb1: SMM does not respond, resetting
- usb1: <OHCI (generic) USB controller> on ohci1
- usb1: USB revision 1.0
- uhub1: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
- uhub1: 4 ports with 4 removable, self powered
- ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd0002000-0xd0002fff irq 19 at device 19.2 on pci0
- ehci0: [GIANT-LOCKED]
- usb2: EHCI version 1.0
- usb2: companion controllers, 4 ports each: usb0 usb1
- usb2: <EHCI (generic) USB 2.0 controller> on ehci0
- usb2: USB revision 2.0
- uhub2: (0x1002) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
- uhub2: 8 ports with 8 removable, self powered
- pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
- atapci0: <ATI IXP400 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f at device 20.1 on pci0
- ata0: <ATA channel 0> on atapci0
- ata1: <ATA channel 1> on atapci0
- isab0: <PCI-ISA bridge> at device 20.3 on pci0
- isa0: <ISA bus> on isab0
- pcib2: <MPTable PCI-PCI bridge> at device 20.4 on pci0
- pci5: <PCI bus> on pcib2
- rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem 0xd0206000-0xd02060ff irq 18 at device 0.0 on pci5
- miibus0: <MII bus> on rl0
- rlphy0: <RealTek internal media interface> on miibus0
- rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
- rl0: Ethernet address: 00:16:36:18:10:9f
- cbb0: <PCI-CardBus Bridge> at device 9.0 on pci5
- cardbus0: <CardBus bus> on cbb0
- pccard0: <16-bit PCCard bus> on cbb0
- fwohci0: <1394 Open Host Controller Interface> mem 0xd0206800-0xd0206fff,0xd0200000-0xd0203fff irq 22 at device 9.2 on pci5
- fwohci0: OHCI version 1.10 (ROM=1)
- fwohci0: No. of Isochronous channels is 4.
- fwohci0: EUI64 00:c0:9f:00:00:85:7a:e2
- fwohci0: Phy 1394a available S400, 2 ports.
- fwohci0: Link S400, max_rec 2048 bytes.
- firewire0: <IEEE1394(FireWire) bus> on fwohci0
- fwe0: <Ethernet over FireWire> on firewire0
- if_fwe0: Fake Ethernet address: 02:c0:9f:85:7a:e2
- fwe0: Ethernet address: 02:c0:9f:85:7a:e2
- fwe0: if_start running deferred for Giant
- sbp0: <SBP-2/SCSI over FireWire> on firewire0
- fwohci0: Initiate bus reset
- fwohci0: node_id=0xc000ffc0, gen=2, CYCLEMASTER mode
- firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
- firewire0: bus manager 0 (me)
- fwohci0: phy int
- pci5: <mass storage> at device 9.3 (no driver attached)
- pci5: <base peripheral> at device 9.4 (no driver attached)
- pci0: <multimedia, audio> at device 20.5 (no driver attached)
- pci0: <simple comms, generic modem> at device 20.6 (no driver attached)
- pmtimer0 on isa0
- orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd0fff,0xdc000-0xdffff,0xe0000-0xe3fff on isa0
- atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
- atkbd0: <AT Keyboard> irq 1 on atkbdc0
- kbd0 at atkbd0
- atkbd0: [GIANT-LOCKED]
- psm0: <PS/2 Mouse> irq 12 on atkbdc0
- psm0: [GIANT-LOCKED]
- psm0: model IntelliMouse, device ID 3
- ppc0: parallel port not found.
- sc0: <System console> at flags 0x100 on isa0
- sc0: VGA <16 virtual consoles, flags=0x300>
- sio0: configured irq 4 not in bitmap of probed irqs 0
- sio0: port may not be enabled
- sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
- sio0: type 8250 or not responding
- sio1: configured irq 3 not in bitmap of probed irqs 0
- sio1: port may not be enabled
- vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
- unknown: <PNP0c02> can't assign resources (memory)
- unknown: <PNP0303> can't assign resources (port)
- unknown: <PNP0c02> can't assign resources (memory)
- unknown: <PNP0c02> can't assign resources (memory)
- unknown: <PNP0f13> can't assign resources (irq)
- Timecounter "TSC" frequency 1794786896 Hz quality 800
- Timecounters tick every 1.000 msec
- ad0: 38154MB <TOSHIBA MK4025GAS KA101A> at ata0-master UDMA100
- acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-4244N/1.02> at ata1-master PIO4
- Trying to mount root from ufs:/dev/ad0s3a
- ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled
复制代码 |
|