免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 6493 | 回复: 16
打印 上一主题 下一主题

ACPI的一个解决方案,希望各位一起努力 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-02-07 21:43 |只看该作者 |倒序浏览
小弟使用的是HP ze2205au笔记本。安装FreeBSD后发现ACPI不能完全支持。

于是,禁止ACPI,发现无法识别USB等设备,连U盘也不行,而该U盘是在台式机的FreeBSD上支持的。

而不禁止ACPI,那么无法使用reboot,这样会让系统挂起。

当然,启动ACPI除了电源外,没有其他问题。

我现在仔细看看,原来ACPI就对电源电池部分的支持不好。觉得应该可以通过修改ASL来修正这个问题。可是,我不会啊。

是否有人可以帮帮偶,也为那些和偶有同样问题的人找到一种解决之道。至少这样比直接修改BIOS好。安全。


下面是我开启ACPI时,启动时的输出



  1. Copyright (c) 1992-2005 The FreeBSD Project.
  2. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  3.         The Regents of the University of California. All rights reserved.
  4. FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
  5.     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC
  6. ACPI APIC Table: <PTLTD           3091  >
  7. Timecounter "i8254" frequency 1193182 Hz quality 0
  8. CPU: Mobile AMD Sempron(tm) Processor 3000+ (1794.79-MHz 686-class CPU)
  9.   Origin = "AuthenticAMD"  Id = 0x20fc2  Stepping = 2
  10.   Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  11.   Features2=0x1<SSE3>
  12.   AMD Features=0xc2500800<SYSCALL,NX,MMX+,<b25>,3DNow+,3DNow>
  13. real memory  = 233766912 (222 MB)
  14. avail memory = 219250688 (209 MB)
  15. ioapic0 <Version 2.1> irqs 0-23 on motherboard
  16. npx0: [FAST]
  17. npx0: <math processor> on motherboard
  18. npx0: INT 16 interface
  19. acpi0: <HP 3091> on motherboard
  20. acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21
  21. acpi0: Power Button (fixed)
  22. pci_link0: <ACPI PCI Link LNKA> irq 0 on acpi0
  23. pci_link1: <ACPI PCI Link LNKB> irq 0 on acpi0
  24. pci_link2: <ACPI PCI Link LNKC> irq 0 on acpi0
  25. pci_link3: <ACPI PCI Link LNKD> irq 0 on acpi0
  26. pci_link4: <ACPI PCI Link LNKE> irq 0 on acpi0
  27. pci_link5: <ACPI PCI Link LNKF> irq 0 on acpi0
  28. pci_link6: <ACPI PCI Link LNKG> irq 0 on acpi0
  29. pci_link7: <ACPI PCI Link LNKH> irq 0 on acpi0
  30.     ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
  31. SearchNode 0xc149a440 StartNode 0xc149a440 ReturnNode 0
  32.     ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._CRS] (Node 0xc149a440), AE_NOT_FOUND
  33. pci_link8: <ACPI PCI Link LNKU> on acpi0
  34.     ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
  35. SearchNode 0xc149a440 StartNode 0xc149a440 ReturnNode 0
  36.     ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._CRS] (Node 0xc149a440), AE_NOT_FOUND
  37.     ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
  38. SearchNode 0xc149a480 StartNode 0xc149a480 ReturnNode 0
  39.     ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._PRS] (Node 0xc149a480), AE_NOT_FOUND
  40. pci_link8: Unable to parse _CRS or _PRS: AE_NOT_FOUND
  41. device_attach: pci_link8 attach returned 6
  42. acpi_ec0: <Embedded Controller: GPE 0x18> port 0x62,0x66 on acpi0
  43. Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
  44. acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
  45. pci_link8: <ACPI PCI Link LNKU> on acpi0
  46.     ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
  47. SearchNode 0xc149a440 StartNode 0xc149a440 ReturnNode 0
  48.     ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._CRS] (Node 0xc149a440), AE_NOT_FOUND
  49.     ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
  50. SearchNode 0xc149a480 StartNode 0xc149a480 ReturnNode 0
  51.     ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._PRS] (Node 0xc149a480), AE_NOT_FOUND
  52. pci_link8: Unable to parse _CRS or _PRS: AE_NOT_FOUND
  53. device_attach: pci_link8 attach returned 6
  54. cpu0: <ACPI CPU> on acpi0
  55. acpi_throttle0: <ACPI CPU Throttling> on cpu0
  56. acpi_button0: <Power Button> on acpi0
  57. acpi_button1: <Sleep Button> on acpi0
  58. acpi_lid0: <Control Method Lid Switch> on acpi0
  59. pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
  60. pci0: <ACPI PCI bus> on pcib0
  61. pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
  62. pci1: <ACPI PCI bus> on pcib1
  63. pci1: <display, VGA> at device 5.0 (no driver attached)
  64. ohci0: <OHCI (generic) USB controller> mem 0xd0000000-0xd0000fff irq 19 at device 19.0 on pci0
  65. ohci0: [GIANT-LOCKED]
  66. usb0: OHCI version 1.0, legacy support
  67. usb0: SMM does not respond, resetting
  68. usb0: <OHCI (generic) USB controller> on ohci0
  69. usb0: USB revision 1.0
  70. uhub0: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  71. uhub0: 4 ports with 4 removable, self powered
  72. ohci1: <OHCI (generic) USB controller> mem 0xd0001000-0xd0001fff irq 19 at device 19.1 on pci0
  73. ohci1: [GIANT-LOCKED]
  74. usb1: OHCI version 1.0, legacy support
  75. usb1: SMM does not respond, resetting
  76. usb1: <OHCI (generic) USB controller> on ohci1
  77. usb1: USB revision 1.0
  78. uhub1: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  79. uhub1: 4 ports with 4 removable, self powered
  80. ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd0002000-0xd0002fff irq 19 at device 19.2 on pci0
  81. ehci0: [GIANT-LOCKED]
  82. usb2: EHCI version 1.0
  83. usb2: companion controllers, 4 ports each: usb0 usb1
  84. usb2: <EHCI (generic) USB 2.0 controller> on ehci0
  85. usb2: USB revision 2.0
  86. uhub2: (0x1002) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
  87. uhub2: 8 ports with 8 removable, self powered
  88. pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
  89. atapci0: <ATI IXP400 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f at device 20.1 on pci0
  90. ata0: <ATA channel 0> on atapci0
  91. ata1: <ATA channel 1> on atapci0
  92. isab0: <PCI-ISA bridge> at device 20.3 on pci0
  93. isa0: <ISA bus> on isab0
  94. pcib2: <ACPI PCI-PCI bridge> at device 20.4 on pci0
  95. pci5: <ACPI PCI bus> on pcib2
  96. rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem 0xd0206000-0xd02060ff irq 18 at device 0.0 on pci5
  97. miibus0: <MII bus> on rl0
  98. rlphy0: <RealTek internal media interface> on miibus0
  99. rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  100. rl0: Ethernet address: 00:16:36:18:10:9f
  101. cbb0: <PCI-CardBus Bridge> at device 9.0 on pci5
  102. cardbus0: <CardBus bus> on cbb0
  103. pccard0: <16-bit PCCard bus> on cbb0
  104. fwohci0: <1394 Open Host Controller Interface> mem 0xd0206800-0xd0206fff,0xd0200000-0xd0203fff irq 22 at device 9.2 on pci5
  105. fwohci0: OHCI version 1.10 (ROM=1)
  106. fwohci0: No. of Isochronous channels is 4.
  107. fwohci0: EUI64 00:c0:9f:00:00:85:7a:e2
  108. fwohci0: Phy 1394a available S400, 2 ports.
  109. fwohci0: Link S400, max_rec 2048 bytes.
  110. firewire0: <IEEE1394(FireWire) bus> on fwohci0
  111. fwe0: <Ethernet over FireWire> on firewire0
  112. if_fwe0: Fake Ethernet address: 02:c0:9f:85:7a:e2
  113. fwe0: Ethernet address: 02:c0:9f:85:7a:e2
  114. fwe0: if_start running deferred for Giant
  115. sbp0: <SBP-2/SCSI over FireWire> on firewire0
  116. fwohci0: Initiate bus reset
  117. fwohci0: node_id=0xc000ffc0, gen=2, CYCLEMASTER mode
  118. firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
  119. firewire0: bus manager 0 (me)
  120. fwohci0: phy int
  121. pci5: <mass storage> at device 9.3 (no driver attached)
  122. pci5: <base peripheral> at device 9.4 (no driver attached)
  123. pci0: <multimedia, audio> at device 20.5 (no driver attached)
  124. pci0: <simple comms, generic modem> at device 20.6 (no driver attached)
  125. acpi_tz0: <Thermal Zone> on acpi0
  126. atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
  127. atkbd0: <AT Keyboard> irq 1 on atkbdc0
  128. kbd0 at atkbd0
  129. atkbd0: [GIANT-LOCKED]
  130. psm0: <PS/2 Mouse> irq 12 on atkbdc0
  131. psm0: [GIANT-LOCKED]
  132. psm0: model IntelliMouse, device ID 3
  133. acpi_acad0: <AC Adapter> on acpi0
  134. battery0: <ACPI Control Method Battery> on acpi0
  135. pci_link8: <ACPI PCI Link LNKU> on acpi0
  136.     ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
  137. SearchNode 0xc149a440 StartNode 0xc149a440 ReturnNode 0
  138.     ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._CRS] (Node 0xc149a440), AE_NOT_FOUND
  139.     ACPI-0438: *** Error: Looking up [UPRS] in namespace, AE_NOT_FOUND
  140. SearchNode 0xc149a480 StartNode 0xc149a480 ReturnNode 0
  141.     ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.LPC0.LNKU._PRS] (Node 0xc149a480), AE_NOT_FOUND
  142. pci_link8: Unable to parse _CRS or _PRS: AE_NOT_FOUND
  143. device_attach: pci_link8 attach returned 6
  144. pmtimer0 on isa0
  145. orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd0fff,0xdc000-0xdffff,0xe0000-0xe3fff on isa0
  146. ppc0: parallel port not found.
  147. sc0: <System console> at flags 0x100 on isa0
  148. sc0: VGA <16 virtual consoles, flags=0x300>
  149. sio0: configured irq 4 not in bitmap of probed irqs 0
  150. sio0: port may not be enabled
  151. sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
  152. sio0: type 8250 or not responding
  153. sio1: configured irq 3 not in bitmap of probed irqs 0
  154. sio1: port may not be enabled
  155. vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
  156. Timecounter "TSC" frequency 1794792203 Hz quality 800
  157. Timecounters tick every 1.000 msec
  158. ad0: 38154MB <TOSHIBA MK4025GAS KA101A> at ata0-master UDMA100
  159. acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-4244N/1.02> at ata1-master PIO4
  160. Trying to mount root from ufs:/dev/ad0s3a
  161. ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled



