All functionality of ACPI snooper is included to ACPI.PSD
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Q: What happened with acpisnp.snp?
A: It was integrated to ACPI.PSD, this simplifies the setup of ACPI.
IRQ control via ACPI
Semptember 20, 2007
This README contains information about
IRQ management via ACPI
CONTENTS
________
1.0 Description
2.0 Installation
3.0 Usage of the snooper
3.1 Usage of FILE
3.2 Usage of REMAP
4.0 Acknowledgements
5.0 Copyrights and contact info
1.0 Description
_______________
Attention: Snooper is not ready for NVidia users
Features of ACPI snooper:
* NOT AVAILABLE -- Use IRQn instead IRQm in APIC
* Reload DSDT from file
* Set IRQ to link (irq router)
* Evaluate a path
ATTENTION:
ACPI Snooper should be loaded if running in SMP APIC mode.
In this case the snooper is writing data to PCI config space so devices
can get updated IRQ info from it instead of wrong info.
The possibilities of snooper depend on kernel:
SMP kernel
* (APIC) REMAP - devices should use IRQm instead of IRQn
* Prohibit IRQ for group of devices
UNI kernel
* Load modified ACPI tables
* Set/change IRQs for group of devices
* Prohibit IRQ for group of devices
2.0 Installation
________________
none
3.0 Usage of the snooper
_________________________
Read remarks in acpi.cfg file
First of all,
LINK points to group of devices which share one IRQ.
(devices are connected in parallel)
If you change link, it is changed for all devices in the group.
* LINK works in PIC and has no effect if using APIC.
* This devices always own the same IRQ and can't be moved:
both timers -- IRQ0 and IRQ8,
onboard keyboard -- IRQ1
onboard COM ports -- IRQ4 and IRQ3
onboard LPT -- IRQ7
PS/2 mouse -- IRQ12,
Co-processor -- IRQ13 (UNI)
* How to disable a device on boot:
You can disable it using EVALUATE in snooper config if it
has _DIS in ACPI tree (you can see the ACPI tree using ACPI Manager).
Add to ACPI.CFG:
EVALUATE %path%\_DIS:N
* To disable IRQ for LINK xxxx, use
LINK xxxx 0 - - prohibition/ban of the link (disable IRQ for the link)
3.1 Usage of FILE
__________________
* If your notebook has wrong ACPI tables and you found DSDT table on this site:
http://acpi.sourceforge.net/dsdt/view.php
you can load the table via ACPI snooper.
- Add switch /ASF to ACPI.PSD
- Modify acpi.cfg, add line: FILE filetoboot
- Reboot
3.2 Usage of REMAP
___________________
The purpose of REMAP is to make the old drivers unable to understand
the high irq levels to work in APIC enviroment remapping the high IRQ
given by the APIC back to PIC lower irq.
So, if you have the driver that does not work with high irq
(i.e. well known SYM8XX.ADD or SYM_HI.ADD) do the
following to make it work in APIC mode:
1. Boot without /APIC and do copy acpica$ acpi.log
2. Find in acpi.log the pci scan log and the line in it corresponding
to your device. It will look like
4:1.0 1000:21 IRQs: PCI:10 PIC:'LNKA':10 APIC:24 Apic Set: 10
There 1000 - vendor id, 21 - device id of your device. You can find
the vendor/device ids of your device in pci.exe output. Just
search there the name of your device. In this line we see the ordinal
PIC irq level is 10, APIC irq level is 24. So we must map
back 24 irq to 10
3. Put the line REMAP 24 10 in \os2\boot\acpi.cfg, put /APIC switch to
your ACPI.PSD, reboot.
You may need more the one such iteration to make all your drivers
to work fine in APIC. This stuff is not very convenient to perform,
but there are ways planned to ease the remaps for end users in future
releases.
(thx nickk)
4.0 Acknowledgements
_____________________
* Daniela Engert
5.0 Copyrights and contact info
________________________________
* ACPI-CA driver for eComStation, (c) netlabs.org 2005
* APM.ADD driver for eComStation (c) Mensys B.V. (r) eCo Software
* ACPI snooper for eComStation (c) eCo Software, Pavel Shtemenko
ACPI Tools homepage -- http://ecomstation.ru/acpitools
Send bug-reports to: http://svn.netlabs.org/acpi/newticket
|