Opened 8 years ago

Closed 7 years ago

#494 closed defect (Unsupported Version)

Use of PS/2 mouse breaks IRQ link that was set up manually

Reported by: erdmann Owned by: eco
Priority: major Milestone: Release version 3.19
Component: ACPI PSD Version: 3.18
Keywords: Cc:

Description

For this problem: this system has 2 onboard PS/2 ports (one for mouse, one for keyboard). It also has 3 onboard OHCI USB controllers. 1.) One of the onboard OHCI USB controllers was "dead". That was because its PCI interrupt pin was not properly hooked up to any IRQ line. The USB controller in question is tied to LINK LNKE. I specified this in config.sys to rectify the situation: PSD=ACPI.PSD /OS="Microsoft Windows" /EIS /LNK:LNKE:5 which fixed the problem.

2.) I now plugged in a PS/2 mouse (instead of the USB mouse I normally use). That "kills" the setup of LNKE so that again the affected OHCI USB controller becomes inoperational.

What I already tested: I have this setting my BIOS: a.) "PS/2 Mouse wakeup from S3". I toggled between ON and OFF but it did not make a difference. b.) I used the original IBM 10.162 drivers, then I tried my updated USB drivers (work in progress). However the behaviour for the described problem is exactly the same.

Find attached the "DSDT" and the "FACP" tables of my system.

Attachments (9)

dsdt_AWRDACPI.dsl (139.4 KB) - added by erdmann 8 years ago.
DSDT table
facp_awrdacpi.dsl (3.7 KB) - added by erdmann 8 years ago.
FACP table
acpica.log (11.3 KB) - added by erdmann 8 years ago.
ACPI.PSD log file
acpica2.log (17.5 KB) - added by erdmann 8 years ago.
ACPI log file with ACPI319ForDesktop.zip but unchanged config.sys
acpica3.log (21.1 KB) - added by erdmann 8 years ago.
ACPI log file with ACPI319ForDesktop.zip with LNKG set
acpica4.log (18.2 KB) - added by erdmann 8 years ago.
ACPI log file with ACPI319ForDesktop.zip with LNKB, LNKE, LNKG set
acpica5.log (60.2 KB) - added by erdmann 8 years ago.
ACPI log file with ACPI319ForDesktop.zip with no LINK manually set
Config.Sys (10.5 KB) - added by erdmann 8 years ago.
Current config.sys
mouse.sys (31.4 KB) - added by pasha 8 years ago.

Download all attachments as: .zip

Change History (17)

Changed 8 years ago by erdmann

DSDT table

Changed 8 years ago by erdmann

FACP table

Changed 8 years ago by erdmann

ACPI.PSD log file

comment:1 Changed 8 years ago by pasha

Please download experimental ACPI build from Mensys site:

  • Experimental build for you:

acpi319ForDesktop.zip

Changed 8 years ago by erdmann

ACPI log file with ACPI319ForDesktop.zip but unchanged config.sys

Changed 8 years ago by erdmann

ACPI log file with ACPI319ForDesktop.zip with LNKG set

Changed 8 years ago by erdmann

ACPI log file with ACPI319ForDesktop.zip with LNKB, LNKE, LNKG set

Changed 8 years ago by erdmann

ACPI log file with ACPI319ForDesktop.zip with no LINK manually set

comment:2 Changed 8 years ago by erdmann

I now tried acpi310ForDesktop. Initially, the behaviour was completely the same. However, this is what I observed:
1.) with this command line:
PSD=ACPI.PSD /OS="Microsoft Windows" /EIS /LNK:LNKE:5
LNKE would be initially correctly set to IRQ5 but the IRQ setting would then "wander" to LNKG. See attached acpica2.log.
2.) with this command line:
PSD=ACPI.PSD /OS="Microsoft Windows" /EIS /LNK:LNKG:5
the problematic USB HC would then properly work again. See attached acpica3.log.
On the other hand, if LNKE is not set it will be linked to IRQ9 which is the ACPI IRQ. Consequently I get a bunch of "Interrupt not handled" messages in acpica3.log. Funny enough ALL OHCI HCs will work correctly. I tried other variations, see acpica4.log and acpica5.log.
How can we prevent this from happening ? Changing config.sys or acpi.cfg when I plug in a PS/2 mouse is not an option. I also see no apparent logic of how a user would need to set up the LINKS if they do not properly work right out of the box.

comment:3 Changed 8 years ago by pasha

can you attach config.sys?

Changed 8 years ago by erdmann

Current config.sys

comment:4 Changed 8 years ago by erdmann

Find config.sys attached. As you can see I tried different variations. Specifying /APIC eliminated the problem (I seem to remember, I would have to retest) but was no option to me because it broke DOS window/DOS fullscreen support.

comment:5 Changed 8 years ago by pasha

you need check mouse.sys for SMP ready

comment:6 Changed 8 years ago by erdmann

It's the IBM scroll mouse driver. And this mouse driver is SMP ready. It is built with the "smp" flag set. The effect of this is that DevHelp_SetIRQMask is used to mask/unmask interrupts (and not by directly programming the 8259 interrupt controller).

Or what are you looking for that needs to be "SMP ready" ?

Changed 8 years ago by pasha

comment:7 Changed 8 years ago by pasha

mouse.sys from eCS 2.0 GA. Or try this mouse.sys

comment:8 Changed 7 years ago by erdmann

  • Resolution set to Unsupported Version
  • Status changed from new to closed

I am closing this bug as there is no longer a need to manually set up IRQ links.

Note: See TracTickets for help on using tickets.