复制代码


下面是没有使用ACPI的时候的输出

  1. Copyright (c) 1992-2005 The FreeBSD Project.
  2. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  3.         The Regents of the University of California. All rights reserved.
  4. FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
  5.     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC
  6. MPTable: <                     >
  7. Timecounter "i8254" frequency 1193182 Hz quality 0
  8. CPU: Mobile AMD Sempron(tm) Processor 3000+ (1794.79-MHz 686-class CPU)
  9.   Origin = "AuthenticAMD"  Id = 0x20fc2  Stepping = 2
  10.   Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  11.   Features2=0x1<SSE3>
  12.   AMD Features=0xc2500800<SYSCALL,NX,MMX+,<b25>,3DNow+,3DNow>
  13. real memory  = 233766912 (222 MB)
  14. avail memory = 219267072 (209 MB)
  15. ioapic0: Assuming intbase of 0
  16. ioapic0 <Version 2.1> irqs 0-23 on motherboard
  17. npx0: [FAST]
  18. npx0: <math processor> on motherboard
  19. npx0: INT 16 interface
  20. cpu0 on motherboard
  21. pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
  22. pci0: <PCI bus> on pcib0
  23. pcib1: <MPTable PCI-PCI bridge> at device 1.0 on pci0
  24. pci1: <PCI bus> on pcib1
  25. pci1: <display, VGA> at device 5.0 (no driver attached)
  26. ohci0: <OHCI (generic) USB controller> mem 0xd0000000-0xd0000fff irq 19 at device 19.0 on pci0
  27. ohci0: [GIANT-LOCKED]
  28. usb0: OHCI version 1.0, legacy support
  29. usb0: SMM does not respond, resetting
  30. usb0: <OHCI (generic) USB controller> on ohci0
  31. usb0: USB revision 1.0
  32. uhub0: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  33. uhub0: 4 ports with 4 removable, self powered
  34. ohci1: <OHCI (generic) USB controller> mem 0xd0001000-0xd0001fff irq 19 at device 19.1 on pci0
  35. ohci1: [GIANT-LOCKED]
  36. usb1: OHCI version 1.0, legacy support
  37. usb1: SMM does not respond, resetting
  38. usb1: <OHCI (generic) USB controller> on ohci1
  39. usb1: USB revision 1.0
  40. uhub1: (0x1002) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  41. uhub1: 4 ports with 4 removable, self powered
  42. ehci0: <EHCI (generic) USB 2.0 controller> mem 0xd0002000-0xd0002fff irq 19 at device 19.2 on pci0
  43. ehci0: [GIANT-LOCKED]
  44. usb2: EHCI version 1.0
  45. usb2: companion controllers, 4 ports each: usb0 usb1
  46. usb2: <EHCI (generic) USB 2.0 controller> on ehci0
  47. usb2: USB revision 2.0
  48. uhub2: (0x1002) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
  49. uhub2: 8 ports with 8 removable, self powered
  50. pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
  51. atapci0: <ATI IXP400 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x8410-0x841f at device 20.1 on pci0
  52. ata0: <ATA channel 0> on atapci0
  53. ata1: <ATA channel 1> on atapci0
  54. isab0: <PCI-ISA bridge> at device 20.3 on pci0
  55. isa0: <ISA bus> on isab0
  56. pcib2: <MPTable PCI-PCI bridge> at device 20.4 on pci0
  57. pci5: <PCI bus> on pcib2
  58. rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem 0xd0206000-0xd02060ff irq 18 at device 0.0 on pci5
  59. miibus0: <MII bus> on rl0
  60. rlphy0: <RealTek internal media interface> on miibus0
  61. rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  62. rl0: Ethernet address: 00:16:36:18:10:9f
  63. cbb0: <PCI-CardBus Bridge> at device 9.0 on pci5
  64. cardbus0: <CardBus bus> on cbb0
  65. pccard0: <16-bit PCCard bus> on cbb0
  66. fwohci0: <1394 Open Host Controller Interface> mem 0xd0206800-0xd0206fff,0xd0200000-0xd0203fff irq 22 at device 9.2 on pci5
  67. fwohci0: OHCI version 1.10 (ROM=1)
  68. fwohci0: No. of Isochronous channels is 4.
  69. fwohci0: EUI64 00:c0:9f:00:00:85:7a:e2
  70. fwohci0: Phy 1394a available S400, 2 ports.
  71. fwohci0: Link S400, max_rec 2048 bytes.
  72. firewire0: <IEEE1394(FireWire) bus> on fwohci0
  73. fwe0: <Ethernet over FireWire> on firewire0
  74. if_fwe0: Fake Ethernet address: 02:c0:9f:85:7a:e2
  75. fwe0: Ethernet address: 02:c0:9f:85:7a:e2
  76. fwe0: if_start running deferred for Giant
  77. sbp0: <SBP-2/SCSI over FireWire> on firewire0
  78. fwohci0: Initiate bus reset
  79. fwohci0: node_id=0xc000ffc0, gen=2, CYCLEMASTER mode
  80. firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
  81. firewire0: bus manager 0 (me)
  82. fwohci0: phy int
  83. pci5: <mass storage> at device 9.3 (no driver attached)
  84. pci5: <base peripheral> at device 9.4 (no driver attached)
  85. pci0: <multimedia, audio> at device 20.5 (no driver attached)
  86. pci0: <simple comms, generic modem> at device 20.6 (no driver attached)
  87. pmtimer0 on isa0
  88. orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd0fff,0xdc000-0xdffff,0xe0000-0xe3fff on isa0
  89. atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
  90. atkbd0: <AT Keyboard> irq 1 on atkbdc0
  91. kbd0 at atkbd0
  92. atkbd0: [GIANT-LOCKED]
  93. psm0: <PS/2 Mouse> irq 12 on atkbdc0
  94. psm0: [GIANT-LOCKED]
  95. psm0: model IntelliMouse, device ID 3
  96. ppc0: parallel port not found.
  97. sc0: <System console> at flags 0x100 on isa0
  98. sc0: VGA <16 virtual consoles, flags=0x300>
  99. sio0: configured irq 4 not in bitmap of probed irqs 0
  100. sio0: port may not be enabled
  101. sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
  102. sio0: type 8250 or not responding
  103. sio1: configured irq 3 not in bitmap of probed irqs 0
  104. sio1: port may not be enabled
  105. vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
  106. unknown: <PNP0c02> can't assign resources (memory)
  107. unknown: <PNP0303> can't assign resources (port)
  108. unknown: <PNP0c02> can't assign resources (memory)
  109. unknown: <PNP0c02> can't assign resources (memory)
  110. unknown: <PNP0f13> can't assign resources (irq)
  111. Timecounter "TSC" frequency 1794786896 Hz quality 800
  112. Timecounters tick every 1.000 msec
  113. ad0: 38154MB <TOSHIBA MK4025GAS KA101A> at ata0-master UDMA100
  114. acd0: CDRW <HL-DT-STCD-RW/DVD DRIVE GCC-4244N/1.02> at ata1-master PIO4
  115. Trying to mount root from ufs:/dev/ad0s3a
  116. ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled


复制代码

FreeBSD.zip

21.27 KB, 下载次数: 67

我的AML文件

论坛徽章:
0
2 [报告]
发表于 2006-02-09 14:53 |只看该作者
为什么没人来发表点意见呢?

难道中国的FreeBSDer就这点能耐么?

至少我一个菜鸟也修复了一个Warning。难道,这里那么多高手连一个Error也无法修复么?

中国封锁了FreeBSD的官网,但是我们不能对BSD失去信心。我们要奋发图强,更扎实的学好,用好,理解BSD系统。

我什么都不会,我只是一个BSD菜鸟。但是,我为了能让BSD在笔记本上跑起来,不让笔记本是Linux的专利,我现在就在学ASL语言,就算不能解决,就算学了没有用。但是,至少我尝试过了,也就死心了。

但是,我不会放弃,因为我坚信,还有很多后来之师会让BSD发展起来,会有更多的中国人用BSD,完善BSD,开发BSD,希望我有生之年能看到这一幕,虽然我还很年轻……

论坛徽章:
0
3 [报告]
发表于 2006-02-09 22:54 |只看该作者
不要说得那么激动嘛
先声明一下,我不是高手
我用的是HP M2010AP,用ACPI倒是没什么问题,就是不能用lid_swith=S3,也就是说,不能用S3的休眠,其它都很好。去年的时候,我用sysctl hw.acpi试和改了一些设备,还写到/etc/sysctl.conf中,都很好啊,但现在觉得不用去改这些都很好。除了那个不能省电的事,但本本就比台机要省电,所以不是很在意
像你的问题,没有这个型号的本本,问题不尽相同。你说的ASL我不懂

论坛徽章:
0
4 [报告]
发表于 2006-02-09 23:26 |只看该作者
可是,就因为这个UPRS的问题,造成我的FreeBSD无法识别出我的电池容量。

而且,使用halt 和 reboot命令会死机。

如果不用acpi那么关机后无法自动切断电源。而且,无法使用USB设备,USB鼠标也不行。这也忒夸张了吧。

本本上又没有PS/2 接口,不然,我就用PS/2鼠标了。


现在这个问题不修正,觉得BSD还不如Linux呢。

论坛徽章:
0
5 [报告]
发表于 2006-02-10 09:31 |只看该作者

看看我的ACPI开机的那些东西

看看我的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-p4 #2: Thu Feb  9 12:27:36 CST 2006
    alin@lynchnar.3322.org:/usr/obj/usr/src/sys/M2010
ACPI APIC Table: <HP     09EC    >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) M processor         1.40GHz (1396.50-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6d6  Stepping = 6
  Features=0xafe9fbbf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
real memory  = 636354560 (606 MB)
avail memory = 613462016 (585 MB)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <HP 09EC> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 10 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 5 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 4 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 3 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 11 on acpi0
pci_link5: <ACPI PCI Link LNKF> irq 0 on acpi0
pci_link6: <ACPI PCI Link LNKG> irq 4 on acpi0
pci_link7: <ACPI PCI Link LNKH> irq 3 on acpi0
acpi_ec0: <Embedded Controller: GPE 0x1d> port 0x62,0x66 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <base peripheral> at device 0.1 (no driver attached)
pci0: <base peripheral> at device 0.3 (no driver attached)
agp0: <Intel 8285xM (85xGM GMCH) SVGA controller> port 0x1800-0x1807 mem 0xe8000000-0xefffffff,0xe0000000-0xe007ffff irq 16 at device 2.0 on pci0
agp0: detected 32636k stolen memory
agp0: aperture size is 128M
pci0: <display> at device 2.1 (no driver attached)
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1820-0x183f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1840-0x185f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1860-0x187f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: <Intel 82801DB/DBL/DBM (ICH4) USB 2.0 controller> mem 0xe0100000-0xe01003ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <Intel 82801DB/DBL/DBM (ICH4) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib1
rl0: <RealTek 8139 10/100BaseTX> port 0x3000-0x30ff mem 0xe0206800-0xe02068ff irq 16 at device 0.0 on pci2
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:c0:9f:71:a9:60
cbb0: <PCI-CardBus Bridge> at device 9.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
fwohci0: <1394 Open Host Controller Interface> mem 0xe0206000-0xe02067ff,0xe0200000-0xe0203fff irq 22 at device 9.2 on pci2
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:c0:9f:00:00:36:66:5c
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:36:66:5c
fwe0: Ethernet address: 02:c0:9f:36:66:5c
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
pci2: <mass storage> at device 9.3 (no driver attached)
pci2: <base peripheral> at device 9.4 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH4 (82801DB)> port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xe0100c00-0xe0100dff,0xe0100800-0xe01008ff irq 17 at device 31.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Unknown AC97 Codec (id = 0x43585430)>
pci0: <simple comms, generic modem> at device 31.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
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xcd000-0xcdfff,0xdf000-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
ums0: vendor 0x062a product 0x0000, rev 1.10/0.00, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
Timecounter "TSC" frequency 1396504951 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 38154MB <Seagate ST94019A 3.09> at ata0-master UDMA100
acd0: DVDROM <Toshiba DVD-ROM SD-C2612/1A25> at ata1-master PIO4
Trying to mount root from ufs:/dev/ad0s1a
rl0: link state changed to UP

论坛徽章:
0
6 [报告]
发表于 2006-02-10 11:54 |只看该作者
谢谢,楼上的。

这个没什么用处。

你可以用以下命令

acpidump -d -t > hp.asl

然后,把hp.asl贴出来,我关键是要看一下UPRS的定义。谢谢

论坛徽章:
0
7 [报告]
发表于 2006-02-10 15:45 |只看该作者
呵呵,大哥好认真,偶去年也因为ACPI问题,连FB装都不能装,后来解决了也就不管了,佩服你的耐心

论坛徽章:
2
亥猪
日期:2014-03-19 16:36:35午马
日期:2014-11-23 23:48:46
8 [报告]
发表于 2006-02-10 16:08 |只看该作者
关注。涉及核心和硬件。有意思。

论坛徽章:
0
9 [报告]
发表于 2006-02-10 18:56 |只看该作者
自己修改主板 ACPI BIOS 解决 FB 无法正常软关机

http://bbs.chinaunix.net/viewthr ... p;extra=&page=1

论坛徽章:
0
10 [报告]
发表于 2006-02-10 19:43 |只看该作者
楼上的文章看过了。

不过,有没有觉得这个风险冒得太大了?更何况,FreeBSD本就有一个修正ACPI的接口。感觉更本没有必要那么干。不是么?

而且,这也没有什么通用性。因为ACPI的问题关键是Microsoft ACPI对标准的Inter ACPI兼容性问题。所以,很多错误都是可以被通用的修正的。比如此处第一个Warning在很多机器上都有表现。所以,解决一个,就可以帮助很多人解决类似的问题。

更何况,刷新BIOS是很正常的事情,没有什么技术性可言,希望你不要对我这样的说法感到生气。我个人认为,能够通过自己的双手,彻底解决一个问题,才是我们这些使用FreeBSD应该做的。

如果单靠刷新BIOS修正ACPI错误,那么那些没有最新BIOS rom的人呢?更何况,谁会冒着风险去刷新BIOS呢?

不过,你的意见我还是会借鉴的。或许,可以从BIOS rom中提取出acpi的部分,来替换错误的acpi。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP